-
Notifications
You must be signed in to change notification settings - Fork 700
Any plans on implementing "Apply suggestion" option? #260
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
Comments
@tarbaiev-smg thank you for trying out Xcode copilot. Yes, improving the code diff and apply experience is on the road. We have just published a pre-release version You can opt-in pre-release from the app settings or download it directly from https://github.com/github/CopilotForXcode/releases/tag/0.34.116. |
@testforstephen Thanks for your suggestion. It looks promising! |
Yes, glad it helps. What kind of other files are not auto discovered in the agent call? Could you elaborate it a little bit? thanks. |
@testforstephen For example when I ask it to run tests for a currently opened local Swift Package it tries to run the tests for the app project which is located in the git root directory. |
@tarbaiev-smg thank you for sharing your use case. To help us reproduce the issue, do you mind describing your workspace structure and the prompt you use? |
@testforstephen The project structure is similar to the following:
XcodeI open the
It tries to run VS CodeI open the MySwiftPackage directory in VS Code and send the prompt above to the Agent. However it doesn't seem to be consistent in VS Code either as in another project with similar structure it did try running tests from the project root directory. I had to correct it asking to run the tests from the package directory and it followed my command. |
To be fair, the Xcode version can search for the files same as VS Code version. |
thanks for the information. basically the Xcode copilot has the understanding of your workspace structure, and the agent will read the files by itself on demand. |
Copilot chat interface for VSCode as well as many other AI assistant coding tools can generate change suggestions instead of re-generating the whole file for every prompt.
Currently there seems to be no such functionality in the Copilot for Xcode, which is very annoying when working with chat interface. It's also very easy to hit the response size limits.
Lacking this feature forces me to look into alternative products.
Can we expect to get diff suggestions anytime soon?
The text was updated successfully, but these errors were encountered: