mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
parameter_info.md: mention DumbAware
This commit is contained in:
parent
6eacb0034a
commit
b059db624c
@ -91,8 +91,7 @@ Only `isWhitespaceSensitive()` which is used in the `getCurrentOffset()` method
|
|||||||
[`ParameterInfoControllerBase`](%gh-ic%/platform/lang-impl/src/com/intellij/codeInsight/hint/ParameterInfoControllerBase.java)
|
[`ParameterInfoControllerBase`](%gh-ic%/platform/lang-impl/src/com/intellij/codeInsight/hint/ParameterInfoControllerBase.java)
|
||||||
should be implemented when whitespace matters in a language.
|
should be implemented when whitespace matters in a language.
|
||||||
|
|
||||||
Note that parameter info works during indexing (using incomplete data) when the implementations also extend
|
Note that parameter info works during indexing (using incomplete data) when the implementations is marked [dumb aware](indexing_and_psi_stubs.md#DumbAwareAPI).
|
||||||
[`DumbAware`](%gh-ic%/platform/core-api/src/com/intellij/openapi/project/DumbAware.java).
|
|
||||||
It is recommended to adapt tests for [dumb mode](indexing_and_psi_stubs.md#dumb-mode) since the results might be surprising,
|
It is recommended to adapt tests for [dumb mode](indexing_and_psi_stubs.md#dumb-mode) since the results might be surprising,
|
||||||
and more changes to the handler might be required for better results.
|
and more changes to the handler might be required for better results.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user