Anton
Anton

Reputation: 427

Turn off all code analyzer warnings in the IDE

Is it possible to turn off all code analyzer warnings highlighting in the Matlab IDE, while keeping the code analyzer errors highlighting?
Looked around in preferences but didn't find any options except removing the underlining of warnings.
(They are still highlighted in code and visible at the right edge of the editor).

Workarounds I've found:

  1. Disable all the warnings one by one, which is ridiculous because there is a list with hundreds of check boxes and no "un-check all".
  2. Set the color of the warning highlighting to the background color of the editor.

Upvotes: 1

Views: 240

Answers (1)

rinkert
rinkert

Reputation: 6863

You can use the search bar in the Code Analyzer tab in the Preference menu to filter only warnings. Then you can select them all with ctrl+A and right click and select 'Disable'.

Then you can save your new settings as a new mlint config file.

enter image description here

enter image description here

Upvotes: 3

Related Questions