Too many new lines after accepting suggestions

When I accept a suggestion, it adds a new line at the end of the block of code ending up with several empty newlines when I accept several suggestions.

I could not find anything about that in the settings. I also tried to give a hint like “never add a new line after suggestion” but it did not work.

Any clue on how to solve this?

Thanks

1 Like

I’ve been experiencing this issue too.

I have noticed that the newline always appear 2 lines after the code modified by the suggestion.

After rejecting the last empty lines, I became accustomed to the operation of accepting other codes. :wink:

I have used “no-multiple-empty-lines” eslint rule with autoformat to remove the newlines when there are more than 2 but it is not a complete solution because there is still 1 newline too much in most cases.

Hi! Is this still happening on version 0.35.0?

No, it seems to be fixed in 0.35.0! :partying_face: :+1:
Thanks

1 Like