主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
登录
Peter Gromov
活动总数
2258
最后的活动
2023年05月09日 12:44
成员加入日期
2008年07月25日 18:59
关注
0 名用户
关注者数
1 名用户
投票数
0
订阅数
739
活动概览
文章(0)
帖子(3)
评论(1516)
按最近的活动排序
最近的活动
投票数
创建于
2015年05月27日 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...
社区
IntelliJ IDEA Open API and Plugin Development
Perl5 plugin for Intellij IDEA
0 票
创建于
2015年05月28日 14:48
PsiReference.bindToElement should be invoked on target move.
社区
IntelliJ IDEA Open API and Plugin Development
Perl5 plugin for Intellij IDEA
0 票
创建于
2015年06月01日 08:20
The answer at https://devnet.jetbrains.com/message/5542932#5542932 is also applicable here
社区
IntelliJ IDEA Open API and Plugin Development
Perl5 plugin for Intellij IDEA
0 票
创建于
2015年06月23日 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 ...
社区
IntelliJ IDEA Open API and Plugin Development
Perl5 plugin for Intellij IDEA
0 票
创建于
2015年06月23日 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.
社区
IntelliJ IDEA Open API and Plugin Development
Perl5 plugin for Intellij IDEA
0 票
创建于
2015年04月27日 05:58
You can create another result set + prefix matcher by calling CompletionResultSet#withPrefixMatcher and passing all the lookup element to the resulting CompletionResultSet.
社区
IntelliJ IDEA Open API and Plugin Development
Perl5 plugin for Intellij IDEA
0 票
创建于
2015年04月27日 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'...
社区
IntelliJ IDEA Open API and Plugin Development
Perl5 plugin for Intellij IDEA
0 票
创建于
2016年06月07日 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.
社区
IntelliJ IDEA Open API and Plugin Development
Parser testing
0 票
创建于
2016年06月06日 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.
社区
IntelliJ IDEA Open API and Plugin Development
Parser testing
0 票
创建于
2016年06月06日 17:58
正式评论
Invoking psi.getContext in a loop (orPsiTreeUtil.getContextOfType) will eventually switch from injected to host PSI.
社区
IntelliJ IDEA Open API and Plugin Development
How to get the parent psi element outside of a language injection
0 票
«
第一页
‹
上一页
下一页
›
最后
»