Skip to content

Instantly share code, notes, and snippets.

@chris2cant
Last active November 12, 2019 10:19
Show Gist options
  • Save chris2cant/2e850e7c4d1475e0c21339b9852b210e to your computer and use it in GitHub Desktop.
Save chris2cant/2e850e7c4d1475e0c21339b9852b210e to your computer and use it in GitHub Desktop.

VSCode

  • editor.formatOnSave : true
  • files.autoSave : onFocusChange
  • editor.tabSize : 2
  • git.inputValidationSubjectLength: 100

Personal choice

  • workbench.editor.showTabs: false (Warning : Disable tabs navigation)
  • explorer.autoReveal: false (Disable explorer autoscroll to source on file focus)

Prettier - Code formatter

  • prettier.singleQuote : true
  • prettier.tabWidth : 2
  • prettier.tslintIntegration : true
  • prettier.stylelintIntegration: true

Typescript Hero

  • typescriptHero.imports.organizeOnSave: trues

Plugins

Theme

  • Material Icon Theme
  • Material Theme

Snippets

Console warn a variable

{
	"Print value": {
		"scope": "javascript,typescript",
		"prefix": "cwv",
		"body": [
			"console.warn('[$1]', $1);"    
		],
		"description": "Print value"
	}
}

VS Code Settings

settings.json (Christophe de Canteloube)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment