CopilotForXcode

The missing GitHub Copilot, Codeium and ChatGPT Xcode Source Editor Extension

OTHER License

Stars
7.2K
Committers
10

Bot releases are hidden (Show)

CopilotForXcode - 0.22.1

Published by intitni about 1 year ago

Please restart Xcode to finish the update.

  • Fix that opening new browser tab will disable the observations in previous browser tabs.

New in 0.22.0

  • (Plus, free to try before 2023-08-26) Accept suggestion with Tab, go turn it on in the settings!
  • (Plus, free to try before 2023-08-26) Persisted chat tabs and browser tabs.
  • (Plus) Browser tab:
    • Fix that rewrite content was not working.
    • Support rewriting content inside shadow dom (e.g. Bing Chat), and some contenteditable (e.g. Linear.app).
    • Support right click - open in new window. It will now open the link in another tab.
    • Fix that target="_blank" links were unable to open.
  • You can now hide the accept and reject buttons on the suggestion panel to have a more compact look.
  • When the circular widget is hidden, it will display the animation when fetching suggestion.
  • Fix the terrible transition when accepting prompt to code suggestion with continuous mode on.
  • Make the chat bot know the current time.
  • Remove Splash, use Highlight.js to highlight all the languages. Bump Highlight.js to 11.8.0.

Pull Requests

Full Changelog: https://github.com/intitni/CopilotForXcode/compare/0.21.2...0.22.0

CopilotForXcode - 0.22.0

Published by intitni about 1 year ago

Please restart Xcode to finish the update.

  • (Plus, free to try before 2023-08-26) Accept suggestion with Tab, go turn it on in the settings!
  • (Plus, free to try before 2023-08-26) Persisted chat tabs and browser tabs.
  • (Plus) Browser tab:
    • Fix that rewrite content was not working.
    • Support rewriting content inside shadow dom (e.g. Bing Chat), and some contenteditable (e.g. Linear.app).
    • Support right click - open in new window. It will now open the link in another tab.
    • Fix that target="_blank" links were unable to open.
  • You can now hide the accept and reject buttons on the suggestion panel to have a more compact look.
  • When the circular widget is hidden, it will display the animation when fetching suggestion.
  • Fix the terrible transition when accepting prompt to code suggestion with continuous mode on.
  • Make the chat bot know the current time.
  • Remove Splash, use Highlight.js to highlight all the languages. Bump Highlight.js to 11.8.0.

Pull Requests

Full Changelog: https://github.com/intitni/CopilotForXcode/compare/0.21.2...0.22.0

CopilotForXcode - 0.21.2

Published by intitni about 1 year ago

Please restart Xcode to finish the update.

Add a toggle to disable function calling in advanced settings.

you can disable it if you have no control over the model you are using for chat, and the model doesn't support function calling.

@web scope and some features of the @code scope will not work without function calling.

New in 0.21.1

  • Fix that command+w can't close chat tabs.
  • Fix that the project can't be built without the private submodule.

New in 0.21.0

Introducing Copilot for Xcode Plus!

Back in the beginning of 2023, I created the initial version of the source editor extension for GitHub Copilot, which injects suggestions into the code as comments. I never imagined that it would evolve into what it is today.

While most of what was free and open-source will remain free and open-source. I would like to introduce the Plus license key which unlocks a subset of the new features. I kindly ask you to consider getting a license key to support the development of this project!

The very first plus features are:

  • Browser tab.
  • Unlimited number of custom commands (non-plus users will have a limit of 10 commands (´・ω・`)).

What’s New

  • Replace selection and file scope with file and code scope.

    • The file scope enables the chatbot to read the metadata of the edited file. The code scope enables the chatbot to read both the metadata and content of the edited file.
    • The @code scope now parses the AST (Swift only at the moment) of the file so it knows more context of the file, like what is imported and what type or function the selected code is in.
    • When there is no selected code, it can get the focused code base on the cursor position.
  • (Plus) Browser tab
    You can now use your favorite web tools from the chat panel. The context menu has been enhanced, allowing you to perform the following actions while editing text:

    • paste selected code / file content.
    • paste selected code / file content in Markdown.
    • rewrite selected text with custom commands.

    When you are not editing text, you can still run custom commands on any selected text.

    Known issue:

    • active elements inside shadow dom and contenteditable divs are not yet supported.
    • open in new tab is not yet handled.
  • Create new chat tab with custom chat commands.

  • Chat panel now supports switch tabs with shift+command+] and shift+command+[.

  • Web page query with @web scope should be faster now.

  • You can now hide the circular widget. #307

  • Move the chat context menu to tab bar.

  • Move the pin chat panel button to the title bar of chat panel.

  • Use SMAppService to setup launch agent. If you are building the app yourself, don’t forget to update the launchAgent.plist file in the project. #266

  • Bump Codeium to 1.2.57

  • Update Azure OpenAI API to 07-01 preview which supports function calling. (Please update the model version of your deployment tot 0613)

  • Make the ChatGPT service compatible with LocalAI, but you should use a model that supports function calling, or configure it to completely ignore function calling. #308

  • Prevent reading large files. #316

Pull Requests

Full Changelog: https://github.com/intitni/CopilotForXcode/compare/0.20.1...0.21.0

CopilotForXcode - 0.21.1

Published by intitni about 1 year ago

  • Fix that command+w can't close chat tabs.
  • Fix that the project can't be built without the private submodule.

New in 0.21.0

Introducing Copilot for Xcode Plus!

Back in the beginning of 2023, I created the initial version of the source editor extension for GitHub Copilot, which injects suggestions into the code as comments. I never imagined that it would evolve into what it is today.

While most of what was free and open-source will remain free and open-source. I would like to introduce the Plus license key which unlocks a subset of the new features. I kindly ask you to consider getting a license key to support the development of this project!

The very first plus features are:

  • Browser tab.
  • Unlimited number of custom commands (non-plus users will have a limit of 10 commands (´・ω・`)).

What’s New

  • Replace selection and file scope with file and code scope.

    • The file scope enables the chatbot to read the metadata of the edited file. The code scope enables the chatbot to read both the metadata and content of the edited file.
    • The @code scope now parses the AST (Swift only at the moment) of the file so it knows more context of the file, like what is imported and what type or function the selected code is in.
    • When there is no selected code, it can get the focused code base on the cursor position.
  • (Plus) Browser tab
    You can now use your favorite web tools from the chat panel. The context menu has been enhanced, allowing you to perform the following actions while editing text:

    • paste selected code / file content.
    • paste selected code / file content in Markdown.
    • rewrite selected text with custom commands.

    When you are not editing text, you can still run custom commands on any selected text.

    Known issue:

    • active elements inside shadow dom and contenteditable divs are not yet supported.
    • open in new tab is not yet handled.
  • Create new chat tab with custom chat commands.

  • Chat panel now supports switch tabs with shift+command+] and shift+command+[.

  • Web page query with @web scope should be faster now.

  • You can now hide the circular widget. #307

  • Move the chat context menu to tab bar.

  • Move the pin chat panel button to the title bar of chat panel.

  • Use SMAppService to setup launch agent. If you are building the app yourself, don’t forget to update the launchAgent.plist file in the project. #266

  • Bump Codeium to 1.2.57

  • Update Azure OpenAI API to 07-01 preview which supports function calling. (Please update the model version of your deployment tot 0613)

  • Make the ChatGPT service compatible with LocalAI, but you should use a model that supports function calling, or configure it to completely ignore function calling. #308

  • Prevent reading large files. #316

Pull Requests

Full Changelog: https://github.com/intitni/CopilotForXcode/compare/0.20.1...0.21.0

CopilotForXcode - 0.21.0

Published by intitni about 1 year ago

Introducing Copilot for Xcode Plus!

Back in the beginning of 2023, I created the initial version of the source editor extension for GitHub Copilot, which injects suggestions into the code as comments. I never imagined that it would evolve into what it is today.

While most of what was free and open-source will remain free and open-source. I would like to introduce the Plus license key which unlocks a subset of the new features. I kindly ask you to consider getting a license key to support the development of this project!

The very first plus features are:

  • Browser tab.
  • Unlimited number of custom commands (non-plus users will have a limit of 10 commands (´・ω・`)).

What’s New

  • Replace selection and file scope with file and code scope.

    • The file scope enables the chatbot to read the metadata of the edited file. The code scope enables the chatbot to read both the metadata and content of the edited file.
    • The @code scope now parses the AST (Swift only at the moment) of the file so it knows more context of the file, like what is imported and what type or function the selected code is in.
    • When there is no selected code, it can get the focused code base on the cursor position.
  • (Plus) Browser tab
    You can now use your favorite web tools from the chat panel. The context menu has been enhanced, allowing you to perform the following actions while editing text:

    • paste selected code / file content.
    • paste selected code / file content in Markdown.
    • rewrite selected text with custom commands.

    When you are not editing text, you can still run custom commands on any selected text.

    Known issue:

    • active elements inside shadow dom and contenteditable divs are not yet supported.
    • open in new tab is not yet handled.
  • Create new chat tab with custom chat commands.

  • Chat panel now supports switch tabs with shift+command+] and shift+command+[.

  • Web page query with @web scope should be faster now.

  • You can now hide the circular widget. #307

  • Move the chat context menu to tab bar.

  • Move the pin chat panel button to the title bar of chat panel.

  • Use SMAppService to setup launch agent. If you are building the app yourself, don’t forget to update the launchAgent.plist file in the project. #266

  • Bump Codeium to 1.2.57

  • Update Azure OpenAI API to 07-01 preview which supports function calling.

  • Make the ChatGPT service compatible with LocalAI, but you should use a model that supports function calling, or configure it to completely ignore function calling. #308

  • Prevent reading large files. #316

Pull Requests

Full Changelog: https://github.com/intitni/CopilotForXcode/compare/0.20.1...0.21.0

CopilotForXcode - 0.20.1

Published by intitni about 1 year ago

Please restart Xcode to finish the update.

  • Fix different cases in accepting a suggestion after typing out a part of the suggested code.
  • Fix that only the title area of a chat panel tab can be clicked.

New in 0.20.0

  • Update Nearby Text Cursor to be the default presentation.

  • Support multiple chat tabs.

  • Support new custom command "Single Round Dialog", which sends a message to a temporary chat, and optionally receives a reply through notification. You may want to use it to quickly run a shell command with /run.

    For example, you can set the prompt of this custom command to be /run open $FILE_PATH -a "TextEdit.app" to open the active file in TextEdit.app or /run open . to open the project root in Finder.app.

    For anyone doesn't know, you can run shell command in the chat panel with /run. The directory path will be you project root.

  • Update GitHub Copilot to 1.9.1.

  • Add a "ignore trailing new lines and whitespaces" toggle to GitHub Copilot settings.

  • Improve transitions of widgets.

An experimental chat scope @web is added. It can search with Bing, scrap a website, and answer your question according to that information. But the implementation is still very naive, it will use the top 5 relevant trunks of text from the webpage to generate an answer.
(Azure OpenAI doesn't support function calling yet, so you can't use @web from it.)

CopilotForXcode - 0.20.0

Published by intitni over 1 year ago

Please restart Xcode to finish the update.

  • Update Nearby Text Cursor to be the default presentation.

  • Support multiple chat tabs.

  • Support new custom command "Single Round Dialog", which sends a message to a temporary chat, and optionally receives a reply through notification. You may want to use it to quickly run a shell command with /run.

    For example, you can set the prompt of this custom command to be /run open $FILE_PATH -a "TextEdit.app" to open the active file in TextEdit.app or /run open . to open the project root in Finder.app.

    For anyone doesn't know, you can run shell command in the chat panel with /run. The directory path will be you project root.

  • Update GitHub Copilot to 1.9.1.

  • Add a "ignore trailing new lines and whitespaces" toggle to GitHub Copilot settings.

  • Improve transitions of widgets.

An experimental chat scope @web is added. It can search with Bing, scrap a website, and answer your question according to that information. But the implementation is still very naive, it will use the top 5 relevant trunks of text from the webpage to generate an answer.
(Azure OpenAI doesn't support function calling yet, so you can't use @web from it.)

Eventually, I decided to just not use PythonKit and LangChain.py. It's actually possible to embed site-packages, import from LangChain, and even call its tools from threads other than the main thread. But it makes me very nervous when trying to use it to run some time-consuming tasks. Other downsides are:

  • It takes like forever to code sign.
  • You will have to set up Python in your unit tests.
  • Heavily increased app bundle size.
  • There is no documentation about how to use it in a multiple-thread environment.

Luckily it's not that hard to translate the tools I need into Swift.

Pull Requests

Full Changelog: https://github.com/intitni/CopilotForXcode/compare/0.19.2...0.20.0

CopilotForXcode - 0.19.2

Published by intitni over 1 year ago

Please restart Xcode to finish the update.

  • Fix incorrect opened tabs observation, which may affect the suggestion feature in generating suggestions from the opened files.

New in 0.19.1

  • Fix the issue where the extension service may fail to register some AXNotifications if Xcode is opened after the service.

New in 0.19.0

  • Add new suggestion presentation mode: nearby text cursor. It's recommended to set the real-time suggestion debounce to something greater than 0 if you are using this mode. Remove comment mode. Go toggle it on in the suggestion feature settings!
    Xcode
  • Update Codeium to 1.2.40.
  • Accepting suggestion in widget will automatically fall back to using Accessibility API when the command menu is not available. If the button is not working for you, please turn on “Always use Accessibility API to accept suggesting” in advanced settings.
  • Fix #269
  • Fix #266

Pull Requests

Full Changelog: https://github.com/intitni/CopilotForXcode/compare/0.18.2...0.19.0

CopilotForXcode - 0.19.1

Published by intitni over 1 year ago

Please restart Xcode to finish the update.

  • Fix the issue where the extension service may fail to register some AXNotifications if Xcode is opened after the service.

New in 0.19.0

  • Add new suggestion presentation mode: nearby text cursor. It's recommended to set the real-time suggestion debounce to something greater than 0 if you are using this mode. Remove comment mode. Go toggle it on in the suggestion feature settings!
    Xcode
  • Update Codeium to 1.2.40.
  • Accepting suggestion in widget will automatically fall back to using Accessibility API when the command menu is not available. If the button is not working for you, please turn on “Always use Accessibility API to accept suggesting” in advanced settings.
  • Fix #269
  • Fix #266

Pull Requests

Full Changelog: https://github.com/intitni/CopilotForXcode/compare/0.18.2...0.19.0

CopilotForXcode - 0.19.0

Published by intitni over 1 year ago

Please restart Xcode to finish the update.

  • Add new suggestion presentation mode: nearby text cursor. It 's recommended to set the real-time suggestion debounce to 0.1 if you are using this mode. Remove comment mode.
    Xcode
  • Update Codeium to 1.2.40.
  • Accepting suggestion in widget will automatically fallback to use Accessibility API when the command menu is not available.
  • Fix #269
  • Fix #266

Pull Requests

Full Changelog: https://github.com/intitni/CopilotForXcode/compare/0.18.2...0.19.0

CopilotForXcode - 0.18.2

Published by intitni over 1 year ago

Please restart Xcode to finish the update.

  • Add support for the new 16K model and 0613 models.
  • Search chat plugin now replies in the preferred language.
  • Add chat plugin \shortcutInput(shortcut name) to generate and send a user message to the bot.

The new function calling feature in ChatGPT is remarkable, we will be able to integrate some of the plugins and scopes into the bot without having to write an agent!

What's New in 0.18.1

  • May have fixed #172 (again!)
  • Support setting up a proxy for GitHub Copilot.
  • Fix that undoing in chat text view may crash the app.
  • Support new chat plugin: /shortcut(shortcut name): It will run a shortcut from the Shortcuts.app with your message (or the previous message if the new message is empty) as input, and reply with it's output. It may not have the permission to do everything like accessing your photo library.

For example, if you have a shortcut like this one:

You can send /shortcut(translate) Hello world! to get "你好世界!" in reply, or, send /shortcut(translate) to let it translate the previous message. (Stop and output is not needed here.)

What's New in 0.18.0

  • We now support 2 new chat plugins:

    • /math: This plugin allows you to solve a simple math problem in natural language.
    • /search: This plugin can search on Bing and get an answer to your question. We chose Bing because it has a good enough free tier. To use this plugin, you will need to provide a subscription key in the host app. (Disclaimer: It's not as good as Bing Chat.)

    Both of these plugins currently lack the knowledge of the chat history.

  • You can now personalize the bot by setting the default system prompt.

  • For custom commands of open chat and custom chat, they now support the following template arguments:

    Argument Description
    {{selected_code}} The currently selected code in the editor.
    {{active_editor_language}} The programming language of the active editor.
    {{active_editor_file_url}} The URL of the active file in the editor.
    {{active_editor_file_name}} The name of the active file in the editor.

    If you prefer the old behavior of chat with selection, you can build your own command to send the code into the extra system prompt.

  • May have fixed #172 (If you still experience the crash, please help me debug it)

I have been experimenting with LangChain over the past few days and found it possible to embed the Python version of LangChain and use it with PythonKit. However, the experience was not optimal and it made the code sign take more time. Therefore, I decided to implement part of the chain and agent functionality in Swift and built the search plugin with it. Having a natively implemented chain and agent allows me to have better control over their behavior, and makes it easier to integrate native tools. I am still considering embedding LangChain (Python or Javascript, decision not yet made) in future versions to utilize their well-implemented and tested chains.

Pull Requests

Full Changelog: https://github.com/intitni/CopilotForXcode/compare/0.17.1...0.18.0

CopilotForXcode - 0.18.1

Published by intitni over 1 year ago

Please restart Xcode to finish the update.

  • May have fixed #172 (again!)
  • Support setting up a proxy for GitHub Copilot.
  • Fix that undoing in chat text view may crash the app.
  • Support new chat plugin: /shortcut(shortcut name): It will run a shortcut from the Shortcuts.app with your message (or the previous message if the new message is empty) as input, and reply with it's output. It may not have the permission to do everything like accessing your photo library.

For example, if you have a shortcut like this one:

You can send /shortcut(translate) Hello world! to get "你好世界!" in reply, or, send /shortcut(translate) to let it translate the previous message. (Stop and output is not needed here.)

What's New in 0.18.0

  • We now support 2 new chat plugins:

    • /math: This plugin allows you to solve a simple math problem in natural language.
    • /search: This plugin can search on Bing and get an answer to your question. We chose Bing because it has a good enough free tier. To use this plugin, you will need to provide a subscription key in the host app. (Disclaimer: It's not as good as Bing Chat.)

    Both of these plugins currently lack the knowledge of the chat history.

  • You can now personalize the bot by setting the default system prompt.

  • For custom commands of open chat and custom chat, they now support the following template arguments:

    Argument Description
    {{selected_code}} The currently selected code in the editor.
    {{active_editor_language}} The programming language of the active editor.
    {{active_editor_file_url}} The URL of the active file in the editor.
    {{active_editor_file_name}} The name of the active file in the editor.

    If you prefer the old behavior of chat with selection, you can build your own command to send the code into the extra system prompt.

  • May have fixed #172 (If you still experience the crash, please help me debug it)

I have been experimenting with LangChain over the past few days and found it possible to embed the Python version of LangChain and use it with PythonKit. However, the experience was not optimal and it made the code sign take more time. Therefore, I decided to implement part of the chain and agent functionality in Swift and built the search plugin with it. Having a natively implemented chain and agent allows me to have better control over their behavior, and makes it easier to integrate native tools. I am still considering embedding LangChain (Python or Javascript, decision not yet made) in future versions to utilize their well-implemented and tested chains.

Pull Requests

Full Changelog: https://github.com/intitni/CopilotForXcode/compare/0.17.1...0.18.0

CopilotForXcode - 0.18.0

Published by intitni over 1 year ago

Please restart Xcode to finish the update.

Looks like we will have to stay together for a longer while.

  • We now support 2 new chat plugins:

    • /math: This plugin allows you to solve a simple math problem in natural language.
    • /search: This plugin can search on Bing and get an answer to your question. We chose Bing because it has a good enough free tier. To use this plugin, you will need to provide a subscription key in the host app. (Disclaimer: It's not as good as Bing Chat.)

    Both of these plugins currently lack the knowledge of the chat history.

  • You can now personalize the bot by setting the default system prompt.

  • For custom commands of open chat and custom chat, they now support the following template arguments:

    Argument Description
    {{selected_code}} The currently selected code in the editor.
    {{active_editor_language}} The programming language of the active editor.
    {{active_editor_file_url}} The URL of the active file in the editor.
    {{active_editor_file_name}} The name of the active file in the editor.

    If you prefer the old behavior of chat with selection, you can build your own command to send the code into the extra system prompt.

  • May have fixed #172 (If you still experience the crash, please help me debug it)

I have been experimenting with LangChain over the past few days and found it possible to embed the Python version of LangChain and use it with PythonKit. However, the experience was not optimal and it made the code sign take more time. Therefore, I decided to implement part of the chain and agent functionality in Swift and built the search plugin with it. Having a natively implemented chain and agent allows me to have better control over their behavior, and makes it easier to integrate native tools. I am still considering embedding LangChain (Python or Javascript, decision not yet made) in future versions to utilize their well-implemented and tested chains.

Pull Requests

Full Changelog: https://github.com/intitni/CopilotForXcode/compare/0.17.1...0.18.0

CopilotForXcode - 0.17.1

Published by intitni over 1 year ago

Please restart Xcode to finish the update.

  • Stop displaying the cancellation errors from Codeium in UI. Fixes #237

What's New in 0.17.0

  • Copilot.vim is no longer embedded within the app. New users will need to click the install button to download it. If you are updating to this version, the language server was already moved to the appropriate location.
  • The keychain group is now correctly being used to store the Codeium auth key. However, it's uncertain whether the migration was implemented correctly, so you may need to sign in again after upgrading.
  • Codeium has been bumped up to version 1.2.25.
  • Azure OpenAI is now supported and it is lightning fast.
  • Certain settings have been moved from OpenAI settings to Chat settings.
  • The app will now attempt to notify suggestion services about the previously opened files on launch so that they will know which files are already open.
  • Suggestions will now be invalidated when you move the cursor to another line.
  • If you are simply typing what the suggestion offers, the app will not request new suggestions.
  • Suggestions will no longer be cancelled by mouse clicking or arrow keys.
  • In 0.16 the chat gained the ability to read your selected code. If you don't want it to do it automatically, you can now turn it off in the host app. You can still prepend the message with @selection to let it read the selected code.
  • Some fixes.
CopilotForXcode - 0.17.0

Published by intitni over 1 year ago

Please restart Xcode to finish the update.

  • Copilot.vim is no longer embedded within the app. New users will need to click the install button to download it. If you are updating to this version, the language server was already moved to the appropriate location.
  • The keychain group is now correctly being used to store the Codeium auth key. However, it's uncertain whether the migration was implemented correctly, so you may need to sign in again after upgrading.
  • Codeium has been bumped up to version 1.2.25.
  • Azure OpenAI is now supported and it is lightning fast.
  • Certain settings have been moved from OpenAI settings to Chat settings.
  • The app will now attempt to notify suggestion services about the previously opened files on launch so that they will know which files are already open.
  • Suggestions will now be invalidated when you move the cursor to another line.
  • If you are simply typing what the suggestion offers, the app will not request new suggestions.
  • Suggestions will no longer be cancelled by mouse clicking or arrow keys.
  • In 0.16 the chat gained the ability to read your selected code. If you don't want it to do it automatically, you can now turn it off in the host app. You can still prepend the message with @selection to let it read the selected code.
  • Some fixes.

Pull Requests

Full Changelog: https://github.com/intitni/CopilotForXcode/compare/0.16.1...0.17.0

CopilotForXcode - 0.16.1

Published by intitni over 1 year ago

Please restart Xcode to finish the update

  • Fix that Objective-C code was not highlighted in chat.
  • Fix that widgets were not displaying when Xcode was moved to another space.

What's New in 0.16.0

  • The cancel request feature for GitHub Copilot has been implemented. For both GitHub Copilot and Codeium users, it is now recommended to set the real-time suggestion debounce to ZERO.
  • The "Chat with Selection" feature has been removed. However, the chat will now look at your active editor for the selected code. It can now identify:
    • The selected code in the active editor.
    • The relative path of the file.
    • The error and warning labels in the active editor.
    • Your text cursor location.
  • If you want the chat to read the whole file, you can prepend the message with @file. But please note that you may not have enough tokens to put large files into the context.
  • The bottom bar of the chat now has a context menu where you can check the current system prompt, reset system prompt, and run any chat-based custom commands.
  • You can now ask the custom prompt to code command to not generate a description.
    If you, like me, are using a custom command to polish documentation that is not in your preferred language, you may find that it sometimes translates the documentation into your language. This is because there is a line in the prompt that asks for a description of what it did in your preferred language. Now you can turn it off.
CopilotForXcode - 0.16.0

Published by intitni over 1 year ago

  • The cancel request feature for GitHub Copilot has been implemented. For both GitHub Copilot and Codeium users, it is now recommended to set the real-time suggestion debounce to ZERO.
  • The "Chat with Selection" feature has been removed. However, the chat will now look at your active editor for the selected code. It can now identify:
    • The selected code in the active editor.
    • The relative path of the file.
    • The error and warning labels in the active editor.
    • Your text cursor location.
  • If you want the chat to read the whole file, you can prepend the message with @file. But please note that you may not have enough tokens to put large files into the context.
  • The bottom bar of the chat now has a context menu where you can check the current system prompt, reset system prompt, and run any chat-based custom commands.
  • You can now ask the custom prompt to code command to not generate a description.
    If you, like me, are using a custom command to polish documentation that is not in your preferred language, you may find that it sometimes translates the documentation into your language. This is because there is a line in the prompt that asks for a description of what it did in your preferred language. Now you can turn it off.

Pull Request

Full Changelog: https://github.com/intitni/CopilotForXcode/compare/0.15.4...0.16.0

CopilotForXcode - 0.15.4

Published by intitni over 1 year ago

This guy is writing a lot of bug...

What's New

  • Fixed that launch agent was not installed at launch.
  • Addressed an issue where the chat was not displaying in certain Xcode windows.
  • Resolved a problem where widgets were not disappearing after minimizing Xcode.
  • Implemented a default system prompt for the chat to when the chat is not opened with a command.
  • Added an install/uninstall button for GitHub Copilot language server.

What's New in 0.15.0

  • Support Codeium as a provider for the Suggestion feature.
  • New host app UI that is better structured.
  • Closed files will be cleaned up more frequently, hope that it can make the suggestions more accurate.
  • Improve the prompt of the Prompt to Code feature.
  • Updated both Chat and Prompt to Code to use a dynamic height scrollable text editor with better performance.
  • Support disabling languages from the Suggestion feature.
  • Rename global chat and file chat to "Shared Conversation" and "Local Conversation" to avoid misunderstanding.
  • Support opening chat from the menu bar item, it will open a shared-conversation detached chat even if Xcode is not launched.
  • Support opening the host app from the menu bar item.
  • Closing chat or prompt to code panel will reactivate Xcode if Xcode was the previously active application.
  • Change the menu bar icon to a tentacle.
  • Update Copilot.vim to 1.8.4.
  • Remove an order front hack that keeps calling NSWindow.orderFront to make the widgets displayed when Xcode is in fullscreen mode. It will now call orderFront only when Xcode enters fullscreen.
CopilotForXcode - 0.15.2

Published by intitni over 1 year ago

What's New

  • Fix that the menu bar icon was not visible in dark background.
  • Fix that the sign in process of Codeium was not cancellable.
  • Fix that sign out button for Codeium was not working.

What's New in 0.15.0

  • Support Codeium as a provider for the Suggestion feature.
  • New host app UI that is better structured.
  • Closed files will be cleaned up more frequently, hope that it can make the suggestions more accurate.
  • Improve the prompt of the Prompt to Code feature.
  • Updated both Chat and Prompt to Code to use a dynamic height scrollable text editor with better performance.
  • Support disabling languages from the Suggestion feature.
  • Rename global chat and file chat to "Shared Conversation" and "Local Conversation" to avoid misunderstanding.
  • Support opening chat from the menu bar item, it will open a shared-conversation detached chat even if Xcode is not launched.
  • Support opening the host app from the menu bar item.
  • Closing chat or prompt to code panel will reactivate Xcode if Xcode was the previously active application.
  • Change the menu bar icon to a tentacle.
  • Update Copilot.vim to 1.8.4.
  • Remove an order front hack that keeps calling NSWindow.orderFront to make the widgets displayed when Xcode is in fullscreen mode. It will now call orderFront only when Xcode enters fullscreen.

Pull Requests

Full Changelog: https://github.com/intitni/CopilotForXcode/compare/0.14.1...0.15.0

CopilotForXcode - 0.15.1

Published by intitni over 1 year ago

What's New

  • Support Codeium as a provider for the Suggestion feature.
  • New host app UI that is better structured.
  • Closed files will be cleaned up more frequently, hope that it can make the suggestions more accurate.
  • Improve the prompt of the Prompt to Code feature.
  • Updated both Chat and Prompt to Code to use a dynamic height scrollable text editor with better performance.
  • Support disabling languages from the Suggestion feature.
  • Rename global chat and file chat to "Shared Conversation" and "Local Conversation" to avoid misunderstanding.
  • Support opening chat from the menu bar item, it will open a shared-conversation detached chat even if Xcode is not launched.
  • Support opening the host app from the menu bar item.
  • Closing chat or prompt to code panel will reactivate Xcode if Xcode was the previously active application.
  • Change the menu bar icon to a tentacle.
  • Update Copilot.vim to 1.8.4.
  • Remove an order front hack that keeps calling NSWindow.orderFront to make the widgets displayed when Xcode is in fullscreen mode. It will now call orderFront only when Xcode enters fullscreen.

Pull Requests

Full Changelog: https://github.com/intitni/CopilotForXcode/compare/0.14.1...0.15.0