You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DEVELOPMENT.md
+22-29Lines changed: 22 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,7 @@
15
15
16
16
## Running the Extension
17
17
18
-
Open the project in VS Code and press **F5** to launch the Extension Development Host. The extension activates automatically on startup and shows Copilot usage in the status bar.
19
-
20
-
You must be signed in to GitHub (`githubCopilotUsage.signIn`) and have an active Copilot subscription.
18
+
Open the project in VS Code and press **F5** to launch the Extension Development Host. The extension activates automatically on startup.
21
19
22
20
## Scripts
23
21
@@ -29,16 +27,7 @@ You must be signed in to GitHub (`githubCopilotUsage.signIn`) and have an active
29
27
|`npm run lint:fix`| Lint and auto-fix |
30
28
|`npm run format`| Format code with Prettier |
31
29
|`npm run format:check`| Check code formatting |
32
-
33
-
## Project Structure
34
-
35
-
```
36
-
src/
37
-
├── api.js # GitHub API call: fetch Copilot usage
38
-
└── extension.js # VS Code extension: status bar, commands, timer
39
-
tests/
40
-
└── api.test.js # Unit tests for api.js
41
-
```
30
+
|`npm run package`| Package extension as `.vsix`|
42
31
43
32
## Testing
44
33
@@ -47,29 +36,33 @@ npm test # Run all tests
47
36
npm run ci # Run tests + lint + format check in one step
48
37
```
49
38
50
-
Tests use [Vitest](https://vitest.dev/) and mock `fetch` globally — no network calls are made.
0 commit comments