Code Monkey home page Code Monkey logo

code-d's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.