robotframework-lsp icon indicating copy to clipboard operation
robotframework-lsp copied to clipboard

Use a different Robot Framework Formatter

Open robertomoraisSngular opened this issue 2 years ago • 4 comments

Is your feature request related to a problem? Please describe. The current options that the extensions has for formatters aren't ideal for what we need, We tried to install different ones but can't seem to get them working with Robot Framework Language Server. We are using Visual Studio Code.

Describe the solution you'd like It would be great if it would let us use a different formatter with this extension. There is already a section to choose which one to use.

Describe alternatives you've considered Another option is perhaps thinking of adding more customisable features to the formatter or just generally improving it?

robertomoraisSngular avatar Mar 10 '23 11:03 robertomoraisSngular

Which formatter do you want to use?

xylix avatar Mar 10 '23 11:03 xylix

Which formatter do you want to use?

https://marketplace.visualstudio.com/items?itemName=tumit.vscode-rf-formatter&ssr=false#overview

This is the one we used before.

robertomoraisSngular avatar Mar 10 '23 11:03 robertomoraisSngular

It looks the project is archived. Can you describe what you expect from the formatter? There is high chance existing formatter (like Robotidy) can achieve it if you configure it - you can disable all transformers in the Robotidy, ie if you just want to normalize spacing or perform simple formatting. If you have list of such requirements I can check and see if it can be done and what configuration is needed in Robotidy for it.

bhirsz avatar Apr 06 '23 06:04 bhirsz

Maybe at least an option to disable autoformatting It is really a problem if someone works with a legacy code and the save action in vscode automatically reformats all the file as a result i cannot commit only the needed changes but the whole file instead.

noubar avatar Aug 01 '24 20:08 noubar