code_inspections_and_intentions.md: Clarify how inspections and intentions are run

This commit is contained in:
Karol Lewandowski 2025-03-13 14:51:33 +01:00
parent a7ccf85de7
commit ea091bb25d

View File

@ -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