microsoft / XmlNotepad

XML Notepad provides a simple intuitive User Interface for browsing and editing XML documents.
https://microsoft.github.io/XmlNotepad/
MIT License
968 stars 207 forks source link

Issues with storage of "Options" #330

Closed Pierre-de-la-Verre closed 8 months ago

Pierre-de-la-Verre commented 11 months ago

The "options" behave a little bit strange since installation of the current version.

a) The "old settings" were lost. I had to set it new. b) Yesterday I set it to "save Local". Today I have no recent files and the storage were set to "save Roaming"

Anyone who can confirm this?

BTW: What are the target paths for Local/Portable/Roaming?

lovettchris commented 10 months ago

Local = %USERPROFILE%\AppData\Local\Microsoft\Xml Notepad\XmlNotepad.settings Roaming = %USERPROFILE%\AppData\Local\Microsoft\Xml Notepad\XmlNotepad.settings Portable = same folder as XmlNotepad.exe (which only works if your install folder has write permissions).

As you change the setting (and click ok on the dialog) you will see the XmlNotepad.settings file move between these 3 locations. Note that if you have duplicate files in all 3 locations then the order of precidence is important as follows:

  1. Portable
  2. Local
  3. Roaming

This information lives here: https://microsoft.github.io/XmlNotepad/#help/settings/

lovettchris commented 8 months ago

Closing due to inactivity.