Thread overview
Dlang IDE: Emacs, VS Code, or something else?
Aug 28, 2020
James Lu
Aug 28, 2020
rikki cattermole
Aug 28, 2020
tastyminerals
Aug 28, 2020
starcanopy
Aug 28, 2020
aberba
Aug 31, 2020
James Blachly
Aug 29, 2020
Nils Lankila
Aug 29, 2020
JN
August 28, 2020
Hi,

I tried the IntelliJ D plugin with D Language Server, but it constantly froze the IDE. I found it to be worse than editing D with a normal text editor.

How do the various Dlang IDEs compare? Are the Emacs and VS Code IDEs essentially equivalent in information provided? (hover for type previews, documentation, suggested fixes, etc.)
August 29, 2020
DCD based: Intellij IDEA plugin[0], VS-Code, Dexed (and I'm sure there are others)
VisualD: dmd-fe and DParser

No idea where Emacs stands.

dmd-fe is the ultimate and best that we could have since full IDE features requires a full frontend. But it isn't yet ready for prime time as it wasn't designed with this usage in mind.

[0] https://github.com/intellij-dlanguage/intellij-dlanguage
August 28, 2020
On Friday, 28 August 2020 at 14:12:38 UTC, James Lu wrote:
> Hi,
>
> I tried the IntelliJ D plugin with D Language Server, but it constantly froze the IDE. I found it to be worse than editing D with a normal text editor.
>
> How do the various Dlang IDEs compare? Are the Emacs and VS Code IDEs essentially equivalent in information provided? (hover for type previews, documentation, suggested fixes, etc.)

I found VS Code with D plugins to work best currently.
August 28, 2020
On Friday, 28 August 2020 at 18:10:21 UTC, tastyminerals wrote:
> On Friday, 28 August 2020 at 14:12:38 UTC, James Lu wrote:
>> Hi,
>>
>> I tried the IntelliJ D plugin with D Language Server, but it constantly froze the IDE. I found it to be worse than editing D with a normal text editor.
>>
>> How do the various Dlang IDEs compare? Are the Emacs and VS Code IDEs essentially equivalent in information provided? (hover for type previews, documentation, suggested fixes, etc.)
>
> I found VS Code with D plugins to work best currently.

It's certainly nice, but it's unfortunate that, in my experiences, one needs to regularly reload Code's window as the plugin will stop working, e.g. auto-completion dies and discovery falls off a cliff. I'm not sure if that's because of the external tools, VS Code, or the extension itself. (This might just be, however.)
August 28, 2020
On Friday, 28 August 2020 at 14:12:38 UTC, James Lu wrote:
> Hi,
>
> I tried the IntelliJ D plugin with D Language Server, but it constantly froze the IDE. I found it to be worse than editing D with a normal text editor.
>
> How do the various Dlang IDEs compare? Are the Emacs and VS Code IDEs essentially equivalent in information provided? (hover for type previews, documentation, suggested fixes, etc.)

https://wiki.dlang.org/IDEs

Personally I'll say if you're on Windows, use VisualD+Visual Studio for full blown IDE support cus its currently been updated with more capabilities. However its too heavy IMO.

Next is VS Code with fairly good D support...dub integration is top notch. That's the most used editor I think

I personally use sublime quite often too. Its either vs code or sublime for me.
August 29, 2020
On Friday, 28 August 2020 at 14:12:38 UTC, James Lu wrote:
> Hi,
>
> I tried the IntelliJ D plugin with D Language Server, but it constantly froze the IDE. I found it to be worse than editing D with a normal text editor.
>
> How do the various Dlang IDEs compare? Are the Emacs and VS Code IDEs essentially equivalent in information provided? (hover for type previews, documentation, suggested fixes, etc.)

All the editors, to the exception of Visual-D, that have an advanced support for D use DCD [1] so the quality of the auto-completion, doculmentation popup, etc. is equal. DCD in itself is very stable since a year or so. Personally I'm on v0.12.0-2-g339d38f (dcd-client --version) and it never crashes.
August 29, 2020
On Friday, 28 August 2020 at 14:12:38 UTC, James Lu wrote:
> Hi,
>
> I tried the IntelliJ D plugin with D Language Server, but it constantly froze the IDE. I found it to be worse than editing D with a normal text editor.
>
> How do the various Dlang IDEs compare? Are the Emacs and VS Code IDEs essentially equivalent in information provided? (hover for type previews, documentation, suggested fixes, etc.)

I tried most of them, and code-d with VSCode works well for me. I felt like IntelliJ might be good but I am getting the freeze issues also making it unusable.
August 31, 2020
On 8/28/20 7:43 PM, aberba wrote:
> 
> https://wiki.dlang.org/IDEs
> 
> Personally I'll say if you're on Windows, use VisualD+Visual Studio for full blown IDE support cus its currently been updated with more capabilities. However its too heavy IMO.
> 
> Next is VS Code with fairly good D support...dub integration is top notch. That's the most used editor I think
> 
> I personally use sublime quite often too. Its either vs code or sublime for me.

Funny, while I agree vscode with dlang plugin is great (formatting, hinting, linting), I cannot get the dub part to work :| Sounds great though...