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

Better handling of indentation #15

Open
vknabel opened this issue Feb 13, 2021 · 0 comments
Open

Better handling of indentation #15

vknabel opened this issue Feb 13, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@vknabel
Copy link
Owner

vknabel commented Feb 13, 2021

Currently this extension reads the editor setting for the indentation and passes it to swiftformat.

This behaviour might make sense if no indentation rules were provided in the config and if the user stays to vscode's defaults. But as it belongs to the responsibility of swiftformat, the current behaviour is misleading wrong.

=> The extension should tell VS Code which indentation rules it should follow by reading the provided config (if there is any).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant