Skip to content

zeusdeux/deno-emacs-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deno development in Emacs

Prerequisites

  • Make sure you have tide installed and setup

Setup to enable Deno support for your own project

  • npm init -y to setup a package.json (we need this as we install dependencies using npm)
  • npm install --save-dev typescript-deno-plugin typescript as described in typescript-deno-plugin repo
  • finally, add the following to your tsconfig.json to enable the typescript-deno-plugin
    {
      "compilerOptions": {
        "plugins": [{
            "name": "typescript-deno-plugin",
            "enable": true, // default is `true`
            "importmap": "import_map.json"
        }]
      }
    }

With this in place, tide will function just as expected with a codebase targeted to Deno as it does with a normal TypeScript project.

Working deno and emacs integration screenshot

About

Deno + Emacs demo project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published