www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - SublimeLinter D Plugin

reply "Brian Schott" <briancschott gmail.com> writes:
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
Sep 15 2014
next sibling parent "Dylan Knutson" <tcdknutson gmail.com> writes:
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!
Sep 15 2014
prev sibling next sibling parent "Suliman" <evermind live.ru> writes:
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 ?
Sep 16 2014
prev sibling next sibling parent reply "Meta" <jared771 gmail.com> writes:
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.
Sep 16 2014
next sibling parent reply Justin Whear <justin economicmodeling.com> writes:
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.
Sep 16 2014
parent "Meta" <jared771 gmail.com> writes:
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.
Sep 16 2014
prev sibling parent "Brian Schott" <briancschott gmail.com> writes:
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.
Sep 16 2014
prev sibling next sibling parent reply "Soulsbane" <paul acheronsoft.com> writes:
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
Sep 16 2014
parent reply "Brian Schott" <briancschott gmail.com> writes:
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.
Sep 16 2014
parent "Soulsbane" <paul acheronsoft.com> writes:
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!
Sep 16 2014
prev sibling next sibling parent "Jet" <1092501151 qq.com> writes:
 https://github.com/economicmodeling/SublimeLinter-dscanner
That's great! Thanks!
Sep 19 2014
prev sibling parent reply Andrej Mitrovic via Digitalmars-d-announce writes:
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?
Feb 06 2015
parent "Brian Schott" <briancschott gmail.com> writes:
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.
Feb 06 2015