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

Support for opening clicked paths in terminal #222

Closed
jraygauthier opened this issue Dec 4, 2020 · 2 comments
Closed

Support for opening clicked paths in terminal #222

jraygauthier opened this issue Dec 4, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@jraygauthier
Copy link

jraygauthier commented Dec 4, 2020

Would it be possible for the extension to propose opening the file in the ssh fs folder when user clicks on a path in the terminal (e.g.: when error occurs, call stacks, etc)?

This would be a great time saver.

@SchoofsKelvin
Copy link
Owner

I'll look into this when I have more time.

Note to self: TerminalLinkProvider

@SchoofsKelvin SchoofsKelvin added the enhancement New feature or request label Dec 16, 2020
@SchoofsKelvin
Copy link
Owner

Added in aa17321, will be live in v1.19.1 of the extension.

Currently only supports absolute paths that are reachable of your configured root. E.g. if your config specifies ~/project as Root, then absolute paths will only work if they start with /home/USER/project, /root/project, or whatever ~/project resolves to.

Future tasks:

  • Make absolute paths outside Root work _(requires something like ssh://<name>:root/...)
  • Make relative paths work (probably not gonna happen soon, would need cd detection for the shell)
    (alternatively open the "quick file search picker" like VSCode does, but we lack a search provider Does search / fuzzy search work? #2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants