./InformationWorks --devblog
"Learn" "Share" "Have Fun"
8 September 2018

Setup text editors for Ruby on Rails development

Below are the configurations we use to setup our favorite text editors for Ruby on Rails development.

Sublime Settings


Open your settings file by cliking on Preferences ▶ Settings menu item. Place the below configurations in the right-hand pane.

{
  "tab_size": 2,
  "translate_tabs_to_spaces": true,
  "trim_trailing_white_space_on_save": true
}

Visual Studio Code Settings


{
  "editor.tabSize": 2,
  "editor.insertSpaces": true,
  "files.trimTrailingWhitespace": true
}

Atom Settings


Settings -> Editor
  Tab Length: 2
  Tab Type: soft
Settings -> Packages -> Whitespace
  Remove trailing whitespace: Checked

Sublime

Atom

Visual Studio Code

by Harshal Bhakta

tags: sublime - atom - visual-studio-code
comments powered by Disqus