Skip to content
Deno language service plugin for TypeScript
TypeScript
Branch: master
Clone or download
Latest commit 52ca746 Aug 29, 2019

README.md

typescript-deno-plugin

Deno language service plugin for TypeScript.

npm package

Build Status NPM version NPM Downloads Install Size

Editor Support

This plugin requires TypeScript 2.3 or later. It can provide intellisense in TypeScript files within any editors that uses TypeScript to power their language features.

With VS Code

The simplest way to use this plugin is to install the TypeScript Deno Plugin VS Code extension. This extension enables the plugin when using VS Code's version of TypeScript.

If you are using a workspace version of TypeScript, you must manually install the plugin alongside the version of TypeScript in your workspace.

use npm:

npm install --save-dev typescript-deno-plugin typescript

or use yarn:

yarn add -D typescript-deno-plugin typescript

Configuration

After install typescript-deno-plugin, Then you can add a plugins section to your tsconfig.json.

{
  "compilerOptions": {
    "plugins": [
      {
        "name": "typescript-deno-plugin"
      }
    ]
  }
}

Finally, run the Select TypeScript version command in VS Code to switch to use the workspace version of TypeScript for VS Code's JavaScript and TypeScript language support. You can find more information about managing typescript versions in the VS Code documentation.

With Visual Studio

This plugin works Visual Studio 2017 using the TypeScript 2.3+ SDK.

First install the plugin in your project.

use npm:

npm install --save-dev typescript-deno-plugin typescript

or use yarn:

yarn add -D typescript-deno-plugin typescript

Then add a plugins section to your tsconfig.json.

{
  "compilerOptions": {
    "plugins": [
      {
        "name": "typescript-deno-plugin"
      }
    ]
  }
}

Then reload your project to make sure the plugin has been loaded properly.

With Atom

This plugin works with the Atom TypeScript plugin.

First install the plugin and a copy of TypeScript in your workspace.

use npm:

npm install --save-dev typescript-deno-plugin typescript

or use yarn:

yarn add -D typescript-deno-plugin typescript

Then add a plugins section to your tsconfig.json.

{
  "compilerOptions": {
    "plugins": [
      {
        "name": "typescript-deno-plugin"
      }
    ]
  }
}

Then restart Atom.

Credits

License

typescript-deno-plugin is released under the MIT License. See the bundled LICENSE file for details.

You can’t perform that action at this time.