mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
Merge pull request #23 from matklad/clarify-patterns-api
Clarify `Pattern` API, reviewed by peter
This commit is contained in:
commit
e40a0cd0b9
@ -43,6 +43,10 @@ consists of calling the `extend()` method and passing in the *pattern* specifyin
|
||||
for completing keywords in MANIFEST.MF files.
|
||||
|
||||
|
||||
Keep in mind that the pattern is checked against the leaf PSI element. If you
|
||||
want to match a composite element, use `withParent` or `withSuperParent`
|
||||
methods.
|
||||
|
||||
Items shown in the completion list are represented by instances of the
|
||||
[LookupElement](upsource:///platform/lang-api/src/com/intellij/codeInsight/lookup/LookupElement.java)
|
||||
interface.
|
||||
|
Loading…
x
Reference in New Issue
Block a user