Skip to content

Commit 0b54d7c

Browse files
committed
Update README.md
1 parent 0c55c5d commit 0b54d7c

File tree

2 files changed

+20
-9
lines changed

2 files changed

+20
-9
lines changed

Pro

Submodule Pro updated from 9408c50 to b78bc3f

README.md

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ For chat and prompt to code features:
6969

7070
> The installation process is a bit complicated. Here is a quick overview:
7171
>
72-
> 1. Install the app into the Applications folder.
72+
> 1. Install the app into the Applications folder, open it once.
7373
> 2. Enable the source editor extension.
7474
> 3. Grant Accessibility API permission to the extension app.
7575
> 4. Setup accounts and models in the host app.
@@ -180,20 +180,16 @@ You can also set it to quit automatically when the above 2 apps are closed.
180180

181181
## Update
182182

183-
If the app was installed via Homebrew, you can update it by running:
184-
185-
```bash
186-
brew upgrade --cask copilot-for-xcode
187-
```
188-
189-
Alternatively, You can use the in-app updater or download the latest version manually from the latest [release](https://github.com/intitni/CopilotForXcode/releases).
183+
You can use the in-app updater or download the latest version manually from the latest [release](https://github.com/intitni/CopilotForXcode/releases).
190184

191185
After updating, please open Copilot for Xcode.app once and restart Xcode to allow the extension to reload.
192186

193187
If you find that some of the features are no longer working, please first try regranting permissions to the app.
194188

195189
## Feature
196190

191+
> Files in gitignore will not receive suggestion. Both chat and prompt to code feature will not have access to them unless you manually select code from them.
192+
197193
### Suggestion
198194

199195
The app can provide real-time code suggestions based on the files you have opened. It's powered by GitHub Copilot and Codeium.
@@ -310,6 +306,18 @@ This feature is recommended when you need to update a specific piece of code. So
310306
- Polishing and correcting grammar and spelling errors in the documentation.
311307
- Translating a localizable strings file.
312308

309+
#### Prompt to Code Scope
310+
311+
The chat panel allows for chat scope to temporarily control the context of the conversation for the latest message. To use a scope, simply prefix the message with `@scope`.
312+
313+
| Scope | Description |
314+
| :--------: | ---------------------------------------------------------------------------------------- |
315+
| `@sense` | Experimental. Read the relevant information of the focused code |
316+
317+
To use scopes, you can prefix a message with `@sense`.
318+
319+
You can use shorthand to represent a scope, such as `@sense`, and enable multiple scopes with `@c+web`.
320+
313321
#### Commands
314322

315323
- Prompt to Code: Open a prompt to code window, where you can use natural language to write or edit selected code.
@@ -342,6 +350,9 @@ These features are included in another repo, and are not open sourced.
342350

343351
The currently available Plus features include:
344352

353+
- `@project` scope in chat.
354+
- Suggestion Cheatsheet that provides relevant content to the suggestion service.
355+
- `@sense` scope in chat and prompt to code.
345356
- Terminal tab in chat panel.
346357
- Unlimited chat/embedding models.
347358
- Tab to accept suggestions.

0 commit comments

Comments
 (0)