Skip to content
VS Code extension that provides Deno support using the typescript-deno-plugin
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.
.github add open_collective Jun 19, 2019
.vscode use deno formater Apr 8, 2019
images add screenshots Mar 7, 2019
schemas add schemas & snippets Mar 8, 2019
snippets use deno formater Apr 8, 2019
src fix deno finder Dec 7, 2019
.gitignore Revert "bundling extension using webpack" Mar 9, 2019
.travis.yml chore: upgrade deno version in ci and lock std version Nov 23, 2019
.vscodeignore Revert "bundling extension using webpack" Mar 9, 2019 release v1.4.0 Dec 7, 2019 use deno formater Apr 8, 2019 use deno formater Apr 8, 2019
LICENSE Update LICENSE Apr 24, 2019 resolve an spelling mistake Jun 17, 2019
deno.png first commit Mar 7, 2019
package.json release v1.4.0 Dec 7, 2019
package.nls.json Generate Deno's .d.ts file (#21) Apr 19, 2019
package.nls.zh-cn.json Generate Deno's .d.ts file (#21) Apr 19, 2019
tsconfig.json use `allowSyntheticDefaultImports` Jun 5, 2019
yarn.lock upgrade pkgs Dec 7, 2019

VS Code Deno extension

Build Status Version Downloads

Adds Deno support for VS Code using the TypeScript Deno language service plugin.


This extension works using VS Code's built-in version of TypeScript. You do not need to configure the plugin in your tsconfig.json if you are using VS Code's version of TypeScript.

If you are using VS Code 1.30 or older and are using a workspace version of typescript, you must currently configure the TS Server plugin manually by following these instructions


without this plugin

If we write from "./hello.ts", the editor(VS Code) will prompt for a tilde error. Because the default TypeScript project does not need to write the extension .ts.

ts(2691): An import path cannot end with a '.ts' extension. Consider importing './hello' instead.



Deno allows imports from URLs, like the browser. But TypeScript can not find the module from URLs.

ts(2307): Cannot find module ''.


after install this plugin

Deno caches remote imports in a special directory specified by the $DENO_DIR environmental variable. It defaults to the system's cache directory if $DENO_DIR is not specified.

This plugin can resolve remote imports as local path.



You can configure the Deno extension using a tsconfig as described here, or configure it with VS Code settings. This requires VS Code 1.30+ and TS 3.2+. Note the VS Code based configuration overrides the tsconfig configuration.

  • deno.enabled - Enable/disable this extension. Default is true.

  • deno.packageManager - The package manager you use to install node modules. Default is npm. (Not implemented)

  • deno.alwaysShowStatus - Always show the Deno status bar item. Default is true.

  • deno.autoFmtOnSave - Turns auto format on save on or off. Default is false. (Not implemented)


This extension contributes the following commands to the Command palette.

  • Enable Deno - Enable this extension.
  • Disable Deno - Disable this extension.


Report a bug or a suggestion by posting an issue on the git repository.

You can’t perform that action at this time.