github intitni/CopilotForXcode 0.20.0

latest releases: 0.35.9, 0.35.8, 0.35.7...
2 years 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: 0.19.2...0.20.0

Don't miss a new CopilotForXcode release

NewReleases is sending notifications on new releases.