主页
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)
按投票数排序
最近的活动
投票数
创建于
2016年03月08日 13:37
To be honest: pusher is a hack. Our indices are supposed to depend only on file and its content. But there are situations when they depend on something else: project language level for Java, templa...
社区
IntelliJ IDEA Open API and Plugin Development
Python-like selectable templating laguages
2 票
创建于
2019年03月21日 09:10
Unfortunately there are no good examples. We're working on creating a good API for that, but for now, you'd have to extend FakePsiElement, return it from resolve(), and make its getNavigationElemen...
社区
IntelliJ IDEA Open API and Plugin Development
GotoDeclarationHandler with multiple targets: How to change the rendering of found targets?
1 票
创建于
2019年01月02日 10:06
Having such generically reference-contributable PSI is a possibility, thanks. Your use case counts in its favor. Unfortunately it's not easy to implement, as all clients of "getReference(s)" (inclu...
社区
IntelliJ IDEA Open API and Plugin Development
PsiElement.replace() proper way to do?
1 票
创建于
2018年12月28日 13:32
Indeed, there's no way currently to add custom references to just any PSI element. So CPP-15012 is the best way to achieve your goal. You could try to work around that by implementing com.intellij....
社区
IntelliJ IDEA Open API and Plugin Development
PsiElement.replace() proper way to do?
1 票
创建于
2018年11月23日 15:31
Please try registering this completion contributor with `order="last"` in plugin.xml
社区
IntelliJ IDEA Open API and Plugin Development
Asynchronous completion contributor
1 票
创建于
2018年10月28日 18:12
Sure, opening an editor for a file in a toolwindow is easy, just use EditorFactory to create an editor for the document corresponding to that file. It's editing Python fragment that's currently ver...
社区
IntelliJ IDEA Open API and Plugin Development
Plugin design approach
1 票
创建于
2018年08月05日 00:25
Yes, you're right. Patterns aren't supposed to be a substitution for everything, just for the most frequent checks (mostly syntactic).
社区
IntelliJ IDEA Open API and Plugin Development
What is the idiomatic way to use Pattern framework in platform/core-api/com.intellij.patterns?
1 票
创建于
2018年06月24日 20:08
You can get the file's document (PsiFile#getViewProvider#getDocument), find line range (Document#getLineStartOffset/getLineEndOffset), then find your text's offset inside that range (Document#getIm...
社区
IntelliJ IDEA Open API and Plugin Development
How to get a PsiElement by it's text?
1 票
创建于
2018年06月16日 14:34
If the UI is blocked, this means that Swing thread isn't processing events properly. You can check what it does instead by taking a thread dump.
社区
IntelliJ IDEA Open API and Plugin Development
Is it possible to not block UI when UI depends on background tasks?
1 票
创建于
2018年04月25日 05:11
AFAIK there are no tutorial-like examples, but there are some real usages in intellij-community source, particularly in "IntelliLang" directory, e.g. DefaultLanguageInjector.
社区
IntelliJ IDEA Open API and Plugin Development
Is it possible to extend template language support - Velocity with SQL?
1 票
下一页
›
最后
»