iljapostnovs / VSCodeUI5Plugin

Visual Studio Code Extension for UI5 Development
Apache License 2.0
61 stars 6 forks source link

Extension silently not starting when non-existing patch level is given in ui5.plugin.ui5version #287

Closed iljapostnovs closed 1 year ago

iljapostnovs commented 1 year ago

Discussed in https://github.com/iljapostnovs/VSCodeUI5Plugin/discussions/277

Originally posted by **shortdump** November 18, 2022 HI there, I came back to this extension since TypeScript support is integrated. Thank you for that :) But I noticed, that the extension is not starting when you misconfigure ui5.plugin.ui5version for the patch level. I do have to change the versions quite often, because I work on a lot of different systems. I set the version to 1.71.59, which not yet exists. The current support level is 52 instead. It was a hard to spot that bug. So would it be possibly to just validate that setting or fallback to an existing patch level or show an appropriate error message on initialization? Regards, Andre