Skip to content

Commit f5272fb

Browse files
authored
Merge branch 'main' into fix-context-menu-for-deleted-lines-in-diff-inline
2 parents 90a6556 + 9013a83 commit f5272fb

File tree

436 files changed

+43146
-36863
lines changed

Some content is hidden

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

436 files changed

+43146
-36863
lines changed
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2
2+
# Reference: https://github.com/microsoft/vscode/wiki/How-to-Contribute
3+
properties:
4+
resources:
5+
- resource: Microsoft.WinGet.DSC/WinGetPackage
6+
directives:
7+
description: Install Git
8+
allowPrerelease: true
9+
settings:
10+
id: Git.Git
11+
source: winget
12+
- resource: Microsoft.WinGet.DSC/WinGetPackage
13+
id: npm
14+
directives:
15+
description: Install NodeJS version >=16.17.x and <17
16+
allowPrerelease: true
17+
settings:
18+
id: OpenJS.NodeJS.LTS
19+
version: "16.20.0"
20+
source: winget
21+
- resource: NpmDsc/NpmPackage
22+
id: yarn
23+
dependsOn:
24+
- npm
25+
directives:
26+
description: Install Yarn
27+
allowPrerelease: true
28+
settings:
29+
Name: 'yarn'
30+
Global: true
31+
PackageDirectory: '${WinGetConfigRoot}\..\'
32+
- resource: Microsoft.WinGet.DSC/WinGetPackage
33+
directives:
34+
description: Install Python 3.10
35+
allowPrerelease: true
36+
settings:
37+
id: Python.Python.3.10
38+
source: winget
39+
- resource: Microsoft.WinGet.DSC/WinGetPackage
40+
id: vsPackage
41+
directives:
42+
description: Install Visual Studio 2022 (any edition is OK)
43+
allowPrerelease: true
44+
settings:
45+
id: Microsoft.VisualStudio.2022.BuildTools
46+
source: winget
47+
- resource: Microsoft.VisualStudio.DSC/VSComponents
48+
dependsOn:
49+
- vsPackage
50+
directives:
51+
description: Install required VS workloads
52+
allowPrerelease: true
53+
settings:
54+
productId: Microsoft.VisualStudio.Product.BuildTools
55+
channelId: VisualStudio.17.Release
56+
includeRecommended: true
57+
components:
58+
- Microsoft.VisualStudio.Workload.VCTools
59+
- resource: YarnDsc/YarnInstall
60+
dependsOn:
61+
- npm
62+
directives:
63+
description: Install dependencies
64+
allowPrerelease: true
65+
settings:
66+
PackageDirectory: '${WinGetConfigRoot}\..\'
67+
configurationVersion: 0.2.0

.github/commands.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,14 @@
209209
"removeLabel": "~version-info-needed",
210210
"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!"
211211
},
212+
{
213+
"type": "label",
214+
"name": "~confirmation-needed",
215+
"action": "updateLabels",
216+
"addLabel": "info-needed",
217+
"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!"
219+
},
212220
{
213221
"type": "comment",
214222
"name": "a11ymas",
@@ -467,6 +475,19 @@
467475
"addLabel": "info-needed",
468476
"comment": "Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, `.gif` files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.\n\nIf the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (`Developer: Toggle Screencast Mode` in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.\n\nHappy coding!"
469477
},
478+
{
479+
"type": "comment",
480+
"name": "confirmPlease",
481+
"allowUsers": [
482+
"cleidigh",
483+
"usernamehw",
484+
"gjsjohnmurray",
485+
"IllusionMH"
486+
],
487+
"action": "comment",
488+
"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!"
490+
},
470491
{
471492
"__comment__": "Allows folks on the team to label issues by commenting: `\\label My-Label` ",
472493
"type": "comment",

.yarnrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
disturl "https://electronjs.org/headers"
2-
target "22.3.5"
2+
target "22.3.10"
33
runtime "electron"
44
build_from_source "true"

build/lib/electron.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/lib/electron.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function darwinBundleDocumentTypes(types: { [name: string]: string | string[] },
9191
}
9292

9393
export const config = {
94-
version: product.electronRepository ? '22.5.2' : util.getElectronVersion(),
94+
version: product.electronRepository ? '22.5.3' : util.getElectronVersion(),
9595
productAppName: product.nameLong,
9696
companyName: 'Microsoft Corporation',
9797
copyright: 'Copyright (C) 2023 Microsoft. All rights reserved',
@@ -212,7 +212,7 @@ function getElectron(arch: string): () => NodeJS.ReadWriteStream {
212212
}
213213

214214
async function main(arch = process.arch): Promise<void> {
215-
const version = product.electronRepository ? '22.5.2' : util.getElectronVersion();
215+
const version = product.electronRepository ? '22.5.3' : util.getElectronVersion();
216216
const electronPath = path.join(root, '.build', 'electron');
217217
const versionFile = path.join(electronPath, 'version');
218218
const isUpToDate = fs.existsSync(versionFile) && fs.readFileSync(versionFile, 'utf8') === `${version}`;

build/lib/i18n.resources.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,10 @@
290290
"name": "vs/workbench/contrib/welcomeWalkthrough",
291291
"project": "vscode-workbench"
292292
},
293+
{
294+
"name": "vs/workbench/contrib/welcomeDialog",
295+
"project": "vscode-workbench"
296+
},
293297
{
294298
"name": "vs/workbench/contrib/outline",
295299
"project": "vscode-workbench"
@@ -322,10 +326,6 @@
322326
"name": "vs/workbench/contrib/bracketPairColorizer2Telemetry",
323327
"project": "vscode-workbench"
324328
},
325-
{
326-
"name": "vs/workbench/contrib/offline",
327-
"project": "vscode-workbench"
328-
},
329329
{
330330
"name": "vs/workbench/contrib/remoteTunnel",
331331
"project": "vscode-workbench"
@@ -514,6 +514,10 @@
514514
"name": "vs/workbench/services/localization",
515515
"project": "vscode-workbench"
516516
},
517+
{
518+
"name": "vs/workbench/contrib/share",
519+
"project": "vscode-workbench"
520+
},
517521
{
518522
"name": "vs/workbench/contrib/accessibility",
519523
"project": "vscode-workbench"

build/lib/stylelint/vscode-known-variables.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@
5151
"--vscode-commandCenter-foreground",
5252
"--vscode-commandCenter-inactiveBorder",
5353
"--vscode-commandCenter-inactiveForeground",
54+
"--vscode-commentsView-resolvedIcon",
55+
"--vscode-commentsView-unresolvedIcon",
5456
"--vscode-contrastActiveBorder",
5557
"--vscode-contrastBorder",
5658
"--vscode-debugConsole-errorForeground",
@@ -97,6 +99,7 @@
9799
"--vscode-diffEditor-removedLineBackground",
98100
"--vscode-diffEditor-removedTextBackground",
99101
"--vscode-diffEditor-removedTextBorder",
102+
"--vscode-diffEditor-unchangedRegionBackground",
100103
"--vscode-diffEditorGutter-insertedLineBackground",
101104
"--vscode-diffEditorGutter-removedLineBackground",
102105
"--vscode-diffEditorOverview-insertedForeground",
@@ -233,6 +236,8 @@
233236
"--vscode-editorOverviewRuler-background",
234237
"--vscode-editorOverviewRuler-border",
235238
"--vscode-editorOverviewRuler-bracketMatchForeground",
239+
"--vscode-editorOverviewRuler-commentForeground",
240+
"--vscode-editorOverviewRuler-commentUnresolvedForeground",
236241
"--vscode-editorOverviewRuler-commonContentForeground",
237242
"--vscode-editorOverviewRuler-currentContentForeground",
238243
"--vscode-editorOverviewRuler-deletedForeground",
@@ -309,6 +314,8 @@
309314
"--vscode-interactiveEditor-border",
310315
"--vscode-interactiveEditor-regionHighlight",
311316
"--vscode-interactiveEditor-shadow",
317+
"--vscode-interactiveEditorDiff-inserted",
318+
"--vscode-interactiveEditorDiff-removed",
312319
"--vscode-interactiveEditorInput-background",
313320
"--vscode-interactiveEditorInput-border",
314321
"--vscode-interactiveEditorInput-focusBorder",
@@ -519,6 +526,8 @@
519526
"--vscode-statusBar-noFolderBackground",
520527
"--vscode-statusBar-noFolderBorder",
521528
"--vscode-statusBar-noFolderForeground",
529+
"--vscode-statusBar-offlineBackground",
530+
"--vscode-statusBar-offlineForeground",
522531
"--vscode-statusBarItem-activeBackground",
523532
"--vscode-statusBarItem-compactHoverBackground",
524533
"--vscode-statusBarItem-errorBackground",
@@ -692,6 +701,8 @@
692701
"--tab-border-top-color",
693702
"--tab-dirty-border-top-color",
694703
"--tabs-border-bottom-color",
704+
"--tab-sizing-current-width",
705+
"--tab-sizing-fixed-max-width",
695706
"--testMessageDecorationFontFamily",
696707
"--testMessageDecorationFontSize",
697708
"--title-border-bottom-color",
@@ -730,4 +741,4 @@
730741
"--z-index-run-button-container",
731742
"--zoom-factor"
732743
]
733-
}
744+
}

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,12 +528,12 @@
528528
"git": {
529529
"name": "electron",
530530
"repositoryUrl": "https://github.com/electron/electron",
531-
"commitHash": "0b17a201195ae6445e11cee50e436a3511717600"
531+
"commitHash": "b07f2f0f42a1483cd2e5ec8fa3c77ebaa0507069"
532532
}
533533
},
534534
"isOnlyProductionDependency": true,
535535
"license": "MIT",
536-
"version": "22.3.5"
536+
"version": "22.3.10"
537537
},
538538
{
539539
"component": {

cli/src/tunnels/control_server.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,7 @@ async fn handle_serve(
611611
) -> Result<EmptyObject, AnyError> {
612612
// fill params.extensions into code_server_args.install_extensions
613613
let mut csa = c.code_server_args.clone();
614+
csa.connection_token = params.connection_token;
614615
csa.install_extensions.extend(params.extensions.into_iter());
615616

616617
let params_raw = ServerParamsRaw {
@@ -1034,8 +1035,7 @@ async fn handle_spawn_cli(
10341035

10351036
// CLI args to spawn a server; contracted with clients that they should _not_ provide these.
10361037
p.arg("--verbose");
1037-
p.arg("tunnel");
1038-
p.arg("stdio");
1038+
p.arg("command-shell");
10391039

10401040
p.envs(&params.env);
10411041
p.stdin(Stdio::piped());

extensions/git-base/src/api/api1.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
import { Disposable, commands } from 'vscode';
77
import { Model } from '../model';
8-
import { pickRemoteSource } from '../remoteSource';
8+
import { getRemoteSourceActions, pickRemoteSource } from '../remoteSource';
99
import { GitBaseExtensionImpl } from './extension';
10-
import { API, PickRemoteSourceOptions, PickRemoteSourceResult, RemoteSourceProvider } from './git-base';
10+
import { API, PickRemoteSourceOptions, PickRemoteSourceResult, RemoteSourceAction, RemoteSourceProvider } from './git-base';
1111

1212
export class ApiImpl implements API {
1313

@@ -17,6 +17,10 @@ export class ApiImpl implements API {
1717
return pickRemoteSource(this._model, options as any);
1818
}
1919

20+
getRemoteSourceActions(url: string): Promise<RemoteSourceAction[]> {
21+
return getRemoteSourceActions(this._model, url);
22+
}
23+
2024
registerRemoteSourceProvider(provider: RemoteSourceProvider): Disposable {
2125
return this._model.registerRemoteSourceProvider(provider);
2226
}

0 commit comments

Comments
 (0)