Skip to content

Commit

Permalink
Pre-release 0.25.86
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Oct 21, 2024
1 parent 8a7a4fe commit b1d1755
Show file tree
Hide file tree
Showing 7 changed files with 67 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Questions
url: https://github.com/orgs/community/discussions/categories/copilot
about: Please ask and answer questions about GitHub Copilot here
10 changes: 10 additions & 0 deletions Core/Sources/HostApp/GeneralSettings/GeneralSettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@ struct GeneralSettingsView: View {
Restart Xcode if greyed out.
"""
)
} footer: {
HStack {
Spacer()
Button("?") {
NSWorkspace.shared.open(
URL(string: "https://github.com/github/CopilotForXcode/blob/main/TROUBLESHOOTING.md")!
)
}
.clipShape(Circle())
}
}
.alert(
"Enable Extension Permission",
Expand Down
2 changes: 1 addition & 1 deletion Core/Sources/HostApp/GeneralView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ struct GeneralView: View {
}
.task {
if isPreview { return }
await store.send(.appear).finish()
viewModel.checkStatus()
await store.send(.appear).finish()
}
}

Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ We’d love to get your help in making GitHub Copilot better! If you have
feedback or encounter any problems, please reach out on our [Feedback
forum](https://github.com/orgs/community/discussions/categories/copilot).

## Acknowledgement
## Acknowledgements

Thank you to @intitni for creating the original that this project is based on.
Thank you to @intitni for creating the original project that this is based on.

Attributions can be found under About when running the app or in
[Credits.rtf](./Copilot%20for%20Xcode/Credits.rtf).
8 changes: 4 additions & 4 deletions Server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"description": "Package for downloading @github/copilot-language-server",
"private": true,
"dependencies": {
"@github/copilot-language-server": "^1.239.0"
"@github/copilot-language-server": "^1.241.0"
}
}
41 changes: 41 additions & 0 deletions TROUBLESHOOTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Troubleshooting for Copilot for Xcode

If you are having trouble with Copilot for Xcode follow these steps to resolve
common issues:

1. Check for updates and restart Xcode. Ensure that Copilot for Xcode has the
[latest release](https://github.com/github/CopilotForXcode/releases/latest)
by click `Check for Updates` in the settings or under the status menu. After
updating, restart Xcode.

2. Ensure that the Copilot for Xcode extension is enabled. Open Xcode and go to
the top menu bar and open the `Editor` menu. If there is no `GitHub Copilot`
menu is under `Editor` then [extension permission](#extension-permission)
needs to be enabled. If the `GitHub Copilot` menu is shown but grayed out,
then Xcode needs to be restarted to enable the extension.

3. Need more help? If these steps don't resolve the issue, please [open an
issue](https://github.com/github/CopilotForXcode/issues/new/choose).

## Extension Permission

GitHub Copilot for Xcode is an Xcode Source Editor extension and requires the
extension to be enabled. In the Copilot for Xcode settings, clicking `Extension
Permission` will open the System Settings to the Extensions page where `GitHub
Copilot` can be enabled under `Xcode Source Editor`.

Or you can navigate to the permission manually depending on your OS version:

| macOS | Location |
| :--- | :--- |
| 15 | System Settings > General > Login Items > Extensions > Xcode Source Editor |
| 13 & 14 | System Settings > Privacy & Security > Extensions > Xcode Source Editor |
| 12 | System Preferences > Extensions |

## Accessibility Permission

GitHub Copilot for Xcode requires accessibility permission to receive
information from the active Xcode editor.

Enable in System Settings under `Privacy & Security` > `Accessibility` >
`GitHub Copilot for Xcode Extension` and turn on the toggle.

0 comments on commit b1d1755

Please sign in to comment.