Pycharm Tutorial (1)--Customizing the appearance
Most full Pycharm Tutorials (2)--code style
The most complete Pycharm tutorial (3)--code debugging, running
The most complete pycharm tutorial (4)--related configuration of the Python interpreter
Most full Pycharm tutorial (5)--python shortcut key Related settings
Pycharm as a powerful Python IDE, in the use of the process feel can not find a comprehensive reference manual, so decided to the official website of the Pycharm tutorial for a brief translation, and share with you.
1. Preparation work
First make sure you install 2.7 or later version of the pycharm (download address), download the corresponding version according to your system platform.
2, how to choose the appearance of Pycharm
Pycharm defines several theme patterns, the number of available topics is related to the operating system type, and you can make relevant settings in the "Settings/preferences" dialog box by referring to the appearance instructions (reference instructions).
The settings for the background theme are 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 for "Theme" and choose a topic you like:
Note the reset button at this point in the upper-right corner of the dialog box, and if you change your mind, you can click this button to restore the previous settings. And 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, apply the change settings, recommend restart 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 pycharm theme background, you may still be dissatisfied with the appearance of the editor, for example, if you want to change the document string to a different color, here's how to change it:
First, we click the icon on the toolbar again to enter the "settings/preferences" dialog box, expand the "Editor" node, and then the unit price "Color and Font", and found that the system prompts us to not 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 new font type becomes editable, and we can modify it according to our preferences.
Expand the Color and Font node and go to the Editor Settings dialog box:
First, in the language space Drop-down list, click to select the font type for the current document string, and through the preview window we can simply preview the visual effects of the current settings.
It is worth mentioning that if you want to change the font color from dark green to other colors, simply tick the "foreground" check box, and then right-click or double-click the color block on the right:
Next, select a color in the palette that pops up:
OK, apply the settings, and then we find the colors we selected successfully used for the display of fonts:
5, the software theme and edit box font theme Differences
Notice the difference between these two themes, which is related to the software as a whole, and the latter only applies to the property changes in the edit box section, and we can set the IDE's theme to bright colors (such as default or Alloy) while setting the edit box to a dark theme (for example, twilight or Monokai), the effect is that Pycharm controls are displayed as bright colors, and the edit window is dimmed:
If you feel that this article has inspired you, please pay attention to my public number, I will be as active as possible to communicate with you, thank you.