PyCharm 3.1.0 Web Help

File | Settings | IDE Settings | Web Browsers

settings

Use this dialog box to specify in which Web browsers PyCharm 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 with Web contents. Also define the browser's behaviour, if the URL address passed to it points at an archive.

Item Description
Use system default browser Select this option to accept your operating system default Web browser as default for PyCharm.
Use Select this option to specify another Web browser as default for PyCharm. 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 files Select this check box to have a confirmation dialog box displayed before extracting files, if an archive is referenced.
Clear extracted files Click 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 output. The page displays all the browsers supported in PyCharm, 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.

Item Description
Active Select 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.

Default Click this button to have PyCharm launch the respective browser using the default system command.
ellypsis Click this button to have PyCharm 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+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift EnterShift 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: