vSPARROW

About Full Stack Development, VMware, Cloud, Technology, Virtuaization, and more
-
  • About

ruby

Ruby : Force Sublime Text 2 to indent two spaces per tab

Posted on January 26, 2016 Updated on January 26, 2016

To limit this configuration to Ruby files, first open up a Ruby file in the editor, and then go to Preferences -> Settings -> More -> Syntax Specific -> User. This should open a settings window named Ruby.sublime-settings

Save these settings:

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


from:
http://stackoverflow.com/questions/9474090/how-do-i-force-sublime-text-2-to-indent-two-spaces-per-tab

This entry was posted in Programming and tagged ruby.

Recent Posts

  • leetcode 1470. Shuffle the Array
  • leetcode 1512. Number of Good Pairs faster than 92.15% of JavaScript online submissions
  • leetcode 202. Happy Number memory usage better than 100% JavaScript
  • leetcode 118. Pascal’s Triangle memory usage beats 92.69 % of JavaScript submissions.
  • leetcode : 190. Reverse Bits JavaScript solution

Recent Comments

davidmoritz's avatardavidmoritz on uninitialized constant Authori…
Belendor's avatarBelendor on Heroku : Application error : e…

Archives

  • July 2020
  • June 2020
  • January 2020
  • December 2019
  • August 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • August 2017
  • June 2017
  • May 2017
  • April 2017
  • April 2016
  • January 2016
  • December 2015
  • November 2015
  • July 2015
  • June 2015

Categories

  • Cloud
  • Database
  • Exchange
  • Github
  • Hosting
  • JavaScript
  • leetcode
  • Linux
  • Networking
  • Programming
  • Rails
  • ReactJS
  • ruby
  • Storage
  • Uncategorized
  • VMware
  • Windows

Blog at WordPress.com.

We teamed up with Eventbrite

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Subscribe Subscribed
    • vSPARROW
    • Already have a WordPress.com account? Log in now.
    • vSPARROW
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar