Sargo Tar
- Total activity 61
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 9
- Subscriptions 17
-
Edited Performance warning: LineMarker is supposed to be registered for leaf elements only
AnsweredI get a warning eInsight.daemon.LineMarkerInfo - Performance warning: LineMarker is supposed to be registered for leaf elements only, but got: XmlTag: in the code, I even pass XmlAttribute not Xm... -
Created Why pluginUntilBuild is mandatory
AnsweredDoes that mean that I should change pluginUntilBuild(currently it is 211) each time when a new version of IDEA released? -
Created RelatedItemLineMarkerProvider shows the line itself
AnsweredImplemented RelatedItemLineMarkerProvider for XML files, when clicking on the gutter it shows the line itself but not line what it points <CUSTOMER NAME="Customer Name" ....... /> I want to display... -
Edited PsiReferenceProvider doesn't work with Well Formed XML files
AnsweredI implemented PsiReferenceProvider to navigate across XML files, but it works only if there is no correct declaration (correct !DOCTYPE) , though MyPsiReferenceProvider is triggered when I open the... -
Edited ReferenceContributor for XML
AnsweredI've implemented PsiReferenceContributor to navigate across specific XML files when a user press CTRL + B on an attribute or tag and if it has more than one usages it shows a popup where all places... -
Created How to get value from xml element
AnsweredHow to get a value from XmlFile, in FindUsagesProvider#canFindUsagesFor I receive XmlFile element I don't understand how can I get a value that user pressed. `<CUSTOMER NAME="somename"/>` If I pre... -
Edited How to register findusagesprovider
AnsweredI wrote <lang.findUsagesProvider language="XML" implementationClass="com.MyFindUsages"/> class MyFindUsages : FindUsagesProvider() { .... } But still the provider is never triggered, but when I us... -
Edited How to find string line where cursor is
AnsweredI have offset PlatformDataKeys.EDITOR.getData(e.dataContext).caretModel.offset that gives me offset from the beginning of the file. I have val xmlFile = PsiManager.getInstance(project).findFile(fil... -
Edited How to register shortcut for specific .puml files
AnsweredIs it possible and how to register some action for only specific files? I need to replace "find usages" and "go to definition" for only .puml files that contain specific words. Or I need just to cr... -
Edited How to I get all xml files in resource
AnsweredI need to look for all XML files in 'resource' how to do it properly.1. I use FileBasedIndex.getInstance().getContainingFiles(FileTypeIndex.NAME, XmlFileType.INSTANCE, GlobalSearchScope.allScope(pr...