mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
indexing_and_psi_stubs.md: cleanup
This commit is contained in:
parent
8b5e7453de
commit
c05825d46c
@ -35,19 +35,27 @@ Violations are reported via [`IndexNotReadyException`](%gh-ic%/platform/core-api
|
||||
It also provides ways of delaying code execution until indexes are ready.
|
||||
|
||||
### `DumbAware` API
|
||||
|
||||
{id="DumbAwareAPI"}
|
||||
|
||||
Implementations of certain [](plugin_extension_points.md) can be marked as available during Dumb Mode by implementing
|
||||
#### Extension Points
|
||||
|
||||
Implementations of certain [extension points](plugin_extension_points.md) can be marked as available during Dumb Mode by implementing
|
||||
[`DumbAware`](%gh-ic%/platform/core-api/src/com/intellij/openapi/project/DumbAware.java).
|
||||
Such Extension Points are marked with
|
||||
Such extension points are marked with the
|
||||

|
||||
tag in [](intellij_platform_extension_point_list.md).
|
||||
Commonly used include [`CompletionContributor`](code_completion.md), [`(External)Annotator`](syntax_highlighting_and_error_highlighting.md#annotator) and various
|
||||
|
||||
Commonly used extension points include [`CompletionContributor`](code_completion.md), [`(External)Annotator`](syntax_highlighting_and_error_highlighting.md#annotator) and various
|
||||
[run configuration](run_configurations.md) EPs.
|
||||
Since 2024.2, also [intentions](code_intentions.md) and [quick-fixes](quick_fix.md).
|
||||
Since 2024.2, this includes also [intentions](code_intentions.md) and [quick-fixes](quick_fix.md).
|
||||
|
||||
#### Actions
|
||||
|
||||
For [](basic_action_system.md) available during Dumb Mode, extend [`DumbAwareAction`](%gh-ic%/platform/ide-core/src/com/intellij/openapi/project/DumbAwareAction.java).
|
||||
|
||||
#### Other API
|
||||
|
||||
Other API might indicate its Dumb Mode compatibility by extending [`PossiblyDumbAware`](%gh-ic%/platform/core-api/src/com/intellij/openapi/project/PossiblyDumbAware.java).
|
||||
|
||||
### Testing
|
||||
@ -77,6 +85,7 @@ Please see [`VirtualFileGist`](%gh-ic%/platform/indexing-api/src/com/intellij/ut
|
||||
## Improving Indexing Performance
|
||||
|
||||
### Performance Metrics
|
||||
|
||||
<primary-label ref="2020.2"/>
|
||||
|
||||
Indexing performance metrics in JSON format are generated in [logs directory](https://intellij-support.jetbrains.com/hc/en-us/articles/206544519-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs) (see [sandbox directory](ide_development_instance.md#the-development-instance-sandbox-directory) for development instance).
|
||||
|
Loading…
x
Reference in New Issue
Block a user