robocorp / robotframework-lsp

Robocorp extensions for VS Code: Robocorp Code and RFW LSP
https://robocorp.com/docs/developer-tools/visual-studio-code
Apache License 2.0
206 stars 93 forks source link

formatter should fix formatting errors identified by robocop #431

Closed DetachHead closed 3 years ago

DetachHead commented 3 years ago

Is your feature request related to a problem? Please describe. robocop is cool and all, but it's annoying because it complains about a bunch of stuff that a formatter should be able to fix:

image

Describe the solution you'd like the formatter should fix robocopy formatting/capitalization issues and any other issues it finds that can be automatically fixed

Describe alternatives you've considered https://github.com/MarketSquare/robotframework-robocop/issues/424

fabioz commented 3 years ago

The language server doesn't really implement the formatting, that's left for 3rd-party libraries.

There are already plans to integrate a new code-formatter (https://github.com/robocorp/robotframework-lsp/issues/273) which may handle this better though.