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

Follow symlinks automatically to source #1

Open
konradsa opened this issue Feb 17, 2022 · 2 comments
Open

Follow symlinks automatically to source #1

konradsa opened this issue Feb 17, 2022 · 2 comments

Comments

@konradsa
Copy link

konradsa commented Feb 17, 2022

Hi, do you think there is a way to add an option to your extension to follow automatically to the source of a symlink when opening a file, rather than having to run a manual command? I never want to edit the file in the context of the symlink location, but always want to go to the source. Thanks

@konradsa
Copy link
Author

Also, would it be possible when opening the remote file to place the cursor at the same position as the current file?

@zcfan
Copy link
Owner

zcfan commented Apr 8, 2022

Hi, do you think there is a way to add an option to your extension to follow automatically to the source of a symlink when opening a file, rather than having to run a manual command? I never want to edit the file in the context of the symlink location, but always want to go to the source. Thanks

It's possible I guess, unfortunately I'm too busy to dig deeper into vscode. Feel free to send a PR or fork and publish your own plugin~

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

No branches or pull requests

2 participants