Skip to content
forked from Pure-D/code-d

Fully featured D language extension for Visual Studio Code using Serve-D

License

Notifications You must be signed in to change notification settings

exoticus/code-d

 
 

Repository files navigation

Code-D

Join the chat: Join on Discord

Adds D language support for visual studio code.

It works pretty good - Wild 2018

Also available for Atom!

Features

  • Autocompletion
  • Code formatting
  • Static linting
  • Outlining and searching for symbols
  • and much more

Installation

Prerequirements:

D compiler with environment variables set. Downloads here, details here

Dependencies:

code-d will install serve-d, dcd and dub if they are not already installed.

code-d installation

This assumes serve-d is already installed.

  • Automatic: Open Visual Studio Code and install the code-d extension the normal way:

    ext install webfreak.code-d
    

    Or search for code-d and select the "D Programming Language (code-d)" extension from the list.

  • Manual (if the automatic way doesn't work)

    # discouraged if you are trying out code-d, you should preferably install it from the marketplace
    
    cd ~/.vscode/extensions/
    git clone https://github.com/Pure-D/code-d.git
    cd code-d
    npm install
    # requires `npm install -g typescript` once
    tsc -p .
    

License

MIT - Look in LICENSE.md for more information

Special Thanks

Thanks to @Hackerpilot for his great software used here and the D package registry for their great package manager and library "dub"

Authors

  • Dan "Wild" Printzell
  • Jan "WebFreak" Jurzitza

Issues

Please submit issues to github

About

Fully featured D language extension for Visual Studio Code using Serve-D

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 73.3%
  • HTML 19.4%
  • D 7.2%
  • Other 0.1%