Re: Give DLS a try

2018-08-15 Thread Soulsbane via Digitalmars-d
On Wednesday, 15 August 2018 at 09:11:08 UTC, Seb wrote: In theory it would be `dfmt_space_after_keywords` in the .editorconfig, but it's not implemented yet: https://github.com/dlang-community/dfmt#dfmt-specific-properties That's interesting! Thanks for the info!

Re: Give DLS a try

2018-08-15 Thread Soulsbane via Digitalmars-d
On Wednesday, 15 August 2018 at 11:34:42 UTC, Laurent Tréguier wrote: On Wednesday, 15 August 2018 at 02:40:03 UTC, Soulsbane wrote: Btw, what path does dls search for the dfmt executable? I put my compiled version in my $PATH and it's not picking it up. This is on Linux. It doesn't use

Re: Give DLS a try

2018-08-15 Thread Laurent Tréguier via Digitalmars-d
On Wednesday, 15 August 2018 at 02:40:03 UTC, Soulsbane wrote: Btw, what path does dls search for the dfmt executable? I put my compiled version in my $PATH and it's not picking it up. This is on Linux. It doesn't use anything on your machine, it uses DCD, D-Scanner and DFMT as libraries

Re: Give DLS a try

2018-08-15 Thread Seb via Digitalmars-d
On Tuesday, 14 August 2018 at 23:24:58 UTC, Soulsbane wrote: On Tuesday, 14 August 2018 at 22:24:48 UTC, Laurent Tréguier wrote: On Tuesday, 14 August 2018 at 21:07:34 UTC, Soulsbane wrote: Perhaps I missed it but is there an option to disable dfmt completely. I see several options, for

Re: Give DLS a try

2018-08-14 Thread Soulsbane via Digitalmars-d
On Wednesday, 15 August 2018 at 01:26:36 UTC, Laurent Tréguier wrote: On Tuesday, 14 August 2018 at 23:24:58 UTC, Soulsbane wrote: No problem. Thanks! It's the mainly the d.dls.format.dfmtBraceStyle that is bothering me. It seems each one uses the if () style and I prefer if(). If that makes

Re: Give DLS a try

2018-08-14 Thread Laurent Tréguier via Digitalmars-d
On Tuesday, 14 August 2018 at 23:24:58 UTC, Soulsbane wrote: No problem. Thanks! It's the mainly the d.dls.format.dfmtBraceStyle that is bothering me. It seems each one uses the if () style and I prefer if(). If that makes sense. Again, thanks a lot for this! Maybe this should simply be a

Re: Give DLS a try

2018-08-14 Thread Soulsbane via Digitalmars-d
On Tuesday, 14 August 2018 at 22:24:48 UTC, Laurent Tréguier wrote: On Tuesday, 14 August 2018 at 21:07:34 UTC, Soulsbane wrote: Perhaps I missed it but is there an option to disable dfmt completely. I see several options, for example, d.dls.format.dfmtSoftMaxLineLength. If you're using the

Re: Give DLS a try

2018-08-14 Thread Laurent Tréguier via Digitalmars-d
On Tuesday, 14 August 2018 at 21:07:34 UTC, Soulsbane wrote: Perhaps I missed it but is there an option to disable dfmt completely. I see several options, for example, d.dls.format.dfmtSoftMaxLineLength. If you're using the VSCode extension or Atom package, then there is no way to deactivate

Re: Give DLS a try

2018-08-14 Thread Laurent Tréguier via Digitalmars-d
On Tuesday, 14 August 2018 at 10:43:01 UTC, w0rp wrote: For those who like Vim, I opened an issue for adding dls support to ALE. https://github.com/w0rp/ale/issues/1812 I might work on it myself some day, or someone else can set it up. ALE is a linter plugin for Vim I wrote, which is now the

Re: Give DLS a try

2018-08-14 Thread Soulsbane via Digitalmars-d
On Wednesday, 8 August 2018 at 07:57:49 UTC, Laurent Tréguier wrote: On Wednesday, 8 August 2018 at 07:25:57 UTC, Tab wrote: I find DLS to be very stable Perhaps I missed it but is there an option to disable dfmt completely. I see several options, for example,

Re: Give DLS a try

2018-08-14 Thread w0rp via Digitalmars-d
For those who like Vim, I opened an issue for adding dls support to ALE. https://github.com/w0rp/ale/issues/1812 I might work on it myself some day, or someone else can set it up. ALE is a linter plugin for Vim I wrote, which is now the most popular one after Syntastic and offers some

Re: Give DLS a try

2018-08-10 Thread Laurent Tréguier via Digitalmars-d
On Thursday, 9 August 2018 at 22:56:02 UTC, tide wrote: Yah that's what I was getting. You should possibly find another way other than symbolic links. I don't think you'll get access to admin rights unless you restart VS Code with them. No, I certainly don't need VSCode to be launched with

Re: Give DLS a try

2018-08-09 Thread tide via Digitalmars-d
On Thursday, 9 August 2018 at 13:02:47 UTC, Laurent Tréguier wrote: On Thursday, 9 August 2018 at 12:42:45 UTC, Domain wrote: I just give it a try in visual studio code, but I got errors: [Error - 20:39:54] Starting client failed Error: Unsupported server configuration { "command": "" }

Re: Give DLS a try

2018-08-09 Thread Laurent Tréguier via Digitalmars-d
On Thursday, 9 August 2018 at 12:42:45 UTC, Domain wrote: I just give it a try in visual studio code, but I got errors: [Error - 20:39:54] Starting client failed Error: Unsupported server configuration { "command": "" } at _getServerWorkingDir.then.serverWorkingDir

Re: Give DLS a try

2018-08-09 Thread Laurent Tréguier via Digitalmars-d
On Thursday, 9 August 2018 at 12:42:45 UTC, Domain wrote: I just give it a try in visual studio code, but I got errors: [Error - 20:39:54] Starting client failed Error: Unsupported server configuration { "command": "" } at _getServerWorkingDir.then.serverWorkingDir

Re: Give DLS a try

2018-08-09 Thread Domain via Digitalmars-d
On Thursday, 9 August 2018 at 11:48:55 UTC, Laurent Tréguier wrote: On Thursday, 9 August 2018 at 10:37:32 UTC, IM wrote: I've always had issues with Code-d! I filed several issues on its GitHub repo, but my experience with the Code-d author was that those issues are likely to remain open and

Re: Give DLS a try

2018-08-09 Thread Laurent Tréguier via Digitalmars-d
On Thursday, 9 August 2018 at 10:37:32 UTC, IM wrote: I've always had issues with Code-d! I filed several issues on its GitHub repo, but my experience with the Code-d author was that those issues are likely to remain open and unaddressed. Since he is a student (or at least he was some time

Re: Give DLS a try

2018-08-09 Thread IM via Digitalmars-d
On Wednesday, 8 August 2018 at 20:56:51 UTC, tide wrote: On Wednesday, 8 August 2018 at 07:57:49 UTC, Laurent Tréguier wrote: [...] Code-d overcomplicates things I find though. I can't even build it, there's so many dependencies attached to it that it isn't worth looking through to even

Re: Give DLS a try

2018-08-09 Thread Andrea Fontana via Digitalmars-d
On Wednesday, 8 August 2018 at 07:25:57 UTC, Tab wrote: I find DLS [1] to be very stable, updated more often [2], and it just works without issues (vs. Code-d) ~~ at least for me. I think we should give it a chance. I agree. I created a long list of features [3] I'd like to see in D IDE.

Re: Give DLS a try

2018-08-09 Thread Laurent Tréguier via Digitalmars-d
On Wednesday, 8 August 2018 at 20:56:51 UTC, tide wrote: DLS took no time at all to build, nice and simple. The only thing built is a small bootstrap program that downloads a prebuilt binary release, that's why it's fast. Before v0.5.0, DLS was always compiled, and that took some time, as

Re: Give DLS a try

2018-08-08 Thread tide via Digitalmars-d
On Wednesday, 8 August 2018 at 07:57:49 UTC, Laurent Tréguier wrote: On Wednesday, 8 August 2018 at 07:25:57 UTC, Tab wrote: I find DLS to be very stable Ironically, as the developer of DLS, I'm not sure if it should be considered as stable. I've had quite a number of crashes myself,

Re: Give DLS a try

2018-08-08 Thread Laurent Tréguier via Digitalmars-d
On Wednesday, 8 August 2018 at 07:25:57 UTC, Tab wrote: I find DLS to be very stable Ironically, as the developer of DLS, I'm not sure if it should be considered as stable. I've had quite a number of crashes myself, sometimes even seemingly right at startup :/ Although the latest version

Give DLS a try

2018-08-08 Thread Tab via Digitalmars-d
I find DLS [1] to be very stable, updated more often [2], and it just works without issues (vs. Code-d) ~~ at least for me. I think we should give it a chance. I created a long list of features [3] I'd like to see in D IDE. Hopefully some of them is being worked on. [1]: