Config Files Need Updating, Too
-
@PeterJones ,
After this review by you, and again, re-reading the readme file you linked, it became much clearer. I admit to having only a cursory knowledge of the xml files in reference to how they relate to the Language and stylers that are usually controlled by the dialogs, so I was a bit lost about what they were highlighting and I think that’s where most of my confusion was. I’ve learned a bit more with this help you’ve given.After reading the more detailed description you gave, and also, I hadn’t realized that the *.model.stylers.xml file button became enabled only after selecting and double clicking the error, that it could then open the model file, so that they could be compared. I think I was kind of lost with the new whizbang options.
I’m sorry if my head is thicker than it needs to be when it comes to noticing and using the new stuff…but the thicker head helps when I hit my head a lot, to make sure everything stays inside of it, mangled though it may be. :-)
I got it now. Thanks.
-
@Lycan-Thrope said in Config Files Need Updating, Too:
became enabled only after selecting and double clicking the error
I should probably add a single-click handler to enable that button, too. (Without any selection, it wouldn’t know where in the file to go to, so I will probably leave it disabled with no selection)
-
ConfigUpdater Plugin v2.2.0
ConfigUpdater Plugin has released
v2.1.0v2.2.0, available thru GitHub release page, with improvements to Validation Dialog:- Rename *.model.xml button to Go To Model (#23), and improve its ability to align the validating XML with the model file (#25).
- Add ability to copy the selected error message to Windows Clipboard (#23)
- Allow resizing dialog (#23)
- Add easier-to-understand error message for the most-common errors (#22)
- Add help button for more details on how to use the Validation dialog (#22)
-
@PeterJones , Just a slight pointing out, that the title says, v2.2.0 and your text says v2.1.0. Am I misunderstanding, or more likely you’re just overworked and missed it. :-) Just an FYI.
-
@Lycan-Thrope said in Config Files Need Updating, Too:
more likely you’re just overworked and missed
Typo fixed
-
ConfigUpdater Plugin v2.2.1
ConfigUpdater Plugin has released v2.2.1, available thru GitHub release page, with bugfix improvements, mostly to Validation Dialog:
- Error handling for null handle ⇒ to prevent potential crashes
- Disable logfile Monitoring Mode ⇒ it triggers callbacks for many file-changed events, which can bog down setups that use plugins/scripts that add many callbacks
- Fix progress bar on ConfigUpdater dialog ⇒ makes more-visible progress as each file is processed
- ValidationDialog: say
Line#123
instead of#123
in the Validation dialog error list ⇒ Makes it more clear to the user that the number is the line number, not just some internal tracking number - ValidationDialog: Rename
Done
->Close
- ValidationDialog: Rename
Go to Model
->Open/Align Model in Other View
- ValidationDialog: Disabled
Validate
button when no file selected - ValidationDialog: Add ephemeral “Please select a file to validate” choice as initially-selected “file” for validation, which will go away once you’ve made a choice
- ValidationDialog:
Open/Align Model
now allows opening the model even when there are no validation errors (or when you haven’t even validated yet)- it was previously not allowed because the vector it was looking at to find which line number in model-file was 0-length if there were no errors (or no validation done yet); I was able to update the logic to choose line 0 if there was no selection or no validation errors
- Update
langs.xsd
to check for duplicate<Keyword name="xyz">
entries- NOTE: if you want this feature, you have to delete the old
...\plugins\config\ConfigUpdater\langs.xsd
before launching the ConfigUpdater or ValidateConfigFiles dialogs (only need to delete the file once; after it is regenerated, the new error checking will be available in the future)
- NOTE: if you want this feature, you have to delete the old
- Only allow one Validator dialog ⇒ It could cause problems if more than one dialog were trying to validate at the same time, and there is no compelling reason for allowing multiple instances of that dialog