December 23, 2019
On Sunday, 22 December 2019 at 17:20:51 UTC, BoQsc wrote:
> There are lots of editors/IDE's that support D language: https://wiki.dlang.org/Editors
>
> What kind of editor/IDE are you using and which one do you like the most?

I've loved Sublime for years. I use it for everything, really. So pretty, so fast.
December 23, 2019
On Monday, 23 December 2019 at 15:51:17 UTC, bachmeier wrote:
> On Monday, 23 December 2019 at 15:07:32 UTC, H. S. Teoh wrote:
>> On Sun, Dec 22, 2019 at 05:20:51PM +0000, BoQsc via Digitalmars-d-learn wrote:
>>> There are lots of editors/IDE's that support D language: https://wiki.dlang.org/Editors
>>> 
>>> What kind of editor/IDE are you using and which one do you like the most?
>>
>> Linux is my IDE. ;-)  And I use vim for editing code.
>>
>>
>> T
>
> Not a Vim user, but wondering if there's Neovim support for D. If so, it needs to be added to that wiki table.

Yes, most plugins that support vim 8, support neovim as well and vice versa. I'm just using ale, it has built-in D support and just uses the compiler/dub. Still haven't time to test dcd/language server with something like coc.
December 24, 2019
On Mon, 2019-12-23 at 08:09 -0800, H. S. Teoh via Digitalmars-d-learn
wrote:
[…]
> 
> No idea, I use vanilla vim (not even with syntax highlighting -- I'm
> a
> hardcore retro guy).

Surely a hardcore retro guy would be using vi not vim? Indeed wouldn't a real hardcore retro guy be using ed?

:-)

I used to be anti syntax highlighting in editors, but it was because the highlighting was usually crap or worse wrong. Once I started using syntax highlighting where the highlighting was correct with respect to the language definition, I found it indispensable.

Of course the real problem is that we store text of code rather than AST of the code,  but that war got lost in the 1980s when syntax oriented editors were rejected in favour of text editors. Now editors and IDE spend all their CPU cycles reconstructing and maintaining the AST of the code from the text representation.

It's a mad, mad, mad world.


-- 
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk



December 24, 2019
On Sunday, 22 December 2019 at 17:20:51 UTC, BoQsc wrote:
> What kind of editor/IDE are you using and which one do you like the most?

I'm using sed... - no, just joking. Actually I use jed (because I did for 20 years now) with emacs keybindings in C mode, but I cannot recommend it for D. There are several limitations, for example jed can only handle two different types of comments, let alone nested comments. I always think, I should change to something better, but as I'm so used to it, it would be a rather big deal. I also thought about porting jed to d (than it's de(a)d?), but this sounds like one of those life long projects, I'm not sure I want to start that.
December 24, 2019
On Monday, 23 December 2019 at 20:45:53 UTC, TheGag96 wrote:
>
> I've loved Sublime for years. I use it for everything, really. So pretty, so fast.

I really like Sublime, too. Paid for it. But now that VS Code's performance is within my tolerance range, the built-in console makes the difference. I've got the Terminal plugin for Sublime that allows you to press ctrl-shift-alt-t to open the terminal in the project folder, but it just isn't the same experience.

I still use Sublime when I just need a quick edit or single file. Otherwise, VS Code has become my goto editor for any multi-file D, Markdown, HTML, etc., project.
December 24, 2019
On Sunday, 22 December 2019 at 17:20:51 UTC, BoQsc wrote:
> There are lots of editors/IDE's that support D language: https://wiki.dlang.org/Editors
>
> What kind of editor/IDE are you using and which one do you like the most?

I am using "Sublime Text" for code Dlang.
December 24, 2019
On Tue, Dec 24, 2019 at 10:18:49AM +0000, Russel Winder via Digitalmars-d-learn wrote:
> On Mon, 2019-12-23 at 08:09 -0800, H. S. Teoh via Digitalmars-d-learn
> wrote:
> […]
> > No idea, I use vanilla vim (not even with syntax highlighting -- I'm
> > a hardcore retro guy).
> 
> Surely a hardcore retro guy would be using vi not vim? Indeed wouldn't a real hardcore retro guy be using ed?
> 
> :-)

