call to VisualD, monoD, DlangIDE, & other editor users for the wiki

Idan Arye via Digitalmars-d-ide digitalmars-d-ide at puremagic.com
Mon Aug 17 07:53:31 PDT 2015


On Monday, 17 August 2015 at 03:39:26 UTC, BBasile wrote:
> == DMD/GDC/LDC ==
> These 3 columns refer to the ability to compile with a 
> particular compiler.
>
> Through its own project format, an editor can restrict which 
> compiler is used: for example CE has its own project format 
> that only works with DMD. Visual D has its own project format 
> but it works with the 3 compilers. That's important because GDC 
> and LDC produces higher quality binaries than DMD.
>
> NotePad++ has 3 red crosses because it's not bundled with a 
> script or a tool that would allow to call a D compiler 
> directly, in one click. It just has a basic highlither and a 
> cession system that allow to reload a set of document 
> (considered as 'own project format').

I see. This column seems to make sense for IDEs, but not for 
editors. Asking if an editor supports certain compiler is like 
asking if a certain model of motorcycles has electric windows. It 
doesn't, but not because that model is lacking something but 
because that feature doesn't make sense for the category it 
belongs to.

Text editors "build" projects by letting the user run shell 
commands. Geany has a nice built-in system for configuring these 
shell commands, Notepad++ only has a history so you can re-run 
recent commands - but that does not mean Geany has any more GDC 
support than Notepad++. This is part of the editor's general 
feature-set and not something D-specifi, and I don't think it has 
a place in this comparison table. I left these fields empty for 
Vim, and I think they should be empty for all other editors 
because they only make sense for IDEs.


> == Own project format ==
> An editor can support DUB but may also have its own project 
> format. It's not a *good* or a *bad* thing, it just allows to 
> know that for example if DUB is supported that there is also 
> another project format (I think that mono-D is in this 
> category). You'll be surprised but some people don't like DUB.

Then I don't think Notepad++ has that feature. The project format 
is not about remembering which files to show in the project tree, 
but about remembering how to build the project. Geany has it - 
you can set the shell command in the .geany file and it'll be 
remembered as part of you project. Notepad++ doesn't - AFAIK the 
shell command history is global.



More information about the Digitalmars-d-ide mailing list