分享

磨刀不误砍柴工,PyCharm开发工具的常规配置,充分提高开发效率!

 Python集中营 2022-10-10 发布于甘肃

Python环境配置

File -> Settings

修改PyCharm主题

File -> Settings

修改字体设置

File -> Settings

关闭自动更新

File -> Settings -> System settings -> Updates

文件编码设置

File -> Settings -> Editor -> File endcoing

python文件模板设置

1#!/usr/bin/env python3
2# -*- coding:utf-8 -*-
3# @author Python 集中营
4# @date ${DATE}
5# @file ${NAME}.py

File -> Settings -> Editor -> File and Code Templetes

设置代码行数及函数线

File -> Settings -> Editor -> Appearance

编码自动提示快捷键

File -> Settings -> Keymap

安装并设置PEP8代码规范

File -> Settings -> Python Interpreter

File -> Settings -> Tools -> External Tool

在所需要格式化代码的区域单击右键

    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多