Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
Peter Gromov
Total activity
2258
Last activity
May 09, 2023 12:44
Member since
July 25, 2008 18:59
Following
0 users
Followed by
1 user
Votes
0
Subscriptions
739
Activity overview
Articles (0)
Posts (3)
Comments (1516)
Sort by recent activity
Recent activity
Votes
Created
May 27, 2015 10:34
PSI tree is partially or fully replaced on document commit.The result you cache may depend on different things, and different strategies can be used. If it depends just on the subtree structure, yo...
Community
IntelliJ IDEA Open API and Plugin Development
Perl5 plugin for Intellij IDEA
0 votes
Created
May 28, 2015 14:48
PsiReference.bindToElement should be invoked on target move.
Community
IntelliJ IDEA Open API and Plugin Development
Perl5 plugin for Intellij IDEA
0 votes
Created
June 01, 2015 08:20
The answer at https://devnet.jetbrains.com/message/5542932#5542932 is also applicable here
Community
IntelliJ IDEA Open API and Plugin Development
Perl5 plugin for Intellij IDEA
0 votes
Created
June 23, 2015 12:17
Word scanner is needed to index the identifiers in your files for Find Usages to find them later. If you index some other words like identifiers, it probably won't do harm. So I'd suggest to write ...
Community
IntelliJ IDEA Open API and Plugin Development
Perl5 plugin for Intellij IDEA
0 votes
Created
June 23, 2015 18:00
Well, WordOccurrence requires correct start and end offsets, so Foo and Bar should be within the file's text. Otherwise it doesn't matter how it works exactly.
Community
IntelliJ IDEA Open API and Plugin Development
Perl5 plugin for Intellij IDEA
0 votes
Created
April 27, 2015 05:58
You can create another result set + prefix matcher by calling CompletionResultSet#withPrefixMatcher and passing all the lookup element to the resulting CompletionResultSet.
Community
IntelliJ IDEA Open API and Plugin Development
Perl5 plugin for Intellij IDEA
0 votes
Created
April 27, 2015 06:00
It is possible (via com.intellij.lang.ASTFactory#createLeaf, see IDEA source for examples). But there's rarely need for it. Usually it's composite elements that contain logic and represent program'...
Community
IntelliJ IDEA Open API and Plugin Development
Perl5 plugin for Intellij IDEA
0 votes
Created
June 07, 2016 09:04
A language is registered when its constructor is called. You can try to debug and see which happens first: your Language class constructor or findInstance.
Community
IntelliJ IDEA Open API and Plugin Development
Parser testing
0 votes
Created
June 06, 2016 20:17
I can only guess. It might be that SimpleLanguage isn't registered yet when you invoke findInstance due to some JVM class initialization peculiarities.
Community
IntelliJ IDEA Open API and Plugin Development
Parser testing
0 votes
Created
June 06, 2016 17:58
Official comment
Invoking psi.getContext in a loop (orPsiTreeUtil.getContextOfType) will eventually switch from injected to host PSI.
Community
IntelliJ IDEA Open API and Plugin Development
How to get the parent psi element outside of a language injection
0 votes
«
First
‹
Previous
Next
›
Last
»