Skip to content

Latest commit

History

History
62 lines (40 loc) 路 1.64 KB

setup.md

File metadata and controls

62 lines (40 loc) 路 1.64 KB

install the deno extension first, then add in settings.json the following configuration.

settings.json

activate the enable option Deno unstable features in settings >> extensions >> Deno

unstable

if you get this error after installing a module.

error

run your project to cache all dependencies.

note: when installing a module using ( trex install --map someModule ) or ( trex --custom someModule=someModule.com/someModule.ts ) this is automatically cached

Setup Atom

first install typescript plugin. then install the typescript-deno-plugin

using npm

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

using yarn

$ yarn add -D typescript-deno-plugin typescript

Then add a plugins section to your tsconfig.json.

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

note: enable by default is true

Then restart Atom. after restart you should have no problems.

before installing

atom-setup

after installing

atom-setup