当前位置:首页 > 日记本 > 正文内容

pycharm配置

zhangchap2年前 (2022-03-25)日记本179

 配置字体大小



file -> setting -> Editor -> font -> 右侧:size



file -> setting -> Editor -> General -> 右侧: mouse control -> 勾选:changer font size ....
使用 Ctrl + 鼠标滚轮 改变字体大小

点击 apply 即可


安装主题
file -> setting -> plugins-> 右侧 material theme UI -> install


安装完成后,点击 restart IDE



file -> setting ->Editor -> color Scheme -> 右侧 :选择主题 ->apply

file -> setting->Editor -> Appearace & Behavior

Appearance - > 右侧:Theme : 选择主题 ->apply




文件模板设置:



file -> setting ->Editor-> code style -> file and code Templates -> 右侧:Python Script

在右侧新增模板:

# -*- coding:utf-8 -*-

然后回车



修改默认编码:

file -> setting -> code style -> file Encodings


右侧: Global Encoding :utf-8

project Encoding: utf-8


右下:Create UTF-8 files: with NO BOM

点击 ->apply





修改pep8 风格

file -> setting->Editor -> code style -> inspections
右侧搜索:pep

两个 PEP8 右侧的勾选去掉




修改拼写检查:

搜索:spe
下拉找到 Typo 右侧的勾选去掉

点击 OK



分享给朋友:

相关文章

【轻断食】测试了半个月没什么用

【轻断食】测试了半个月没什么用

无意间在某个地方看到了一个提轻断食的,国外一本介绍一种减肥方法的书,年前在掌阅上买了一本书,在上下地铁上研究了几个早上,觉得可行性很好,过了年就测试了一下,但是试了半个月,不增不减...

lxml win 安装方法

文档地址:https://lxml.de/installation.htmlwindows 下安装不了的都可以在这里找:https://www.lfd.uci.edu/~gohl...

python使用mongodb数据库

from pymongo import MongoClient,collection class KSpdier(Thread):   ...

python 函数 开启多线程示例

from threading import Thread def readfile(queue:Queue):    &nbs...

python 发布文章 随机分类(choice)

from random import choice catid = choice([5,6]) #choice 函数从列表中随机提取...

python 获取当前时间及随机时间戳

import time from random import randint time.strftime('%Y-%m-%d %H:%M:...

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。