I'm not sure what happened, but since recently my Notepad++ v.6.7.7 creates folder "Notepad++"
in where I start it every time I run it.
我不确定发生了什么,但是最近我的Notepad ++ v.6.7.7创建了文件夹“Notepad ++”,我每次运行它都会启动它。
I tried to change Default Directory in the Preferences but it never remembers this and falls back to "Follow current document"
我尝试更改首选项中的默认目录,但它永远不会记住这一点并回到“关注当前文档”
I even reinstalled it - still the same.
我甚至重新安装它 - 仍然是一样的。
Where do I change this back to normal where it starts to respect settings in %APPDATA%\Notepad++
folder?
如果它开始尊重%APPDATA%\ Notepad ++文件夹中的设置,我在哪里将其更改回正常状态?
3 个解决方案
#1
This is an open bug that apparently was fixed since. The suggested workaround is:
这是一个明显被修复的漏洞。建议的解决方法是:
Open the Notepad++ settings -> Cloud (the OneDrive is inactive and nothing is selected) and select "No Cloud"
打开Notepad ++设置 - > Cloud(OneDrive处于非活动状态且未选择任何内容)并选择“No Cloud”
Alternatively, remove the folder %APPDATA%\Notepad++\cloud
.
或者,删除文件夹%APPDATA%\ Notepad ++ \ cloud。
The other solutions will work, since they do that too.
其他解决方案也可以,因为他们也这样做。
#2
@houssam suggestion in the comments worked for me - and I'm posting it as an answer. I believe there's more elegant solution to this problem rather than deleting all the settings and reinstalling software. There has to be a flag somewhere in the settings. If you happen to know this - post it as an answer and I will happily accept it.
@houssam在评论中的建议对我有用 - 我将其作为答案发布。我相信这个问题有更优雅的解决方案,而不是删除所有设置和重新安装软件。设置中必须有一个标志。如果您碰巧知道这一点 - 将其作为答案发布,我将很乐意接受它。
Here's what worked for me:
这对我有用:
uninstall Notepad++ and delete %APPDATA%\Notepad++ (if exists) and delete c:\program files\Notepad++ (if exists) then reinstall it.
卸载Notepad ++并删除%APPDATA%\ Notepad ++(如果存在)并删除c:\ program files \ Notepad ++(如果存在),然后重新安装。
#3
Uninstallation is not required at all.
根本不需要卸载。
- Close Notepad++.
- Navigate to
%APPDATA%\Notepad++
- Save session.xml file by copying it somewhere else (just to restore your previous session)
- Delete content of current Notepad++ directory.
- Run and close Notepad++
- Restore session.xml file.
- Run Notepad++ and use it.
导航到%APPDATA%\ Notepad ++
通过将session.xml文件复制到其他位置来保存它(只是为了恢复以前的会话)
删除当前Notepad ++目录的内容。
运行并关闭Notepad ++
恢复session.xml文件。
运行Notepad ++并使用它。
#1
This is an open bug that apparently was fixed since. The suggested workaround is:
这是一个明显被修复的漏洞。建议的解决方法是:
Open the Notepad++ settings -> Cloud (the OneDrive is inactive and nothing is selected) and select "No Cloud"
打开Notepad ++设置 - > Cloud(OneDrive处于非活动状态且未选择任何内容)并选择“No Cloud”
Alternatively, remove the folder %APPDATA%\Notepad++\cloud
.
或者,删除文件夹%APPDATA%\ Notepad ++ \ cloud。
The other solutions will work, since they do that too.
其他解决方案也可以,因为他们也这样做。
#2
@houssam suggestion in the comments worked for me - and I'm posting it as an answer. I believe there's more elegant solution to this problem rather than deleting all the settings and reinstalling software. There has to be a flag somewhere in the settings. If you happen to know this - post it as an answer and I will happily accept it.
@houssam在评论中的建议对我有用 - 我将其作为答案发布。我相信这个问题有更优雅的解决方案,而不是删除所有设置和重新安装软件。设置中必须有一个标志。如果您碰巧知道这一点 - 将其作为答案发布,我将很乐意接受它。
Here's what worked for me:
这对我有用:
uninstall Notepad++ and delete %APPDATA%\Notepad++ (if exists) and delete c:\program files\Notepad++ (if exists) then reinstall it.
卸载Notepad ++并删除%APPDATA%\ Notepad ++(如果存在)并删除c:\ program files \ Notepad ++(如果存在),然后重新安装。
#3
Uninstallation is not required at all.
根本不需要卸载。
- Close Notepad++.
- Navigate to
%APPDATA%\Notepad++
- Save session.xml file by copying it somewhere else (just to restore your previous session)
- Delete content of current Notepad++ directory.
- Run and close Notepad++
- Restore session.xml file.
- Run Notepad++ and use it.
导航到%APPDATA%\ Notepad ++
通过将session.xml文件复制到其他位置来保存它(只是为了恢复以前的会话)
删除当前Notepad ++目录的内容。
运行并关闭Notepad ++
恢复session.xml文件。
运行Notepad ++并使用它。