Skip to content

Commit 9837852

Browse files
committed
Update instruction view
1 parent d57eb65 commit 9837852

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

Copilot for Xcode/InstructionView.swift

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ Text("Enable Extension")
1414
Text("""
1515
1. Install Node.
1616
2. Click `Set Up Launch Agent` to set up an XPC service to run in the background.
17-
3. Refresh Copilot status or restart the app.
18-
4. Click `Sign In` to sign into your GitHub account.
19-
5. After submitting your user code to the verification website, click `Confirm Sign-in` to finish the sign-in.
20-
6. Go to `Settings.app > Privacy & Security > Extension > Xcode Source Editor Extension` to turn **Copilot for Xcode** on.
17+
3. Refresh Copilot status (it may fail the first time).
18+
4. Click `Sign In` to sign into your GitHub account.
19+
5. After submitting your user code to the verification site, click `Confirm Sign-in` to complete the sign-in.
20+
6. Go to `System Settings.app > Privacy & Security > Extensions > Xcode Source Editor` , check the **Copilot** checkbox to enable the extension.
2121
7. Restart Xcode, the Copilot commands should be available in the menu bar.
2222
""")
2323

@@ -28,7 +28,11 @@ Text("""
2828
1. Optionally sign out of GitHub Copilot.
2929
2. Click `Remove Launch Agent`.
3030
""")
31-
// swiftformat:enable indent
31+
32+
Text(
33+
"For detailed instructions, please visit the [project's GitHub page](https://github.com/intitni/CopilotForXcode)."
34+
)
35+
// swiftformat:enable indent
3236
Spacer()
3337
}
3438
Spacer()

0 commit comments

Comments
 (0)