Skip to content

Instantly share code, notes, and snippets.

@Macorreag
Last active April 2, 2021 01:22
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 Macorreag/d10e823cd0b0a99183981c477f48eb00 to your computer and use it in GitHub Desktop.
Save Macorreag/d10e823cd0b0a99183981c477f48eb00 to your computer and use it in GitHub Desktop.
VSCode Configuration For Elixir and Phoenix Projects
#File for add configurations of prettier extension
{
"overrides": [
{
"files": ".html.leex",
"options": { "parser": "html" }
}
]
}
[
{
"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"
]
}
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+b",
"command": "HookyQR.beautifyFile"
}
]
{
"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