Question
How to disable ReSharper inspection in VS Code?
Answer
To disable the inspection, try the following:
- place the cursor on the code line showing the inspection/warning that needs to be disabled;
- click the yellow light bulb icon on the left or use Ctrl+. shortcut;
Note: if you're using Cursor, then the lightbulb can be enabled here: open File | Preferences | VS Code Settings, then type in the search bar Lightbulb and turn it on.
- select the inspection: {inspection name} option from the menu;

- select Configure inspection severity... at the top;

- and then select Do not show.

Comments
0 comments
Please sign in to leave a comment.