Skip to content

Commit f67bd6c

Browse files
v 0.0.1
0 parents  commit f67bd6c

17 files changed

Lines changed: 4610 additions & 0 deletions

.vscode-test.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { defineConfig } from '@vscode/test-cli';
2+
3+
export default defineConfig({
4+
files: 'out/test/**/*.test.js',
5+
});

.vscode/extensions.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
// See http://go.microsoft.com/fwlink/?LinkId=827846
3+
// for the documentation about the extensions.json format
4+
"recommendations": ["dbaeumer.vscode-eslint", "connor4312.esbuild-problem-matchers", "ms-vscode.extension-test-runner"]
5+
}

.vscode/launch.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
// A launch configuration that compiles the extension and then opens it inside a new window
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
{
6+
"version": "0.2.0",
7+
"configurations": [
8+
{
9+
"name": "Run Extension",
10+
"type": "extensionHost",
11+
"request": "launch",
12+
"args": [
13+
"--extensionDevelopmentPath=${workspaceFolder}"
14+
],
15+
"outFiles": [
16+
"${workspaceFolder}/dist/**/*.js"
17+
],
18+
"preLaunchTask": "npm: compile"
19+
},
20+
{
21+
"name": "Run Extension (Watch)",
22+
"type": "extensionHost",
23+
"request": "launch",
24+
"args": [
25+
"--extensionDevelopmentPath=${workspaceFolder}"
26+
],
27+
"outFiles": [
28+
"${workspaceFolder}/dist/**/*.js"
29+
],
30+
"preLaunchTask": "watch",
31+
"postDebugTask": "terminate watch"
32+
},
33+
{
34+
"name": "Extension Tests",
35+
"type": "extensionHost",
36+
"request": "launch",
37+
"args": [
38+
"--extensionDevelopmentPath=${workspaceFolder}",
39+
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
40+
],
41+
"outFiles": [
42+
"${workspaceFolder}/out/test/**/*.js"
43+
],
44+
"preLaunchTask": "npm: compile-tests"
45+
}
46+
]
47+
}

.vscode/settings.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Place your settings in this file to overwrite default and user settings.
2+
{
3+
"files.exclude": {
4+
"out": false, // set this to true to hide the "out" folder with the compiled JS files
5+
"dist": false // set this to true to hide the "dist" folder with the compiled JS files
6+
},
7+
"search.exclude": {
8+
"out": true, // set this to false to include "out" folder in search results
9+
"dist": true // set this to false to include "dist" folder in search results
10+
},
11+
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
12+
"typescript.tsc.autoDetect": "off"
13+
}

.vscode/tasks.json

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
// See https://go.microsoft.com/fwlink/?LinkId=733558
2+
// for the documentation about the tasks.json format
3+
{
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"type": "npm",
8+
"script": "compile",
9+
"group": {
10+
"kind": "build",
11+
"isDefault": true
12+
},
13+
"label": "npm: compile",
14+
"problemMatcher": [
15+
"$tsc"
16+
],
17+
"detail": "One-shot build (tsc + lint + esbuild)"
18+
},
19+
{
20+
"type": "npm",
21+
"script": "compile-tests",
22+
"group": "build",
23+
"label": "npm: compile-tests",
24+
"problemMatcher": [
25+
"$tsc"
26+
],
27+
"detail": "Compile extension tests"
28+
},
29+
{
30+
"label": "watch",
31+
"dependsOn": [
32+
"npm: watch:tsc",
33+
"npm: watch:esbuild"
34+
],
35+
"presentation": {
36+
"reveal": "never"
37+
},
38+
"group": {
39+
"kind": "build",
40+
"isDefault": true
41+
}
42+
},
43+
{
44+
"type": "npm",
45+
"script": "watch:esbuild",
46+
"group": "build",
47+
"isBackground": true,
48+
"label": "npm: watch:esbuild",
49+
"presentation": {
50+
"group": "watch",
51+
"reveal": "never"
52+
}
53+
},
54+
{
55+
"type": "npm",
56+
"script": "watch:tsc",
57+
"group": "build",
58+
"problemMatcher": "$tsc-watch",
59+
"isBackground": true,
60+
"label": "npm: watch:tsc",
61+
"presentation": {
62+
"group": "watch",
63+
"reveal": "never"
64+
}
65+
},
66+
{
67+
"type": "npm",
68+
"script": "watch-tests",
69+
"problemMatcher": "$tsc-watch",
70+
"isBackground": true,
71+
"presentation": {
72+
"reveal": "never",
73+
"group": "watchers"
74+
},
75+
"group": "build"
76+
},
77+
{
78+
"label": "tasks: watch-tests",
79+
"dependsOn": [
80+
"npm: watch",
81+
"npm: watch-tests"
82+
],
83+
"problemMatcher": []
84+
}
85+
]
86+
}

.vscodeignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.vscode/**
2+
.vscode-test/**
3+
out/**
4+
node_modules/**
5+
src/**
6+
.gitignore
7+
.yarnrc
8+
esbuild.js
9+
vsc-extension-quickstart.md
10+
**/tsconfig.json
11+
**/eslint.config.mjs
12+
**/*.map
13+
**/*.ts
14+
**/.vscode-test.*

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Change Log
2+
3+
All notable changes to the "github-copilot-api-vscode" extension will be documented in this file.
4+
5+
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
6+
7+
## [Unreleased]
8+
9+
- Initial release

0 commit comments

Comments
 (0)