Thread overview | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
September 16, 2014 SublimeLinter D Plugin | ||||
---|---|---|---|---|
| ||||
Several of my co-workers use Sublime Text and wanted D-Scanner to work with SublimeLinter, so here it is. https://github.com/economicmodeling/SublimeLinter-dscanner |
September 16, 2014 Re: SublimeLinter D Plugin | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brian Schott | On Tuesday, 16 September 2014 at 00:16:43 UTC, Brian Schott wrote:
> Several of my co-workers use Sublime Text and wanted D-Scanner to work with SublimeLinter, so here it is.
>
> https://github.com/economicmodeling/SublimeLinter-dscanner
I heavily use SublimeLinter. I'm really glad to see a D plugin for it! Thank you!
|
September 16, 2014 Re: SublimeLinter D Plugin | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brian Schott | On Tuesday, 16 September 2014 at 00:16:43 UTC, Brian Schott wrote:
> Several of my co-workers use Sublime Text and wanted D-Scanner to work with SublimeLinter, so here it is.
>
> https://github.com/economicmodeling/SublimeLinter-dscanner
Could you explain functionality of it, and how it can be helpful ?
|
September 16, 2014 Re: SublimeLinter D Plugin | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brian Schott | On Tuesday, 16 September 2014 at 00:16:43 UTC, Brian Schott wrote:
> Several of my co-workers use Sublime Text and wanted D-Scanner to work with SublimeLinter, so here it is.
>
> https://github.com/economicmodeling/SublimeLinter-dscanner
Can individual style checks be disabled? That "undocumented public function" warning is driving me insane.
|
September 16, 2014 Re: SublimeLinter D Plugin | ||||
---|---|---|---|---|
| ||||
Posted in reply to Meta | On Tue, 16 Sep 2014 18:00:00 +0000, Meta wrote: > On Tuesday, 16 September 2014 at 00:16:43 UTC, Brian Schott wrote: >> Several of my co-workers use Sublime Text and wanted D-Scanner to work with SublimeLinter, so here it is. >> >> https://github.com/economicmodeling/SublimeLinter-dscanner > > Can individual style checks be disabled? That "undocumented public function" warning is driving me insane. DScanner reads an ini file from ~/.config/dscanner/dscanner.ini You can create that file by running `Dscanner --defaultConfig`, then edit it to disable the checks you're not interested in. |
September 16, 2014 Re: SublimeLinter D Plugin | ||||
---|---|---|---|---|
| ||||
Posted in reply to Meta | On Tuesday, 16 September 2014 at 18:00:01 UTC, Meta wrote:
> Can individual style checks be disabled? That "undocumented public function" warning is driving me insane.
I just realized that I documented the "--defaultConfig" option in the "--help" output but forgot to add it to the readme.
|
September 16, 2014 Re: SublimeLinter D Plugin | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brian Schott | On Tuesday, 16 September 2014 at 00:16:43 UTC, Brian Schott wrote: > Several of my co-workers use Sublime Text and wanted D-Scanner to work with SublimeLinter, so here it is. > > https://github.com/economicmodeling/SublimeLinter-dscanner I had to comment out the version checking code otherwise plugin wouldn't load. SublimeLinter: WARNING: no dscanner version could be extracted from: std.getopt.GetOptException@/usr/include/dmd/phobos/std/getopt.d(463): Unrecognized option --version |
September 16, 2014 Re: SublimeLinter D Plugin | ||||
---|---|---|---|---|
| ||||
Posted in reply to Soulsbane | On Tuesday, 16 September 2014 at 19:41:20 UTC, Soulsbane wrote:
> I had to comment out the version checking code otherwise plugin wouldn't load.
That's one option. Another would be updating your dscanner binary.
|
September 16, 2014 Re: SublimeLinter D Plugin | ||||
---|---|---|---|---|
| ||||
Posted in reply to Justin Whear | On Tuesday, 16 September 2014 at 18:26:47 UTC, Justin Whear wrote:
> On Tue, 16 Sep 2014 18:00:00 +0000, Meta wrote:
>
>> On Tuesday, 16 September 2014 at 00:16:43 UTC, Brian Schott wrote:
>>> Several of my co-workers use Sublime Text and wanted D-Scanner to work
>>> with SublimeLinter, so here it is.
>>>
>>> https://github.com/economicmodeling/SublimeLinter-dscanner
>>
>> Can individual style checks be disabled? That "undocumented public
>> function" warning is driving me insane.
>
> DScanner reads an ini file from ~/.config/dscanner/dscanner.ini
> You can create that file by running `Dscanner --defaultConfig`, then edit
> it to disable the checks you're not interested in.
I'm on Windows. Looking at the source, it seems that on Windows DScanner just looks for dscanner.ini in its containing directory. However, creating a dscanner.ini in the same folder as dscaner.exe doesn't seem to work.
|
September 16, 2014 Re: SublimeLinter D Plugin | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brian Schott | On Tuesday, 16 September 2014 at 20:04:49 UTC, Brian Schott wrote:
> On Tuesday, 16 September 2014 at 19:41:20 UTC, Soulsbane wrote:
>> I had to comment out the version checking code otherwise plugin wouldn't load.
>
> That's one option. Another would be updating your dscanner binary.
LOL I guess I shouldn't have waited to report this since I noticed this yesterday. All is well now. Thanks for the work on this!
|
Copyright © 1999-2021 by the D Language Foundation