Notepad ++ 在退出时不保存文档? [英] Notepad ++ doesn't save document on exit?

查看:103
本文介绍了Notepad ++ 在退出时不保存文档?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

情况:

用n++打开一个文本文件,做一些修改,按ALT-F4或关闭程序.N++ 不会询问是否要保存更改".相反,它退出并且硬盘上的文本文件保持不变.

Open a text file in n++, make some modification, press ALT-F4 or Close program. The N++ won't ask "Do you want to save your changes". Instead it quits and text file on hdd remains unchanged.

但是当我再次打开 N++ 时,MODIFIED 文件仍在那里.红色选项卡表示未保存的更改,我可以通过 ctrl-s 保存它.我也可以通过关闭选项卡来保存它(n++ 会问).

But when I open the N++ again, the MODIFIED file is still in there. Red tab is indicating unsaved changes and I can save it by ctrl-s. I can also save it by closing the tab (n++ will ask).

我想每次关闭 n++ 时自动保存文件.我所有的其他安装都这样做,但这个.我在 n++ 选项中找不到任何设置.有什么想法吗?

I want to save the file automatically every time I close the n++. All of my other istallations does that but this. I could not find any settings in the n++ options. Any idea?

推荐答案

Notepad 6.6 添加的新功能,发行说明 说:

New feature added in Notepad 6.6 for which the release notes say:

此版本的主要功能是会话快照 &定期的备份.如果启用此功能(默认启用),用户将不会在他退出 Notepad++ 和启动时被要求保存未保存的文件Notepad++ 恢复未保存的文件和未保存的无标题文档最后一期.

The main feature of this release is Session snapshot & periodic backup. If this feature is enabled (enabled by default), user won't be asked to save unsaved file as he quits Notepad++, and on startup Notepad++ restores the unsaved file and unsaved untitled document of last session.

此工具通过菜单控制 => 设置 => 首选项 => 备份.有关更多详细信息,另请参阅本部分://npp-user-manual.org/" rel="nofollow noreferrer">Notepad++ 用户手册.

This facility is controlled via menu => Settings => Preferences => Backup. For more details see also this section of the Notepad++ User Manual.

这篇关于Notepad ++ 在退出时不保存文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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