microsoft / microsoft/vscode-cpptools

Copilot getIncludes doesn't return includes from other workspace folders

Aperta
#12,808 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@lukka ci sta già lavorando.

Dal 4/10/2024.

bug Feature: Copilot Context Feature: Multi-root
Lingua principale
TypeScript
Stelle
6.2k
Fork
1.7k
Merge medio
14h 46m
PR unite (30g)
61

Descrizione

Create 2 workspace folders and add them to a workspace. Add a test1.cpp to one folder with #include "test2.h" and a test2.h to the other workspace folder, and add a ${workspaceFolder}/../folder2 to the includePath property in the c_cpp_properties.json in folder1.

Bug: The getIncludes (for Copilot chat) doesn't return the include for the other workspace folder.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.