Skip to content

Commit b7017e4

Browse files
committed
Update DEVELOPMENT.md
1 parent 0fa3fac commit b7017e4

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

DEVELOPMENT.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,20 @@ The `ExtensionService` is a program that operates in the background and performs
1818

1919
Most of the logics are implemented inside the package `Core` and `Tool`.
2020

21-
- The `CopilotService` is responsible for communicating with the GitHub Copilot LSP.
2221
- The `Service` is responsible for handling the requests from the `EditorExtension`, communicating with the `CopilotService`, update the code blocks and present the GUI.
2322
- The `Client` is basically just a wrapper around the XPCService
2423
- The `SuggestionInjector` is responsible for injecting the suggestions into the code. Used in comment mode to present the suggestions, and all modes to accept suggestions.
25-
- The `Environment` contains some swappable global functions. It is used to make testing easier.
26-
- The `SuggestionWidget` is responsible for presenting the suggestions in floating widget mode.
24+
- The `SuggestionWidget` is responsible for the UI of the widgets.
2725

2826
## Building and Archiving the App
2927

3028
1. Update the xcconfig files, launchAgent.plist, and Tool/Configs/Configurations.swift.
3129
2. Build or archive the Copilot for Xcode target.
3230
3. If Xcode complains that the pro package doesn't exist, please remove the package from the project, and update the last function in Core/Package.swift to return false.
3331

34-
## Testing Extension
32+
## Testing Source Editor Extension
3533

36-
Just run both the `ExtensionService` and the `EditorExtension` Target.
34+
Just run both the `ExtensionService` and the `EditorExtension` Target. Read [Testing Your Source Editor Extension](https://developer.apple.com/documentation/xcodekit/testing_your_source_editor_extension) for more details.
3735

3836
## SwiftUI Previews
3937

0 commit comments

Comments
 (0)