Skip to content

Instantly share code, notes, and snippets.

@ivaneroshkin
Created September 21, 2019 19:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivaneroshkin/af464a2ada088428aa7df7a7b04a6d95 to your computer and use it in GitHub Desktop.
Save ivaneroshkin/af464a2ada088428aa7df7a7b04a6d95 to your computer and use it in GitHub Desktop.
Sort settings for VScode
const settings = {
'editor.detectIndentation': false,
'editor.smoothScrolling': true,
'window.menuBarVisibility': 'toggle',
'workbench.statusBar.feedback.visible': false,
'workbench.editor.tabSizing': 'shrink',
'editor.tabSize': 2,
'sync.autoDownload': false,
'window.titleBarStyle': 'custom',
'search.location': 'panel',
'editor.folding': false
};
const sortingSettings = {};
Object.keys(settings)
.sort()
.forEach(function(key) {
sortingSettings[key] = settings[key];
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment