Skip to content

Commit 2dcf098

Browse files
author
Akash Satheesan
authored
feat(vscode): update to version 1.56.0 (#3269)
2 parents 4f320ad + ab122da commit 2dcf098

File tree

1,754 files changed

+89893
-45017
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,754 files changed

+89893
-45017
lines changed

lib/vscode/.eslintrc.json

+1
Original file line numberDiff line numberDiff line change
@@ -1010,6 +1010,7 @@
10101010
"edit",
10111011
"end",
10121012
"expand",
1013+
"grant",
10131014
"hide",
10141015
"invalidate",
10151016
"open",

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ Steps to Reproduce:
2020
Does this issue occur when all extensions are disabled?: Yes/No
2121

2222
<!-- 🪓 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. -->
23+
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->

lib/vscode/.github/classifier.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
"context-keys": {"assign": []},
2121
"css-less-scss": {"assign": ["aeschli"]},
2222
"custom-editors": {"assign": ["mjbvz"]},
23-
"debug": {"assign": ["weinand"]},
24-
"debug-console": {"assign": ["weinand"]},
23+
"debug": {"assign": ["isidorn"]},
24+
"debug-console": {"assign": ["isidorn"]},
2525
"dialogs": {"assign": ["sbatten"]},
2626
"diff-editor": {"assign": []},
2727
"dropdown": {"assign": []},

lib/vscode/.github/workflows/ci.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ jobs:
109109
uses: actions/cache@v2
110110
with:
111111
path: "**/node_modules"
112-
key: ${{ runner.os }}-cacheNodeModules11-${{ steps.nodeModulesCacheKey.outputs.value }}
113-
restore-keys: ${{ runner.os }}-cacheNodeModules11-
112+
key: ${{ runner.os }}-cacheNodeModules13-${{ steps.nodeModulesCacheKey.outputs.value }}
113+
restore-keys: ${{ runner.os }}-cacheNodeModules13-
114114
- name: Get yarn cache directory path
115115
id: yarnCacheDirPath
116116
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
@@ -165,8 +165,8 @@ jobs:
165165
uses: actions/cache@v2
166166
with:
167167
path: "**/node_modules"
168-
key: ${{ runner.os }}-cacheNodeModules11-${{ steps.nodeModulesCacheKey.outputs.value }}
169-
restore-keys: ${{ runner.os }}-cacheNodeModules11-
168+
key: ${{ runner.os }}-cacheNodeModules13-${{ steps.nodeModulesCacheKey.outputs.value }}
169+
restore-keys: ${{ runner.os }}-cacheNodeModules13-
170170
- name: Get yarn cache directory path
171171
id: yarnCacheDirPath
172172
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
@@ -218,8 +218,8 @@ jobs:
218218
uses: actions/cache@v2
219219
with:
220220
path: "**/node_modules"
221-
key: ${{ runner.os }}-cacheNodeModules11-${{ steps.nodeModulesCacheKey.outputs.value }}
222-
restore-keys: ${{ runner.os }}-cacheNodeModules11-
221+
key: ${{ runner.os }}-cacheNodeModules13-${{ steps.nodeModulesCacheKey.outputs.value }}
222+
restore-keys: ${{ runner.os }}-cacheNodeModules13-
223223
- name: Get yarn cache directory path
224224
id: yarnCacheDirPath
225225
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}

lib/vscode/.github/workflows/no-yarn-lock-changes.yml

+18-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,25 @@ jobs:
66
name: Prevent yarn.lock changes in PRs
77
runs-on: ubuntu-latest
88
steps:
9-
- id: file_changes
9+
- uses: octokit/[email protected]
10+
id: get_permissions
11+
with:
12+
route: GET /repos/microsoft/vscode/collaborators/{username}/permission
13+
username: ${{ github.event.pull_request.user.login }}
14+
env:
15+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16+
- name: Set control output variable
17+
id: control
18+
run: |
19+
echo "user: ${{ github.event.pull_request.user.login }}"
20+
echo "role: ${{ fromJson(steps.get_permissions.outputs.data).permission }}"
21+
echo "should_run: ${{ !contains(fromJson('["admin", "write"]'), fromJson(steps.get_permissions.outputs.data).permission) }}"
22+
echo "::set-output name=should_run::${{ !contains(fromJson('["admin", "write"]'), fromJson(steps.get_permissions.outputs.data).permission) }}"
23+
- name: Get file changes
1024
uses: trilom/file-changes-action@ce38c8ce2459ca3c303415eec8cb0409857b4272
25+
if: ${{ steps.control.outputs.should_run == 'true' }}
1126
- name: Check for yarn.lock changes
27+
if: ${{ steps.control.outputs.should_run == 'true' }}
1228
run: |
13-
cat $HOME/files.json | jq -e '.[] | test("yarn\\.lock$") | not' \
29+
cat $HOME/files.json | jq -e 'any(test("yarn\\.lock$")) | not' \
1430
|| (echo "Changes to yarn.lock files aren't allowed in PRs." && exit 1)

lib/vscode/.github/workflows/rich-navigation.yml

+1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,5 @@ jobs:
3333
with:
3434
languages: typescript
3535
repo-token: ${{ secrets.GITHUB_TOKEN }}
36+
typescriptVersion: 0.6.0-next.8
3637
continue-on-error: true

lib/vscode/.vscode/launch.json

+7
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,13 @@
199199
"name": "Attach to VS Code",
200200
"browserAttachLocation": "workspace",
201201
"port": 9222,
202+
"trace": true,
203+
"outFiles": [
204+
"${workspaceFolder}/out/**/*.js"
205+
],
206+
"resolveSourceMapLocations": [
207+
"${workspaceFolder}/out/**/*.js"
208+
],
202209
"perScriptSourcemaps": "yes"
203210
},
204211
{

0 commit comments

Comments
 (0)