Skip to content

Commit 11b6d00

Browse files
authored
Merge branch 'main' into cs-reference-view-api
2 parents 90e6cb4 + 53e89be commit 11b6d00

File tree

2,028 files changed

+61566
-35568
lines changed

Some content is hidden

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

2,028 files changed

+61566
-35568
lines changed

.eslintignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@
2525
**/src/typings/**/*.d.ts
2626
**/src/vs/*/**/*.d.ts
2727
**/src/vs/base/test/common/filters.perf.data.js
28-
**/src/vs/css.build.js
29-
**/src/vs/css.js
3028
**/src/vs/loader.js
31-
**/src/vs/nls.build.js
32-
**/src/vs/nls.js
3329
**/test/unit/assert.js
3430
**/typings/**

.eslintrc.json

Lines changed: 9 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -220,15 +220,11 @@
220220
// - electron-main
221221
"when": "hasNode",
222222
"allow": [
223-
"@microsoft/applicationinsights-web",
224223
"@parcel/watcher",
225224
"@vscode/sqlite3",
226225
"@vscode/vscode-languagedetection",
227226
"@vscode/ripgrep",
228227
"@vscode/iconv-lite-umd",
229-
"applicationinsights",
230-
"@microsoft/1ds-core-js",
231-
"@microsoft/1ds-post-js",
232228
"assert",
233229
"child_process",
234230
"console",
@@ -263,6 +259,7 @@
263259
"windows-process-tree",
264260
"worker_threads",
265261
"xterm",
262+
"xterm-addon-canvas",
266263
"xterm-addon-search",
267264
"xterm-addon-serialize",
268265
"xterm-addon-unicode11",
@@ -277,6 +274,7 @@
277274
// imports that are allowed in all /test/ files
278275
"when": "test",
279276
"allow": [
277+
"vs/css.build",
280278
"assert",
281279
"sinon",
282280
"sinon-test"
@@ -331,7 +329,9 @@
331329
"vs/base/~",
332330
"vs/base/parts/*/~",
333331
"vs/platform/*/~",
334-
"tas-client-umd" // node module allowed even in /common/
332+
"tas-client-umd", // node module allowed even in /common/
333+
"@microsoft/1ds-core-js",// node module allowed even in /common/
334+
"@microsoft/1ds-post-js" // node module allowed even in /common/
335335
]
336336
},
337337
{
@@ -445,8 +445,7 @@
445445
}, // TODO@layers
446446
"tas-client-umd", // node module allowed even in /common/
447447
"vscode-textmate", // node module allowed even in /common/
448-
"@vscode/vscode-languagedetection", // node module allowed even in /common/
449-
"@microsoft/applicationinsights-web" // node module allowed even in /common/
448+
"@vscode/vscode-languagedetection" // node module allowed even in /common/
450449
]
451450
},
452451
{
@@ -536,27 +535,9 @@
536535
"vs/workbench/workbench.common.main"
537536
]
538537
},
539-
{
540-
"target": "src/vs/workbench/{workbench.sandbox.main.ts,workbench.desktop.sandbox.main.ts}",
541-
"layer": "electron-sandbox",
542-
"restrictions": [
543-
"vs/base/*/~",
544-
"vs/base/parts/*/~",
545-
"vs/platform/*/~",
546-
"vs/editor/~",
547-
"vs/editor/contrib/*/~",
548-
"vs/editor/editor.all",
549-
"vs/workbench/~",
550-
"vs/workbench/api/~",
551-
"vs/workbench/services/*/~",
552-
"vs/workbench/contrib/*/~",
553-
"vs/workbench/workbench.common.main",
554-
"vs/workbench/workbench.sandbox.main"
555-
]
556-
},
557538
{
558539
"target": "src/vs/workbench/workbench.desktop.main.ts",
559-
"layer": "electron-browser",
540+
"layer": "electron-sandbox",
560541
"restrictions": [
561542
"vs/base/*/~",
562543
"vs/base/parts/*/~",
@@ -568,16 +549,15 @@
568549
"vs/workbench/api/~",
569550
"vs/workbench/services/*/~",
570551
"vs/workbench/contrib/*/~",
571-
"vs/workbench/workbench.common.main",
572-
"vs/workbench/workbench.sandbox.main"
552+
"vs/workbench/workbench.common.main"
573553
]
574554
},
575555
{
576556
"target": "src/vs/workbench/{workbench.desktop.main.nls.js,workbench.web.main.nls.js}",
577557
"restrictions": []
578558
},
579559
{
580-
"target": "src/vs/{css.d.ts,monaco.d.ts,nls.d.ts,nls.mock.ts}",
560+
"target": "src/vs/{loader.d.ts,css.ts,css.build.ts,monaco.d.ts,nls.ts,nls.build.ts,nls.mock.ts}",
581561
"restrictions": []
582562
},
583563
{

.github/classifier.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
"snippets": {"assign": ["jrieken"]},
146146
"splitview": {"assign": ["joaomoreno"]},
147147
"suggest": {"assign": ["jrieken"]},
148-
"tasks": {"assign": ["alexr00"], "accuracy": 0.85},
148+
"tasks": {"assign": ["meganrogge"], "accuracy": 0.85},
149149
"telemetry": {"assign": []},
150150
"themes": {"assign": ["aeschli"]},
151151
"timeline": {"assign": ["lramos15"]},

.github/commands.json

Lines changed: 56 additions & 10 deletions
Large diffs are not rendered by default.

.github/pull_request_template.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,3 @@
55
* Ensure that the code is up-to-date with the `main` branch.
66
* Include a description of the proposed changes and how to test them.
77
-->
8-
9-
This PR fixes #

.github/workflows/basic.yml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ jobs:
2222
# TODO: rename azure-pipelines/linux/xvfb.init to github-actions
2323
- name: Setup Build Environment
2424
run: |
25-
sudo apt-get update
26-
sudo apt-get install -y libxkbfile-dev pkg-config libsecret-1-dev libxss1 dbus xvfb libgtk-3-0 libgbm1
2725
sudo cp build/azure-pipelines/linux/xvfb.init /etc/init.d/xvfb
2826
sudo chmod +x /etc/init.d/xvfb
2927
sudo update-rc.d xvfb defaults
@@ -41,8 +39,7 @@ jobs:
4139
uses: actions/cache@v3
4240
with:
4341
path: "**/node_modules"
44-
key: ${{ runner.os }}-cacheNodeModules22-${{ steps.nodeModulesCacheKey.outputs.value }}
45-
restore-keys: ${{ runner.os }}-cacheNodeModules22-
42+
key: ${{ runner.os }}-cacheNodeModulesLinux-${{ steps.nodeModulesCacheKey.outputs.value }}
4643
- name: Get yarn cache directory path
4744
id: yarnCacheDirPath
4845
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
@@ -62,10 +59,7 @@ jobs:
6259
run: yarn --frozen-lockfile --network-timeout 180000
6360

6461
- name: Compile and Download
65-
run: yarn npm-run-all --max_old_space_size=4095 -lp compile "electron x64" playwright-install download-builtin-extensions
66-
67-
- name: Compile Integration Tests
68-
run: yarn --cwd test/integration/browser compile
62+
run: yarn npm-run-all --max_old_space_size=4095 -lp compile "electron x64"
6963

7064
- name: Run Unit Tests
7165
id: electron-unit-tests
@@ -97,8 +91,7 @@ jobs:
9791
uses: actions/cache@v3
9892
with:
9993
path: "**/node_modules"
100-
key: ${{ runner.os }}-cacheNodeModules22-${{ steps.nodeModulesCacheKey.outputs.value }}
101-
restore-keys: ${{ runner.os }}-cacheNodeModules22-
94+
key: ${{ runner.os }}-cacheNodeModulesLinux-${{ steps.nodeModulesCacheKey.outputs.value }}
10295
- name: Get yarn cache directory path
10396
id: yarnCacheDirPath
10497
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
@@ -117,9 +110,6 @@ jobs:
117110
ELECTRON_SKIP_BINARY_DOWNLOAD: 1
118111
run: yarn --frozen-lockfile --network-timeout 180000
119112

120-
- name: Download Playwright
121-
run: yarn playwright-install
122-
123113
- name: Run Hygiene Checks
124114
run: yarn gulp hygiene
125115

@@ -163,8 +153,7 @@ jobs:
163153
uses: actions/cache@v3
164154
with:
165155
path: "**/node_modules"
166-
key: ${{ runner.os }}-cacheNodeModules22-${{ steps.nodeModulesCacheKey.outputs.value }}
167-
restore-keys: ${{ runner.os }}-cacheNodeModules22-
156+
key: ${{ runner.os }}-cacheNodeModulesLinux-${{ steps.nodeModulesCacheKey.outputs.value }}
168157
- name: Get yarn cache directory path
169158
id: yarnCacheDirPath
170159
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}

.github/workflows/ci.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,7 @@ jobs:
125125
uses: actions/cache@v2
126126
with:
127127
path: "**/node_modules"
128-
key: ${{ runner.os }}-cacheNodeModules22-${{ steps.nodeModulesCacheKey.outputs.value }}
129-
restore-keys: ${{ runner.os }}-cacheNodeModules22-
128+
key: ${{ runner.os }}-cacheNodeModulesLinux-${{ steps.nodeModulesCacheKey.outputs.value }}
130129
- name: Get yarn cache directory path
131130
id: yarnCacheDirPath
132131
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
@@ -197,8 +196,7 @@ jobs:
197196
uses: actions/cache@v2
198197
with:
199198
path: "**/node_modules"
200-
key: ${{ runner.os }}-cacheNodeModules22-${{ steps.nodeModulesCacheKey.outputs.value }}
201-
restore-keys: ${{ runner.os }}-cacheNodeModules22-
199+
key: ${{ runner.os }}-cacheNodeModulesMacOS-${{ steps.nodeModulesCacheKey.outputs.value }}
202200
- name: Get yarn cache directory path
203201
id: yarnCacheDirPath
204202
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
@@ -271,8 +269,7 @@ jobs:
271269
uses: actions/cache@v2
272270
with:
273271
path: "**/node_modules"
274-
key: ${{ runner.os }}-cacheNodeModules22-${{ steps.nodeModulesCacheKey.outputs.value }}
275-
restore-keys: ${{ runner.os }}-cacheNodeModules22-
272+
key: ${{ runner.os }}-cacheNodeModulesLinux-${{ steps.nodeModulesCacheKey.outputs.value }}
276273
- name: Get yarn cache directory path
277274
id: yarnCacheDirPath
278275
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ jobs:
2424

2525
# Initializes the CodeQL tools for scanning.
2626
- name: Initialize CodeQL
27-
uses: github/codeql-action/init@v1
27+
uses: github/codeql-action/init@v2
2828
with:
2929
languages: javascript
3030

3131
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
3232
# If this step fails, then you should remove it and run the build manually (see below)
3333
- name: Autobuild
34-
uses: github/codeql-action/autobuild@v1
34+
uses: github/codeql-action/autobuild@v2
3535

3636
# ℹ️ Command-line programs to run using the OS shell.
3737
# 📚 https://git.io/JvXDl
@@ -45,4 +45,4 @@ jobs:
4545
# make release
4646

4747
- name: Perform CodeQL Analysis
48-
uses: github/codeql-action/analyze@v1
48+
uses: github/codeql-action/analyze@v2

.github/workflows/deep-classifier-runner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
uses: ./actions/classifier-deep/apply/apply-labels
4747
with:
4848
configPath: classifier
49-
allowLabels: "needs more info|new release|error-telemetry|*english-please|translation-required"
49+
allowLabels: "info-needed|new release|error-telemetry|*english-please|translation-required"
5050
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
5151
manifestDbConnectionString: ${{secrets.MANIFEST_DB_CONNECTION_STRING}}
5252
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}

.github/workflows/english-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ jobs:
2424
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
2525
cognitiveServicesAPIKey: ${{secrets.AZURE_TEXT_TRANSLATOR_KEY}}
2626
nonEnglishLabel: "*english-please"
27-
needsMoreInfoLabel: "needs more info"
27+
needsMoreInfoLabel: "info-needed"
2828
translatorRequestedLabelPrefix: "translation-required-"
2929
translatorRequestedLabelColor: "c29cff"

0 commit comments

Comments
 (0)