Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
050835f
Remove throttle on pty input
Tyriar Dec 12, 2025
cadfb52
Remove now unneeded test
Tyriar Dec 12, 2025
e5b4dd5
QuickDiff - git extension should always provide the original resource…
lszomoru Dec 15, 2025
25dcf32
Bump actions/upload-artifact from 5 to 6 (#283557)
dependabot[bot] Dec 15, 2025
843d264
Bump actions/cache from 4 to 5 (#283559)
dependabot[bot] Dec 15, 2025
0a53e7d
Remove border color assignment in Toggle component styles
mrleemurray Dec 15, 2025
c0a77ae
QuickDiff - dispose the quick diff model reference (#283565)
lszomoru Dec 15, 2025
0b4b775
Merge pull request #283569 from microsoft/mrleemurray/tough-asp-maroon
mrleemurray Dec 15, 2025
93114d6
agent sessions - store badge in state as well (#283568)
bpasero Dec 15, 2025
ce39cdb
[email protected]
Tyriar Dec 15, 2025
2950977
Remove unneeded any cast
Tyriar Dec 15, 2025
01168e6
Disable clear search action in keyboard shortcuts UI when search quer…
dmitrivMS Dec 15, 2025
f15c18e
Merge pull request #283065 from microsoft/tyriar/283056
Tyriar Dec 15, 2025
262fdbd
agent sessions - use warning for confirmation (#283579)
bpasero Dec 15, 2025
227f920
agent sessions - update confirmation color and UX (#283585)
bpasero Dec 15, 2025
3a8d4f6
Fixes https://github.com/microsoft/monaco-editor/issues/5079 (#283590)
hediet Dec 15, 2025
f64faf3
agent sessions - rename "active" to "in progress" (#283591)
bpasero Dec 15, 2025
5b442ba
Merge pull request #283581 from microsoft/dev/dmitriv/keybindings-sea…
dmitrivMS Dec 15, 2025
2d334f1
agent sessions - rename "Week" to "Last Week" (#283602)
bpasero Dec 15, 2025
ccd324d
Adds `main-*` to git.branchProtection to support worktree scenarios w…
hediet Dec 15, 2025
c24b40c
agent sessions - use `report` icon for confirmations (#283604)
bpasero Dec 15, 2025
839fd2f
InlineEditsView: remove redeclaration of textModel (#281501)
yavanosta Dec 15, 2025
cc1d2ff
agent sessions - always show chat title in all modes (#283610)
bpasero Dec 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/copilot-setup-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:

- name: Restore node_modules cache
id: cache-node-modules
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
path: .build/node_modules_cache
key: "node_modules-linux-${{ hashFiles('.build/packagelockhash') }}"
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:

- name: Restore built-in extensions cache
id: cache-builtin-extensions
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
enableCrossOsArchive: true
path: .build/builtInExtensions
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/monaco-editor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: echo "value=$(node build/azure-pipelines/common/computeNodeModulesCacheKey.ts)" >> $GITHUB_OUTPUT
- name: Cache node modules
id: cacheNodeModules
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: "**/node_modules"
key: ${{ runner.os }}-cacheNodeModules20-${{ steps.nodeModulesCacheKey.outputs.value }}
Expand All @@ -43,7 +43,7 @@ jobs:
run: echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT
- name: Cache npm directory
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ${{ steps.npmCacheDirPath.outputs.dir }}
key: ${{ runner.os }}-npmCacheDir-${{ steps.nodeModulesCacheKey.outputs.value }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pr-darwin-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- name: Restore node_modules cache
id: cache-node-modules
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
path: .build/node_modules_cache
key: "node_modules-macos-${{ hashFiles('.build/packagelockhash') }}"
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:

- name: Restore built-in extensions cache
id: cache-builtin-extensions
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
enableCrossOsArchive: true
path: .build/builtInExtensions
Expand Down Expand Up @@ -212,7 +212,7 @@ jobs:
if: always()

- name: Publish Crash Reports
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: failure()
continue-on-error: true
with:
Expand All @@ -223,7 +223,7 @@ jobs:
# In order to properly symbolify above crash reports
# (if any), we need the compiled native modules too
- name: Publish Node Modules
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: failure()
continue-on-error: true
with:
Expand All @@ -232,7 +232,7 @@ jobs:
if-no-files-found: ignore

- name: Publish Log Files
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: always()
continue-on-error: true
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pr-linux-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:

- name: Restore node_modules cache
id: cache-node-modules
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
path: .build/node_modules_cache
key: "node_modules-linux-${{ hashFiles('.build/packagelockhash') }}"
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:

- name: Restore built-in extensions cache
id: cache-builtin-extensions
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
enableCrossOsArchive: true
path: .build/builtInExtensions
Expand Down Expand Up @@ -258,7 +258,7 @@ jobs:
if: always()

- name: Publish Crash Reports
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: failure()
continue-on-error: true
with:
Expand All @@ -269,7 +269,7 @@ jobs:
# In order to properly symbolify above crash reports
# (if any), we need the compiled native modules too
- name: Publish Node Modules
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: failure()
continue-on-error: true
with:
Expand All @@ -278,7 +278,7 @@ jobs:
if-no-files-found: ignore

- name: Publish Log Files
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: always()
continue-on-error: true
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pr-node-modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

- name: Restore node_modules cache
id: cache-node-modules
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: .build/node_modules_cache
key: "node_modules-compile-${{ hashFiles('.build/packagelockhash') }}"
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:

- name: Restore built-in extensions cache
id: cache-builtin-extensions
uses: actions/cache@v4
uses: actions/cache@v5
with:
enableCrossOsArchive: true
path: .build/builtInExtensions
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:

- name: Restore node_modules cache
id: cache-node-modules
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: .build/node_modules_cache
key: "node_modules-linux-${{ hashFiles('.build/packagelockhash') }}"
Expand Down Expand Up @@ -176,7 +176,7 @@ jobs:

- name: Restore node_modules cache
id: cache-node-modules
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: .build/node_modules_cache
key: "node_modules-macos-${{ hashFiles('.build/packagelockhash') }}"
Expand Down Expand Up @@ -239,7 +239,7 @@ jobs:
node build/azure-pipelines/common/computeNodeModulesCacheKey.ts win32 ${{ env.VSCODE_ARCH }} $(node -p process.arch) > .build/packagelockhash

- name: Restore node_modules cache
uses: actions/cache@v4
uses: actions/cache@v5
id: node-modules-cache
with:
path: .build/node_modules_cache
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pr-win32-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
node build/azure-pipelines/common/computeNodeModulesCacheKey.ts win32 ${{ env.VSCODE_ARCH }} $(node -p process.arch) > .build/packagelockhash

- name: Restore node_modules cache
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: node-modules-cache
with:
path: .build/node_modules_cache
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:

- name: Restore built-in extensions cache
id: cache-builtin-extensions
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
enableCrossOsArchive: true
path: .build/builtInExtensions
Expand Down Expand Up @@ -249,7 +249,7 @@ jobs:
if: always()

- name: Publish Crash Reports
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: failure()
continue-on-error: true
with:
Expand All @@ -260,7 +260,7 @@ jobs:
# In order to properly symbolify above crash reports
# (if any), we need the compiled native modules too
- name: Publish Node Modules
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: failure()
continue-on-error: true
with:
Expand All @@ -269,7 +269,7 @@ jobs:
if-no-files-found: ignore

- name: Publish Log Files
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: always()
continue-on-error: true
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

- name: Restore node_modules cache
id: cache-node-modules
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
path: .build/node_modules_cache
key: "node_modules-compile-${{ hashFiles('.build/packagelockhash') }}"
Expand Down
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
"git.ignoreLimitWarning": true,
"git.branchProtection": [
"main",
"main-*",
"distro",
"release/*"
],
Expand Down
14 changes: 0 additions & 14 deletions extensions/git/src/repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1128,20 +1128,6 @@ export class Repository implements Disposable {
return undefined;
}

const activeTabInput = window.tabGroups.activeTabGroup.activeTab?.input;

// Ignore file that is on the right-hand side of a diff editor
if (activeTabInput instanceof TabInputTextDiff && pathEquals(activeTabInput.modified.fsPath, uri.fsPath)) {
this.logger.trace(`[Repository][provideOriginalResource] Resource is on the right-hand side of a diff editor: ${uri.toString()}`);
return undefined;
}

// Ignore file that is on the right -hand side of a multi-file diff editor
if (activeTabInput instanceof TabInputTextMultiDiff && activeTabInput.textDiffs.some(diff => pathEquals(diff.modified.fsPath, uri.fsPath))) {
this.logger.trace(`[Repository][provideOriginalResource] Resource is on the right-hand side of a multi-file diff editor: ${uri.toString()}`);
return undefined;
}

const originalResource = toGitUri(uri, '', { replaceFileExtension: true });
this.logger.trace(`[Repository][provideOriginalResource] Original resource: ${originalResource.toString()}`);

Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"native-is-elevated": "0.8.0",
"native-keymap": "^3.3.5",
"native-watchdog": "^1.4.1",
"node-pty": "1.1.0-beta40",
"node-pty": "^1.1.0-beta42",
"open": "^10.1.2",
"tas-client": "0.3.1",
"undici": "^7.9.0",
Expand Down
8 changes: 4 additions & 4 deletions remote/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion remote/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"kerberos": "2.1.1",
"minimist": "^1.2.8",
"native-watchdog": "^1.4.1",
"node-pty": "1.1.0-beta40",
"node-pty": "^1.1.0-beta42",
"tas-client": "0.3.1",
"vscode-oniguruma": "1.7.0",
"vscode-regexpp": "^3.1.0",
Expand Down
1 change: 0 additions & 1 deletion src/vs/base/browser/ui/toggle/toggle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ export class Toggle extends Widget {

protected applyStyles(): void {
if (this.domNode) {
this.domNode.style.borderColor = (this._checked && this._opts.inputActiveOptionBorder) || '';
this.domNode.style.color = (this._checked && this._opts.inputActiveOptionForeground) || 'inherit';
this.domNode.style.backgroundColor = (this._checked && this._opts.inputActiveOptionBackground) || '';
}
Expand Down
22 changes: 0 additions & 22 deletions src/vs/editor/contrib/clipboard/browser/clipboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,13 @@ import * as browser from '../../../../base/browser/browser.js';
import { getActiveDocument, getActiveWindow } from '../../../../base/browser/dom.js';
import { KeyCode, KeyMod } from '../../../../base/common/keyCodes.js';
import * as platform from '../../../../base/common/platform.js';
import { StopWatch } from '../../../../base/common/stopwatch.js';
import * as nls from '../../../../nls.js';
import { MenuId, MenuRegistry } from '../../../../platform/actions/common/actions.js';
import { IClipboardService } from '../../../../platform/clipboard/common/clipboardService.js';
import { ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js';
import { ServicesAccessor } from '../../../../platform/instantiation/common/instantiation.js';
import { KeybindingWeight } from '../../../../platform/keybinding/common/keybindingsRegistry.js';
import { ILogService } from '../../../../platform/log/common/log.js';
import { IProductService } from '../../../../platform/product/common/productService.js';
import { ITelemetryService } from '../../../../platform/telemetry/common/telemetry.js';
import { CopyOptions, generateDataToCopyAndStoreInMemory, InMemoryClipboardMetadataManager } from '../../../browser/controller/editContext/clipboardUtils.js';
import { NativeEditContextRegistry } from '../../../browser/controller/editContext/native/nativeEditContextRegistry.js';
import { IActiveCodeEditor, ICodeEditor } from '../../../browser/editorBrowser.js';
Expand Down Expand Up @@ -284,8 +281,6 @@ if (PasteAction) {
logService.trace('registerExecCommandImpl (addImplementation code-editor for : paste)');
const codeEditorService = accessor.get(ICodeEditorService);
const clipboardService = accessor.get(IClipboardService);
const telemetryService = accessor.get(ITelemetryService);
const productService = accessor.get(IProductService);

// Only if editor text focus (i.e. not if editor has widget focus).
const focusedEditor = codeEditorService.getFocusedCodeEditor();
Expand All @@ -299,29 +294,12 @@ if (PasteAction) {
}
}

const sw = StopWatch.create(true);
logService.trace('registerExecCommandImpl (before triggerPaste)');
const triggerPaste = clipboardService.triggerPaste(getActiveWindow().vscodeWindowId);
if (triggerPaste) {
logService.trace('registerExecCommandImpl (triggerPaste defined)');
return triggerPaste.then(async () => {
logService.trace('registerExecCommandImpl (after triggerPaste)');
if (productService.quality !== 'stable') {
const duration = sw.elapsed();
type EditorAsyncPasteClassification = {
duration: { classification: 'SystemMetaData'; purpose: 'FeatureInsight'; comment: 'The duration of the paste operation.' };
owner: 'aiday-mar';
comment: 'Provides insight into the delay introduced by pasting async via keybindings.';
};
type EditorAsyncPasteEvent = {
duration: number;
};
telemetryService.publicLog2<EditorAsyncPasteEvent, EditorAsyncPasteClassification>(
'editorAsyncPaste',
{ duration }
);
}

return CopyPasteController.get(focusedEditor)?.finishedPaste() ?? Promise.resolve();
});
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -348,15 +348,11 @@ export class InlineEditsView extends Disposable {
diff = lineRangeMappingFromRangeMappings(mappings, inlineEdit.originalText, newText);
}

const tm = this._editorObs.model.read(reader);
if (!tm) {
return undefined;
}
this._previewTextModel.setLanguage(tm.getLanguageId());
this._previewTextModel.setLanguage(textModel.getLanguageId());

const previousNewText = this._previewTextModel.getValue();
if (previousNewText !== newText.getValue()) {
this._previewTextModel.setEOL(tm.getEndOfLineSequence());
this._previewTextModel.setEOL(textModel.getEndOfLineSequence());
const updateOldValueEdit = StringEdit.replace(new OffsetRange(0, previousNewText.length), newText.getValue());
const updateOldValueEditSmall = updateOldValueEdit.removeCommonSuffixPrefix(previousNewText);

Expand Down
Loading
Loading