Run currently opened .js file with node.js

Hello. Is there a way to execute the currently opened file (in the editor) as the parameter to the "path to node App js file" argument?

Thanks,
Mathieu.

2 comments
Comment actions Permalink

Hi Mathieu,

Try "Right click (in editor) | Run..." -- see if it has submenu and if it does choose the correct entry.

If it does not work -- you can always utilize External Tools functionality (Settings | External Tools).

0

Please sign in to leave a comment.