Re: SublimeLinter D Plugin
On Friday, 6 February 2015 at 13:58:13 UTC, Andrej Mitrovic wrote: Do we have a Sublime plugin based on D-Scanner which gives us some features like: - List all methods in a class - Hide (or just fold) non-public methods of a class And other similar features? No, because you haven't written it yet.
Re: SublimeLinter D Plugin
On 9/16/14, Brian Schott via Digitalmars-d-announce digitalmars-d-announce@puremagic.com 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 Do we have a Sublime plugin based on D-Scanner which gives us some features like: - List all methods in a class - Hide (or just fold) non-public methods of a class And other similar features?
Re: SublimeLinter D Plugin
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 ?
Re: SublimeLinter D Plugin
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.
Re: SublimeLinter D Plugin
On Tue, 16 Sep 2014 18:00:00 +, 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.
Re: SublimeLinter D Plugin
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.
Re: SublimeLinter D Plugin
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
Re: SublimeLinter D Plugin
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.
Re: SublimeLinter D Plugin
On Tuesday, 16 September 2014 at 18:26:47 UTC, Justin Whear wrote: On Tue, 16 Sep 2014 18:00:00 +, 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.