Skip to content

Commit

Permalink
style(vscode): add EditorConfig extension recommendation
Browse files Browse the repository at this point in the history
As Visual Studio Code is the most popular editor at the moment, it makes
sense to recommend the EditorConfig extension because it's not included
by default. Also enable the final newline in files again as that was the
default until the EditorConfig file was added.
  • Loading branch information
ThomasFrans authored and hrkfdn committed May 21, 2024
1 parent ae5e8ef commit dc64a29
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ root = true
indent_style = space
indent_size = 4
charset = utf-8
insert_final_newline = false
insert_final_newline = true

[*.rs]
max_line_length = 100
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

tags

/.vscode/

# Ignore generated resources
*.1
/misc/_ncspot
Expand Down
3 changes: 3 additions & 0 deletions .vscode/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/*
!/.gitignore
!/extensions.json
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"editorconfig.editorconfig"
]
}

0 comments on commit dc64a29

Please sign in to comment.