Skip to content

How can I turn off specific warnings? #215

Answered by WebFreak001
rempas asked this question in Q&A
Discussion options

You must be logged in to vote

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)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@rempas
Comment options

@WebFreak001
Comment options

@rempas
Comment options

Answer selected by WebFreak001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants