You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Okay, thanks... This has been a great tool to get me to dig in.
I ended up downloading the intellij source so I can search/find things faster.
Anyways, this link has java code to do what I want, I figured I could convert it to groovy and use it.
But the imports mostly FAIL. Rendering the code useless...
Could I get a better understanding of why the imports below are failing?
Thanks!
PS: Even if I have to paste the results from a query, the goal is to have items with line # / Col # references/messages I can click on (like in real programming... But for my stored procedures)
In the past IntelliJ IDEs were less modular so compilation classes were part of the "core" (even though they were java-specific) so wouldn't need to specify dependency on any plugin to use e.g. CompilerMessageImpl class.
PS: Even if I have to paste the results from a query, the goal is to have items with line # / Col # references/messages I can click on (like in real programming... But for my stored procedures)
Thank you Dmitry!
Your hints have helped. By recording a few macros. I was able to get it working (80%).
I cannot YET create output to the Problems Console...
But I figured out how to parse the function/procedure name from the document.
Then create a custom query to run the LINT in the DB. (I literally jump to the end of the file,
inject the query into the code, SELECT IT, and hit Ctrl+Enter (Console.Jdbc.Execute) thanks to the Macro Trick.
Then I UNDO those items, and STRUGGLE to get the cursor back where it started, and the editor scrolled back.
So I just jumped to the top of the document after "linting".
Next I will try the // depends-on-plugin trick, to try to access those Methods...
Right now this is already a huge timesaver!
I will have to figure out how to grab the grid contents. And how to create a properly formatted Problem,
with the line #, etc. so it is hyperlinked into the code from there..
Okay, thanks... This has been a great tool to get me to dig in.
I ended up downloading the intellij source so I can search/find things faster.
Anyways, this link has java code to do what I want, I figured I could convert it to groovy and use it.
But the imports mostly FAIL. Rendering the code useless...
Could I get a better understanding of why the imports below are failing?
Thanks!
PS: Even if I have to paste the results from a query, the goal is to have items with line # / Col # references/messages I can click on (like in real programming... But for my stored procedures)
https://intellij-support.jetbrains.com/hc/en-us/community/posts/206751535-How-to-use-CompileContext-addMessage-to-show-a-error-in-the-message-toolbox-
The text was updated successfully, but these errors were encountered: