Skip to content

Commit 23760c1

Browse files
committed
Merge branch 'main' into aiday/positioningInlineChat
2 parents 7efbcac + 70dff6d commit 23760c1

File tree

208 files changed

+3834
-2755
lines changed

Some content is hidden

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

208 files changed

+3834
-2755
lines changed

.github/commands.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@
215215
"action": "updateLabels",
216216
"addLabel": "info-needed",
217217
"removeLabel": "~confirmation-needed",
218-
"comment": "Thanks for creating this issue! To help narrow it down, please take the time to follow below steps. Thanks a lot and happy coding 🙏\n\n### Is the issue caused by an Extension?\nStop VS Code and from the command line (NOT the integrated terminal in Code), execute: `code --disable-extensions` and try your steps again to see if it reproduces. If it still reproduces, jump to the next chapter.\n\nIf you see it is an issue with the extension, please run the command `Start Extension Bisect` and follow the instructions to find the extension that is causing this issue.\n\n<img width='631' alt='image' src='https://user-images.githubusercontent.com/900690/228760008-d5790ad1-74da-46a2-917f-e1bd26281ca8.png'>\n\nPlease report the issue to the extension causing this.\n\n### Is the issue caused by VS Code Core?\nIf the issue is not caused by an extension, it is maybe caused by your configuration. Try to run `code --disable-extensions --user-data-dir <directory>` where `<directory>` is an empty folder. This will ensure Code is starting with a fresh data directory, e.g. no specific settings and without any extensions running.\n\nIf it still reproduces, it was maybe fixed already in our nightly release. Please download from https://code.visualstudio.com/insiders/ and see if you can reproduce the issue.\n\nFinally, to help us narrow down what change caused the issue, please run the following command to find the build. It will start previous releases of VS Code insiders to see where the regression was introduced:\n* `npx --yes vscode-bisect@latest`\n* follow the instructions until you found the offending build\n* report back the commit range in this issue\n\nThanks!"
218+
"comment": "Please perform the following **three tasks** to diagnose the root cause of the issue:\n\n* [ ] **1.) Disable Extensions**\n * Select `View` and pick `Command Palette...`\n * Run `Developer: Reload With Extensions Disabled`\n * 👉 See if the issue reproduces\n\n* [ ] **2.) Disable Configuration**\n * Select `View` and pick `Command Palette...`\n * Run `Profiles: Create a Temporary Profile`\n * 👉 See if the issue reproduces\n\n* [ ] **3.) Try VS Code Insiders**\n * Download [VS Code Insiders](https://code.visualstudio.com/insiders/)\n * Install and Run it\n * 👉 See if the issue reproduces\n \nThen pick one of the three resolutions depending on which step has helped:\n\n<details>\n <summary>Disabling my Extensions helped</summary>\n\nPlease run the command `Start Extension Bisect` and follow the instructions to find the extension that is causing this issue.\n\n<img width='631' alt='image' src='https://user-images.githubusercontent.com/900690/228760008-d5790ad1-74da-46a2-917f-e1bd26281ca8.png'>\n\nPlease report the issue to the extension causing this.\n</details>\n\n<details>\n <summary>Disabling my configuration helped</summary>\nPlease report back more details about your configuration, including settings.\n</details>\n\n<details>\n <summary>Using VS Code Insiders has helped</summary>\n✅ This likely means that the issue has been addressed already and will be available in an upcoming release. You can safely use VS Code Insiders until the new stable version is available.\n</details>"
219219
},
220220
{
221221
"type": "comment",
@@ -486,7 +486,7 @@
486486
],
487487
"action": "comment",
488488
"addLabel": "info-needed",
489-
"comment": "Thanks for creating this issue! To help narrow it down, please take the time to follow below steps. Thanks a lot and happy coding 🙏\n\n### Is the issue caused by an Extension?\nStop VS Code and from the command line (NOT the integrated terminal in Code), execute: `code --disable-extensions` and try your steps again to see if it reproduces. If it still reproduces, jump to the next chapter.\n\nIf you see it is an issue with the extension, please run the command `Start Extension Bisect` and follow the instructions to find the extension that is causing this issue.\n\n<img width='631' alt='image' src='https://user-images.githubusercontent.com/900690/228760008-d5790ad1-74da-46a2-917f-e1bd26281ca8.png'>\n\nPlease report the issue to the extension causing this.\n\n### Is the issue caused by VS Code Core?\nIf the issue is not caused by an extension, it is maybe caused by your configuration. Try to run `code --disable-extensions --user-data-dir <directory>` where `<directory>` is an empty folder. This will ensure Code is starting with a fresh data directory, e.g. no specific settings and without any extensions running.\n\nIf it still reproduces, it was maybe fixed already in our nightly release. Please download from https://code.visualstudio.com/insiders/ and see if you can reproduce the issue.\n\nFinally, to help us narrow down what change caused the issue, please run the following command to find the build. It will start previous releases of VS Code insiders to see where the regression was introduced:\n* `npx --yes vscode-bisect@latest`\n* follow the instructions until you found the offending build\n* report back the commit range in this issue\n\nThanks!"
489+
"comment": "Please perform the following **three tasks** to diagnose the root cause of the issue:\n\n* [ ] **1.) Disable Extensions**\n * Select `View` and pick `Command Palette...`\n * Run `Developer: Reload With Extensions Disabled`\n * 👉 See if the issue reproduces\n\n* [ ] **2.) Disable Configuration**\n * Select `View` and pick `Command Palette...`\n * Run `Profiles: Create a Temporary Profile`\n * 👉 See if the issue reproduces\n\n* [ ] **3.) Try VS Code Insiders**\n * Download [VS Code Insiders](https://code.visualstudio.com/insiders/)\n * Install and Run it\n * 👉 See if the issue reproduces\n \nThen pick one of the three resolutions depending on which step has helped:\n\n<details>\n <summary>Disabling my Extensions helped</summary>\n\nPlease run the command `Start Extension Bisect` and follow the instructions to find the extension that is causing this issue.\n\n<img width='631' alt='image' src='https://user-images.githubusercontent.com/900690/228760008-d5790ad1-74da-46a2-917f-e1bd26281ca8.png'>\n\nPlease report the issue to the extension causing this.\n</details>\n\n<details>\n <summary>Disabling my configuration helped</summary>\nPlease report back more details about your configuration, including settings.\n</details>\n\n<details>\n <summary>Using VS Code Insiders has helped</summary>\n✅ This likely means that the issue has been addressed already and will be available in an upcoming release. You can safely use VS Code Insiders until the new stable version is available.\n</details>"
490490
},
491491
{
492492
"__comment__": "Allows folks on the team to label issues by commenting: `\\label My-Label` ",

.vscode/settings.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@
3535
},
3636
"files.readonlyInclude": {
3737
"**/node_modules/**": true,
38+
"**/yarn.lock": true,
39+
"src/vs/workbench/workbench.web.main.css": true,
40+
"src/vs/workbench/workbench.desktop.main.css": true,
41+
"src/vs/workbench/workbench.desktop.main.nls.js": true,
42+
"src/vs/workbench/workbench.web.main.nls.js": true,
43+
"build/**/*.js": true,
3844
"out/**": true,
3945
"out-build/**": true,
4046
"out-vscode/**": true,
@@ -45,6 +51,12 @@
4551
"test/automation/out/**": true,
4652
"test/integration/browser/out/**": true,
4753
},
54+
"files.readonlyExclude": {
55+
"build/builtin/*.js": true,
56+
"build/monaco/*.js": true,
57+
"build/npm/*.js": true,
58+
"build/*.js": true
59+
},
4860
"lcov.path": [
4961
"./.build/coverage/lcov.info",
5062
"./.build/coverage-single/lcov.info"

build/.moduleignore.darwin

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
@vscode/windows-mutex/index.js
2+
@vscode/windows-mutex/**/*.node
3+
@vscode/windows-mutex/*.md
4+
@vscode/windows-mutex/package.json
5+
6+
@vscode/windows-registry/dist/**
7+
@vscode/windows-registry/**/*.node
8+
@vscode/windows-registry/*.md
9+
@vscode/windows-registry/*.txt
10+
@vscode/windows-registry/package.json
11+
!@vscode/windows-registry/dist/index.d.ts

build/.moduleignore.linux

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
@vscode/windows-mutex/index.js
2+
@vscode/windows-mutex/**/*.node
3+
@vscode/windows-mutex/*.md
4+
@vscode/windows-mutex/package.json
5+
6+
@vscode/windows-registry/dist/**
7+
@vscode/windows-registry/**/*.node
8+
@vscode/windows-registry/*.md
9+
@vscode/windows-registry/*.txt
10+
@vscode/windows-registry/package.json
11+
!@vscode/windows-registry/dist/index.d.ts

build/.moduleignore.win32

Whitespace-only changes.

build/azure-pipelines/cli/cli-compile-and-publish.yml

Lines changed: 52 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -6,42 +6,38 @@ parameters:
66
- name: VSCODE_CLI_ENV
77
type: object
88
default: {}
9+
- name: VSCODE_CHECK_ONLY
10+
type: boolean
11+
default: false
912

1013
steps:
11-
- script: cargo build --release --target ${{ parameters.VSCODE_CLI_TARGET }} --bin=code
12-
displayName: Compile ${{ parameters.VSCODE_CLI_TARGET }}
13-
workingDirectory: $(Build.SourcesDirectory)/cli
14-
env:
15-
CARGO_NET_GIT_FETCH_WITH_CLI: true
16-
${{ each pair in parameters.VSCODE_CLI_ENV }}:
17-
${{ pair.key }}: ${{ pair.value }}
18-
19-
- ${{ if contains(parameters.VSCODE_CLI_TARGET, '-windows-') }}:
20-
- powershell: |
21-
. build/azure-pipelines/win32/exec.ps1
22-
$ErrorActionPreference = "Stop"
23-
Move-Item -Path $(Build.SourcesDirectory)/cli/target/${{ parameters.VSCODE_CLI_TARGET }}/release/code.exe -Destination "$(Build.ArtifactStagingDirectory)/${env:VSCODE_CLI_APPLICATION_NAME}.exe"
24-
25-
- task: ArchiveFiles@2
26-
inputs:
27-
rootFolderOrFile: $(Build.ArtifactStagingDirectory)/$(VSCODE_CLI_APPLICATION_NAME).exe
28-
includeRootFolder: false
29-
archiveType: zip
30-
archiveFile: $(Build.ArtifactStagingDirectory)/${{ parameters.VSCODE_CLI_ARTIFACT }}.zip
31-
32-
- publish: $(Build.ArtifactStagingDirectory)/${{ parameters.VSCODE_CLI_ARTIFACT }}.zip
33-
artifact: ${{ parameters.VSCODE_CLI_ARTIFACT }}
34-
displayName: Publish ${{ parameters.VSCODE_CLI_ARTIFACT }} artifact
14+
- ${{ if parameters.VSCODE_CHECK_ONLY }}:
15+
- script: rustup component add clippy && cargo clippy --target ${{ parameters.VSCODE_CLI_TARGET }} --bin=code
16+
displayName: Lint ${{ parameters.VSCODE_CLI_TARGET }}
17+
workingDirectory: $(Build.SourcesDirectory)/cli
18+
env:
19+
CARGO_NET_GIT_FETCH_WITH_CLI: true
20+
${{ each pair in parameters.VSCODE_CLI_ENV }}:
21+
${{ pair.key }}: ${{ pair.value }}
3522

3623
- ${{ else }}:
37-
- script: |
38-
set -e
39-
mv $(Build.SourcesDirectory)/cli/target/${{ parameters.VSCODE_CLI_TARGET }}/release/code $(Build.ArtifactStagingDirectory)/$(VSCODE_CLI_APPLICATION_NAME)
24+
- script: cargo build --release --target ${{ parameters.VSCODE_CLI_TARGET }} --bin=code
25+
displayName: Compile ${{ parameters.VSCODE_CLI_TARGET }}
26+
workingDirectory: $(Build.SourcesDirectory)/cli
27+
env:
28+
CARGO_NET_GIT_FETCH_WITH_CLI: true
29+
${{ each pair in parameters.VSCODE_CLI_ENV }}:
30+
${{ pair.key }}: ${{ pair.value }}
31+
32+
- ${{ if contains(parameters.VSCODE_CLI_TARGET, '-windows-') }}:
33+
- powershell: |
34+
. build/azure-pipelines/win32/exec.ps1
35+
$ErrorActionPreference = "Stop"
36+
Move-Item -Path $(Build.SourcesDirectory)/cli/target/${{ parameters.VSCODE_CLI_TARGET }}/release/code.exe -Destination "$(Build.ArtifactStagingDirectory)/${env:VSCODE_CLI_APPLICATION_NAME}.exe"
4037
41-
- ${{ if contains(parameters.VSCODE_CLI_TARGET, '-darwin') }}:
4238
- task: ArchiveFiles@2
4339
inputs:
44-
rootFolderOrFile: $(Build.ArtifactStagingDirectory)/$(VSCODE_CLI_APPLICATION_NAME)
40+
rootFolderOrFile: $(Build.ArtifactStagingDirectory)/$(VSCODE_CLI_APPLICATION_NAME).exe
4541
includeRootFolder: false
4642
archiveType: zip
4743
archiveFile: $(Build.ArtifactStagingDirectory)/${{ parameters.VSCODE_CLI_ARTIFACT }}.zip
@@ -51,14 +47,31 @@ steps:
5147
displayName: Publish ${{ parameters.VSCODE_CLI_ARTIFACT }} artifact
5248

5349
- ${{ else }}:
54-
- task: ArchiveFiles@2
55-
inputs:
56-
rootFolderOrFile: $(Build.ArtifactStagingDirectory)/$(VSCODE_CLI_APPLICATION_NAME)
57-
includeRootFolder: false
58-
archiveType: tar
59-
tarCompression: gz
60-
archiveFile: $(Build.ArtifactStagingDirectory)/${{ parameters.VSCODE_CLI_ARTIFACT }}.tar.gz
50+
- script: |
51+
set -e
52+
mv $(Build.SourcesDirectory)/cli/target/${{ parameters.VSCODE_CLI_TARGET }}/release/code $(Build.ArtifactStagingDirectory)/$(VSCODE_CLI_APPLICATION_NAME)
6153
62-
- publish: $(Build.ArtifactStagingDirectory)/${{ parameters.VSCODE_CLI_ARTIFACT }}.tar.gz
63-
artifact: ${{ parameters.VSCODE_CLI_ARTIFACT }}
64-
displayName: Publish ${{ parameters.VSCODE_CLI_ARTIFACT }} artifact
54+
- ${{ if contains(parameters.VSCODE_CLI_TARGET, '-darwin') }}:
55+
- task: ArchiveFiles@2
56+
inputs:
57+
rootFolderOrFile: $(Build.ArtifactStagingDirectory)/$(VSCODE_CLI_APPLICATION_NAME)
58+
includeRootFolder: false
59+
archiveType: zip
60+
archiveFile: $(Build.ArtifactStagingDirectory)/${{ parameters.VSCODE_CLI_ARTIFACT }}.zip
61+
62+
- publish: $(Build.ArtifactStagingDirectory)/${{ parameters.VSCODE_CLI_ARTIFACT }}.zip
63+
artifact: ${{ parameters.VSCODE_CLI_ARTIFACT }}
64+
displayName: Publish ${{ parameters.VSCODE_CLI_ARTIFACT }} artifact
65+
66+
- ${{ else }}:
67+
- task: ArchiveFiles@2
68+
inputs:
69+
rootFolderOrFile: $(Build.ArtifactStagingDirectory)/$(VSCODE_CLI_APPLICATION_NAME)
70+
includeRootFolder: false
71+
archiveType: tar
72+
tarCompression: gz
73+
archiveFile: $(Build.ArtifactStagingDirectory)/${{ parameters.VSCODE_CLI_ARTIFACT }}.tar.gz
74+
75+
- publish: $(Build.ArtifactStagingDirectory)/${{ parameters.VSCODE_CLI_ARTIFACT }}.tar.gz
76+
artifact: ${{ parameters.VSCODE_CLI_ARTIFACT }}
77+
displayName: Publish ${{ parameters.VSCODE_CLI_ARTIFACT }} artifact

0 commit comments

Comments
 (0)