RubyMine 2024.3 Help

Running JavaScript in Browser

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 | Open in Browser from the main menu or press Alt+F2. Then select the desired browser from the list.

    • Hover over the code to show the browser icons bar: the RubyMine icon Chrome Firefox Safari Opera Internet Explorer Edge. Click the icon that indicates the desired browser.

Last modified: 17 June 2024