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
July 26, 2017 15:23
Have you tried creating PsiIntersectionType?
Community
IntelliJ IDEA Open API and Plugin Development
PsiType referencing non-existent type
1 vote
Created
July 07, 2017 12:38
Rendering method might be called again on selection change or another repaint, but I wouldn't rely on such implemention details. I believe that once an item is displayed, it'd better not change its...
Community
IntelliJ IDEA Open API and Plugin Development
Update LookupElements after passing to CompletionResultSet?
1 vote
Created
June 06, 2017 07:55
Task.Backgroundable has a possibility to make the task cancellable by user pressing on "Cancel", while ReadTask supports automatic cancel and restart when a UI freeze is about to occur. From your m...
Community
IntelliJ IDEA Open API and Plugin Development
Create task in background with modal progress bar on editor while processing content in background
1 vote
Created
April 11, 2017 14:15
You just can't save a document from non-EDT, you'll get an exception logged. The freeze might be caused not by saving, but by unresponsive inspection that doesn't call checkCanceled regularly while...
Community
IntelliJ IDEA Open API and Plugin Development
How do I save document not in EDT
1 vote
Created
March 16, 2017 09:00
For Groovy, there's an extension called org.intellij.groovy.callExpressionTypeCalculator (GrCallExpressionTypeCalculator class), which you could implement in a plugin.
Community
IntelliJ IDEA Open API and Plugin Development
reference injector - set return type
1 vote
Created
March 15, 2017 13:55
There seems to be no terribly easy way to do this. Which purpose are you trying to achieve with such a listener?
Community
IntelliJ IDEA Open API and Plugin Development
How to listen/override GotoImplementationHandler ? is it possible ?
1 vote
Created
February 20, 2017 14:11
Oh I see, the API is misleading and inconsistent. Then I'd recommend to use PsiFileFactory.getInstance(...).createFileFromText("ClassName.java", JavaFileType.INSTANCE, "class ClassName<T> { ...}"),...
Community
IntelliJ IDEA Open API and Plugin Development
Create a new PSIClass with Generic type parameters
1 vote
Created
February 14, 2017 09:19
You're using TemplateDataElementType and PsiElement(RegularFragmentElementType) is an OuterLanguageElement, right? If not, it should be so. If yes, then you have an opportunity to customize the tex...
Community
IntelliJ IDEA Open API and Plugin Development
How Can I prevent FragmentElementType from affect native HTML parsing?
1 vote
Created
November 02, 2016 15:34
The general answer is "manually" :) A more concrete answer depends on the specific languages and indices involved.
Community
IntelliJ IDEA Open API and Plugin Development
Index stub and IReparseableElementType
1 vote
Created
September 27, 2016 08:58
To work with existing files' PSI, postStartupActivity is indeed the easiest way. To modify module roots, you can use ModuleRootModificationUtil or ModuleRootManager.getModifiableModel directly.
Community
IntelliJ IDEA Open API and Plugin Development
Initialise Project, must read PSI-Files
1 vote
«
First
‹
Previous
Next
›
Last
»