Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这个问题说明了一切。我需要为当前行高亮设置样式的地方。
在设置下:
IDE Settings | Editor | Colors & Fonts | General | Caret Row
在更现代的 PyCharm 版本中,可以在编辑器 > 颜色方案 > 常规|下的设置中找到它。插入符号行。
要删除突出显示,请转到文件/设置(Ctrl-Alt-S[PC] / Ctrl-Opt-S[Mac])并取消选中背景复选框,如下图所示:
Ctrl-Alt-S
Ctrl-Opt-S