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
June 06, 2016 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...
Community
IntelliJ IDEA Open API and Plugin Development
Parser testing
0 votes
Created
June 01, 2016 05:29
Official comment
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...
Community
IntelliJ IDEA Open API and Plugin Development
Is it possible to have a PsiReference resolve to an offset in the target element?
0 votes
Created
May 28, 2016 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...
Community
IntelliJ IDEA Open API and Plugin Development
Add completion contributor on Xml language
0 votes
Created
May 27, 2016 18:16
Official comment
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...
Community
IntelliJ IDEA Open API and Plugin Development
Add completion contributor on Xml language
0 votes
Created
May 27, 2016 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...
Community
IntelliJ IDEA Users
Null annotations and Inspect code...
0 votes
Created
May 27, 2016 07:41
Official comment
You can call directly the API that NextVariableAction does: TemplateManagerImpl.getTemplateState(editor).nextTab();
Community
IntelliJ IDEA Open API and Plugin Development
Advance Live Template programmatically
0 votes
Created
May 24, 2016 09:49
Do you have a TextControl bound to this panel? Is BaseControl.reset ever called on this TextControl?
Community
IntelliJ IDEA Open API and Plugin Development
How to set default text in TextPanel?
0 votes
Created
May 24, 2016 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...
Community
IntelliJ IDEA Open API and Plugin Development
Best approach for reference creation
0 votes
Created
May 23, 2016 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...
Community
IntelliJ IDEA Open API and Plugin Development
Best approach for reference creation
0 votes
Created
May 20, 2016 18:23
If it's a template that you see in Live Template settings, then you can find it in TemplateSettings.getInstance().getTemplate(...)
Community
IntelliJ IDEA Open API and Plugin Development
Invoking a Live Template programmatically
0 votes
«
First
‹
Previous