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
February 20, 2015 15:58
I see! To blame is areElementsEquivalent check at VariableLookupItem.java:223, because it compares light fields from the original and copied class, and they're not equivalent (because so it is writ...
Community
IntelliJ IDEA Open API and Plugin Development
LightFieldBuilder incorrect completion
0 votes
Created
March 01, 2015 08:06
No, runReadActionInSmartMode doesn't acquire long read actions while in dumb mode. And it's a bad idea, because it blocks the UI. Since you have no control over the user, the background read action...
Community
IntelliJ IDEA Open API and Plugin Development
dumbService.runReadActionInSmartMode() blocks the UI?
0 votes
Created
March 01, 2015 18:50
Actually, ReferencesSearch is one of the things that don't need to be wrapped in a read action. It runs concurrently on multiple threads inside and is supposed to take all the needed read actions i...
Community
IntelliJ IDEA Open API and Plugin Development
dumbService.runReadActionInSmartMode() blocks the UI?
0 votes
Created
March 26, 2015 11:06
Yes, there is such a way and it's called stub index. Please refer to http://confluence.jetbrains.com/display/IDEADEV/Indexing+and+PSI+Stubs+in+IntelliJ+IDEA for more information.
Community
IntelliJ IDEA Open API and Plugin Development
Getting all elements of specific type in whole project
0 votes
Created
March 26, 2015 11:04
There's no other easy way. In fact, the message depends on the parser and, if it's your custom language, you have control over it. And PsiErrorElements are not meant to be subclassed, sorry.
Community
IntelliJ IDEA Open API and Plugin Development
Extending PsiErrorElement
0 votes
Created
April 07, 2015 16:24
Thanks. I don't understand the comments you put into this code, but it appears to not contain the changes I suggested: "boolean eventSystemEnabled" from the factory isn't passed to the super constr...
Community
IntelliJ IDEA Open API and Plugin Development
Backward-incompatible change with MultiplePsiFilesPerDocumentFileViewProvider in 14.1?
0 votes
Created
July 08, 2015 15:00
You shouldn't use CompletionParameters in InsertHandler (it's not guaranteed to work), you have InsertionContext with all the necessary information. In particular, it has getStartOffset and getTail...
Community
IntelliJ IDEA Open API and Plugin Development
InsertHandler#handleInsert Get Line Content At Caret
0 votes
Created
July 08, 2015 15:21
The best way to tell that is to debug. A breakpoint in DocumentImpl#changedUpdate will show all changes to all documents during completion.
Community
IntelliJ IDEA Open API and Plugin Development
InsertHandler#handleInsert Get Line Content At Caret
0 votes
Created
August 06, 2015 16:16
When Tab is pressed, the part of the identifier or the reference after the caret is deleted. You can debug which code invokes com.intellij.codeInsight.completion.CompletionInitializationContext#set...
Community
IntelliJ IDEA Open API and Plugin Development
Autocomplete deletes a line on pressing TAB
0 votes
Created
August 06, 2015 10:39
super(toRegexPrefix) call is invalid. PrefixMatcher.getPrefix should return the very same text that's in the editor. Lookup start offset is calculated based on this prefix length.
Community
IntelliJ IDEA Open API and Plugin Development
Autocomplete suggestion at wrong caret position
0 votes
«
First
‹
Previous
Next
›
Last
»