0.21.2
版本发布时间: 2023-08-14 21:27:30
intitni/CopilotForXcode最新发布版本:0.34.2(2024-10-06 23:12:20)
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+]
andshift+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
- Browser chat tab by @intitni in https://github.com/intitni/CopilotForXcode/pull/299
- Chat panel keyboard shortcuts by @intitni in https://github.com/intitni/CopilotForXcode/pull/312
- Feature/browser tab inserting and processing by @intitni in https://github.com/intitni/CopilotForXcode/pull/313
- Azure OpenAI 2023-07-01-preview by @intitni in https://github.com/intitni/CopilotForXcode/pull/318
- Bump Codeium version to 1.2.57 by @intitni in https://github.com/intitni/CopilotForXcode/pull/319
- Feature/adjust browser tab processed content presentation by @intitni in https://github.com/intitni/CopilotForXcode/pull/320
- Disallow reading large files in Filespace by @intitni in https://github.com/intitni/CopilotForXcode/pull/321
- Feature/allow hiding circular widget by @intitni in https://github.com/intitni/CopilotForXcode/pull/322
- Make local models usable as an OpenAI replacement by @intitni in https://github.com/intitni/CopilotForXcode/pull/323
- Use SMAppService to setup launch agent by @intitni in https://github.com/intitni/CopilotForXcode/pull/324
- Update retrieval chain to only gather information by @intitni in https://github.com/intitni/CopilotForXcode/pull/325
- Code scope with AST support by @intitni in https://github.com/intitni/CopilotForXcode/pull/326
Full Changelog: https://github.com/intitni/CopilotForXcode/compare/0.20.1...0.21.0
1、 Copilot.for.Xcode.app.zip 29.67MB