AQL support for Idea.
- Publish/move to better-care github?
-
Using IDE built-in plugin system (not yet supported):
Settings/Preferences > Plugins > Marketplace > Search for "aql-idea" > Install Plugin
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
- Open AQL tool window.
- In Servers tab, click Configure button.
- Add one or more servers by clicking + button and configure server properties. Test button will test the configuration by making a test request to the current server
- Click Ok to save the server configuration
Servers will now be listed in the Servers tab inside the AQL tool window. To open a console for a particular server, double-click on the server name.
Aql servers are now listed in a tree view. To create a new console:
- Expand the tree node of an aql server.
- Right-click on the console sub-node, and choose Add Console.
- Name the console, and select ok. The console should now be present under the consoles sub-node.
- To open the console, double-click on the console name, or press enter
Each additional aql console can be deleted or renamed by right-clicking on it and selecting the appropriate option.
The aql console supports:
- syntax highlighting
- autocompletion of keywords
- autocompletion of paths and archetypeIds according to the currently active server metadata
- executing an aql on the currently active server
- multiple AQLs per file, which can be run individually
In the gutter there should be a Run icon next to each start of an aql. Click on it to run that particular aql on the currently active server. The results will be shown in AQL tool window, tab Query Results. Besides the results as a table, there will also be tabs that contain the raw request and response contents.
At the bottom of each aql console editor, there is an additional history tab. On this tab you can see recent previously executed queries, and optionally rerun them.
Each console has its own history.
Plugin based on the IntelliJ Platform Plugin Template.