需要设置
pycharm
输出窗口保存的命令行数量,以便于随时查看之前的输出记录。
对于
pycharm
来说,步骤如下:
打开
pycharm安装目录
–>
bin
–>
idea.properties
找到
idea.cycle.buffer.size
,默认是
1024
,我们只需要改为
disabled
即可。
#---------------------------------------------------------------------
# This option controls console cyclic buffer: keeps the console output size not higher than the specified buffer size (Kb).
# Older lines are deleted. In order to disable cycle buffer use idea.cycle.buffer.size=disabled
#---------------------------------------------------------------------
idea.cycle.buffer.size=disabled
#---------------------------------------------------------------------
# This option controls console cyclic buffer: keeps the console output size not higher than the specified buffer size (Kb).
# Older lines are deleted. In order to disable cycle buffer use idea.cycle.buffer.size=disabled
#---------------------------------------------------------------------
idea
.
cycle
.
buffer
.
size
=
disabled
更多配置文件的修改,见:
对于
ubuntu
的
终端
来说,可以见:
本文最后更新于2021年12月1日,已超过 1 年没有更新,如果文章内容或图片资源失效,请留言反馈,我们会及时处理,谢谢!
如果你对这篇文章有什么疑问或建议,欢迎下面留言提出,我看到会立刻回复!