Haha, well, a *real* hardcore retro guy would be using a magnet, a pin, and a *really* steady hand, to flip individual bits on an exposed harddisk platter to create the executable in the filesystem directly, one bit at a time.

Of course, one could also just use emacs:

	https://xkcd.com/378/

:-D


> I used to be anti syntax highlighting in editors, but it was because the highlighting was usually crap or worse wrong. Once I started using syntax highlighting where the highlighting was correct with respect to the language definition, I found it indispensable.

It wasn't so much wrong highlighting for me, it was the fact that it was highlighted at all.  I find the kaleidoscopic colors extremely distracting and disruptive to my focusing on the textual content of the code.  Not to mention that the colors usually clash horribly with my chosen foreground/background color scheme in my terminal, which only adds unreadable bits of text to the problem.


> Of course the real problem is that we store text of code rather than AST of the code,  but that war got lost in the 1980s when syntax oriented editors were rejected in favour of text editors.

Actually, I wouldn't mind a syntax-oriented editor, if one could be made that wasn't artificially restrictive in terms of editing various different languages and various different flavors of different languages, such that it could be used as a general tool.


> Now editors and IDE spend all their CPU cycles reconstructing and maintaining the AST of the code from the text representation.

Yet another reason to avoid syntax highlighting altogether. ;-)


> It's a mad, mad, mad world.

This madness is nothing compared to the utter, gibbering insanity of modern web design, in which modern 8-core CPUs with GHz speeds and GBs of memory run dead-simple applications like word processors at the *same* speeds (if not worse!) as WordStar would run back in 1980 on an 8 *Hz* CPU with 64KB of RAM.  With exactly the same lag between keystrokes, and the same (lack of) reliability requiring frequent backups and incessant restarting.

Now *that* I call a mad, mad world.  The madness of IDEs parsing and reparsing the same AST over and over again umpteen times per second doesn't even begin to scratch the surface of *this* madness. I just can't wait to see some poor sod attempt to reimplement a modern IDE in Javascript and succeed at reproducing 1980's IDE speeds and (lack of) quality.  And of course the masses would slobber all over it and hail it as "progress".  The browser king has no clothes, and everybody sees invisible.


T

-- 
If you want to solve a problem, you need to address its root cause, not just its symptoms. Otherwise it's like treating cancer with Tylenol...
December 24, 2019
On Tuesday, 24 December 2019 at 17:52:20 UTC, H. S. Teoh wrote:
> Not to mention that the colors usually clash horribly with my chosen foreground/background color scheme in my terminal, which only adds unreadable bits of text to the problem.

This is one of the reasons why I made a custom terminal emulator. Mine sees the colors as just suggestions, and adjusts them based on what is under it to maintain readability.

I just got sick of ls printing green on white and hurting my eyes. Or blue on black.


> With exactly the same lag between keystrokes, and the same (lack of) reliability requiring frequent backups and incessant restarting.

lol lag between keystrokes is so much worse now than it was in the day
December 24, 2019
On Tue, Dec 24, 2019 at 07:46:27PM +0000, Adam D. Ruppe via Digitalmars-d-learn wrote: [...]
> I just got sick of ls printing green on white and hurting my eyes. Or blue on black.

Haha, one of the first things I do upon installing a new Linux system is to turn off ls colors. :-D  Hurts the eyes and grates the nerves.


> > With exactly the same lag between keystrokes, and the same (lack of) reliability requiring frequent backups and incessant restarting.
> 
> lol lag between keystrokes is so much worse now than it was in the day

Lol it's true... and yet people still slobber all over "browser apps" like they are some kind of revolutionary thing. More like devolutionary, I say.


T

-- 
Без труда не выловишь и рыбку из пруда.
December 25, 2019
On Sunday, 22 December 2019 at 17:20:51 UTC, BoQsc wrote:
> There are lots of editors/IDE's that support D language: https://wiki.dlang.org/Editors
>
> What kind of editor/IDE are you using and which one do you like the most?

I use VisualStudio with VisualD. The IDE is ok and debugging capabilities are good. Unfortunately you don't get full debugging with LDC, only with DMD.