Skip to content

Instantly share code, notes, and snippets.

@kyrcha
Created April 12, 2019 07:13
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 kyrcha/4e60b6348da2a0d8d5cc54f743db558c to your computer and use it in GitHub Desktop.
Save kyrcha/4e60b6348da2a0d8d5cc54f743db558c to your computer and use it in GitHub Desktop.
My editor config file for Visual Studio Code. Put it in the root of your project. Go to the preferences of VSC > Keyboard Shortcuts. Search for document format shorcut. Open a file. Use that shorcut and your document should be formatted.
# editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment