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

Link detection in output panel: Code follows incorrect link in Git Output window when clicking a file uri of a project with a name that is part of another project name #88121

Closed
xcarol opened this issue Jan 6, 2020 · 0 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug output Output channel system issues verified Verification succeeded
Milestone

Comments

@xcarol
Copy link

xcarol commented Jan 6, 2020

Issue Type: Bug

I have two folders (projects) where one of them's name is part of the other project name. Suppose one is named 'aaa' and the other 'aaaa'.

When I try to commit a file with a linting error, there is a log message in the Git Output window with the uri of the failing file.

Suppose the uri of the failing file is: '/home/myusername/aaaa/failing-file.js' when I ctrl+click in the uri, a message window appears which says the file cannot be found.
Looking at the path you can see that it is trying to open: '/home/myusername/aaa/a/failing-file.js' which indeed does not exist. Look the slash before the last 'a' of the project name.

VS Code version: Code 1.41.1 (26076a4, 2019-12-18T15:04:31.999Z)
OS version: Linux x64 5.3.0-24-generic snap

System Info
Item Value
CPUs Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz (4 x 3099)
GPU Status 2d_canvas: unavailable_software
flash_3d: disabled_software
flash_stage3d: disabled_software
flash_stage3d_baseline: disabled_software
gpu_compositing: disabled_software
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: disabled_off
rasterization: disabled_software
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: disabled_software
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
Load (avg) 2, 2, 2
Memory (System) 7.54GB (1.05GB free)
Process Argv --force-user-env --no-sandbox --unity-launch --no-sandbox
Screen Reader no
VM 0%
Extensions (16)
Extension Author (truncated) Version
bracket-pair-colorizer Coe 1.0.61
vscode-markdownlint Dav 0.33.0
vscode-eslint dba 2.0.11
gitlens eam 10.2.0
auto-close-tag for 0.5.6
auto-complete-tag for 0.1.0
auto-rename-tag for 0.1.1
vue-snippets hol 0.1.11
mysql-syntax jak 1.3.1
dotenv mik 1.0.1
vscode-docker ms- 0.9.0
vetur oct 0.22.6
vscode-versionlens pfl 0.24.0
vscodeintellicode Vis 1.2.2
vscode-todo-highlight way 1.0.4
vscode-proto3 zxh 0.4.0
@vscodebot vscodebot bot added the terminal Integrated terminal issues label Jan 6, 2020
@egamma egamma removed the terminal Integrated terminal issues label Jan 6, 2020
@egamma egamma changed the title Code follows incorrect link in Git Output window when clicking a file uri of a project with a name that is part of another project name Link detection in output panel: Code follows incorrect link in Git Output window when clicking a file uri of a project with a name that is part of another project name Jan 6, 2020
@bpasero bpasero added bug Issue identified by VS Code Team member as probable bug output Output channel system issues labels Jan 6, 2020
@bpasero bpasero added this to the Backlog Candidates milestone Jan 6, 2020
@bpasero bpasero closed this as completed in 68474b9 Jan 6, 2020
@jrieken jrieken added the verified Verification succeeded label Jan 30, 2020
@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug output Output channel system issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

4 participants