mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 16:57:49 +08:00
code_inspections_and_intentions.md: Add an introduction to code inspections and intentions explaining the difference between them
This commit is contained in:
parent
7d83cea5bc
commit
a7ccf85de7
@ -12,6 +12,10 @@
|
|||||||
|
|
||||||
</tldr>
|
</tldr>
|
||||||
|
|
||||||
|
Code inspections analyze code for potential issues, such as errors, inefficiencies, or code smells.
|
||||||
|
Code intentions suggest improvements and refactorings to enhance readability and maintainability.
|
||||||
|
While inspections focus on detecting problems, intentions provide optional enhancements to improve code structure.
|
||||||
|
|
||||||
## Inspections
|
## Inspections
|
||||||
|
|
||||||
The code inspections for custom languages use the same API as all other code inspections, based on the [`LocalInspectionTool`](%gh-ic%/platform/analysis-api/src/com/intellij/codeInspection/LocalInspectionTool.java) class.
|
The code inspections for custom languages use the same API as all other code inspections, based on the [`LocalInspectionTool`](%gh-ic%/platform/analysis-api/src/com/intellij/codeInspection/LocalInspectionTool.java) class.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user