Merge pull request #23 from matklad/clarify-patterns-api

Clarify `Pattern` API, reviewed by peter
This commit is contained in:
Yann Cébron 2016-11-02 20:38:03 +01:00 committed by GitHub
commit e40a0cd0b9

View File

@ -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.