[Feature request] Automatically save settings when preferences/configurator/udl dialog exits

Author: pryrtCreated Sep 6, 2026Updated Sep 7, 2026

Is there an existing issue (open or closed) for this?

  • I have searched the existing issues

Description of the Issue

Over and over again, the user expectation has been that when a change to settings (whether it's preferences or styler or UDL), it would be immediately saved to disk.

This is especially important when manually launching a new instance of Notepad++ from inside Notepad++ (for example, through View > Move/Clone Current Document > (Move to|Open in) New Instance), because otherwise, a situation like the following will not work as one would expect:

  1. Open Notepad++ (defaulting to Dark Mode)
  2. Change to Dark Mode
  3. Move file to New Instance
  4. New file is in a Light Mode

There are also other times when getting a setting saved immediately would help, such as with the Notepad++ v8.9.8 "Notepad++ session loading" warning, and problems with the "always load" option that have been in the forum and Issues (linked above).

Describe the solution you'd like.

  • When Settings > Preferences dialog is closed and the active Notepad++ is the one with permission to write configuration files, save the changes immediately to config.xml
  • When Settings > Style Configurator dialog is closed and the activie Notepad++ is the one with permission to write configuration files, save the changes immediately to stylers.xml or <configdir>\themes\themeXYZ.xml
  • When Define your Language UDL dialog/panel is closed, save changes to the appropriate UDL file(s) immediately; or, at the very least, implement #12823 instead of auto-save for UDL

Debug Information

bash
Notepad++ v8.9.8   (64-bit)
Build time: Aug 23 2026 - 17:22:44
Scintilla/Lexilla included: 5.6.6/5.5.3
Boost Regex included: 1_90
pugixml included: 1.16
nlohmann JSON included: 3.12.0
Path: C:\\\usr\local\apps\npp\npp.8.9.8.portable.x64\notepad++.exe
Command Line: 
Admin mode: OFF
Local Conf mode: ON
Cloud Config: OFF
WinGUp: present
disableNppAutoUpdate.xml: present
Periodic Backup: ON
Placeholders: OFF
Scintilla Rendering Mode: SC_TECHNOLOGY_DIRECTWRITE (1)
Multi-instance Mode: monoInst
asNotepad: OFF
File Status Auto-Detection: cdEnabledNew (for current file/tab only)
Dark Mode: OFF
Display Info:
    primary monitor: 1920x1080, scaling 100%
    visible monitors count: 1
    installed Display Class adapters: 
        0000: Description - Intel(R) UHD Graphics 770
        0000: DriverVersion - 32.0.101.7085
OS Name: Windows 11 Home (64-bit)
OS Version: 25H2
OS Build: 26200.9168
Current ANSI codepage: 1252
Plugins: 
    mimeTools (3.1)
    NppConverter (4.7)
    NppExport (0.4)

Anything else?

No response

Source: notepad-plus-plus/notepad-plus-plus