用于禁用自动打开以前文件的 Notepad++ 设置 [英] Notepad++ Setting for Disabling Auto-open Previous Files

查看:65
本文介绍了用于禁用自动打开以前文件的 Notepad++ 设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何阻止 Notepad++ 加载过去会话中的所有文件?

How do I stop Notepad++ from loading all files from the past session?

每次我打开一个文件时,我都会有 10 个其他打开的选项卡,其中包含我过去的所有文件.我不想要那个.当我点击关闭按钮时,我希望程序执行我想要的操作并关闭它.如果我想保存会话,我会使用内置的会话保存功能.我不想在完成后点击灰色 x 20 次,所以下次我没有打开一堆文件并占用内存.

Every time I open a file I have 10 other open tabs with all my past files. I don't want that. When I hit the close button I expect the program to do what I want and close it. If I wanted to save a session I would use the built in session save feature. I don't want to hit the gray x 20 times when I am done so next time I don't have a bunch of files opening and taking up memory.

我尝试了 -nosession 参数并且有效.但它只有在我使用快捷方式时才有效.如果我使用右键单击编辑方法,它将不起作用.如何设置 Notepad++ 来执行此操作?

I tried the -nosession parameter and that works. But it only works if I use the shortcut. It won't work if I use the right-click edit method. How do I set Notepad++ to do this?

推荐答案

对于 6.6+ 版本,您需要在 Settings -> 中取消选中Remember the current session for next launch".首选项 ->备份.

For versions 6.6+ you need to uncheck "Remember the current session for next launch" on Settings -> Preferences -> Backup.

对于旧版本,您需要取消选中记住当前会话以备下次启动"在 设置 ->偏好.

For older versions you need to uncheck "Remember the current session for next launch" on Settings -> Preferences.

这篇关于用于禁用自动打开以前文件的 Notepad++ 设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