Skip to content

refresh v1.1.0

Choose a tag to compare

@villaleo villaleo released this 27 Aug 00:39
· 5 commits to main since this release

refresh v1.1.0

Warning

This release introduces breaking changes.

This release includes a new feature where the VS Code user settings profile settings.json is updated by default to include (or overwrite) configuration. The configuration below is used:

var config = map[string]interface{}{
	"editor.tabSize":             4,
	"workbench.colorTheme":       "Bearded Theme Coffee",
	"workbench.iconTheme":        "material-icon-theme",
	"workbench.productIconTheme": "icons-carbon",
	"[css]": jsonMap{
		"editor.defaultFormatter": "esbenp.prettier-vscode",
		"editor.formatOnPaste":    true,
		"editor.formatOnSave":     true,
	},
	"[html]": jsonMap{
		"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.