inspections: com.intellij.inspection.basicVisitor EP

This commit is contained in:
Yann Cébron 2023-09-19 14:13:31 +02:00
parent 69d952000e
commit ec61cd3f0b
2 changed files with 9 additions and 2 deletions

View File

@ -16,6 +16,9 @@ _Early Access Program_ (EAP) releases of upcoming versions are available [here](
External Annotators in Dumb Mode
: [](syntax_highlighting_and_error_highlighting.md#external-annotator) can now run in during indexing.
Local inspections performance
: Custom language plugins with many inspections should consider registering a default visitor to improve processing, see [](code_inspections_and_intentions.md#inspections-performance).
## 2023.2
### IntelliJ Platform 2023.2

View File

@ -1,7 +1,7 @@
<!-- Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
# Code Inspections and Intentions
<!-- Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
<link-summary>Introduction to analysing the code and providing quick fixes for the found issues.</link-summary>
<tldr>
@ -31,6 +31,10 @@ See [Inspections](https://jetbrains.design/intellij/text/inspections/) topic in
- [Code Inspections Tutorial](code_inspections.md)
- A [simple inspection](%gh-ic%/plugins/properties/properties-psi-impl/src/com/intellij/lang/properties/codeInspection/TrailingSpacesInPropertyInspection.java) for [Properties language plugin](%gh-ic%/plugins/properties)
#### Inspections Performance
To optimize processing in local inspections, a custom language plugin should register the default visitor for its language in `com.intellij.inspection.basicVisitor` extension point (2023.3).
### Intentions
The code intentions for custom languages also use the standard API for intentions.