-
Notifications
You must be signed in to change notification settings - Fork 0
Using SonarLint Fixing issues
Page Item: Fixing Issues
SLUG: using-sonarlint-fixing-issues
Lorum ipsum
QUICKFIX IS AN EXAMPLE FEATURE
PLACE ECLIPSE CONTENT HERE TO ENTERED INTO THE KONTENT.AI-SPECIFIC ASSET
PLACE INTELLIJ CONTENT HERE TO ENTERED INTO THE KONTENT.AI-SPECIFIC ASSET
PLACE VISUAL STUDIO CONTENT HERE TO ENTERED INTO THE KONTENT.AI-SPECIFIC ASSET
SonarLint now provides ability to fix select issues with quick fixes.
Click on the language to see the list of supported rules.
When a file is open and there are issues with quick fixes then a lightbulb will appear on the line of the issue.

If lightbulb is clicked a menu with possible quick fixes will be opened.

If one of the quick fixes are selected the fix will be applied automatically.

- Quick fixes for the whole line are always shown #2878
- When an edit elsewhere invalidates an issue quick fixes are visible till a new analysis is run.
PLACE VISUAL STUDIO CONTENT HERE TO ENTERED INTO THE KONTENT.AI-SPECIFIC ASSET