mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 10:17:50 +08:00
inspections: com.intellij.inspection.basicVisitor EP
This commit is contained in:
parent
69d952000e
commit
ec61cd3f0b
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user