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

robotidy --separator tab does not respect tabs in Settings #535

Open
antonvw opened this issue May 29, 2023 · 2 comments
Open

robotidy --separator tab does not respect tabs in Settings #535

antonvw opened this issue May 29, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@antonvw
Copy link

antonvw commented May 29, 2023

When using robotidy on robot framework file that has a Settings section containing tabs, it replaces tabs with space even if --separator tab is used.

@bhirsz
Copy link
Member

bhirsz commented Jun 12, 2023

Thanks for the report, I will investigate it.

@bhirsz
Copy link
Member

bhirsz commented Jun 12, 2023

I can reproduce it and I will fix it - robotidy should respect tab separator. Though since we mostly focus on space support it's the issue for most of our transformers. For example following variables section will be also formatted to use space regardless of separator value:

*** Variables ***
${SHORT}	a
${LONG_VARIABLE_NAME}	b

I can add some tests to see to catch and fix those issues, but feel free to report similar cases.

@bhirsz bhirsz added the bug Something isn't working label Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants