如何在Pycharm中将双下划线显示为两个单独的下划线?

时间:2019-07-05 12:07:09

标签: python pycharm

我不知道如何在PyCharm的Python中将双下划线(即下划线)显示为两个下划线。

我已禁用

中的字体连字
Editor -> Font,

Editor -> Color Scheme -> Color Scheme Font,

Editor -> Color Scheme -> Console Font

对于这三个方面,我都使用Consolas。

基本上,我想实现以下目标:

 _ _class_ _ (without the spaces, of course).

我现在所拥有的是:

__class__

我原本希望这很容易,但是我似乎无法在网上找到我问题的直接答案。

1 个答案:

答案 0 :(得分:1)

您可以安装名为predawn的主题。其字体格式显示dunder彼此分隔,例如:

enter image description here

相关问题