Is it somehow possible to let android studio remov...
# intellij
p
Is it somehow possible to let android studio remove additional blank lines? I'm using ktlint and every second commit fails because I have two consecutive spaces after my class and ktlint complains
g
Code Style -> Kotlin -> Blank Lines
Keep max ..
and put the desired thing. Just run the formatter on your commits or something and it should remove them
p
Keep max what?
These are my settings and this file does not get changed by the formatting:
Copy code
class Test {
  fun hello() {}
}


@eof
g
This is what I have ^ and works fine
Sorry fo the delay. Doesn't it remove the blank lines when you do
cmd + shift + L
?
p
Nope it doesn't
You're sure this works for you?
@Giorgos Neokleous
g
So it works for the whole file except the EOF
Screen Recording 2019-12-18 at 15.51.13.mov
p
Jep 😕
g
Sorry I couldn't help 😓
p
Ah you did, now I know that I'm not alone 😛
😅 1
a