{"repo":"dlang-community/D-Scanner","free":true,"listed":false,"github":"https://github.com/dlang-community/D-Scanner","clone":"git clone https://github.com/dlang-community/D-Scanner.git","description":"Swiss-army knife for D source code","language":"D","stars":256,"topics":["dlang","linter","lint","ctags","static-analysis","syntax-checker"],"license":"BSL-1.0","category":"dev-tools","readme_excerpt":"D-Scanner D-Scanner is a tool for analyzing D source code Building and installing First make sure that you have all the source code. Run after cloning the project. To build D-Scanner, run (or the build.bat file on Windows). The build time can be rather long with the -inline flag on front-end versions older than 2.066, so you may wish to remove it from the build script. The makefile has \"ldc\" and \"gdc\" targets if you'd prefer to compile with one of these compilers instead of DMD. To install, simply place the generated binary (in the \"bin\" folder) somewhere on your $PATH. Testing Testing does not work with DUB. Under linux or OSX run the tests with make test . Under Windows run the tests with build.bat test . Installing with DUB Installing with Docker With Docker no installation is required: Usage The following examples assume that we are analyzing a simple file called helloworld.d Linting Use to view a human readable list of issues. Diagnostic types can be enabled/disabled using a configuration file, check out the --config argument / dscanner.ini file for more info. Tip: some IDEs that integrate D-Scanner may have helpers to configure the diagnostics or help generate the dscanner.ini file. Auto-Fixing issues Use to interactively fix all fixable issues within the source directory. Call with --applySingle to automatically apply fixes that don't have multiple automatic solutions. Tooling integration Many D editors already ship with D-Scanner. For a CLI / tool parsable output use ","default_branch":null,"files":null,"tree":[],"storefront":"/r/dlang-community","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dlang-community/D-Scanner/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}