Skip to content

Commit f6ce8b1

Browse files
authored
Merge branch 'main' into main
2 parents 743d9e5 + 5839b5c commit f6ce8b1

File tree

693 files changed

+153513
-137621
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

693 files changed

+153513
-137621
lines changed

.base-sample/.eslintrc.js

Lines changed: 0 additions & 20 deletions
This file was deleted.

.base-sample/eslint.config.mjs

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
/**
2+
* ESLint configuration for the project.
3+
*
4+
* See https://eslint.style and https://typescript-eslint.io for additional linting options.
5+
*/
6+
// @ts-check
7+
import js from '@eslint/js';
8+
import tseslint from 'typescript-eslint';
9+
import stylistic from '@stylistic/eslint-plugin';
10+
11+
export default tseslint.config(
12+
{
13+
ignores: [
14+
'.vscode-test',
15+
'out',
16+
]
17+
},
18+
js.configs.recommended,
19+
...tseslint.configs.recommended,
20+
...tseslint.configs.stylistic,
21+
{
22+
plugins: {
23+
'@stylistic': stylistic
24+
},
25+
rules: {
26+
'curly': 'warn',
27+
'@stylistic/semi': ['warn', 'always'],
28+
'@typescript-eslint/no-empty-function': 'off',
29+
'@typescript-eslint/naming-convention': [
30+
'warn',
31+
{
32+
'selector': 'import',
33+
'format': ['camelCase', 'PascalCase']
34+
}
35+
],
36+
'@typescript-eslint/no-unused-vars': [
37+
'error',
38+
{
39+
'argsIgnorePattern': '^_'
40+
}
41+
]
42+
}
43+
}
44+
);

.base-sample/package.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"url": "https://github.com/Microsoft/vscode-extension-samples"
1212
},
1313
"engines": {
14-
"vscode": "^1.74.0"
14+
"vscode": "^1.100.0"
1515
},
1616
"categories": [
1717
"Other"
@@ -29,15 +29,16 @@
2929
"scripts": {
3030
"vscode:prepublish": "npm run compile",
3131
"compile": "tsc -p ./",
32-
"lint": "eslint \"src/**/*.ts\"",
32+
"lint": "eslint",
3333
"watch": "tsc -watch -p ./"
3434
},
3535
"devDependencies": {
36-
"@types/node": "^16.18.34",
37-
"@types/vscode": "^1.74.0",
38-
"@typescript-eslint/eslint-plugin": "^5.42.0",
39-
"@typescript-eslint/parser": "^5.42.0",
40-
"eslint": "^8.26.0",
41-
"typescript": "^5.1.3"
36+
"@eslint/js": "^9.13.0",
37+
"@stylistic/eslint-plugin": "^2.9.0",
38+
"@types/node": "^22",
39+
"@types/vscode": "^1.100.0",
40+
"eslint": "^9.13.0",
41+
"typescript": "^5.8.2",
42+
"typescript-eslint": "^8.26.0"
4243
}
4344
}

.base-sample/tsconfig.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2020",
5-
"lib": ["es2020"],
4+
"target": "ES2024",
5+
"lib": [
6+
"ES2024"
7+
],
68
"outDir": "out",
79
"sourceMap": true,
810
"rootDir": "src",
911
"strict": true
1012
},
11-
"exclude": ["node_modules", ".vscode-test"]
12-
}
13+
"exclude": [
14+
"node_modules",
15+
".vscode-test"
16+
]
17+
}

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: 🙋 Ask Question
4+
about: Ask questions about developing VS Code extensions on Stack Overflow.
5+
url: 'https://stackoverflow.com/questions/tagged/vscode-extensions'
6+
- name: 💬 Discuss
7+
url: https://github.com/microsoft/vscode-discussions/discussions
8+
about: Discuss extension development questions and ideas with the VS Code developer community.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: 🐛 Report Extension Sample Issue
2+
description: Report an issue with one of the extension samples.
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: |
7+
Thank you for taking the time to fill out this bug report! Please make sure to fill in the following sections:
8+
- type: input
9+
id: sample-name
10+
attributes:
11+
label: Extension sample
12+
description: Name of the extension sample that you are reporting with issue in
13+
placeholder: extension-sample-name
14+
validations:
15+
required: true
16+
- type: input
17+
id: vscode-version
18+
attributes:
19+
label: VS Code version
20+
description: The version of VS Code that the issue reproduces in
21+
placeholder: 1.xx.x
22+
validations:
23+
required: true
24+
- type: textarea
25+
id: what-happened
26+
attributes:
27+
label: What went wrong?
28+
description: |
29+
Tell us what what went wrong. Be sure to include:
30+
31+
- What were you trying to do?
32+
- What went wrong?
33+
- What was the expected behavior?
34+
validations:
35+
required: true

