马春杰杰 Exit Reader Mode

pycharm设置终端保留文字的数量

需要设置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

更多配置文件的修改,见:

对于ubuntu终端来说,可以见:

本文最后更新于2021年12月1日,已超过 1 年没有更新,如果文章内容或图片资源失效,请留言反馈,我们会及时处理,谢谢!