Skip to content

Commit fd90ba1

Browse files
committed
Update readme
1 parent c243bea commit fd90ba1

1 file changed

Lines changed: 16 additions & 11 deletions

File tree

README.md

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Thanks to [LSP-copilot](https://github.com/TerminalFi/LSP-copilot) for showing t
88

99
## Prerequisites
1010

11-
- [Node](https://nodejs.org/) installed to run the Copilot LSP. (Version 16)
11+
- [Node](https://nodejs.org/) installed to run the Copilot LSP. (Version 16 preferred)
1212
- Public network connection.
1313
- Active GitHub Copilot subscription.
1414

@@ -33,21 +33,26 @@ The first time the actions run, the extension will ask for 2 types of permission
3333

3434
## FAQ
3535

36-
Q: The extension doesn't show up in the `Editor` menu.
37-
A: Please make sure it's turned on in `Settings.app > Privacy & Security > Extensions > Xcode Source Editor Extension`.
36+
**Q: The extension doesn't show up in the `Editor` menu.**
3837

39-
Q: The extension says it can't connect to the XPC service / helper.
40-
A: Please make sure you have set up Launch Agents, try running `launchctl list | grep com.intii` from the terminal, and see if `com.intii.CopilotForXcode.XPCService` exists. If not, check `~/Library/LaunchAgents` to see if `com.intii.CopilotForXcode.XPCService.plist` exists. If they don't, and the button in the app fails to create them, please try to do it by hand.
38+
> A: Please make sure it's turned on in `Settings.app > Privacy & Security > Extensions > Xcode Source Editor Extension`.
4139
42-
Q: The extension complains that it has no access to the Accessibility API
43-
A: Check the list in `Settings.app > Privacy & Security > Accessibility`. Turn the toggle on for `Copilot for Xcode`. If it's not on the list, add it manually.
40+
**Q: The extension says it can't connect to the XPC service / helper.**
4441

45-
Q: Will it work in future Xcode updates?
46-
A: I don't know. This extension uses many tricks to do its job, and these tricks can break in the future.
42+
> A: Please make sure you have set up Launch Agents, try running `launchctl list | grep com.intii` from the terminal, and see if `com.intii.CopilotForXcode.XPCService` exists. If not, check `~/Library/LaunchAgents` to see if `com.intii.CopilotForXcode.XPCService.plist` exists. If they don't, and the button in the app fails to create them, please try to do it by hand.
4743
48-
## How It Works
44+
**Q: The extension complains that it has no access to the Accessibility API**
45+
46+
> A: Check the list in `Settings.app > Privacy & Security > Accessibility`. Turn the toggle on for `Copilot for Xcode`. If it's not on the list, add it manually.
47+
>
48+
> If you have just **updated the app**, consider trying removing the Launch Agents and set it up again!
49+
50+
**Q: Will it work in future Xcode updates?**
4951

50-
Check my [another extension](https://github.com/intitni/XccurateFormatter), you can find a short introduction there.
52+
> A: I don't know. This extension uses many tricks to do its job, and these tricks can break in the future.
53+
54+
## How It Works
55+
Check my [other extension](https://github.com/intitni/XccurateFormatter), you can find a short introduction there.
5156

5257
## Todo
5358

0 commit comments

Comments
 (0)