Support editor::SpawnNearestTask
with runnables hidden
#24701
baldwindavid
started this conversation in
Feature Ideas / Enhancements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
#19901 added the
editor::SpawnNearestTask
command that will run the task tied to the nearest "runnable". This is handy to, for example, run the test nearest the current cursor position.Runnables are displayed in the gutter if the
gutter.runnables
setting istrue
. If this setting isfalse
the runnables are hidden from the gutter.I have always run tests under cursor, but have been mostly working in one language so hard-coded a keybinding to spawn a task in that specific language. I'd now like to generalize this a bit. The simplest way I think would be to run this nearest task command. However, the command only seems to work if that
gutter.runnables
setting istrue
. I use vim mode and would never run a test via clicking a button. This runnable play button just clutters the interface for me so I hide it.I'd like to be able to run this command even if runnables are hidden from the gutter. I can understand why it was originally setup tied to this gutter setting, but there's all kinds of things that you interact with even though you can't see them; basically everything in vim 😄. I think this is similar, but perhaps there is an additional technical component that drove this behavior.
Beta Was this translation helpful? Give feedback.
All reactions