Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
Onuryi
Total activity
48
Last activity
October 04, 2020 08:21
Member since
April 02, 2020 10:18
Following
0 users
Followed by
0 users
Votes
2
Subscriptions
5
Activity overview
Posts (5)
Comments (36)
Sort by recent activity
Recent activity
Votes
Edited
August 05, 2020 09:21
So what would be most convenient way be to display a popup over the highlighted range in the editor and also keep the ErrorStripeTooltip added with the RangeHighlighter?Should I use an Annotator?
Community
IntelliJ IDEA Open API and Plugin Development
Display popup over RangeHighlighter on mouseover
0 votes
Edited
August 05, 2020 09:07
Thanks Aleksey Pivovarov! I'm currently adding my highlighter the following way: RangeHighlighter highlighter = editor.getMarkupModel().addRangeHighlighter(startoffset, endoffset, 0, new TextAttrib...
Community
IntelliJ IDEA Open API and Plugin Development
Display popup over RangeHighlighter on mouseover
0 votes
Created
May 20, 2020 13:05
Sorry my bad. This works now: <applicationListeners> <listener class="MyDocumentManagerListener" topic="com.intellij.openapi.fileEditor.FileDocumentManagerListener" /></applicationListeners> But...
Community
IntelliJ IDEA Open API and Plugin Development
PsiTreeChangeListener code tracking
0 votes
Created
May 20, 2020 12:35
Thanks for your response Yann! I tried what you suggested but it doesn't work. Any idea why? Plugins.xml <applicationListeners> <listener class="MyDocumentManagerListener" topic="com.intellij.Ap...
Community
IntelliJ IDEA Open API and Plugin Development
PsiTreeChangeListener code tracking
0 votes
Created
May 16, 2020 15:38
Anyone?
Community
IntelliJ IDEA Open API and Plugin Development
PsiTreeChangeListener code tracking
0 votes
Edited
May 11, 2020 11:10
Just to be sure. Using what you suggested in 2) will I be able to get the contents of files before and after they were changed and all other file contents that weren't changed (project level)? My p...
Community
IntelliJ IDEA Open API and Plugin Development
PsiTreeChangeListener code tracking
0 votes
Edited
May 07, 2020 12:31
1) Let me try to explain this using an example: Let's say the use types private int age; in the editor. This would be valid. but if the user types only private or "pr" this would be invalid and in ...
Community
IntelliJ IDEA Open API and Plugin Development
PsiTreeChangeListener code tracking
0 votes
Created
May 07, 2020 11:08
1) I just want to save the Document only if there are no errors e.g it is a valid java file. So I thought I would use a counter and increment it if hasErrorElements returns true. And if the counter...
Community
IntelliJ IDEA Open API and Plugin Development
PsiTreeChangeListener code tracking
0 votes
Created
May 07, 2020 10:53
1) Ok thanks but is there another way to do this efficiently? Should I call it from ApplicationManager.runReadAction? 2) So I'm calling the handleEvents method in both before and after method. The ...
Community
IntelliJ IDEA Open API and Plugin Development
PsiTreeChangeListener code tracking
0 votes
Edited
May 07, 2020 10:35
Thank you guys for your answers! Artsiom Chapialiou thank you for the workaround! So now everytime i save a Document on my change event the before and after method of my BulkFileListener are fired....
Community
IntelliJ IDEA Open API and Plugin Development
PsiTreeChangeListener code tracking
0 votes
«
First
‹
Previous
Next
›
Last
»