Skip to main content
Module

x/trex/docs/setup.md

Package Manager for deno 🦕
Go to Latest
File

Setup visual studio code

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