-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
[Bug]: Chat doesn't seem to have access to the code #385
Comments
Unfortunately it does seem to be working this morning. I will try and reproduce again and get a screenshot of both the editor and chat window as you have done. I did also at the time make sure that I wasn't selecting anything and also even tried selecting everything in the editing file. Perhaps it is the size of the file? Happy to also try and proxy the request once I can reproduce it again. |
One possible reason is that the app failed to find the UI element for the editor, I will review the logic before the next release. Currently, the app will try to find the element each time Xcode becomes active or the focused UI element changes (switching between editors or windows, etc.) If you encounter this issue again, you can try deactivating and reactivating Xcode as a workaround. |
Released in 0.27.0 |
This issue is stale because it has been open for 30 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
Before Reporting
What happened?
Recently the chat no longer has access to the code, even when I manually specify the @code in the prompt.
For example:
Error:
I apologize for the inconvenience, but it seems there is a technical issue. The updated code from the file "/*****/features/DraftInvite/DraftInviteView.swift" was not loaded correctly. The context still shows an empty file.
Could you please provide the updated code directly or describe the changes you've made so I can assist you more effectively?
How to reproduce the bug.
Make changes to the code and ask for updates to the code
Relevant log output
No response
macOS version
14.2
Xcode version
15.0.1
Copilot for Xcode version
0.26
Node version
v20.8.0
The text was updated successfully, but these errors were encountered: