On Thursday, 2 November 2017 at 08:35:08 UTC, Temtaime wrote:
On Thursday, 2 November 2017 at 06:43:36 UTC, Bastiaan Veelo
On Wednesday, 1 November 2017 at 20:09:02 UTC, Temtaime wrote:
Works too strange.
Seems it checks only syntax and doesn't display non-syntax
Also, what is your compiler version, OS, and do you have other
No way to post a reduced example.
I tried it with one-file test example and it displays all the
errors correctly, but in my projects with 30 KLOCS it displays
only syntax erorrs.
DMD from git master branch, windows, no other plugins.
Maybe the error is actually detected but shown in a different
location? Use Tools->SublimeLinter->Show All Errors to see if it
You can turn on debugging from the menu
Tools->SublimeLinter->Debug Mode, and open the console (Ctrl+` or
icon in lower left corner) to see the dmd output. Do you see the
error messages you expect?
The linter calls dmd on just the file that is in your view (in a
temp directory). That is probably not how you compile your
30KLOCS project, maybe errors depend on that? Does dmd give the
error message you expect when you call dmd on that particular
file by hand? The linter uses these command line switches: -o- -w
If there is a difference in what dmd produces and what is picked
up by the linter, we should adjust the python regex . Note
that it should discard tracebacks like "called from here". I used
 to help with that. If you want to hack on it yourself, you
can remove the package SublimeLinter-contrib-dmd and clone 
into C:\Users\<user>\AppData\Roaming\Sublime Text 3\Packages.
Maybe dmd sends some of its output to stdout. Change  from
util.STREAM_STDERR to util.STREAM_BOTH to make it read from both
Does it help setting the linter working directory ? Note that
currently the regex relies on the substring "SublimeLinter3"
being present in the path to the temp file, I am unsure whether
that would still work then.
 https://regex101.com/, select python flavor.