Add support for query catalogs in their native language.
For jdbc catalog this will turn Queryeer to a generic SQL editor.
This is simply sending the whole query to the catalog extension along with a OutputWriter.
In the future this could be used by Elastic catalog aswell but with a .http-files that would enable to query elastic more natively.
To do this a new property is needed on QueryFileModel that specifies which type of query engine should be used. When changing the default catalog the query engine choice should adapt to whether there are support for catalog native query or not.
Todo
[ ] Support for adding tasks via API
[ ] Add Jdbc completion tasks in crawler
[x] Fix sqlserver temp variable/table columns in auto complete
[ ] Fix text editor to replace whole word not only up 2 caret location
[x] Rollback connection when closed
[x] Try to refractor out as much as possible in QueryFileView regarding text editor cause that might not always be the editor of choice in query engines
[x] File associations. Connect file extension to query engine (config)
[x] Default query engine for new files. From key stroke short cut (config)
[x] Query file status and color. If we have a persisted connection, a status text should show what we are connected to in status bar or similar. A color should also be supported to color the query tab to get good overview, maybe the status text should be colored as well.
[x] Add support for registering closables in query file, this way query engines can register resources like sql connections etc. that can be closed when query file is closed
[x] Fix jdbc properties component, only show databases drop down. Fix scroll pane to avoid growing
[x] Add support for creating a new query with predefined engine / editor / content
Add support for query catalogs in their native language.
For jdbc catalog this will turn Queryeer to a generic SQL editor.
This is simply sending the whole query to the catalog extension along with a OutputWriter.
In the future this could be used by Elastic catalog aswell but with a .http-files that would enable to query elastic more natively.
To do this a new property is needed on QueryFileModel that specifies which type of query engine should be used. When changing the default catalog the query engine choice should adapt to whether there are support for catalog native query or not.
Todo