Skip to content

Instantly share code, notes, and snippets.

@stereosupersonic
Last active November 25, 2020 08:17
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 stereosupersonic/f9ab94c30eb3b316c44fdb1eec092c23 to your computer and use it in GitHub Desktop.
Save stereosupersonic/f9ab94c30eb3b316c44fdb1eec092c23 to your computer and use it in GitHub Desktop.

Visual Studio Code

install

brew cask install visual-studio-code

settings

Code > Preferences > Settings

{
  "editor.tabSize": 2,
  "editor.rulers": [80],
  "editor.formatOnPaste": true,
  "editor.cursorStyle": "block",
  "editor.acceptSuggestionOnEnter": "off",
  "explorer.sortOrder": "type",
  "files.insertFinalNewline": true,
  "files.trimTrailingWhitespace": true,
  "workbench.editor.enablePreview": false
  "workbench.editor.highlightModifiedTabs": true
}

more settings https://dev.to/thegeoffstevens/vs-code-settings-you-should-customize-5e75

extensions

prettier

https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode

got to spec

Switch between the code and the spec file

https://marketplace.visualstudio.com/items?itemName=Lourenci.go-to-spec

ruby-rubocop

https://marketplace.visualstudio.com/items?itemName=misogi.ruby-rubocop

gitLens

Supercharge the Git capabilities built into Visual Studio Code — Visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore Git repositories, gain valuable insights via powerful comparison commands, and so much more

https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens

better haml

https://marketplace.visualstudio.com/items?itemName=karunamurti.haml

live-share

https://github.com/MicrosoftDocs/live-share

Video: https://www.youtube.com/watch?v=vq5FzSPmu-I

remote-development

https://github.com/Microsoft/vscode-remote-release

with Remote - Containers and Remote - SSH

change-case

Quickly change the case (camelCase, CONSTANT_CASE, snake_case, etc) of the current selection or current word

YAML

https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment