-
Notifications
You must be signed in to change notification settings - Fork 8
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
How do I get the contents of a file provided by Visual Studio? #21
Comments
The SDK is just passing through available information, but I'll ask the team working on the backend to see if there is a way |
@evanyangxx the Are you hoping to get the user's relative file path? The full file path? Or the actual contents of the current file a user is on? I'll find some info on how to troubleshoot this. It'll help if I know which specific context you're looking to access. Here's an example of the request payload you should see when
|
Here are some steps you can take to troubleshoot the issue @evanyangxx:
Also, I'm going to move this issue to our user feedback repo since it's general and our team will have better visibility there. |
Curious if project type has anything to do with the op receiving null on references, since in my case for VSCode with a TS Node project the Though if I try a C# WinUI3 / UWP project in Visual Studio I see some "odd" behavior when there are
and after I re-prompt the agent the original user message first sent contains the expected format for I'm not too sure if there's something I'm missing that causes this to get
Let me know if you need more information on this or if it should be asked elsewhere. Wasn't sure if all projects interacting with copilot should be having the same |
Here is the information for my payload object, the copilot_references property is empty.

The text was updated successfully, but these errors were encountered: