I'm looking at adding some additional functionality to the XQuery plugin. I work with MarkLogic quite a bit and I would like to add a few tweaks. In particular I would like to add the keyword "private" to function declarations (MarkLogic specific, I believe) and I would like to add support for listing the variables and functions in the ctrl-R menu.
I think I can figure out the "private" keyword piece, I believe that I just need to edit the expressions in the XQuery.tmLanguage file.
However, to add support for the ctrl-R menu, I think I need to create a file called function.tmProperties and add references there. I tried this and have had no luck.
This is what I have tried for the tmPrefernces file:
- Code: Select all
<string>Symbols List: Functions</string>
Any pointers? I've never tried this with a text editor before, so I'm rather new at this. I think it would be fun to get this working and submit the changes to the original author.