digitalmars.D.announce - D-Scanner 0.15.0
- WebFreak001 (19/19) Jul 05 2023 Hello everyone,
- singingbush (2/9) Jul 05 2023 awesome, this is great news.
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)
Jul 05 2023
On Wednesday, 5 July 2023 at 11:46:32 UTC, WebFreak001 wrote: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) ...awesome, this is great news.
Jul 05 2023