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

Use SyntaxTree to auto-format RBS files #77

Closed
vinistock opened this issue Apr 20, 2022 · 1 comment
Closed

Use SyntaxTree to auto-format RBS files #77

vinistock opened this issue Apr 20, 2022 · 1 comment

Comments

@vinistock
Copy link
Member

SyntaxTree comes with an RBS formatter. We can register the ruby-lsp as a formatter for .rbs files and take advantage of it to offer auto-formatting.

@vinistock vinistock mentioned this issue Jul 15, 2022
@vinistock
Copy link
Member Author

Currently, the LSP makes many assumptions that all files we handle are going to be Ruby. To handle RBS files, we'd need a considerable refactor, which may not be worth it at this time.

Closing this for now.

@vinistock vinistock closed this as not planned Won't fix, can't repro, duplicate, stale Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant