主页
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年06月06日 10:28
You should pass your ParserDefition to the constructor of ParsingTestCase. You can also try debugging around ParsingTestCase#createFile and see at which moment Language.ANY is used instead of yours...
社区
IntelliJ IDEA Open API and Plugin Development
Parser testing
0 票
创建于
2016年06月01日 05:29
正式评论
You can resolve your reference to an instance of FakePsiElement, redefine it's #navigate method and do the following there: PsiNavigationSupport.getInstance().createNavigatable(project, virtualFile...
社区
IntelliJ IDEA Open API and Plugin Development
Is it possible to have a PsiReference resolve to an offset in the target element?
0 票
创建于
2016年05月28日 12:10
You can call LookupElementBuilder.withInsertHandler and pass a class there that does just any modifications to the document or editor as you like. In this case, you'd need editor.getCaretModel().mo...
社区
IntelliJ IDEA Open API and Plugin Development
Add completion contributor on Xml language
0 票
创建于
2016年05月27日 18:16
正式评论
You're doing nothing wrong, you're just calling LookupElementBuilder.create(PsiNamedElement) which adds element.getName() ("id") as the presentable lookup text. You can override that by adding a oo...
社区
IntelliJ IDEA Open API and Plugin Development
Add completion contributor on Xml language
0 票
创建于
2016年05月27日 10:28
Please go to File | Settings | Editor | Inspections | "Constant conditions and exceptions". Is the inspection enabled? If you press "Configure annotations" in its settings, do you see jetbrains @Nu...
社区
IntelliJ IDEA Users
Null annotations and Inspect code...
0 票
创建于
2016年05月27日 07:41
正式评论
You can call directly the API that NextVariableAction does: TemplateManagerImpl.getTemplateState(editor).nextTab();
社区
IntelliJ IDEA Open API and Plugin Development
Advance Live Template programmatically
0 票
创建于
2016年05月24日 09:49
Do you have a TextControl bound to this panel? Is BaseControl.reset ever called on this TextControl?
社区
IntelliJ IDEA Open API and Plugin Development
How to set default text in TextPanel?
0 票
创建于
2016年05月24日 09:37
From the description it seems that you need all this heavy info for reference.resolve(), not reference creation. The creation should be fast, it's the resolve that can be quite slow (and it's expec...
社区
IntelliJ IDEA Open API and Plugin Development
Best approach for reference creation
0 票
创建于
2016年05月23日 19:29
Sorry, I don't understand what exactly you initialize statically and what you need. But MethodReferencesSearch is slow. The usual approach is to have a PsiReferenceContributor which registers PsiRe...
社区
IntelliJ IDEA Open API and Plugin Development
Best approach for reference creation
0 票
创建于
2016年05月20日 18:23
If it's a template that you see in Live Template settings, then you can find it in TemplateSettings.getInstance().getTemplate(...)
社区
IntelliJ IDEA Open API and Plugin Development
Invoking a Live Template programmatically
0 票
«
第一页
‹
上一页