code-d
code-d copied to clipboard
Fully featured D language extension for Visual Studio Code using Serve-D
Setting the dub arch type in a workspace, either through the "Switch Arch Type" command or the "d.dubArchType" setting, has no effect. In an example project with: `dub.sdl`: ```sdl name...
``` class A { mixin("void a() { }"); mixin("int b = 0;"); } ``` The suggestions panel can't read any mixin string injected member.
Fixes #407. The rules were just taken and adjusted from https://github.com/PowerShell/vscode-powershell/blob/43c8bff8bd316684fb4bc82cdbed36ceb7988904/src/extension.ts#L80-L114. `///`-comments are not included but could easily be added in if needed: ```json { "beforeText": "^\\s*\\/\\/\\/\\s*[^\\s]+$", "action": { "indent":...
I just installed the DMD Compiler to start learning and writing some simple D applications. I followed the instructions, but I’m having trouble getting autocomplete to work in VS Code....
Apparently, the syntax highlighter thinks that this innocent single-quote apostrophe in the comment within the token string would open a character literal. ```d import std.stdio; void main() { // comment...
IDE:VSCode 1.93.0 Plugin Version:0.23.2 the dcd-server cannot auto close when vscode ending. when close the project, dcd-server will still working. If here 10 subpackage, 10 dcd-server will reserved and occupy...
An asm instruction with qualified type length (e.g. "mul long ptr [RSI];") produces an error and a warning: - Float literal, integer literal, `$`, `this` or identifier expected. - Empty...
Each use of named parameters produces two errors and a warning: - Expected `)` instead of `:` - Primary expression expected - Empty declaration
Recently decided to learn D and therefore installed code-d extension in vs code (snap) in Ubuntu 25.04. All seemed well but I was prompted that serve-d was not installed properly...
The extension shows interpolated strings as errors even if my code runs fine. DMD version in both IDE and my machine is selected to 2.111.0 and this version supports it....