Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Conversation

@juicemia
Copy link

There was a bug in the plugin's auto-indentation where a method declared
as private on the same line as its definition would fail to indent
correctly.

"private def" was added as a keyword in the regex to keep the regex
simple and explicit. Reading the code shows you that "private def" is
something for which the editor should increase the indentation level
automatically.

Fixes #203

Make sure these boxes are checked before submitting your PR -- thanks in advance!

There was a bug in the plugin's auto-indentation where a method declared
as private on the same line as its definition would fail to indent
correctly.

"private def" was added as a keyword in the regex to keep the regex
simple and explicit. Reading the code shows you that "private def" is
something for which the editor should increase the indentation level
automatically.

Fixes rubyide#203
@faustinoaq
Copy link

Hi, what's about when statement ? 😅

when

@faustinoaq
Copy link

@juicemia take a look microsoft/vscode#34795

private-when

@juicemia
Copy link
Author

@faustinoaq so it looks like they fixed it then? Can this PR be closed?

@faustinoaq
Copy link

@juicemia I think this PR is still valid because is fixed on Microsoft/vscode but not on rubyide. So, this extension can replace default settings and show indentation issue again.

@TeeSeal TeeSeal mentioned this pull request Dec 15, 2017
2 tasks
@faustinoaq
Copy link

faustinoaq commented Feb 8, 2018

Fixed by #223

@wingrunr21
Copy link
Collaborator

Looks like this was superseded by another PR so I'm going to close it.

@wingrunr21 wingrunr21 closed this Mar 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants