Home
IDEs Support (IntelliJ Platform) | JetBrains
Submit a request
Community
Sign in
Sbilich
Follow
New posts
New posts and comments
Total activity
25
Last activity
May 18, 2018 00:07
Member since
January 29, 2018 19:23
Following
0 users
Followed by
0 users
Votes
0
Subscriptions
5
Activity overview
Posts (4)
Comments (16)
Sbilich
commented,
May 18, 2018 00:07
hmm okay I see what you mean and I think that leads me to my next question: I want to be able to attach linemarkers to multiple PsiElements in the document, and have them be independent of each oth...
Community
IntelliJ IDEA Open API and Plugin Development
LineMarker for PsiElement, no target
0 votes
Sbilich
commented,
May 16, 2018 18:27
It looks like there isn't a reasonable way of comparing RelatedLineMarkerInfo objects since there isn't a way to properly compare the NavHandlers, alignment, targets, or text range.
Community
IntelliJ IDEA Open API and Plugin Development
LineMarker for PsiElement, no target
0 votes
Sbilich
commented,
May 16, 2018 17:53
RelatedLineMarkerInfo and it's superclasses don't seem to have an implemented equals() method, so that's why it keeps adding duplicate linemarkers to the result collection despite the linemarkers h...
Community
IntelliJ IDEA Open API and Plugin Development
LineMarker for PsiElement, no target
0 votes
Sbilich
commented,
May 16, 2018 15:48
Great, the linemarker is showing up now every time I run the plugin I still am trying to find a way to check why duplicate linemarkers are being made. I'll look more into why the linemarkers aren't...
Community
IntelliJ IDEA Open API and Plugin Development
LineMarker for PsiElement, no target
0 votes
Sbilich
commented,
May 16, 2018 01:03
1) I'll try that out and see what happens, thanks! 2) markFileScopeDirty isn't a public function so I can't access it within my file
Community
IntelliJ IDEA Open API and Plugin Development
LineMarker for PsiElement, no target
0 votes
Sbilich
commented,
May 15, 2018 16:31
1) Any idea as to why queryLineMarkers() would cause a stack overflow error when there aren't any linemarkers currently. PsiFile f = element.getContainingFile();System.out.println(f.getVirtualFile(...
Community
IntelliJ IDEA Open API and Plugin Development
LineMarker for PsiElement, no target
0 votes
Sbilich
commented,
May 15, 2018 05:09
Thanks the provider actually gets registered and collectNavigationMarkers() is called. The issue I'm now running into is that in some runs of my plugin sometimes my linemarkers appear and other t...
Community
IntelliJ IDEA Open API and Plugin Development
LineMarker for PsiElement, no target
0 votes
Sbilich
commented,
May 08, 2018 16:52
I put print debugging statements in the function and it appears that the function is never being called because I don't see those lines in the console. I registered the lineMarkerProvider like so: ...
Community
IntelliJ IDEA Open API and Plugin Development
LineMarker for PsiElement, no target
0 votes
Sbilich
commented,
May 04, 2018 15:45
I figured out what was going wrong: createLineMarkerInfo() in NavigationGutterIconBuilder returns a RelatedItemLineMarkerInfo, so you have to create a RelatedItemLineMarkerInfo. I don't know why yo...
Community
IntelliJ IDEA Open API and Plugin Development
LineMarker for PsiElement, no target
0 votes
Sbilich
commented,
April 30, 2018 15:01
Thanks Eric! Another question: I'm trying to add the LineMarkerInfo object to the result Collection parameter in the function: collectNavigationMarkers(@NotNull PsiElement element, Collection<? su...
Community
IntelliJ IDEA Open API and Plugin Development
LineMarker for PsiElement, no target
0 votes