Skip to content

Add RBS option #140

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add RBS option #140

wants to merge 1 commit into from

Conversation

Morriar
Copy link

@Morriar Morriar commented May 15, 2025

Add a menu to make it easier to use RBS in the playground:

image

Signed-off-by: Alexandre Terrasa <[email protected]>
Copy link

@elliottt elliottt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@jez
Copy link
Collaborator

jez commented May 15, 2025

I mentioned this in a previous PR:

#139 (comment)

I’m reluctant to advertise this with a button. To be able to include it in the dropdown, I would at least want sorbet.run to be able to forward those flags to the LSP client too. Right now the query string parameters only work in the command output pane, but do not do anything in the LSP side.

if you want to add support for putting those flags into the web assembly startup so that the RBS comments will affect IDE output too, then I would be willing to consider putting this option here. Otherwise people will just be confused why the IDE doesn’t work.

Copy link
Collaborator

@jez jez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^

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.

3 participants