不灭的焱

革命尚未成功,同志仍须努力下载JDK17

作者:Albert.Wen  添加时间:2019-09-09 16:07:30  修改时间:2024-04-13 23:34:03  分类:电脑/软件使用  编辑

参考:PhpStorm 快捷键设置/个性化设置


1、Python 语言 代码块 颜色设置

Editor -> Color Scheme -> Python

(1) Keywords          Foreground      7F0055
(2) Numbers           Foreground      009999
(3) String                Foreground      0000C0  (注意:f-string 子选项为统统为 粗体Blod,Text(unicode) 为 非粗体Bold)
(4) Build-in name     Foreground      7F0055

2、保存文本时,自动去空格

Editor -> General -> 右边面板 -> Other -> Strip trailing spaces on Save: 选择“All”,勾选 “Always keep trailing spaces on caret line”

3、导入模块 提醒

Editor -> General -> Auto Import -> 右边面板 -> Python -> 勾选“Show import popup”

按住快捷键: Alt + Enter ,能自动导入模块

4、增加“硬换行数”

General Formatter Control -> Hard wrap at,设置为:1000

由默认的80改为 1000,尽量大,保证不强制换行