pycharm 第一次安装的配置
pycharm 2024版本下载及破解步骤
https://pan.baidu.com/s/10hz0RNHn-p1aq7-qAHA30w?pwd=nvkb 提取码: nvkb
1、配置python的环境变量,
2、配置文件头: Settings-Editor-File and Code Templates-Python Script
# _*_ coding: utf-8 -*-
# @Time : ${DATE} ${TIME}
# @Author : xuChuan
关于Templates一些参数变量详解;
${PROJECT_NAME} - the name of the current project.
${NAME} - the name of the new file which you specify in the New File dialog box during the file creation.
${USER} - the login name of the current user.
${DATE} - the current system date.
${TIME} - the current system time.
${YEAR} - the current year.
${MONTH} - the current month.
${DAY} - the current
day of the month.
${HOUR} - the current hour.
${MINUTE} - the current minute.
${PRODUCT_NAME} - the name of the IDE in which the file will be created.
${MONTH_NAME_SHORT} - the first 3 letters of the month name. Example: Jan, Feb, etc.
${MONTH_NAME_FULL} - full name of a month. Example: January, February, etc.
原文链接:https://blog.csdn.net/austin1000/article/details/75647129
3、设置代码风格 Settings-->Editor-->Color Scheme-->Language Defaults
4、设置背景 Settings-Appearance & Behavior-Appearance-Bcakground Image
5、遇到的问题:打不开本地终端,网上找了各种方法终于解决
① 配环境变量,检查path\
② pycharm 写入cmd路径

③ 帮助--查找--搜“注册表” ,取消 “terminal.use.conpty.on.windows” 的勾选(我就是卡在这一步 卡了一下午)
![]()
6、去除波浪线
typo我是直接关闭的(默认它是绿色波浪线),它是检查单词拼写的,波浪线出现最多的就是它
原文链接:https://zhuanlan.zhihu.com/p/610015811·
File -> Settings -> Editor -> Inspections->python 根据自己需求勾选所需的检查。或者直接去掉Python右侧的勾选,即可忽略所有检查
7、设置鼠标滚动控制字体大小
file–>settings-搜索increase-
双击 increase Front size 进入 Add Mouse Shortcut
实现减小字体大小搜索decrease同上类似操作

9、设置双击选中加双引号
浙公网安备 33010602011771号