Skip to content

Instantly share code, notes, and snippets.

@akku1139
Created January 25, 2024 08:37
Show Gist options
  • Select an option

  • Save akku1139/b07ade0c2b57e4d62a42de36b4b46720 to your computer and use it in GitHub Desktop.

Select an option

Save akku1139/b07ade0c2b57e4d62a42de36b4b46720 to your computer and use it in GitHub Desktop.
Correspondence between .editorconfig and .vscode/settings.json
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
root = true
[*]
# Change these settings to your own preference
# editor.insertSpaces
indent_style = space
# editor.tabSize
indent_size = 2
# We recommend you to keep these unchanged
# files.eol
end_of_line = lf
# files.encoding
charset = utf-8
# files.trimTrailingWhitespace
trim_trailing_whitespace = true
# files.insertFinalNewline
insert_final_newline = true
{
"editor.insertSpaces": true, // indent_style
"editor.tabSize": 2, // indent_size
"files.eol": "\n", // end_of_line
"files.encoding": "utf8", // charset
"files.trimTrailingWhitespace": true, // trim_trailing_whitespace
"files.insertFinalNewline": true, // insert_final_newline
"files.trimFinalNewlines": true,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment