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? |
Beta Was this translation helpful? Give feedback.
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) |
Beta Was this translation helpful? Give feedback.
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)