Pycharm compiler uses tips (regularly updated)

1. fuzzy prompt is not case sensitive

2018.2 version previously used methods:
Here Insert Picture Description

After a change in layout found in version 2018.2

2. Code Templates

Pycharm provide this code templates, it can be quite a useful feature of. It can when you create a new file, according to your preset templates for you to create a piece of content, such as an interpreter path, encoding method, author details etc.
Here Insert Picture Description
according to the diagram template to generate the effect of the following
Here Insert Picture Description
template variables:

${PROJECT_NAME} - 当前Project名称;
${NAME} - 在创建文件的对话框中指定的文件名;
${USER} - 当前用户名;
${DATE} - 当前系统日期;
${TIME} - 当前系统时间;
${YEAR} -;
${MONTH} -;
${DAY} -;
${HOUR} - 小时;
${MINUTE} - 分钟;
${PRODUCT_NAME} - 创建文件的IDE名称;
${MONTH_NAME_SHORT} - 英文月份缩写,: Jan, Feb, etc;
${MONTH_NAME_FULL} - 英文月份全称,: January, February, etc;

3. Set the tab is a four spaces

Here Insert Picture Description

4. Set the background image

Here Insert Picture Description
effect:
Here Insert Picture Description

Released six original articles · won praise 0 · Views 48

Guess you like

Origin blog.csdn.net/Hongfei_ma/article/details/105017791