This is another post around XQuery and IDEs. As in my earlier post I have suggested to use XQDT for XQuery IDE for building and running XQueries, In this post I am going to explain how to use XQuery in Notepad++.
I use notepad++ in my official environment a lot for editing all kinds of files including text, xml, and even XQueries. There are lot of predefined language types in Notepad++ and comes with styling of them. And of course, it looks great when styled.
For now, Notepad++ officially doesn’t include XQuery styling and hence this post!
I found the following plugin configuration for notepad++ that will just do XQuery editing easy with syntax highlighting. Trust me it will add to your code!
I am attaching below files:
Follow the below steps to configure the same. [Assumption: You have installed notepad++ already )
Step 1: Copy XQuery language definition for syntax highlighting
Copy “userDefineLang.xml” to %APPDATA%\Notepad++
Step 2: Copy Query.xml and Query.api to Notepad++ Installation folder
XQuery.api and XQuery.xml to C:\Program Files(x86)\Notepad++\plugins\APIs
Once these are copied, restart Notepad++.
XQuery without formatting.
XQuery with plugin enabled from Language –> XQuery
Hope the above was useful for you.
Download the required files from HERE.