PyCharm 3.1.0 Web Help

You can preview a file with Web contents in a browser. This can be the PyCharm default browser specified in the Web Browsers section of the IDE settings or the one of your choice.

To preview an opened file in a Web browser, do one of the following:
  • On the main menu, choose View | Open in Browser. The current file opens in the default browser.
  • With the editor tab having the focus, choose View | Preview file in on the main menu or press Alt+F2Alt+F2Alt+F2Alt+F2Alt+F2Alt+F2 or Ctrl+Alt+F2Alt+F2Alt+F2Alt F2Alt F2Alt F2. Then select the desired browser from the pop-up menu:

    previewInBrowser1

  • Hover your mouse pointer over the code to show the browser icons bar, and click the icon that indicates the desired browser:

    browserIcons

Tip

If you don't want to see the icons toolbar, or would like to see the icons of just those browsers you are interested in, clear the Active check boxes for the unnecessary browsers in the Web Browsers section of the IDE settings.

See Also

Reference:

Web Resources: