github intitni/CopilotForXcode 0.34.0

latest releases: 0.35.3, 0.35.2, 0.35.1...
3 months ago

instruction

  • Rename Prompt to Code to Modification.

  • Modification now supports modifying multiple selections at the same time.

  • Suggestions and Modification now support displaying diffs (insertions only).

  • (Free Trial) Add suggestion cheatsheet "Instructed Suggestions".

    When this cheatsheet is on, you can use \\\ instructions to instruct the suggestions. For example, typing .frame\\\width 30 height 100 will instruct the suggestion to be .frame(width: 30, height: 100).

    If you want the suggestion to rewrite the whole line, you can use let foo \\< instructions.

    For more details, see Instructed Suggestions.

  • (Free Until Useful) Add suggestion cheatsheet "Typo Fix".

    When this cheatsheet is on, it will try to fix the typo of the word under the text cursor in the suggestion.

  • (Free Trial) Support sending a message to chat using comments. You can use // chat: message to initiate a special suggestion. When you accept the suggestion, it will send the message to the chat.

  • Support installing to other folders than /Applications. If it's installed in other folders, you will have to install the launch agent manually by clicking the button. The launch agent will be installed into ~/Library/LaunchAgents.

  • Support setting OpenAI organization and project.

  • Bump Copilot Vim to 1.40.0.

  • Update text content (plain text, markdown) to always wrap in code block.

  • Modification window can now be as tall as the editor area.

  • Fix that the app may affect Xcode's performance when accessing it's UI with Accessibility API.

  • Fix that the previous suggestion button in non-compact mode will dismiss the suggestion.

  • Some other refactoring and bug fixes.

Note

The new suggestion cheatsheets are more like a hack so they may not work for all cases. I found that it's really not a good idea to make them in such a hacky way. The result is just not good enough. But let's leave them here for now.

In the next version, I will focus on improving the prompt and context awareness of chat and modification.

Don't miss a new CopilotForXcode release

NewReleases is sending notifications on new releases.