清除 Spyder 中的历史记录窗格
Clear history pane in Spyder
我不知道 Spyder 历史保留了多少行,但是:
- 3 个月前执行的命令没有机会再次搜索到 运行 它们。
- 历史中的大多数命令只是调用 python 文件,重新打开文件到 运行 它也很容易。
- 启动 IDE 时必须加载这个长列表,增加了加载时间和内存使用。
似乎无法使用界面清除历史记录选项卡。 Spyder documentation is silent 在那。
我发现这个 question OP 想要增加历史大小。提供的解决方案是增加缓冲区大小:
在这里输入一个小数字 (10) 并重新启动并没有改变标签内容。我不确定此设置是否与我的问题有关。这个问题有已知的解决方案吗?
(这里是 Spyder 维护者) 你说
It seems the history tab cannot be cleared using the interface. Spyder documentation is silent on that.
如您所料,历史面板的内容无法清除。我在我们的文档中打开了 an issue,所以我们不会忘记提及这一点。
I found this question where the OP wanted to increase the history size.
该选项没有达到您预期的效果。它只有 increases/decreases IPython 控制台中显示的行数。
“历史记录”窗格中显示的行数限制固定为 1000,无法更改。我们也会在我们的文档中提到这一点。
我不知道 Spyder 历史保留了多少行,但是:
- 3 个月前执行的命令没有机会再次搜索到 运行 它们。
- 历史中的大多数命令只是调用 python 文件,重新打开文件到 运行 它也很容易。
- 启动 IDE 时必须加载这个长列表,增加了加载时间和内存使用。
似乎无法使用界面清除历史记录选项卡。 Spyder documentation is silent 在那。
我发现这个 question OP 想要增加历史大小。提供的解决方案是增加缓冲区大小:
在这里输入一个小数字 (10) 并重新启动并没有改变标签内容。我不确定此设置是否与我的问题有关。这个问题有已知的解决方案吗?
(这里是 Spyder 维护者) 你说
It seems the history tab cannot be cleared using the interface. Spyder documentation is silent on that.
如您所料,历史面板的内容无法清除。我在我们的文档中打开了 an issue,所以我们不会忘记提及这一点。
I found this question where the OP wanted to increase the history size.
该选项没有达到您预期的效果。它只有 increases/decreases IPython 控制台中显示的行数。
“历史记录”窗格中显示的行数限制固定为 1000,无法更改。我们也会在我们的文档中提到这一点。