Skip to content

Add command for "open file at path of selected text" #248044

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

Open
btacordex opened this issue May 2, 2025 · 3 comments
Open

Add command for "open file at path of selected text" #248044

btacordex opened this issue May 2, 2025 · 3 comments
Assignees
Labels
info-needed Issue requires more information from poster triage-needed

Comments

@btacordex
Copy link

I want to highlight text in my file. Then I hit a command, and the file opens in a new tab. If I have a line like

require "incl/common.html"

I want to select incl/common.html, push the command, and open that file.

@osortega
Copy link
Contributor

osortega commented May 9, 2025

@btacordex this could be achievable through an extension using the workspace APIs. Is this something you could do with your own custom extension?

/needsMoreInfo

@vs-code-engineering vs-code-engineering bot added the ~info-needed Issue requires more information from poster (with bot comment) label May 9, 2025
Copy link

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.

Happy Coding!

@vs-code-engineering vs-code-engineering bot added info-needed Issue requires more information from poster and removed ~info-needed Issue requires more information from poster (with bot comment) labels May 9, 2025
@btacordex
Copy link
Author

Maybe I could, but I don't care enough to. This is an important and useful feature in the IDE I currently prefer to use, and it seems to me that it's useful enough it should be part of the core app and not need to be implemented by users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed Issue requires more information from poster triage-needed
Projects
None yet
Development

No branches or pull requests

2 participants