Giter Site home page Giter Site logo

typescript-deno-plugin's Introduction


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

With JetBrains IDEs

Prerequisite: Follow manual installation instructions as described in VSCode install.

  1. Open TypScript preferences:

Preferences | Languages & Frameworks | TypeScript

  1. Change the TypeScript path to the local installed typescript path e.g. ~/myapp/node_modules/typescript

Tested with WebStorm. Hypothetically, should run in all JetBrains IDEs.

Configuration

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

{
  "compilerOptions": {
    "plugins": [
      {
        "name": "typescript-deno-plugin",
        "enable": true, // default is `true`
        "importmap": "import_map.json"
      }
    ]
  }
}

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.

typescript-deno-plugin's People

Contributors

anstarovoyt avatar brandonkal avatar jsejcksn avatar justjavac avatar lsagetlethias avatar nathansmb avatar rclarey avatar simwipado avatar xmclark avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.