Skip to content

refresh v2

Latest

Choose a tag to compare

@villaleo villaleo released this 11 Sep 18:54
· 1 commit to main since this release

Warning

This release introduces breaking changes.

This release changes the program such that it now only updates the VS Code user profile settings. It uses the settings below:

config := map[string]interface{}{
	"editor.tabSize":             4,
	"workbench.colorTheme":       "Bearded Theme Coffee",
	"workbench.iconTheme":        "material-icon-theme",
	"workbench.productIconTheme": "icons-carbon",
	"[css]": map[string]interface{}{
		"editor.defaultFormatter": "esbenp.prettier-vscode",
		"editor.formatOnPaste":    true,
		"editor.formatOnSave":     true,
	},
	"[html]": map[string]interface{}{
		"editor.defaultFormatter": "esbenp.prettier-vscode",
		"editor.formatOnPaste":    true,
		"editor.formatOnSave":     true,
		"editor.tabSize":          2,
	},
	"liveServer.settings.donotShowInfoMsg": true,
	"explorer.confirmDelete":               false,
	"explorer.confirmDragAndDrop":          false,
}

refresh will fail if the settings.json file contains trailing commas. Make sure the file is valid JSON and is non-empty. Use an empty object {} instead of an empty file if no configuration exists.