-
Notifications
You must be signed in to change notification settings - Fork 28.7k
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
vscode.dev Cannot open a file in a folder #187826
Comments
This problem is more common when sharing a file with others. Or is there any other good way? |
What is the result of |
hi @joyceerhl I do have two remotes, but in fact, the link I copied carries the name of the source project group. just like |
Thanks for confirming! |
@yiliang114 I cannot repro the behavior you describe. This is what I tried:
This is the relevant code which picks the remote that your branch was published to: https://github.com/joyceerhl/vscode/blob/5653420433692dc4269ad39adbc143e3438af179/extensions/github/src/links.ts#L152-L153 Can you please share your setup steps if they are different from the above steps? Thanks! |
@joyceerhl My previous operation was to clone the source of Microsoft first:
|
Maybe |
hi @joyceerhl I'm sorry, I found that the difference between me and you may be caused by my failure to update the latest version of vscode... I updated the latest version after 1.80.1 (Universal) , Now the interaction becomes, after right-clicking the file or code and selecting I have manually pushed the code to the remote, but the confirmation box still appears (at this time one of the remote branches already exists) Looks like vscode doesn't know that I 've just pushed the branch to one of the remotes But anyway after I select |
Thanks for all the info, I have a PR out to fix this issue
If you can, please try out the fix in tomorrow's Insiders build: https://code.visualstudio.com/insiders |
@joyceerhl Does the steps in description are up to date to verify or has any other specific steps? |
|
ADD ISSUE DESCRIPTION HERE
Version: 1.80.0
Commit: 660393d
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Embedder: vscode.dev
I got a link to a file through the local vscode
Reproduction steps:
Copy vscode.dev link
vscode.dev
insider.vscode.dev
The text was updated successfully, but these errors were encountered: