notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
Feature request: command line to select config[nn].xml
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 29.4k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
v7.9.2 introduced command line parameter -settingsDir.
One benefit is that this settingsDir can hold a different version of config.xml which then allows me to run with a different set of global canvas colors (DEFAULT in the config.xml).
Unfortunately I must duplicate my shortcuts and PythonScript macros to this 2nd settingsDir.
Feature request: add command line parameter for just the config[nn].xml?
For example:
notepad++ -configXML=config2.xml MyFile.txt
The config2.xml would reside next to config.xml.
No more need to duplicate macros, shortcuts and python scripts to the 2nd settingsDir.
And in config2.xml I can point to a different stylers2.xml containing a different definition for (rest of canvas) DEFAULT.
As I see it, I could start running different themes for different filetypes just by specifying the right config[nn].xml to use.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the existing -settingsDir command-line handling and where config.xml and related settings are loaded. Define the interaction with a selected config[nn].xml, including its stylers reference, and verify that shortcuts, macros, and PythonScript files remain in the existing settings directory.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100