IntelliJ IDEA 12.1.0 Web Help

File | Settings | IDE Settings | Web Browsers

settings

IntelliJ IDEA | Preferences | IDE Settings | Web Browsers

settings

Use this dialog box to specify in which Web browsers IntelliJ IDEA will open HTML files upon request and whether a browser will be launched by running its executable file or through the default system command.

Default web browser

In this section, specify the browser that will be used for rendering external resources and previewing files file with Web contents. Define also the browser's behaviour if the URL address passed to it points at an archive.

ItemDescription
Use system default browserSelect this option to accept your operating system default Web browser as default for IntelliJ IDEA.
UseSelect this option to specify another Web browser as default for IntelliJ IDEA. Type the path to the executable file of the browser or click the Browse button browseButton to select the path in the Select Path to Browser dialog box.
Show confirmation before extracting filesSelect this check box to have a confirmation dialog box displayed before extracting files, if an archive is referenced.
Clear extracted filesClick this button to remove all the previously extracted files from the browser's cache.

Browsers

In this section, specify which browsers will be available for previewing HTML or JSP output. The page displays all the browsers supported in IntelliJ IDEA, each browser presented in a separate section. To configure the use of a browser, use the controls in the corresponding section.

Note

You can enable as many browsers as you need.

ItemDescription
ActiveSelect this check box to enable the use of the respective browser through the icon in the editor or through the View | Web Preview command.

If this check box is not selected, the corresponding browser icon will not appear in the icons toolbar or pop-up menu.

DefaultClick this button to have IntelliJ IDEA launch the respective browser using the default system command.
ellypsisClick this button to have IntelliJ IDEA launch the respective browser using its executable file. In the dialog that opens, specify the path to the executable file of the corresponding browser.
Settings

Tip

The button is available only in the Firefox and Chrome sections.

In the Firefox Settings dialog box, specify the Firefox browser profile to use for previewing output:

  • Path to "profiles.ini": in this text box, specify the location of the profiles.ini file, which determines the Firefox profile to be used.
  • Profile: from this drop-down list, select the desired predefined profile to use.

In the Chrome Settings dialog box:

  • Command line options: In this text box, enter the command line options to launch an instance of Chrome. If you need more space, click shift-enter-button, or press Shift+EnterShift Enter to open the editor box.
  • Use custom profile directory: Select this check box to define Chrome profile to be used.If this check box is selected, in the text box below, specify the location of the chrome-user-data directory, which determines the Chrome profile to be used.
  • Enable remote debug on port: Select this check box to allow remote debugging, and specify the port number.

See Also

Procedures:

Reference:

Web Resources: