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

Unable to identify file in project hence not open it with relative path #94068

Closed
qizhiyu opened this issue Mar 31, 2020 · 4 comments
Closed
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) info-needed Issue requires more information from poster

Comments

@qizhiyu
Copy link

qizhiyu commented Mar 31, 2020

Issue Type: Bug

OS: windows 10

  1. open a folder with git enabled
  2. open and make change to one file, abc.tsx , notice the breadcomb is like 'src > abc.tsx > class'
  3. click 'Source Control' on left tool bar
  4. click 'Open file' next to the changed file abc.tsx

Expected: VS Code switches to the existing editor window of abc.tsx
Issue: Instead, VS Code opens another window with "D: > Code > abc.tsx ..." as breadcomb.

reopen filestwo windows of same file with absolute path and relative path respectively

VS Code version: Code 1.43.2 (0ba0ca5, 2020-03-24T07:38:38.248Z)
OS version: Windows_NT x64 10.0.18363

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2592)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 39.82GB (21.35GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (18)
Extension Author (truncated) Version
bracket-pair-colorizer-2 Coe 0.0.29
es7-react-js-snippets dsz 2.7.1
gitlens eam 10.2.1
prettier-vscode esb 3.20.0
vscode-jest-runner fir 0.4.15
vscode-react-typescript inf 1.3.1
import-sorter mik 3.3.1
vscode-azureappservice ms- 0.16.4
csharp ms- 1.21.16
azure-account ms- 0.8.8
color-highlight nau 2.3.0
indent-rainbow ode 7.4.0
autolaunch phi 2.0.3
code-spell-checker-fullstack rba 0.0.8
mob-timer son 1.5.1
code-spell-checker str 1.8.0
quokka-vscode Wal 1.0.285
markdown-all-in-one yzh 2.7.0
@joaomoreno
Copy link
Member

I can't reproduce. Are you in a network share? Do you have symbolic links?

Can you please provide a screen recording?

@joaomoreno joaomoreno added the info-needed Issue requires more information from poster label Apr 1, 2020
@qizhiyu
Copy link
Author

qizhiyu commented Apr 1, 2020

Not using network share or symbolic links. D is a physical drive.
4b7cd4f8-1969-4dd1-bdd5-a19aa30dd41a

I also tried with Insiders - 1.44.0 which has no such issue
image

@joaomoreno joaomoreno assigned bpasero and isidorn and unassigned joaomoreno Apr 2, 2020
@bpasero
Copy link
Member

bpasero commented Apr 2, 2020

/duplicate #12448

@github-actions github-actions bot locked and limited conversation to collaborators May 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

5 participants
@joaomoreno @bpasero @isidorn @qizhiyu and others