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: Clarify how inspections and intentions are run
This commit is contained in:
parent
a7ccf85de7
commit
ea091bb25d
@ -14,7 +14,9 @@
|
||||
|
||||
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 are run on a full PSI tree and report found problems, while intention actions are run only on elements under the cursor.
|
||||
|
||||
## Inspections
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user