Skip to content

Commit f95f180

Browse files
Merge pull request #2862 from cdr/jsjoeio/upgrade-vscode-1.54
feat(vscode): update to version 1.54.2
2 parents 32d882a + f09ebc0 commit f95f180

File tree

1,475 files changed

+53253
-50815
lines changed

Some content is hidden

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

1,475 files changed

+53253
-50815
lines changed

.eslintrc.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ rules:
2929
"@typescript-eslint/no-var-requires": off
3030
"@typescript-eslint/explicit-module-boundary-types": off
3131
"@typescript-eslint/no-explicit-any": off
32+
"@typescript-eslint/no-extra-semi": off
3233
eqeqeq: error
3334
import/order:
3435
[error, { alphabetize: { order: "asc" }, groups: [["builtin", "external", "internal"], "parent", "sibling"] }]

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
- uses: microsoft/playwright-github-action@v1
5555
- name: Install dependencies and run end-to-end tests
5656
run: |
57-
./release-packages/code-server*-linux-amd64/bin/code-server --home $CODE_SERVER_ADDRESS/healthz &
57+
./release-packages/code-server*-linux-amd64/bin/code-server &
5858
yarn --frozen-lockfile
5959
yarn test:e2e
6060
- name: Upload test artifacts

ci/dev/test-e2e.sh

-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ main() {
1313
echo " \$PASSWORD"
1414
echo " \$CODE_SERVER_ADDRESS"
1515
echo -e "\n"
16-
echo "Please make sure you have code-server running locally with the flag:"
17-
echo " --home \$CODE_SERVER_ADDRESS/healthz "
18-
echo -e "\n"
1916
exit 1
2017
fi
2118
CS_DISABLE_PLUGINS=true ./test/node_modules/.bin/jest "$@" --config ./test/jest.e2e.config.ts

ci/dev/update-vscode.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ main() {
9898
git subtree pull --prefix lib/vscode vscode release/"${VSCODE_VERSION_TO_UPDATE}" --squash || true
9999

100100
# Get the files with conflicts before we commit them
101-
# so we can list them in the PR body
102-
CONFLICTS=$(git diff --name-only --diff-filter=U | while read -r line; do echo "- $line"; done)
101+
# so we can list them in the PR body as todo items
102+
CONFLICTS=$(git diff --name-only --diff-filter=U | while read -r line; do echo "- [ ] $line"; done)
103103
PR_BODY=$(make_pr_body "$VSCODE_EXACT_VERSION" "$CONFLICTS")
104104
105105
echo -e "\nForcing a commit with conflicts"

docs/FAQ.md

-11
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
- [Heartbeat File](#heartbeat-file)
2727
- [Healthz endpoint](#healthz-endpoint)
2828
- [How does the config file work?](#how-does-the-config-file-work)
29-
- [How do I customize the "Go Home" button?](#how-do-i-customize-the-go-home-button)
3029
- [Isn't an install script piped into sh insecure?](#isnt-an-install-script-piped-into-sh-insecure)
3130
- [How do I make my keyboard shortcuts work?](#how-do-i-make-my-keyboard-shortcuts-work)
3231
- [Differences compared to Theia?](#differences-compared-to-theia)
@@ -354,16 +353,6 @@ The `--config` flag or `$CODE_SERVER_CONFIG` can be used to change the config fi
354353

355354
The default location also respects `$XDG_CONFIG_HOME`.
356355

357-
## How do I customize the "Go Home" button?
358-
359-
You can pass a URL to the `--home` flag like this:
360-
361-
```
362-
code-server --home=https://my-website.com
363-
```
364-
365-
Or you can define it in the config file with `home`.
366-
367356
## Isn't an install script piped into sh insecure?
368357

369358
Please give

lib/vscode/.devcontainer/cache/build-cache-image.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set -e
88

99
SCRIPT_PATH="$(cd "$(dirname $0)" && pwd)"
1010
CONTAINER_IMAGE_REPOSITORY="$1"
11-
BRANCH="${2:-"master"}"
11+
BRANCH="${2:-"main"}"
1212

1313
if [ "${CONTAINER_IMAGE_REPOSITORY}" = "" ]; then
1414
echo "Container repository not specified!"

lib/vscode/.devcontainer/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "Code - OSS",
33

44
// Image contents: https://github.com/microsoft/vscode-dev-containers/blob/master/repository-containers/images/github.com/microsoft/vscode/.devcontainer/base.Dockerfile
5-
"image": "mcr.microsoft.com/vscode/devcontainers/repos/microsoft/vscode:branch-master",
5+
"image": "mcr.microsoft.com/vscode/devcontainers/repos/microsoft/vscode:branch-main",
66

77
"workspaceMount": "source=${localWorkspaceFolder},target=/home/node/workspace/vscode,type=bind,consistency=cached",
88
"workspaceFolder": "/home/node/workspace/vscode",

lib/vscode/.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
**/extensions/**/out/**
1414
**/extensions/**/build/**
1515
**/extensions/markdown-language-features/media/**
16+
**/extensions/markdown-language-features/notebook-out/**
1617
**/extensions/typescript-basics/test/colorize-fixtures/**
1718
**/extensions/**/dist/**
1819
# This is a code-server code symlink.

lib/vscode/.eslintrc.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,6 @@
268268
"**/vs/base/{common,node,electron-main}/**",
269269
"**/vs/base/parts/*/{common,node,electron-main}/**",
270270
"**/vs/platform/*/{common,node,electron-main}/**",
271-
"**/vs/code/**",
272271
"*" // node modules
273272
]
274273
},
@@ -279,6 +278,7 @@
279278
"sinon",
280279
"vs/nls",
281280
"**/vs/base/{common,browser}/**",
281+
"**/vs/base/parts/*/{common,browser}/**",
282282
"**/vs/platform/*/{common,browser}/**",
283283
"**/vs/platform/*/test/{common,browser}/**"
284284
]
@@ -807,7 +807,6 @@
807807
"**/vs/platform/**/{common,node}/**",
808808
"**/vs/workbench/**/{common,node}/**",
809809
"**/vs/server/**",
810-
"**/vs/code/**/{common,node}/**",
811810
"*" // node modules
812811
]
813812
},
@@ -985,7 +984,8 @@
985984
"TreeDataProvider",
986985
"CustomEditorProvider",
987986
"CustomReadonlyEditorProvider",
988-
"TerminalLinkProvider"
987+
"TerminalLinkProvider",
988+
"AuthenticationProvider"
989989
]
990990
}
991991
],
@@ -1009,6 +1009,7 @@
10091009
"end",
10101010
"expand",
10111011
"hide",
1012+
"invalidate",
10121013
"open",
10131014
"override",
10141015
"receive",

lib/vscode/.github/ISSUE_TEMPLATE/bug_report.md

+9-6
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,20 @@ about: Create a report to help us improve
44
---
55
<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
66
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
7-
<!-- Please search existing issues to avoid creating duplicates. -->
8-
<!-- Also please test using the latest insiders build to make sure your issue has not already been fixed: https://code.visualstudio.com/insiders/ -->
9-
10-
<!-- Use Help > Report Issue to prefill these. -->
11-
- VSCode Version:
7+
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
8+
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
9+
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
10+
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
11+
- VS Code Version:
1212
- OS Version:
1313

1414
Steps to Reproduce:
1515

1616
1.
1717
2.
1818

19-
<!-- Launch with `code --disable-extensions` to check. -->
19+
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
2020
Does this issue occur when all extensions are disabled?: Yes/No
21+
22+
<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
23+
<!-- 📣 Issues caused by an extension need to be reported direct to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->

lib/vscode/.github/actions/build-chat/.gitignore

-2
This file was deleted.

lib/vscode/.github/actions/build-chat/action.yml

-10
This file was deleted.

lib/vscode/.github/actions/build-chat/package.json

-23
This file was deleted.

0 commit comments

Comments
 (0)