vscode-dashboard: Editing projects file error
I’ve made a mistake on the group name, therefore I’m trying to edit the Dashboard projects.json file; although when I go ahead to save the file I’m informed that the editing projects file does not meet the schema expected by dashboard ?
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 21 (10 by maintainers)
In the recent version of Dashboard modifying and saving the
Dashboard Projects.jsonfile doesn’t commit to the changes ?Check here: https://github.com/Kruemelkatze/vscode-dashboard/blob/master/src/webviewContent.ts#L139 https://github.com/Kruemelkatze/vscode-dashboard/blob/master/src/webviewContent.ts#L66
@SheepDomination, yes! Sorry for not getting back to you, I forgot about this, to be honest… BUT! I spent quite some time in the last days on v1.3, which delivers some new features and “fixes” your problem. I will publish it in the next few days (some colleages are currently testing it).
The problem with your file were simply the two empty project groups. Remove them and saving will work. v1.3 will remove empty groups without name in future in order to not pollute the file.
Sorry that you had to wait that long!