Hi,
I want to use the functionality of the run button that the rust-analyzer extension provides in vs code. I want to use a keybinding to run my code this way but I can't find the corresponding command in the command pallet of vs code to bind it.
You can use the command workbench.action.tasks.runTask
“Tasks: Run Task”; it will bring up a menu to pick from. Myself, I use a keybinding for workbench.action.tasks.reRunTask
“Tasks: Rerun Last Task”, which, after I click the “Run” once, will run the same thing again.
Thank you, that works great!
I went with clicking the run button once and then using a keybind for workbench.action.tasks.reRunTask
for the following executions.