ability to open vscode from code
command line that focuses integrated terminal
#168885
Labels
Milestone
code
command line that focuses integrated terminal
#168885
i see some open issues on checking if the terminal is focused. apologies if there's overlap.
i often run the shell command
code ...
to open up files and folders. i write in julia, and julia has a nice function callededit
that allows me to open the specific method that will be called based on type information.there is another tool (Chthulhu.jl) facilitates traversing the call tree and uses this
edit
function to allow users to open the code of the current method.one slight annoyance is that vscode focuses the text editor by default when
code myfile.jl
is called.this makes a lot of sense in many cases, but when traversing the call tree, I typically just want to see the code, and less often want to edit it.
focusing the editor means having to do (ctrl+~) each time you traverse the tree, which takes me out of "the flow"
i realize that expanding the scope of what the
code
cli command could do could very well be a slippery slope.so i don't know anything about vscode internals nor how feasible implementing it would be, but it would make the debugging experience in julia magical!
here is a little video that demonstrates needing to refocus the terminal each time i descend/ascend the call tree
2022-12-12.08-56-29.mp4
thank you for vscode! i love it
The text was updated successfully, but these errors were encountered: