D-Scanner 0.15.0
WebFreak001
d.forum at webfreak.org
Wed Jul 5 11:46:32 UTC 2023
Hello everyone,
today there is a new D-Scanner release, key features include:
- proper diagnostic ranges (underlining code / end locations for
issues)
- also includes file byte index instead of only line:column in
the JSON formats (for IDE integration)
- pretty printing format, with colored output
- new easier way to call D-Scanner for humans: `dscanner lint
source/`
https://github.com/dlang-community/D-Scanner/releases/tag/v0.15.0
![example colored
output](https://github.com/dlang-community/D-Scanner/assets/2035977/644d1cea-276f-4a9c-af8c-f445aad95806)
Looking forward to feedback for the output style and warnings.
Adding your own diagnostics to D-Scanner is quite easy, give it a
try if you have ideas! You have full access to the AST of the
input file, as well as a very basic symbol index to attempt to
lookup symbols in the entire project (although it's not always
accurate yet, especially since D-Scanner usually isn't configured
to use the correct import paths)
More information about the Digitalmars-d-announce
mailing list