External Run Ability?

I am a considering using Webstorrm and need the ability to press a button like ctrl-s which will:

- save the editor
- run an external .bat command passing the name of file as an argument
- see the results in the bottom section

Is this possible to configure?

4 comments
Comment actions Permalink

Few possible options (depends on what exactly you trying to achieve):

0
Comment actions Permalink

Thank you for your help.   

Will either of these options allow the output of the .bat file to be pipled back into a window at the bottom of editor?

I write code which needs to be compiled (Oracle PL Server Pages).   When the code is compiled, I need to see the errors.  

Is it possible to parse the error message and move the cursor to the line number of the error?

The error message looks like:

---------- load psp ----------
ORA-20006: "dwr_dp.psp": compilation failed with the following errors.
"dr_dp.psp", line 71, pos 1: PLS-00201: identifier 'XYZ' must be declared
"dr_dp.psp", line 71, pos 1: PL/SQL: Statement ignored

So ideally, I need to move the cursor to line 71, position 1

Also, where is Settings?  I do not see it on the top bar.

0
Comment actions Permalink
Will either of these options allow the output of the .bat file to be pipled back into a window at the bottom of editor?

Both of them have such option -- it is just called differently in each of them.

I write code which needs to be compiled (Oracle PL Server Pages).   When the code is compiled, I need to see the errors.  

Is it possible to parse the error message and move the cursor to the line number of the error?

"Move cursor" -- not sure (possibly not). But you can convert error message into a clickable link that (when clicked) should take your cursor there.

The functionality is called "Output Filters".

Also, where is Settings?  I do not see it on the top bar.

"File | Settings" on Linux/Windows. On Mac it is called "Preferences" (standard naming for Mac).

0
Comment actions Permalink

Thank you for helpiing.  I was to get things working and was able to give webstorm a good test run.

0

Please sign in to leave a comment.