Last active
June 20, 2017 15:57
-
-
Save 0rca/c0238c0041e2c583c16a99b0d1e439e1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 settings in this file to overwrite the default settings | |
{ | |
// "elm-format.formatOnSave": true, | |
"extensions.autoUpdate": true, | |
"files.trimTrailingWhitespace": true, | |
"files.insertFinalNewline": true, | |
"[elixir]": { | |
"editor.tabSize": 2 | |
}, | |
"terminal.integrated.shellArgs.osx": ["--login"], | |
"editor.tabSize": 2, | |
"editor.renderIndentGuides": true, | |
"editor.tabCompletion": true, | |
"editor.rulers": [ | |
80 | |
], | |
"editor.formatOnType": true, | |
"editor.snippetSuggestions": "top", | |
"editor.fontFamily": "Fira Code, Source Code Pro, Menlo, Monaco, 'Courier New', monospace", | |
"editor.fontWeight": "400", | |
"editor.fontSize": 13, | |
"editor.fontLigatures": true, | |
// "editor.minimap.enabled": false, | |
"workbench.editor.tabCloseButton": "off", | |
"workbench.editor.showTabs": true, | |
"workbench.activityBar.visible": false, | |
"workbench.colorTheme": "RealGithub", | |
"workbench.iconTheme": "vscode-icons", | |
"window.newWindowDimensions": "maximized", | |
"explorer.openEditors.visible": 0, | |
"terminal.external.osxExec": "Terminal.app", | |
"telemetry.enableTelemetry": false, | |
"vsicons.dontShowNewVersionMessage": true, | |
"workbench.sideBar.location": "right", | |
"window.zoomLevel": 0, | |
"editor.autoClosingBrackets": false, | |
"editor.minimap.enabled": false, | |
"terminal.integrated.cursorBlinking": true, | |
"terminal.integrated.fontLigatures": true, | |
"zenMode.fullScreen": false, | |
"terminal.integrated.scrollback": 16384, | |
"editor.quickSuggestionsDelay": 0, | |
"workbench.statusBar.visible": true, | |
"editor.cursorBlinking": "solid", | |
"gitlens.blame.annotation.style": "compact", | |
"editor.renderWhitespace": "none", | |
"editor.renderControlCharacters": false | |
} |
This file contains hidden or 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
{ | |
"files.exclude": { | |
"**/.git": true, | |
"**/.svn": true, | |
"**/.hg": true, | |
"**/.DS_Store": true, | |
"node_modules": true, | |
"_build": true, | |
".vscode": true, | |
"tags": true, | |
"doc": true, | |
"deps": true, | |
"web/static/vendor": true, | |
"priv/static": true | |
} | |
} |
This file contains hidden or 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
// https://github.com/fr1zle/vscode-elixir#problem-reporting | |
{ | |
"version": "0.1.0", | |
"command": "mix", | |
"isShellCommand": true, | |
"showOutput": "always", | |
"suppressTaskName": true, | |
"tasks": [ | |
{ | |
"taskName": "build", | |
"args": [ | |
"compile" | |
], | |
"problemMatcher": [ | |
"$mixCompileError", | |
"$mixCompileWarning" | |
], | |
"isBuildCommand": true | |
}, | |
{ | |
"taskName": "test", | |
"args": [ | |
"test" | |
], | |
"problemMatcher": [ | |
"$mixCompileError", | |
"$mixCompileWarning", | |
"$mixTestFailure" | |
], | |
"isTestCommand": true | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
configs
_settings.json - personal vscode-wide settings
settings.json - goes into .vscode dir and ignores a bunch of files so they don't show up in fuzzy search with cmd+p
tasks.json - goes into .vscode dir and adds a standard build command for elixir projects that will dump errors and warning into problem pane
essential extensions:
Elixir syntax and autocomplete: https://marketplace.visualstudio.com/items?itemName=mjmcloug.vscode-elixir
non-essential, but useful
tips and tricks
ctrl+` for integrated terminal pane(i.e. for
mix test
). Cmd-click on file links in the terminal pane to open them in the editorctrl+q for quick access menu
ctrl+b to hide explorer pane
ctrl+j to show/hide problem pane/terminal pane etc.
cmd+click on a method to go to source
cmd+shift+p, type
run
and select Tasks: Run Build Tasks to run mix compile and populate problem paneType
code .
in your shell to open current project in vscode