Last active
April 2, 2021 01:22
-
-
Save Macorreag/d10e823cd0b0a99183981c477f48eb00 to your computer and use it in GitHub Desktop.
VSCode Configuration For Elixir and Phoenix Projects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#File for add configurations of prettier extension | |
{ | |
"overrides": [ | |
{ | |
"files": ".html.leex", | |
"options": { "parser": "html" } | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"metadata": { | |
"id": "eaa2127d-cb69-4ab9-8505-a60c9ee5f28b", | |
"publisherId": "oderwat.indent-rainbow", | |
"publisherDisplayName": "oderwat" | |
}, | |
"name": "indent-rainbow", | |
"publisher": "oderwat", | |
"version": "7.4.0" | |
}, | |
{ | |
"metadata": { | |
"id": "a2cec723-5349-460d-9de9-0fd1f8d3456f", | |
"publisherId": "xabikos.JavaScriptSnippets", | |
"publisherDisplayName": "xabikos" | |
}, | |
"name": "JavaScriptSnippets", | |
"publisher": "xabikos", | |
"version": "1.8.0" | |
}, | |
{ | |
"metadata": { | |
"id": "db3544aa-df1b-4b25-a880-d4ecefa9bf05", | |
"publisherId": "manuth.markdown-converter", | |
"publisherDisplayName": "manuth" | |
}, | |
"name": "markdown-converter", | |
"publisher": "manuth", | |
"version": "3.0.2" | |
} | |
] | |
## Correct File | |
{ | |
"recommendations": [ | |
// Elixir Clean Code | |
"jakebecker.elixir-ls", | |
// Elixir Snippets | |
"florinpatrascu.vscode-elixir-snippets" | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to override the defaultsauto[] | |
[ | |
{ | |
"key": "ctrl+b", | |
"command": "HookyQR.beautifyFile" | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"git.confirmSync": false, | |
"diffEditor.ignoreTrimWhitespace": false, | |
// Default config ElixirLS | |
// Based on Elixir formatter's style | |
"editor.insertSpaces": true, | |
"editor.tabSize": 2, | |
"files.trimTrailingWhitespace": true, | |
"files.insertFinalNewline": true, | |
"files.trimFinalNewlines": true, | |
// Provides smart completion for "do" and "fn ->" blocks. Does not run the Elixir formatter. | |
"editor.formatOnType": true, | |
// Misc | |
"editor.wordBasedSuggestions": false, | |
"editor.trimAutoWhitespace": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment