You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary
A setting in VSCode that will run the Load schema function automatically each time the minDynatraceVersion is changed.
Details
When developing, sometimes one forgets the minDynatraceVersion has changed and will perform changes in the extension YAML that are validated, and then notice that they are actually not valid at the moment of upload, possibly causing you to have to re-factor stuff. Having the schema be loaded automatically when the version changes could potentially make development faster and easier.
Use Cases
When developing extensions, not having to care about what schema the VSCode add-on is using, as it will always use the one I have as the minDynatraceVersion would make developing much easier.
Challenges
This should be a setting in case someone wants to work as it always have, by running the Load schema function. Maybe loading it very often could have some issues, maybe performance, but I wouldn't think so.
The text was updated successfully, but these errors were encountered:
Nevertheless, should someone will have the time to implement it, it would have to be done in the onChange listener that's already hooked up to the extension which parses the extension.yaml. Before we communicate the new parsedExtension object, we have the opportunity to check if the minDynatraceVersion has changed and if so trigger async the loadSchemas function with that version.
Summary
A setting in VSCode that will run the Load schema function automatically each time the minDynatraceVersion is changed.
Details
When developing, sometimes one forgets the minDynatraceVersion has changed and will perform changes in the extension YAML that are validated, and then notice that they are actually not valid at the moment of upload, possibly causing you to have to re-factor stuff. Having the schema be loaded automatically when the version changes could potentially make development faster and easier.
Use Cases
When developing extensions, not having to care about what schema the VSCode add-on is using, as it will always use the one I have as the minDynatraceVersion would make developing much easier.
Challenges
This should be a setting in case someone wants to work as it always have, by running the Load schema function. Maybe loading it very often could have some issues, maybe performance, but I wouldn't think so.
The text was updated successfully, but these errors were encountered: