PythonScript icon indicating copy to clipboard operation
PythonScript copied to clipboard

Potential new Example Script: ConfigUpdater

Open pryrt opened this issue 1 year ago • 1 comments

In the N++ repo, I commented in an issue about missing styles/languages,

I have just released a script for the PythonScript plugin which will help to automate incorporating new languages and styles from stylers.model.xml into your active stylers.xml and any themes you have on your computer (whether in %AppData% or the install directory).

The script, and how to use it, are described in this Community Forum post. It was designed to add the new stuff without deleting any of your customizations.

@chcg replied,

Would it be ok for you that I add your script to the example scripts of PythonScript ? Or would you create a PR?

I wanted to bring that conversation over here, so it's not cluttering that other issue.

pryrt avatar Aug 27 '24 13:08 pryrt

So my first thought is, "in theory, I am not opposed", especially since it would get the script to more people.

I have used it successfully (during my testing, and the results have been live for me for quite some time without me finding any missing or corrupted information), and @alankilborn thinks it's worked for him... but there hasn't been a lot of testing yet to work out the edge cases. I think it needs a bit more time in "public beta" before it gets added to the next distribution of PythonScript.

But if you want to keep this issue open (and even assign it to me, if you want), then once I think it's had enough beta -- or once I've been able to provide a test suite of some sort, which would give me the same sort of confidence as public beta -- then I can put in the PR to add it in.

pryrt avatar Aug 27 '24 13:08 pryrt