Skip to content

Pure-D/code-d

Folders and files

NameName
Last commit message
Last commit date
Sep 22, 2024
Jan 15, 2020
Oct 26, 2022
May 19, 2021
May 19, 2021
Jan 21, 2023
Jan 13, 2020
Feb 9, 2022
Jul 28, 2019
Jan 3, 2023
Nov 24, 2019
Jan 7, 2023
Sep 22, 2024
Mar 1, 2025
Jun 8, 2023
Mar 21, 2021
Mar 21, 2021
Mar 21, 2021
May 30, 2024
Feb 12, 2023
Jul 6, 2018
Nov 27, 2015
Mar 7, 2023
Sep 21, 2024
Sep 21, 2024
Jan 15, 2020
Oct 26, 2016

Repository files navigation

Code-D

Join the chat: Join on Discord

Adds advanced IDE support for the D Programming Language to Visual Studio Code. Powered by serve-d.

Also available for Atom!

Features

  • Auto-Completion
  • Code formatting
  • Static linting + Build linting
  • Outlining and searching for symbols
  • Refactorings for code diagnostics
  • and much more

Special Thanks

Corporate Sponsors

Development on code-d/serve-d tools is sponsored by

Weka.IO Logo
Weka.IO

If you are looking for a Job with D, check out the companies listed above!

For professional D consulting, programming services or corporate support with D IDE tools, DUB and the ecosystem, contact me through dlang@wfr.software

Individual Sponsors

Thanks to the following big GitHub sponsors financially supporting the code-d/serve-d tools:

ZyeByte's GitHub avatar
@zyebytevt

become a sponsor

Development

Thanks to @Hackerpilot for his great IDE software that serve-d built upon.

Thanks to the D package registry, especially @s-ludwig for their great package manager and library "dub".

Thanks to all contributors to code-d and serve-d.

Installation

Prerequirements:

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

code-d installation

  • 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
    npx tsc -p .
    

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

License

MIT - Look in LICENSE.md for more information

Issues

Please submit issues to github

Special developer config

use "d.forceUpdateServeD": true to force an outdated prompt on startup.

use "d.forceCompileServeD": true to force compilation of serve-d instead of downloading pre-compiled releases.