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

Format Document adds new empty line and then removes it after formating again #687

Closed
vinismarques opened this issue May 24, 2022 · 0 comments
Labels
bug Something isn't working robotframework-ls

Comments

@vinismarques
Copy link

vinismarques commented May 24, 2022

Describe the bug
Formatting the exact same file keeps toggling between two and three empty lines between the *** Tasks *** and *** Keywords *** sections.

To Reproduce
Steps to reproduce the behavior:

  1. Open file with a Task and some Keywords
  2. Format code three times (I have it to auto-format on saving)
  3. See code change

Expected behavior
Empty lines will be added and removed while you format the code.

Screenshots
image
image

Versions:

  • OS: Windows 10
  • Robot Framework Version: 5.0.1
  • Robot Framework Language Server Version: 0.47.7
  • Client Version: VSCode 1.67.2
@vinismarques vinismarques added bug Something isn't working robotframework-ls labels May 24, 2022
@fabioz fabioz closed this as completed in 7a90a23 May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working robotframework-ls
Projects
None yet
Development

No branches or pull requests

1 participant