You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*duplicateIssue identified as a duplicate of another issue(s)feature-requestRequest for new features or functionalitylanguages-basicBasic language support issues
FYI this is real annoying when combined with #10197. I basically have to hit backspace n times instead of 0 times (this issue) or 1 times (related issue, if pre-indent whitespace was selectable.
*duplicateIssue identified as a duplicate of another issue(s)feature-requestRequest for new features or functionalitylanguages-basicBasic language support issues
Activity
factormystic commentedon Aug 8, 2016
FYI this is real annoying when combined with #10197. I basically have to hit backspace
ntimes instead of 0 times (this issue) or 1 times (related issue, if pre-indent whitespace was selectable.aeschli commentedon Aug 9, 2016
As auto indenting in ruby is a bit more tricky that needs to be done in code, using
indentationRules in the LanguageConfiguration.
See https://github.com/Microsoft/vscode/blob/master/src/vs/vscode.d.ts#L2530.
I see that the vscode-ruby does it.
Have you tried that?
I'm happy to take a pull request if you want that in the default-ruby plugin.
[-]Request/Question: Auto de-indent when typing end (ruby)[/-][+][ruby] Add indentationRules[/+]factormystic commentedon Aug 9, 2016
I do have that ruby extension installed. I also uninstalled it to confirm it wasn't an extension problem.
pharmmd-rich commentedon Dec 15, 2016
+1
Any luck with this? Makes it rather annoying to use VS Code for Ruby or Rails projects. Please fix
end!rebornix commentedon Jan 13, 2017
Dup of #2272 . Let's track it there. This sprint we'll at least indent
endcorrectly when you pressenter.