Closed pidgeon777 closed 5 years ago
I'll have a look when I find the time, thanks
Hello @pidgeon777 ,
I haven't been working on NppGTags for some time now but did a small change recently and decided to test this long-standing issue.
It appears the current parsers versions doesn't support XML. Perhaps a new versions are available, I don't know for sure but I'm not planning to update those soon.
You can open your NppGTags plugin location - in Notepad++ plugins folder locate NppGTags.dll. There should be a subfolder NppGTags and inside it there is a file named gtags.conf.
Open it with some text editor and there you will find the currently supported languages by the different parsers. Only the listed files extensions will be parsed by the corresponding parser. All other files will be treated as Other files meaning that you can search those with the plugin command Search in Other Files
.
Please have in mind that using Pygments parser actually uses both Universal Ctags + Pygments. The later is used only for references search.
BR
I'm not sure this would be actually doable in NppGTags, but here I go. I was trying to index this XML file:
but it seems that NppGTags doesn't detect any tag (the same applies to tag values, and so on). I don't know if this classifies as an issue or not, I was just curious to know if there was a way to index the nodes, id's, and values of an XML file with NppGTags, given that Pygments allegedly seems to support that:
http://pygments.org/docs/lexers/