How can I turn off specific warnings? #215
|
Hi and thanks for your work with serve-d! I would like to know if there is a way to turn of specific warnings. I tried "serve-d --help" and have read the "README.md" but wasn't able to find how to do that. Am I missing something? |
Answered by
WebFreak001
Mar 6, 2022
Replies: 1 comment 3 replies
|
If you want to toggle D-Scanner warnings in a cross-IDE way you can create a dscanner.ini file in your project. If you use vscode with code-d, create the file and run the command "Insert default dscanner.ini content" and then you can turn off/on the checks you want to change. Additionally when you put your cursor on warnings you can run code actions (light bulbs) to ignore the line or ignore them in the entire project (inserts a vscode workspace setting in code-d) |
3 replies
Answer selected by
WebFreak001
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you want to toggle D-Scanner warnings in a cross-IDE way you can create a dscanner.ini file in your project. If you use vscode with code-d, create the file and run the command "Insert default dscanner.ini content" and then you can turn off/on the checks you want to change.
Additionally when you put your cursor on warnings you can run code actions (light bulbs) to ignore the line or ignore them in the entire project (inserts a vscode workspace setting in code-d)