Closed ANtlord closed 2 years ago
What do you get when you pipe your file to dscanner --styleCheck
? That is, when you run:
$ ~/.dub/packages/dscanner-0.3.0/dscanner/dscanner --styleCheck < /path/to/your/file.d
I've got this
2016-06-23T14:00:38.150:first.d:visit:301 Could not locate object.d or object.di
2016-06-23T14:00:38.150:first.d:visit:379 Could not resolve location of module 'std/stdio'
./test.d(5:6)[warn]: Variable qwe is never modified and could have been declared const or immutable.
./test.d(5:6)[warn]: Variable qwe is never used.
This is weird... it seems like dscanner
is unable to find Phobos(why does it even need it?), but it does not have any command line arguments for setting it...
I've pushed to develop
a commit that prints such lines using echoerr
, so the problem will be easier to figure. With it, you'll get your quickfix list filled, but you will also get red error messages from dscanner
. I don't want to hide those because they indicate that something is off with your dscanner configuration. For that, you should open a ticket in https://github.com/Hackerpilot/Dscanner/issues
Hello! I've got an issue related to command
DUstyleCheck
. When I call it I've got this.My settings related to vim-dutyl is
I searched vimrc files on github with this plugin, hoping for something useful, but it was without any result. Did I miss some option in vimrc?
Thank you!