diff --git a/topics/reference_guide/custom_language_support/code_inspections_and_intentions.md b/topics/reference_guide/custom_language_support/code_inspections_and_intentions.md index cbfd9f086..ac526038c 100644 --- a/topics/reference_guide/custom_language_support/code_inspections_and_intentions.md +++ b/topics/reference_guide/custom_language_support/code_inspections_and_intentions.md @@ -12,6 +12,10 @@ +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 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.