Skip to content

Commit fa890b4

Browse files
committed
infrastructure: 🛠️ add VS Code support
1 parent b3c4115 commit fa890b4

File tree

3 files changed

+32
-1
lines changed

3 files changed

+32
-1
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ fp_lab3-*.tar
3838
.vscode/
3939
.code-workspace
4040
!.vscode/launch.json
41-
!.vscode/tasks.json
41+
!.vscode/settings.json
42+
!.vscode/extensions.json
4243

4344
### Log files ###
4445
*.log

.vscode/extensions.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"recommendations": [
3+
"JakeBecker.elixir-ls",
4+
"samuel-pordeus.elixir-test",
5+
"pantajoe.vscode-elixir-credo"
6+
]
7+
}

.vscode/settings.json

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"[elixir]": {
3+
// Based on Elixir formatter's style
4+
"editor.insertSpaces": true,
5+
// Note: While it is possible to override this in your VSCode configuration, the Elixir Formatter
6+
// does not support a configurable tab size, so if you override this then you should not use the
7+
// formatter.
8+
"editor.tabSize": 2,
9+
"files.trimTrailingWhitespace": true,
10+
"files.insertFinalNewline": true,
11+
"files.trimFinalNewlines": true,
12+
13+
// Provides smart completion for "do" and "fn ->" blocks. Does not run the Elixir formatter.
14+
"editor.formatOnType": true,
15+
16+
// Misc
17+
"editor.wordBasedSuggestions": "off",
18+
"editor.trimAutoWhitespace": false
19+
},
20+
"[json]": {
21+
"editor.tabSize": 2
22+
}
23+
}

0 commit comments

Comments
 (0)