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

[Feat]: --goto flag to open file @ line:column #5619

Closed
danog opened this issue Oct 4, 2022 · 0 comments · Fixed by #5620
Closed

[Feat]: --goto flag to open file @ line:column #5619

danog opened this issue Oct 4, 2022 · 0 comments · Fixed by #5620
Labels
enhancement Some improvement that isn't a feature
Milestone

Comments

@danog
Copy link
Contributor

danog commented Oct 4, 2022

What is your suggestion?

Would love to have a --goto flag like in VSCode, allowing to open a file, optionally specifying a line and column number.
Currently code-server allows opening files directly via cli, but doesn't allow specifying a line and column number.

Are you interested in submitting a PR for this?

Maybe.

@danog danog added the enhancement Some improvement that isn't a feature label Oct 4, 2022
@jsjoeio jsjoeio added this to the Backlog Candidates milestone Oct 4, 2022
danog added a commit to danog/code-server that referenced this issue Oct 4, 2022
danog added a commit to danog/code-server that referenced this issue Oct 4, 2022
jsjoeio pushed a commit that referenced this issue Oct 6, 2022
* Allow opening files at a specific line and column (fixes #5619)

* Add isDirectory test
@jsjoeio jsjoeio modified the milestones: October 2022, 4.8.0 Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Some improvement that isn't a feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants