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

LSP: Support formatting RBS file #1209

Closed
wants to merge 1 commit into from

Conversation

tk0miya
Copy link
Contributor

@tk0miya tk0miya commented Aug 18, 2024

To keep RBS files clean, this adds a new feature to format RBS file to Steep LSP.

To keep RBS files clean, this adds a new feature to format RBS file to
Steep LSP.
@soutaro
Copy link
Owner

soutaro commented Aug 21, 2024

As mentioned at ruby-jp slack, the RBS::Writer removes some comments. Essentially, we need to fix RBS::Writer, but it's not trivial...

Do you think the behavior acceptable?

@tk0miya
Copy link
Contributor Author

tk0miya commented Aug 22, 2024

I think users expect the formatters to be safe. So such destructive behavior is not accepted by users, including me.

So I'd like to withdraw this PR until the RBS formatters mature enough.

@tk0miya tk0miya closed this Aug 22, 2024
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

Successfully merging this pull request may close these issues.

2 participants