Skip to content

[Feature request] New Plugin Communication message: NPPM_GETSETTINGSDIRPATH #16944

@pryrt

Description

@pryrt

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

Similar to the NPPM_GETSETTINGSONCLOUDPATH message (added per #9168), so that plugins can ask for the Cloud Directory path string if Cloud Settings is enabled, it would be useful to have NPPM_GETSETTINGSDIRPATH to get a string with the -settingsDir path

Describe the solution you'd like.

Essentially identical to NPPM_GETSETTINGSONCLOUDPATH, but for -settingsDir command-line option: thus, it would be called with LPARAM=NULL to request the correct length (or 0 if settingsDir is not enabled), then a second time with the WPARAM=strLen+1, LPARAM=wchar_t* to populate a plugin-allocated string with the value set

Debug Information

Notepad++ v8.8.5   (64-bit)
Build time: Aug 14 2025 - 00:32:39
Scintilla/Lexilla included: 5.5.7/5.4.5
Boost Regex included: 1_85
Path: C:\usr\local\apps\npp\npp.885.myPlugins\notepad++.exe
Command Line: 
Admin mode: OFF
Local Conf mode: ON
Cloud Config: C:\usr\local\apps\npp\cloudSettings885
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.6881
OS Name: Windows 11 Home (64-bit)
OS Version: 24H2
OS Build: 26100.4946
Current ANSI codepage: 1252
Plugins: 
    CollectionInterface (1.1)
    ColumnsPlusPlus (1.2)
    ComparePlus (1.2)
    ConfigUpdater (2.2.1)
    mimeTools (3.1)
    NppConverter (4.6)
    NppExport (0.4)
    PythonScript (3.0.22)

Anything else?

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions