-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
support formatting options #112
Comments
I don't know if someone uses tab for indentation. I always use "convert tab to spaces" personally.
|
I also don't use tabs and always convert to spaces... The Racket style guide also says don't use tabs. (Perhaps someone still uses tabs anyway, but I'm guessing that's quite rare in the Racket ecosystem.) |
I now understand the purpose of Based on the Racket style guide, maybe we can replace all tabs with spaces before formatting? |
Yes, that would be great due to the style |
So we ignore the options |
Yes, at least we can make a that first, if anyone wants different behavior, then make the implementation be the default setup & provides others |
No, It's not easy to do. The formatting function works for a range of lines. For example, it need to format from line Then if line We cannot make |
If we replace |
Good suggestion! It feels dirty but it works. |
Link: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#formattingOptions
The text was updated successfully, but these errors were encountered: