-
Notifications
You must be signed in to change notification settings - Fork 13
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 Common Runnables in Run Gutter #37
Comments
The best option is to probably query information from Metals, but I am not sure if that's possible. It seems totally seperate from LSP |
Yeah as far as I can tell the information is sourced from Tree sitter. Looking at other projects they seem to do what you've already done. I can try to dig through issues and/or ask the Zed project if there is a mechanism for getting this in another way. Assuming the scm files are the only way of doing this, and given the relative popularity of zio/cats, maybe it's worth adding anyway? If not, it might be worth adding a blurb in the readme about this. It wasn't clear to me if I had done something wrong in the runnables script for a little while before digging into this. Let me know any which way, happy to contribute! |
I don't love Zed's approach in this case. but if there is no other way around it then go ahead! |
I think I found a related issue already in Zed. |
FP Frameworks in Scala have their own runnables that are not "App"
examples:
ZIOAppDefault
IOApp.Simple
KyoApp
Similar to #36 this can get unwieldy if it's a long list of custom types
Whatever strategy used to employ there, should likely be used here as well
The text was updated successfully, but these errors were encountered: