Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BeautifyRuby changes tab_size to 4 #89

Open
anothermh opened this issue May 27, 2015 · 2 comments
Open

BeautifyRuby changes tab_size to 4 #89

anothermh opened this issue May 27, 2015 · 2 comments

Comments

@anothermh
Copy link

BeautifyRuby appears to ignore the tab_size and resets it to 4 whenever I run BeautifyRuby.

Confirmed by deleting Sublime3, deleting ~/Library/Application Support/Sublime Text 3, then reinstalling Sublime3 and BeautifyRuby from Package Control.

Here is the user prefs file I have:

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

The behavior I expect:

When I run BeautifyRuby, the tab size is retained at 2 and when I click the View > Indentation menu, I should see "Tab Width: 2" as the selected option.

The behavior I see:

When I run BeautifyRuby, the tab size is reset to 4 and when I click the View > Indentation menu, I do not see any "Tab Width" option selected and I must manually select "Tab Width: 2" to correct the problem.

@pjmartorell
Copy link

I have the same problem. Every time I run BeautifyRuby the tab size seems to be reseted to 4 (I notice it because of the indentation guide lines I see in the code), but when I click View > Indentation menu, nothing is selected.

OS: Mac OS X 10.6.8 Snow Leopard; Sublime Text 2, 2.0.2, Build 2221

@baldursson
Copy link

baldursson commented Aug 23, 2016

This is still an issue, an annoying one. Any updates? It seems to format the code according to current tab settings, but then both tab_size and translate_tabs_to_spaces is reset to default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants