Give DLS a try

Seb seb at wilzba.ch
Wed Aug 15 09:11:08 UTC 2018


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 example, 
>>> d.dls.format.dfmtSoftMaxLineLength.
>>
>> If you're using the VSCode extension or Atom package, then 
>> there is no way to deactivate any features, I'm going to add 
>> that to the extensions' settings.
>
> 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!

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



More information about the Digitalmars-d mailing list