Pycharm tutorial on setting themes

Source: Internet
Author: User
This article mainly introduces the most complete Pycharm learning tutorial First how to customize the appearance, with a certain reference value, interested in small partners can refer to

Pycharm as a powerful Python IDE, in the process of using the feeling has been unable to find a comprehensive reference manual, so decided to the official website of the Pycharm tutorial brief translation, share with you.

1. Preparatory work

First make sure you install the 2.7 or later version of Pycharm (download address), download, please download the corresponding version according to your system platform.

2, how to choose the appearance of Pycharm

Pycharm pre-defined several theme modes, the number of available topics is related to the operating system type, and you can set the settings in the Settings/preferences dialog box by referring to the appearance instructions (refer to the instructions).

The background theme is set up in the following ways:

(1) In the main toolbar, click to open Settings/preferences, and then click the reference Description:

(2) In the following dialog box, click the drop-down menu for "Theme" and select a topic you like:

Note that at this point the reset button is in the upper right corner of the dialog box, and if you change your mind, you can restore the previous settings by clicking this button. At the same time, when you move the mouse to the Apply button, it becomes available:

Of course you can also change other appearance settings, such as font and font size, window properties, and so on.

3, the application changes the settings, it is recommended to restart the Pycharm software (for example, when you change the theme to Darcula, after the impact will be the following effect):

4. How to change the theme color of the edit box

After you change the theme of Pycharm, you may still be dissatisfied with the appearance of the editor, for example, if you want to change the document string to another color, here's how to change it:

First, we click the icon on the toolbar again to enter the "settings/preferences" dialog, expand the "Editor" node, and then the unit price "Color and Font", we found that we are not currently prompted to change the predefined font theme, It means we have to copy it first:

Click the Save as button, and then type a new font frame name:

Now we find that our newly created font type becomes editable, and we can modify it to suit our preferences.

Expand the Color and Font node and go to the Editor Settings dialog box:

First, in the drop-down list of the language space, click to select the font type of the current document string, and through the preview window we can simply preview the visual effect of the current setting.

It is worth mentioning that if you want to change the font color from dark green to other colors, just tick the "Foreground" checkbox, then right-click or double-click the color block on the right side:

Next, choose a color from the palette that pops up:

OK, apply the settings, and then we find that the color we selected is successfully used for the display of the font:

5, software theme and edit box font theme Differences

Notice the difference between the two themes, the former is the entire software-related, and the latter is only applied to the edit box section of the property changes, we can completely set the theme of the IDE as a bright color (for example, default or Alloy) and set the edit box to a dark theme (such as Twilight or Monokai), the effect is that the Pycharm controls are displayed as bright colors, while the edit window is dimmed:

"Recommended"

1. Python Free video tutorial

2. Python Basics Getting Started tutorial

3. Python meets data collection video tutorial

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.