.github/commands.json

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,18 @@
1111
"action": "updateLabels",
1212
"addLabel": "*question"
1313
},
14+
{
15+
"type": "comment",
16+
"name": "needsPerfInfo",
17+
"allowUsers": [
18+
"cleidigh",
19+
"usernamehw",
20+
"gjsjohnmurray",
21+
"IllusionMH"
22+
],
23+
"addLabel": "info-needed",
24+
"comment": "Thanks for creating this issue regarding performance! Please follow this guide to help us diagnose performance issues: https://github.com/microsoft/vscode/wiki/Performance-Issues \n\nHappy Coding!"
25+
},
1426
{
1527
"type": "label",
1628
"name": "*question",
@@ -131,13 +143,13 @@
131143
"IllusionMH"
132144
],
133145
"action": "updateLabels",
134-
"addLabel": "~needs more info"
146+
"addLabel": "~info-needed"
135147
},
136148
{
137149
"type": "comment",
138150
"name": "jsDebugLogs",
139151
"action": "updateLabels",
140-
"addLabel": "needs more info",
152+
"addLabel": "info-needed",
141153
"comment": "Please collect trace logs using the following instructions:\n\n> If you're able to, add `\"trace\": true` to your `launch.json` and reproduce the issue. The location of the log file on your disk will be written to the Debug Console. Share that with us.\n>\n> ⚠️ This log file will not contain source code, but will contain file paths. You can drop it into https://microsoft.github.io/vscode-pwa-analyzer/index.html to see what it contains. If you'd rather not share the log publicly, you can email it to connor@xbox.com"
142154
},
143155
{
@@ -154,19 +166,19 @@
154166
},
155167
{
156168
"type": "label",
157-
"name": "~needs more info",
169+
"name": "~info-needed",
158170
"action": "updateLabels",
159-
"addLabel": "needs more info",
160-
"removeLabel": "~needs more info",
171+
"addLabel": "info-needed",
172+
"removeLabel": "~info-needed",
161173
"comment": "Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines. Please take the time to review these and update the issue.\n\nHappy Coding!"
162174
},
163175
{
164176
"type": "label",
165-
"name": "~needs version info",
177+
"name": "~version-info-needed",
166178
"action": "updateLabels",
167-
"addLabel": "needs more info",
168-
"removeLabel": "~needs version info",
169-
"comment": "Thanks for creating this issue! We figured it's missing some basic information, such as a version number, or in some other way doesn't follow our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines. Please take the time to review these and update the issue.\n\nHappy Coding!"
179+
"addLabel": "info-needed",
180+
"removeLabel": "~version-info-needed",
181+
"comment": "Thanks for creating this issue! We figured it's missing some basic information, such as a version number, or in some other way doesn't follow our [issue reporting guidelines](https://aka.ms/vscodeissuereporting). Please take the time to review these and update the issue.\n\nHappy Coding!"
170182
},
171183
{
172184
"type": "comment",

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-node@v4
15+
- run: npm ci --workspaces=false
16+
- run: npm run validate

.github/workflows/commands.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/on-label.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)