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

Indentation after commented lines #13

Open
Dinduks opened this issue Oct 31, 2012 · 0 comments
Open

Indentation after commented lines #13

Dinduks opened this issue Oct 31, 2012 · 0 comments

Comments

@Dinduks
Copy link
Contributor

Dinduks commented Oct 31, 2012

Hi,

Let's take a look at this code snippet:

val foo = "foo".toUpperCase
  //.toLowerCase

If I add, let's say, val bar = "bar" right after the commented line, the last line gets the same indentation level as the previous one.

val foo = "foo".toUpperCase
  //.toLowerCase

  val bar = "bar"

This shouldn't happen, as the commented line should somehow be ignored, and not taken into account when counting the indentation value.

I'll try to make a PR soon.

Samy

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

1 participant