BeautifyRuby icon indicating copy to clipboard operation
BeautifyRuby copied to clipboard

BeautifyRuby changes tab_size to 4

Open anothermh opened this issue 9 years ago • 2 comments

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.

anothermh avatar May 27 '15 22:05 anothermh

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

pjmartorell avatar Nov 14 '15 17:11 pjmartorell

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.

baldursson avatar Aug 23 '16 12:08 baldursson