Skip to content

zeusdeux/deno-emacs-test

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 

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