Setting up VS Code with Rails, Elixir, JavaScript

No Comments

Let’s make sure we can start VS Code from the terminal:

Command + Shift + P
Type Shell
Select Command : Install code in PATH






Personal Settings

"editor.formatOnSave": true,
  "editor.fontLigatures": true,
  "editor.fontFamily": "FiraCode-Retina",
  "editor.fontSize": 18,
  "editor.renderIndentGuides": true,
  "files.exclude": {
    "**/.git": true,
    "**/node_modules": true,
    "**/bower_components": true,
    "**/tmp": true,
    "tmp/**": true,
    "**/vendor": true,
    "vendor": true,
    ".bundle": true,
    ".github": true,
    ".sass-cache": true,
    "features/reports": true

  "editor.tabSize": 2,
  "prettier.singleQuote": true,
  "workbench.colorTheme": "Monokai",
  "window.zoomLevel": 0,
  "editor.renderWhitespace": "boundary",
  "editor.renderControlCharacters": true,

  "ruby.lint": {
    "rubocop": true,
    "ruby": true,
    "fasterer": true,
    "reek": false,
    "ruby-lint": false
  "editor.quickSuggestions": {
    "strings": true

  "cucumberautocomplete.steps": [
  "cucumberautocomplete.syncfeatures": "features/*feature"
Categories: Development Setup

Setting Up My Mac Dev Environment

No Comments

Set up a package manager: Homebrew

Istall iterm2


Replace bash with zsh (it offers some nice plugins and themes).

brew install zsh zsh-completions

Install oh-my-zsh – “A delightful community-driven (with 1,000+ contributors) framework for managing your zsh configuration.”

sh -c "$(curl -fsSL"

To update oh-my-zsh, run upgrade_oh_my_zsh in zsh shell.

Pick your set of plugins (edit .zshrc file):
plugins=(git brew gem ruby rvm rails yarn npm)

Pick a theme (.zshrc):


You can checkout available <a href="" target="_blank">themes</a> and <a href="" target="_blank">plugins</a>

<h3>Add SSH Keys</h3>
<a href="" target="_blank">Set up SSH keys for Github</a>
Add generated ssh key to your keychain, so you don't have to reenter your ssh passphrase:

ssh-add -K ~/.ssh/id_rsa

If you're on OSX Sierra, then you need another step:
create ~/.ssh/config with this content:

Host *
  UseKeychain yes
  AddKeysToAgent yes
  IdentityFile ~/.ssh/id_rsa

Still run ssh-add -K ~/.ssh/id_rsa


If using rvm with zsh, add this to your .zshrc:

[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"

If you use rbenv, you may need to add this to your .zshrc:

export PATH="$HOME/.rbenv/shims :$PATH"
eval "$(rbenv init -)"


For exercism zsh completions, add

if [ -f ~/.config/exercism/exercism_completion.zsh ]; then
. ~/.config/exercism/exercism_completion.zsh

And run

$ mkdir -p ~/.config/exercism/
$ curl > ~/.config/exercism/exercism_completion.zsh

git standup


brew install git-standup

fzf is a general-purpose command-line fuzzy finder

brew install fzf
# Install shell extensions

autojump - a faster way to navigate your filesystem

brew install autojump

# add autoload to .zshrc
[[ -s $(brew --prefix)/etc/profile.d/ ]] && . $(brew --prefix)/etc/profile.d/

fkill - Fabulously kill processes

npm install --global fkill-cli
npm install --global alfred-fkill

Mac apps

Git alias (add to .gitconfig)

Show recent branches:
recent = "for-each-ref --sort=-committerdate --count=10 --format='%(refname:short)' refs/heads/"

Atom configs


  • Pigments
  • Project Manager
  • Atom Beautify
  • got-definition
  • language-elixir
  • autocomplete-elixir
  • last-cursor-position
  • linter-lixirc
  • linter-eslint
  • liner-rubocop
  • prettier-atom

Integration with alfred:

npm install -g alfred-atom.
Categories: Development Setup, git