Skip to content
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

ability to open vscode from code command line that focuses integrated terminal #168885

Open
anandijain opened this issue Dec 12, 2022 · 3 comments
Labels
feature-request Request for new features or functionality workbench-cli VS Code Command line issues
Milestone

Comments

@anandijain
Copy link

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 called edit 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

@connor4312 connor4312 assigned bpasero and unassigned connor4312 Dec 12, 2022
@bpasero bpasero added feature-request Request for new features or functionality workbench-cli VS Code Command line issues labels Dec 12, 2022
@bpasero bpasero removed their assignment Dec 12, 2022
@VSCodeTriageBot VSCodeTriageBot added this to the Backlog Candidates milestone Dec 12, 2022
@VSCodeTriageBot
Copy link
Collaborator

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@VSCodeTriageBot
Copy link
Collaborator

🙂 This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@david-fong
Copy link

possible duplicate of #93826, which technically got closed as wont-fix, but instead got closed as a duplicate of #34442.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality workbench-cli VS Code Command line issues
Projects
None yet
Development

No branches or pull requests

5 participants