Pycharm tutorial (1) custom appearance and pycharm appearance

Source: Internet
Author: User

Pycharm tutorial (1) custom appearance and pycharm appearance

As a powerful Python IDE, Pycharm has never found a complete reference manual. Therefore, it is decided to briefly translate the Pycharm tutorial on the official website and share it with you.

1. Preparations

First, make sure you have installed Pycharm () of version 2.7 or later. Download the corresponding version based on your system platform.

2. How to select the appearance of Pycharm

Pycharm predefines several theme modes. The number of available theme types depends on the operating system type. For more information, see the appearance description (reference description) and perform relevant Settings in the Settings/Preferences dialog box.

You can set the background topic as follows:

(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 corresponding to "Theme" and select a topic you like:

Note that the Reset button is in the upper-right corner of the dialog box. If you change the note, you can click this button to restore the previous settings. At the same time, when you move the mouse to the Apply button, it will become available:

You can also change other appearance settings, such as font and font size, and window properties.

3. Change the application settings. We recommend that you restart the Pycharm software.(For example, when you change the topic to Darcula, the impact will be the following ):

4. How to change the subject color of the editing box

After changing the theme background 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, the following describes how to change it:

First, click the icon on the toolbar to go to the "Settings/Preferences" dialog box, expand the "Editor" node, and then the unit price is "Color and Font ", the system prompts that we cannot change the pre-defined font subject at the moment, which means we must copy it first:

Click the Save as Button and enter a new font framework Name:

Now we find that the new font type changes to editable, And we can modify it based on our preferences.

Expand the "Color and Font" node and enter 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. In the preview window, we can simply preview the visual effect currently set.

It is worth mentioning that if you want to change the font color from dark green to other colors, simply select the "Foreground" check box and right-click or double-click the color block on the right:

Select a color from the pop-up palette:

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

5. Differences between the software subject and the editing box font subject

Pay attention to the differences between the two themes. The former is related to the entire software, while the latter is only applicable to attribute changes in the editing box, we can set the IDE topic to Bright (for example, Default or Alloy) and the edit box to a dark topic (such as Twilight or Monokai ), the effect is that the control of Pycharm is highlighted, and the editing window is dark:

The above is all the content of this article. I hope it will be helpful for your learning and support for helping customers.

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.