RubyMine 2017.2 Help

Running JavaScript in Browser

To run a file with JavaScript from RubyMine

  1. In the editor, open the HTML file with the JavaScript reference. This HTML file does not necessarily have to be the one that implements the starting page of the application.
  2. Do one of the following:
    • Choose View | Preview file in on the main menu or press Alt+F2. Then select the desired browser from the pop-up menu.
    • Hover your mouse pointer over the code to show the browser icons bar: /help/img/idea/2017.2/browserIcons.png Click the icon that indicates the desired browser.

See Also

Last modified: 21 July 2017