Integrating IntelliJ IDEA and BaseX
Tuesday, 28 February 2017 · 4 messages · last reply 1 Mar 2017
GS
Hi,
as an IntelliJ IDEA user I'm only using IDEA and XQuery plugin to write the XQuery scripts, then execute them in BaseX gui while navigating the same directory. I'm using the plugin that is mentioned in the wiki page for syntax highlighting etc. We are using BaseX processor as a web service so on my local environment I only use the BaseX gui. Most of the time you need BaseX gui anyway, in order to run some quick Xpath expressions or retrieve parts of data from an XML file, so I don't bother setting up a server / client mode. I also have to change the inspections when setting up the plugin, because of a bug currently present that uses 100% cpu when inspecting unused variables in large XQuery files.
One thing that would be interesting, is to have debugging support in BaseX. I think recently Grzegorz added debugging support for Saxon.
George
Quoted text · Bridger Dyson-Smith · 22 lines
On 02/28/2017 11:18 PM, Bridger Dyson-Smith wrote: > Hi all, > > I'm hoping to get some feedback (and potential collaborators) on a > wiki page I created[1] that attempts to help a user get started with > IDEA, XQuery, and BaseX. > > However!, I'm feeling a bit uncertain about my limited experience with > workflows, tooling, and IDEA set up, and so I'm hoping that those of > you on this list who use BaseX and IDEA might be willing to pass along > feedback about the linked documentation. > > Particularly, how are you interacting with BaseX both as a processor > and as client/server? How are you starting and stopping your server? > What pieces of IDEA are you leveraging to make working with XQuery and > BaseX a(n even) better experience? > > Thank you in advance for your time and trouble. > Best, > Bridger > > [1] http://docs.basex.org/wiki/Integrating_IntelliJ_IDEA
BD
Bridger Dyson-Smith28 Feb 2017 23:18 #
Hi all,
I'm hoping to get some feedback (and potential collaborators) on a wiki page I created[1] that attempts to help a user get started with IDEA, XQuery, and BaseX.
However!, I'm feeling a bit uncertain about my limited experience with workflows, tooling, and IDEA set up, and so I'm hoping that those of you on this list who use BaseX and IDEA might be willing to pass along feedback about the linked documentation.
Particularly, how are you interacting with BaseX both as a processor and as client/server? How are you starting and stopping your server? What pieces of IDEA are you leveraging to make working with XQuery and BaseX a(n even) better experience?
Thank you in advance for your time and trouble.
Best,
Bridger
[1] http://docs.basex.org/wiki/Integrating_IntelliJ_IDEA
CG
Christian Grün1 Mar 2017 10:50 #
Bridger,
Thanks for the new Wiki page!
Personally, I have only used XQuery and IntelliJ plugin for some basic tests so far.
If some features are not working as they should, the GitHub issue tracker of the plugin is a good place to report this [1]. I remember that Grzegor is responsive and gave helpful feedback in the past. If required, we will be happy to contribute missing parts and links (for example, I was wondering if/how the plugin handles all the
BaseX-specific modules and functions – are they correctly detected?).
Christian
[1] https://github.com/ligasgr/intellij-xquery/issues
Quoted text · Bridger Dyson-Smith · 23 lines
On Tue, Feb 28, 2017 at 10:18 PM, Bridger Dyson-Smith <bdysonsmith at gmail.com> wrote: > Hi all, > > I'm hoping to get some feedback (and potential collaborators) on a wiki page > I created[1] that attempts to help a user get started with IDEA, XQuery, and > BaseX. > > However!, I'm feeling a bit uncertain about my limited experience with > workflows, tooling, and IDEA set up, and so I'm hoping that those of you on > this list who use BaseX and IDEA might be willing to pass along feedback > about the linked documentation. > > Particularly, how are you interacting with BaseX both as a processor and as > client/server? How are you starting and stopping your server? What pieces of > IDEA are you leveraging to make working with XQuery and BaseX a(n even) > better experience? > > Thank you in advance for your time and trouble. > Best, > Bridger > > [1] http://docs.basex.org/wiki/Integrating_IntelliJ_IDEA
BD
Bridger Dyson-Smith1 Mar 2017 18:10 #
Christian,
Quoted text · Christian Grün · 18 lines
On Wed, Mar 1, 2017 at 4:50 AM, Christian Grün <christian.gruen at gmail.com> wrote: > Bridger, > > Thanks for the new Wiki page! > > No problem! > Personally, I have only used XQuery and IntelliJ plugin for some basic > tests so far. > > If some features are not working as they should, the GitHub issue > tracker of the plugin is a good place to report this [1]. I remember > that Grzegor is responsive and gave helpful feedback in the past. If > required, we will be happy to contribute missing parts and links (for > example, I was wondering if/how the plugin handles all the > BaseX-specific modules and functions – are they correctly detected?). > > My limited testing suggests that, so long as BaseX is chosen as the XQuery
flavor, BaseX-specific modules and functions are recognized appropriately. And I completely agree - Grzegorz is very helpful and responsive (based on looking at the issues in the github repository). As I continue to work with IDEA, I'll make it a point to communicate with him there.
Quoted text · Christian Grün · 3 lines
> Christian > > Thanks!
Cheers,
Bridger
Quoted text · Christian Grün · 32 lines
> [1] https://github.com/ligasgr/intellij-xquery/issues > > > On Tue, Feb 28, 2017 at 10:18 PM, Bridger Dyson-Smith > <bdysonsmith at gmail.com> wrote: > > Hi all, > > > > I'm hoping to get some feedback (and potential collaborators) on a wiki > page > > I created[1] that attempts to help a user get started with IDEA, XQuery, > and > > BaseX. > > > > However!, I'm feeling a bit uncertain about my limited experience with > > workflows, tooling, and IDEA set up, and so I'm hoping that those of you > on > > this list who use BaseX and IDEA might be willing to pass along feedback > > about the linked documentation. > > > > Particularly, how are you interacting with BaseX both as a processor and > as > > client/server? How are you starting and stopping your server? What > pieces of > > IDEA are you leveraging to make working with XQuery and BaseX a(n even) > > better experience? > > > > Thank you in advance for your time and trouble. > > Best, > > Bridger > > > > [1] http://docs.basex.org/wiki/Integrating_IntelliJ_IDEA >
Written for BaseX 8.6. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery