Setting Up WebStorm
Jump to navigation
Jump to search
Please note: Q4.10 includes a built-in editor for QScripts that can be accessed by Automate > Open QScript (Macro) Editor. It is advisable to use this over WebStorm as scripts can be run directly from this editor and the location of errors in the script will be highlighted.
To set up WebStorm:
- Download and install WebStorm from http://www.jetbrains.com/webstorm/.
- Open WebStorm if it is not already open.
- At the Welcome screen, select Configure > Settings.
- Click on File Types (underneath IDE Settings on the left).
- In Recognized File Types (top-right), click on JavaScript Files (you will need to scroll).
- In Registered Patterns, press the green plus button.
- Enter *.QScript and press OK.
- Press OK again.
Any file that is opened in WebStorm with a file extension of .QScript will now highlight the text as int he example above. When creating new QScript files, you need to be selecting options for creating new files (i.e., not new projects).