Zed has introduced Runnables, which display a play ⏯️ button next to main()test functions etc to enable easy running of tests and runnable code based on treesitter.
Would love to see this supported in zed-v as well.
The changes are simple, just include a runnables.scm defining what treesitter components should show the buttons.
I have zero experience with rust or treesitter. I looked at the code, and it will take me a while to get to the bottom of it to open a PR. So opening a feature request here - in case someone is gracious enough to add it to the repo.
I have greatly enjoyed coding in V with zed. It's super-stable and helpful.
Description
Zed has introduced Runnables, which display a
play
⏯️ button next tomain()
test
functions etc to enable easy running of tests and runnable code based on treesitter.Would love to see this supported in zed-v as well. The changes are simple, just include a
runnables.scm
defining what treesitter components should show the buttons.References:
I have zero experience with rust or treesitter. I looked at the code, and it will take me a while to get to the bottom of it to open a PR. So opening a feature request here - in case someone is gracious enough to add it to the repo. I have greatly enjoyed coding in V with zed. It's super-stable and helpful.