Notepad++ 每次 运行 都会创建 "Notepad++" 文件夹

Notepad++ creates "Notepad++" folder every time I run it

我不确定发生了什么,但最近我的 Notepad++ v.6.7.7 每次 [=] 都会在我启动它的地方创建文件夹 "Notepad++" 27=]它。

我试图在首选项中更改默认目录,但它永远不会记住这一点并退回到"Follow current document"

我什至重新安装了它 - 还是一样。

我在哪里可以将它改回正常,它开始遵守 %APPDATA%\Notepad++ 文件夹中的设置?

@houssam 评论中的建议对我有用 - 我 post 将其作为答案。我相信这个问题有更优雅的解决方案,而不是删除所有设置并重新安装软件。设置中的某处必须有一个标志。如果你碰巧知道这个 - post 它作为答案,我会很乐意接受它。

这对我有用:

uninstall Notepad++ and delete %APPDATA%\Notepad++ (if exists) and delete c:\program files\Notepad++ (if exists) then reinstall it.

根本不需要卸载。

  1. 关闭记事本++。
  2. 导航至

    %APPDATA%\Notepad++

  3. Save session.xml file by copying it somewhere else (just to restore your previous session)
  4. Delete content of current Notepad++ directory.
  5. Run and close Notepad++
  6. Restore session.xml file.
  7. Run Notepad++ and use it.

这是一个开放的 bug,此后显然已修复。建议的解决方法是:

Open the Notepad++ settings -> Cloud (the OneDrive is inactive and nothing is selected) and select "No Cloud"

或者,删除文件夹 %APPDATA%\Notepad++\cloud

其他解决方案也可以,因为它们也可以。