Hey, I've tried everything and I still can't get deno to work nicely with VSCode.
In tsconfig.json, I added the deno_ls_plugin
, and added the paths for deno
, https://*
and http://*
. I also added the custom typescript in settings.json's typescript.tsdk
.
Even with all of that, vscode still gives me the error
import { Application } from "https://deno.land/x/oak/mod.ts";
// An import path cannot end with a '.ts' extension. Consider importing 'https://deno.land/x/oak/mod' instead. ts(2691)
(PS: I tried generating an entirely new project using the ameerthehacker.deno-vscode
extension. I also tried the justjavac.vscode-deno
extension but get the same result).
I've uploaded my project in this repository if you want to test it.