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

incorrect repository #7110

Closed
DarthCobb23 opened this issue Feb 17, 2025 · 4 comments
Closed

incorrect repository #7110

DarthCobb23 opened this issue Feb 17, 2025 · 4 comments
Assignees
Labels
bug Something isn't working question Further information is requested repo/cody

Comments

@DarthCobb23
Copy link

Type: Bug

Extension Information

  • Cody Version: 1.68.0
  • VS Code Version: 1.98.0-insider
  • Extension Host: desktop

Steps to Reproduce

1.typing @ in prompt to include a repository
2.The 'current repository' is incorrect based on the repository being worked in
3.

Expected Behaviour

Based on the file im working on, the current repository should be the current repository should be the repository that the file is found in

Logs

Extension version: 1.68.0
VS Code version: Code - Insiders 1.98.0-insider (984a65113ef245fa4a0e4184621272da0b031f5f, 2025-02-13T05:04:34.724Z)
OS version: Windows_NT x64 10.0.26100
Modes:
Remote OS version: Linux x64 5.15.167.4-microsoft-standard-WSL2

System Info
Item Value
CPUs 12th Gen Intel(R) Core(TM) i7-1255U (12 x 2611)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 15.63GB (1.36GB free)
Process Argv --crash-reporter-id 8265427b-8d49-4e19-bad2-631a014bc5a7
Screen Reader no
VM 0%
Item Value
Remote WSL: Ubuntu
OS Linux x64 5.15.167.4-microsoft-standard-WSL2
CPUs 12th Gen Intel(R) Core(TM) i7-1255U (12 x 0)
Memory (System) 7.57GB (2.43GB free)
VM 0%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt551:31179976
vscod805cf:30301675
py29gd2263:31024238
c4g48928:30535728
962ge761:30841072
dsvsc014:30777825
dsvsc015:30821418
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:30980852
pythonait:30973460
dwnewjupyter:31046869
nativerepl1:31134653
pythonrstrctxt:31093868
nativeloc1:31118317
e80f6927:31120813
iacca1:31150324
notype1:31143044
dwcopilot:31158714
h409b430:31177054
5b1c1929:31184661
6074i472:31201624
dwoutputs:31238123
9064b325:31222308
copilot_t_ci:31222730
f27dg485:31233432
g012b348:31231168
jda6j935:31233686
copilothoveroff:31237049

Copy link

linear bot commented Feb 17, 2025

@github-actions github-actions bot added bug Something isn't working repo/cody labels Feb 17, 2025
@PriNova
Copy link
Collaborator

PriNova commented Feb 17, 2025

HEy @DarthCobb23

What repository is shown if you use the @-current repository mention item?
Do you have multiple workspaces open which might interfere?

@PriNova PriNova self-assigned this Feb 17, 2025
@PriNova PriNova added the question Further information is requested label Feb 18, 2025 — with Linear
@DarthCobb23
Copy link
Author

So I have 2 repositories in the same workspace. Only one workspace is open at a time. However, if I'm working in a file in repo 1 @-current repository shows as repo 1, but when I switch to a file in repo 2, @ - current repository still shows as repo 1.

@PriNova
Copy link
Collaborator

PriNova commented Feb 19, 2025

@DarthCobb23
Cody on Free/Pro can only handle one repository in a workspace at a time.
You can have open two instances of VS Code with each a workspace per repository loaded and mention the repository needed.

In Enterprise Starter you can have multiple repositories per workspace as context for cross-reference.

@PriNova PriNova closed this as not planned Won't fix, can't repro, duplicate, stale Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested repo/cody
Projects
None yet
Development

No branches or pull requests

2 participants