在最新版本的pycharm(2016.1)中 有一个奇怪的行为 - 文档字符串中的某些字符被映射到其他字符 - 仅在显示中 - 有任何解决方法吗?
例子:
def main(self, args=None):
"""
:param args: List of arguments, with the 'aws' removed. For example,
the command "aws s3 list-objects --bucket foo" will have an
args list of ``['s3', 'list-objects', '--bucket', 'foo']``.
"""
看起来像:
请您参考如下方法:
当您的个人资料中的字体损坏时,就会发生这种情况。由于 Java 与 OS 中字体呈现的许多复杂性,导致显示此类工件的原因有很多。
解决此问题的最简单方法是重置主题的字体配置,然后重新启动 IDE。
