在PyCharm中启用终端仿真 [英] Enable terminal emulation in PyCharm
问题描述
许多人告诉我和)和PyCharm 2.7.3于2013年6月18日发布,因此PyCharm 2.7中没有此功能。
Many people have told me and the PyCharm Release Notes for PyCharm 2.7 touts that PyCharm includes full terminal emulation (I assume this is talking about handling of ANSI escape codes for styling and cursor movement) but I can't seem to find out how to enable this.
I've enabled the Terminal plugin but when I try to run or debug a python application which makes use of these escape codes, they are just displayed raw in the console:
How can I enable the terminal emulation in PyCharm's debugger?
Console and Terminal are two different things in PyCharm. Console is part of Run and Debug tool windows and is used only to show output from stdout and stderr whereas Terminal is separate tool window and makes it possible to interact with system shell. Support for ANSI escape codes in Console was added in version 14 of InteliJ (https://youtrack.jetbrains.com/issue/IDEA-69880) on 23 Jul 2014 and PyCharm 2.7.3 was released on 18 June 2013 so this feature is not present in PyCharm 2.7.
这篇关于在PyCharm中启用终端仿真的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!