{"_id":"q-en-vscode-0006815a48f392923da362ccf93bf0ca571421b69aeeb837735ab4aa863fbfc9","text":"readonly snippetSortOrder = SnippetSortOrder.Bottom, readonly kindFilter = new Set(), readonly providerFilter = new Set(), readonly showDeprecated = true ) { } }"} {"_id":"q-en-vscode-001bcb8ec379ac018c222df7079f7461624ffde2dcb3372666e08beb3ddd8746","text":"this.hideHoverScheduler.schedule(); } this.showHoverScheduler.cancel(); this.provideNonDebugHoverScheduler.cancel(); } // hover business"} {"_id":"q-en-vscode-0023d292e19eb87cb88835e44855ce96ee583b26a4093dfb2c615da6730d2b9c","text":"this._edits.push({ _type: FileEditType.File, from, to, options, metadata }); } createFile(uri: vscode.Uri, options?: { overwrite?: boolean; ignoreIfExists?: boolean }, metadata?: vscode.WorkspaceEditEntryMetadata): void { createFile(uri: vscode.Uri, options?: { overwrite?: boolean; ignoreIfExists?: boolean; contents?: Uint8Array }, metadata?: vscode.WorkspaceEditEntryMetadata): void { this._edits.push({ _type: FileEditType.File, from: undefined, to: uri, options, metadata }); }"} {"_id":"q-en-vscode-00c103b852c2ab73e7eb070a458650609de31f0e365b059a1c080e2c6ebbd943","text":"const BUILD_TARGETS = [ { platform: 'win32', arch: 'x64' }, { platform: 'win32', arch: 'arm64' }, { platform: 'darwin', arch: 'x64' }, { platform: 'darwin', arch: 'arm64' }, { platform: 'linux', arch: 'x64' },"} {"_id":"q-en-vscode-00d3d31f502e5e75f432e488e7321cd1a4ee909f9f37fa025dcd4b9283e18896","text":"this.instantiationService.createInstance(InstallDropdownAction), this.instantiationService.createInstance(InstallingLabelAction), this.instantiationService.createInstance(SetLanguageAction), this.instantiationService.createInstance(ClearLanguageAction), this.instantiationService.createInstance(RemoteInstallAction, false), this.instantiationService.createInstance(LocalInstallAction), this.instantiationService.createInstance(WebInstallAction),"} {"_id":"q-en-vscode-00f98cbf9bcc45a82af10c13900467520f87d6eefe0171a6e9a7dd2bc6bde309","text":"return; } this.element.style.visibility = 'visible'; this.element.style.visibility = ''; this.element.style.top = `${top}px`; dimensionUpdater.updateHeight(outputId, outputContainer.element.offsetHeight, {"} {"_id":"q-en-vscode-012913dac72932763ae1b3c009c94f153e83871da027b1ce54ce889277ec68f0","text":"} private async _getMediaFilesEdit(document: vscode.TextDocument, dataTransfer: vscode.DataTransfer, token: vscode.CancellationToken): Promise { if (document.uri.scheme === Schemes.untitled) { if (getParentDocumentUri(document.uri).scheme === Schemes.untitled) { return; }"} {"_id":"q-en-vscode-012986f6c963eb3cf4f1b455800519dd34446e41cd3a210c506ecaf188b9ccb9","text":"\"yaml\" ], \"extensions\": [ \".yaml\", \".yml\", \".eyaml\", \".eyml\", \".yaml\", \".cff\", \".yaml-tmlanguage\", \".yaml-tmpreferences\","} {"_id":"q-en-vscode-013e9f7f6f2dad9d2ae7f9c7117d5ab355751bc34710713475620ac9a5287c8c","text":"await this.model.pullWithRebase(); } @command('git.pullFrom') async pullFrom(): Promise { const remotes = this.model.remotes; if (remotes.length === 0) { window.showWarningMessage(localize('no remotes to pull', \"Your repository has no remotes configured to pull from.\")); return; } if (!this.model.HEAD || !this.model.HEAD.name) { window.showWarningMessage(localize('nobranchToPull', \"Please select branch.\")); return; } const branchName = this.model.HEAD.name; const picks = remotes.map(r => ({ label: r.name, description: r.url })); const placeHolder = localize('pick remote pull', \"Pick a remote to pull the branch '{0}' from:\", branchName); const pick = await window.showQuickPick(picks, { placeHolder }); if (!pick) { return; } await this.model.pullFromRemote(pick.label, branchName); } @command('git.push') async push(): Promise { const remotes = this.model.remotes;"} {"_id":"q-en-vscode-0150ad922b58e230d05c913375728988ba90910676b22247691a10da39e89d68","text":"const options: ITextQueryBuilderOptions = { _reason: 'searchEditor', extraFileResources: this.instantiationService.invokeFunction(getOutOfWorkspaceEditorResources), maxResults: 10000, maxResults: withNullAsUndefined(this.searchConfig.maxResults), disregardIgnoreFiles: !config.useExcludeSettingsAndIgnoreFiles || undefined, disregardExcludeSettings: !config.useExcludeSettingsAndIgnoreFiles || undefined, excludePattern: config.filesToExclude,"} {"_id":"q-en-vscode-017280c2cc28ead7c678923b8fa0bb81e1ebb5759abea41bbf7bdcc3f6defb37","text":"default: true }, 'accessibility.signalOptions': { description: 'Configures the behavior of signals (audio cues and announcements) in the workbench. Includes volume, debounce position changes, and delays for different types of signals.', type: 'object', additionalProperties: false, properties: {"} {"_id":"q-en-vscode-01e8ae7542a77386caf9216e2e7f9f123efb04fb1cfd8438190be5f83fedc336","text":"} }); const disposables = new DisposableStore(); const input = disposables.add(this.quickInputService.createQuickPick()); input.busy = true; input.placeholder = nls.localize('selectConfiguration', \"Select Launch Configuration\"); const chosenPromise = new Promise(resolve => { disposables.add(input.onDidAccept(() => resolve(input.activeItems[0]))); disposables.add(input.onDidTriggerItemButton(async (context) => { resolve(undefined); const { launch, config } = context.item; await launch.openConfigFile({ preserveFocus: false, type: config.type, suppressInitialConfigs: true }); // Only Launch have a pin trigger button await (launch as Launch).writeConfiguration(config); await this.selectConfiguration(launch, config.name); this.removeRecentDynamicConfigurations(config.name, config.type); })); }); const nestedPicks = await Promise.all(picks); const items = flatten(nestedPicks); input.items = items; input.busy = false; input.show(); const chosen = await chosenPromise; disposables.dispose();"} {"_id":"q-en-vscode-01eb97292e9ea604f42237fc9d6822c0bb9983babe6ef8382514223555700c34","text":"readonly extension: IExtensionDescription, ) { super(); this._register(logger.onDidChangeLogLevel(level => this.setLevel(level))); } appendLine(value: string): void {"} {"_id":"q-en-vscode-0211aad943a0658612eebe95d086a4e4404caf9f4fbb17b74e74384aa14451f9","text":"import { derived, derivedObservableWithWritableCache, IObservable, IReader, ITransaction, observableFromEvent, observableValue, transaction } from 'vs/base/common/observable'; import { Range } from 'vs/editor/common/core/range'; import { ScrollType } from 'vs/editor/common/editorCommon'; import { localize } from 'vs/nls'; import { IConfigurationService } from 'vs/platform/configuration/common/configuration'; import { INotificationService } from 'vs/platform/notification/common/notification'; import { LineRange } from 'vs/workbench/contrib/mergeEditor/browser/model/lineRange'; import { MergeEditorModel } from 'vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel'; import { ModifiedBaseRange, ModifiedBaseRangeState } from 'vs/workbench/contrib/mergeEditor/browser/model/modifiedBaseRange';"} {"_id":"q-en-vscode-022d154f26a18cb8968821bc11c56026d587a35829caae11187b4f83ae28a08c","text":" script-src 'self' 'unsafe-eval' 'sha256-V28GQnL3aYxbwgpV3yW1oJ+VKKe/PBSzWntNyH8zVXA=' https: http://localhost:*; script-src 'self' 'unsafe-eval' 'sha256-V28GQnL3aYxbwgpV3yW1oJ+VKKe/PBSzWntNyH8zVXA=' https: http://localhost:* blob:; connect-src 'self' https: wss: http://localhost:* http://127.0.0.1:* ws://localhost:* ws://127.0.0.1:*;\"/> "} {"_id":"q-en-vscode-024d83a9d80704de1ea077e09cfd84ae472987d425e756a2772fae404df17f29","text":"// --- search --- $startFileSearch(includePattern: string, _includeFolder: UriComponents | undefined, excludePatternOrDisregardExcludes: string | false, maxResults: number, token: CancellationToken): Promise { $startFileSearch(includePattern: string, _includeFolder: UriComponents | undefined, excludePatternOrDisregardExcludes: string | false | undefined, maxResults: number, token: CancellationToken): Promise { const includeFolder = URI.revive(_includeFolder); const workspace = this._contextService.getWorkspace(); if (!workspace.folders.length) {"} {"_id":"q-en-vscode-029bd51d9821771f45254e44292e9bf8b660ca0282add8a38a0f09f94b2d323c","text":"import { IPagedRenderer } from 'vs/base/browser/ui/list/listPaging'; import { Event } from 'vs/base/common/event'; import { IExtension, ExtensionContainers, ExtensionState, IExtensionsWorkbenchService } from 'vs/workbench/contrib/extensions/common/extensions'; import { UpdateAction, ManageExtensionAction, ReloadAction, ExtensionStatusLabelAction, RemoteInstallAction, ExtensionStatusAction, LocalInstallAction, ActionWithDropDownAction, InstallDropdownAction, InstallingLabelAction, ExtensionActionWithDropdownActionViewItem, ExtensionDropDownAction, WebInstallAction, SwitchToPreReleaseVersionAction, SwitchToReleasedVersionAction, MigrateDeprecatedExtensionAction, SetLanguageAction } from 'vs/workbench/contrib/extensions/browser/extensionsActions'; import { UpdateAction, ManageExtensionAction, ReloadAction, ExtensionStatusLabelAction, RemoteInstallAction, ExtensionStatusAction, LocalInstallAction, ActionWithDropDownAction, InstallDropdownAction, InstallingLabelAction, ExtensionActionWithDropdownActionViewItem, ExtensionDropDownAction, WebInstallAction, SwitchToPreReleaseVersionAction, SwitchToReleasedVersionAction, MigrateDeprecatedExtensionAction, SetLanguageAction, ClearLanguageAction } from 'vs/workbench/contrib/extensions/browser/extensionsActions'; import { areSameExtensions } from 'vs/platform/extensionManagement/common/extensionManagementUtil'; import { RatingsWidget, InstallCountWidget, RecommendationWidget, RemoteBadgeWidget, ExtensionPackCountWidget as ExtensionPackBadgeWidget, SyncIgnoredWidget, ExtensionHoverWidget, ExtensionActivationStatusWidget, PreReleaseBookmarkWidget, extensionVerifiedPublisherIconColor } from 'vs/workbench/contrib/extensions/browser/extensionsWidgets'; import { IExtensionService, toExtension } from 'vs/workbench/services/extensions/common/extensions';"} {"_id":"q-en-vscode-02f2b4db8aa4770c1af59550782bee1d53de7562c16e3e8c75f2a94c2f5955fa","text":"optionalDependencies: \"@vscode/windows-ca-certs\" \"^0.3.1\" \"@vscode/ripgrep@^1.15.4\": version \"1.15.4\" resolved \"https://registry.yarnpkg.com/@vscode/ripgrep/-/ripgrep-1.15.4.tgz#ca8946b5580bbea1e706ed8d3b1eed5f0d551ab6\" integrity sha512-+EPIS2aoD95MFLrgGHd/D2fck42aMRV2cBrT7BiNvKBeSyCTybSaTJ+PGQf6zV/95AhaXHHYqYPVRk3DZoGU9w== \"@vscode/ripgrep@^1.15.5\": version \"1.15.5\" resolved \"https://registry.yarnpkg.com/@vscode/ripgrep/-/ripgrep-1.15.5.tgz#26025884bbc3a8b40dfc29f5bda4b87b47bd7356\" integrity sha512-PVvKNEmtnlek3i4MJMaB910dz46CKQqcIY2gKR3PSlfz/ZPlSYuSuyQMS7iK20KL4hGUdSbWt964B5S5EIojqw== dependencies: https-proxy-agent \"^5.0.0\" proxy-from-env \"^1.1.0\""} {"_id":"q-en-vscode-0300cb68862c1f713e1605998a21fb2d5e87acfbb0d14ad548db66703a15f7a8","text":"this._register(this.workingCopyService.onDidChangeDirty(workingCopy => this.dirtyWorkingCopiesContext.set(workingCopy.isDirty() || this.workingCopyService.hasDirty))); } private updateVisiblePanesContextKeys(): void { const visibleEditorPanes = this.editorService.visibleEditorPanes; if (visibleEditorPanes.length > 0) { this.editorsVisibleContext.set(true); } else { this.editorsVisibleContext.reset(); } } private updateEditorGroupContextKeys(): void { if (!this.editorService.activeEditor) { this.activeEditorGroupEmpty.set(true); } else { this.activeEditorGroupEmpty.reset(); } this.updateEditorGroupsContextKeys(); } private updateEditorGroupsContextKeys(): void { const groupCount = this.editorGroupService.count; if (groupCount > 1) { this.multipleEditorGroupsContext.set(true); } else { this.multipleEditorGroupsContext.reset(); } const activeGroup = this.editorGroupService.activeGroup; this.activeEditorGroupIndex.set(activeGroup.index + 1); // not zero-indexed this.activeEditorGroupLast.set(activeGroup.index === groupCount - 1); this.activeEditorGroupLocked.set(activeGroup.isLocked); } private updateEditorAreaContextKeys(): void { this.editorTabsVisibleContext.set(this.editorGroupService.partOptions.showTabs === 'multiple'); }"} {"_id":"q-en-vscode-030edbffa197084ec9defa55698184502697b65d5c0e2c72fb33943db2bc7b09","text":"\".css.map\" ], \"filenames\": [ \"composer.lock\", \".watchmanconfig\", \".ember-cli\" ],"} {"_id":"q-en-vscode-031d5cb87d08ed982d2b2b3ec997fb618c6e00bfa8b79dbe67b1199a347ab733","text":"id: MenuId.EditorTitle, when: ctxIsMergeEditor, group: 'navigation', order: 2 }, ], f1: true,"} {"_id":"q-en-vscode-0323a54e42896c63fd00752360df44b93aa0d96b7c4c3c2a02f90fb424c68b49","text":"this._commentThreadDisposables.push(this._commentThread.onDidChangeCollapsibleState(state => { if (state === languages.CommentThreadCollapsibleState.Expanded && !this._isExpanded) { this.show(this.arrowPosition(this._commentThread.range), 2); this._commentThreadWidget.ensureFocusIntoNewEditingComment(); return; }"} {"_id":"q-en-vscode-0341d2edfc0a71d2963f027f18834db39667b3717951861c54c97b26bfdd5336","text":".monaco-action-bar .action-item.disabled .action-label.extension-action.uninstall:not(.uninstalling), .monaco-action-bar .action-item.disabled .action-label.extension-action.hide-when-disabled, .monaco-action-bar .action-item.disabled .action-label.extension-action.update, .monaco-action-bar .action-item.disabled .action-label.extension-action.migrate, .monaco-action-bar .action-item.disabled .action-label.extension-action.theme, .monaco-action-bar .action-item.disabled .action-label.extension-action.extension-sync, .monaco-action-bar .action-item.action-dropdown-item.disabled,"} {"_id":"q-en-vscode-034565cb568a8d10c08a716cfac646756f9f962b18ecdbf772d5bfeda5683a20","text":"return computeLinks(target); } function extractLinks(text: string): string { const keep: boolean[] = []; const links = myComputeLinks([text]); for (const link of links) { const startChar = link.range.startColumn - 1; const endChar = link.range.endColumn - 1; for (let char = startChar; char < endChar; char++) { keep[char] = true; function assertLink(text: string, extractedLink: string): void { let startColumn = 0, endColumn = 0, chr: string, i = 0; for (i = 0; i < extractedLink.length; i++) { chr = extractedLink.charAt(i); if (chr !== ' ' && chr !== 't') { startColumn = i + 1; break; } } const result: string[] = []; for (let i = 0; i < text.length; i++) { if (keep[i]) { result.push(text.charAt(i)); } else { result.push(' '); for (i = extractedLink.length - 1; i >= 0; i--) { chr = extractedLink.charAt(i); if (chr !== ' ' && chr !== 't') { endColumn = i + 2; break; } } return result.join(''); } function assertLink(text: string, expectedLinks: string): void { assert.deepStrictEqual(extractLinks(text), expectedLinks); const r = myComputeLinks([text]); assert.deepStrictEqual(r, [{ range: { startLineNumber: 1, startColumn: startColumn, endLineNumber: 1, endColumn: endColumn }, url: extractedLink.substring(startColumn - 1, endColumn - 1) }]); } suite('Editor Modes - Link Computer', () => {"} {"_id":"q-en-vscode-036a717461e574d1cc47f141962459cb4187c58676196f39184ad786730b3fc2","text":" /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import * as marked from '../../../../base/common/marked/marked.js'; // Copied from https://github.com/Flet/github-slugger since we can't use esm yet. // eslint-disable-next-line no-control-regex, no-misleading-character-class const githubSlugReplaceRegex = /[0-x1F!-,./:-@[-^`{-xA9xAB-xB4xB6-xB9xBB-xBFxD7xF7u02C2-u02C5u02D2-u02DFu02E5-u02EBu02EDu02EF-u02FFu0375u0378u0379u037Eu0380-u0385u0387u038Bu038Du03A2u03F6u0482u0530u0557u0558u055A-u055Fu0589-u0590u05BEu05C0u05C3u05C6u05C8-u05CFu05EB-u05EEu05F3-u060Fu061B-u061Fu066A-u066Du06D4u06DDu06DEu06E9u06FDu06FEu0700-u070Fu074Bu074Cu07B2-u07BFu07F6-u07F9u07FBu07FCu07FEu07FFu082E-u083Fu085C-u085Fu086B-u089Fu08B5u08C8-u08D2u08E2u0964u0965u0970u0984u098Du098Eu0991u0992u09A9u09B1u09B3-u09B5u09BAu09BBu09C5u09C6u09C9u09CAu09CF-u09D6u09D8-u09DBu09DEu09E4u09E5u09F2-u09FBu09FDu09FFu0A00u0A04u0A0B-u0A0Eu0A11u0A12u0A29u0A31u0A34u0A37u0A3Au0A3Bu0A3Du0A43-u0A46u0A49u0A4Au0A4E-u0A50u0A52-u0A58u0A5Du0A5F-u0A65u0A76-u0A80u0A84u0A8Eu0A92u0AA9u0AB1u0AB4u0ABAu0ABBu0AC6u0ACAu0ACEu0ACFu0AD1-u0ADFu0AE4u0AE5u0AF0-u0AF8u0B00u0B04u0B0Du0B0Eu0B11u0B12u0B29u0B31u0B34u0B3Au0B3Bu0B45u0B46u0B49u0B4Au0B4E-u0B54u0B58-u0B5Bu0B5Eu0B64u0B65u0B70u0B72-u0B81u0B84u0B8B-u0B8Du0B91u0B96-u0B98u0B9Bu0B9Du0BA0-u0BA2u0BA5-u0BA7u0BAB-u0BADu0BBA-u0BBDu0BC3-u0BC5u0BC9u0BCEu0BCFu0BD1-u0BD6u0BD8-u0BE5u0BF0-u0BFFu0C0Du0C11u0C29u0C3A-u0C3Cu0C45u0C49u0C4E-u0C54u0C57u0C5B-u0C5Fu0C64u0C65u0C70-u0C7Fu0C84u0C8Du0C91u0CA9u0CB4u0CBAu0CBBu0CC5u0CC9u0CCE-u0CD4u0CD7-u0CDDu0CDFu0CE4u0CE5u0CF0u0CF3-u0CFFu0D0Du0D11u0D45u0D49u0D4F-u0D53u0D58-u0D5Eu0D64u0D65u0D70-u0D79u0D80u0D84u0D97-u0D99u0DB2u0DBCu0DBEu0DBFu0DC7-u0DC9u0DCB-u0DCEu0DD5u0DD7u0DE0-u0DE5u0DF0u0DF1u0DF4-u0E00u0E3B-u0E3Fu0E4Fu0E5A-u0E80u0E83u0E85u0E8Bu0EA4u0EA6u0EBEu0EBFu0EC5u0EC7u0ECEu0ECFu0EDAu0EDBu0EE0-u0EFFu0F01-u0F17u0F1A-u0F1Fu0F2A-u0F34u0F36u0F38u0F3A-u0F3Du0F48u0F6D-u0F70u0F85u0F98u0FBD-u0FC5u0FC7-u0FFFu104A-u104Fu109Eu109Fu10C6u10C8-u10CCu10CEu10CFu10FBu1249u124Eu124Fu1257u1259u125Eu125Fu1289u128Eu128Fu12B1u12B6u12B7u12BFu12C1u12C6u12C7u12D7u1311u1316u1317u135Bu135Cu1360-u137Fu1390-u139Fu13F6u13F7u13FE-u1400u166Du166Eu1680u169B-u169Fu16EB-u16EDu16F9-u16FFu170Du1715-u171Fu1735-u173Fu1754-u175Fu176Du1771u1774-u177Fu17D4-u17D6u17D8-u17DBu17DEu17DFu17EA-u180Au180Eu180Fu181A-u181Fu1879-u187Fu18AB-u18AFu18F6-u18FFu191Fu192C-u192Fu193C-u1945u196Eu196Fu1975-u197Fu19AC-u19AFu19CA-u19CFu19DA-u19FFu1A1C-u1A1Fu1A5Fu1A7Du1A7Eu1A8A-u1A8Fu1A9A-u1AA6u1AA8-u1AAFu1AC1-u1AFFu1B4C-u1B4Fu1B5A-u1B6Au1B74-u1B7Fu1BF4-u1BFFu1C38-u1C3Fu1C4A-u1C4Cu1C7Eu1C7Fu1C89-u1C8Fu1CBBu1CBCu1CC0-u1CCFu1CD3u1CFB-u1CFFu1DFAu1F16u1F17u1F1Eu1F1Fu1F46u1F47u1F4Eu1F4Fu1F58u1F5Au1F5Cu1F5Eu1F7Eu1F7Fu1FB5u1FBDu1FBF-u1FC1u1FC5u1FCD-u1FCFu1FD4u1FD5u1FDC-u1FDFu1FED-u1FF1u1FF5u1FFD-u203Eu2041-u2053u2055-u2070u2072-u207Eu2080-u208Fu209D-u20CFu20F1-u2101u2103-u2106u2108u2109u2114u2116-u2118u211E-u2123u2125u2127u2129u212Eu213Au213Bu2140-u2144u214A-u214Du214F-u215Fu2189-u24B5u24EA-u2BFFu2C2Fu2C5Fu2CE5-u2CEAu2CF4-u2CFFu2D26u2D28-u2D2Cu2D2Eu2D2Fu2D68-u2D6Eu2D70-u2D7Eu2D97-u2D9Fu2DA7u2DAFu2DB7u2DBFu2DC7u2DCFu2DD7u2DDFu2E00-u2E2Eu2E30-u3004u3008-u3020u3030u3036u3037u303D-u3040u3097u3098u309Bu309Cu30A0u30FBu3100-u3104u3130u318F-u319Fu31C0-u31EFu3200-u33FFu4DC0-u4DFFu9FFD-u9FFFuA48D-uA4CFuA4FEuA4FFuA60D-uA60FuA62C-uA63FuA673uA67EuA6F2-uA716uA720uA721uA789uA78AuA7C0uA7C1uA7CB-uA7F4uA828-uA82BuA82D-uA83FuA874-uA87FuA8C6-uA8CFuA8DA-uA8DFuA8F8-uA8FAuA8FCuA92EuA92FuA954-uA95FuA97D-uA97FuA9C1-uA9CEuA9DA-uA9DFuA9FFuAA37-uAA3FuAA4EuAA4FuAA5A-uAA5FuAA77-uAA79uAAC3-uAADAuAADEuAADFuAAF0uAAF1uAAF7-uAB00uAB07uAB08uAB0FuAB10uAB17-uAB1FuAB27uAB2FuAB5BuAB6A-uAB6FuABEBuABEEuABEFuABFA-uABFFuD7A4-uD7AFuD7C7-uD7CAuD7FC-uD7FFuE000-uF8FFuFA6EuFA6FuFADA-uFAFFuFB07-uFB12uFB18-uFB1CuFB29uFB37uFB3DuFB3FuFB42uFB45uFBB2-uFBD2uFD3E-uFD4FuFD90uFD91uFDC8-uFDEFuFDFC-uFDFFuFE10-uFE1FuFE30-uFE32uFE35-uFE4CuFE50-uFE6FuFE75uFEFD-uFF0FuFF1A-uFF20uFF3B-uFF3EuFF40uFF5B-uFF65uFFBF-uFFC1uFFC8uFFC9uFFD0uFFD1uFFD8uFFD9uFFDD-uFFFF]|uD800[uDC0CuDC27uDC3BuDC3EuDC4EuDC4FuDC5E-uDC7FuDCFB-uDD3FuDD75-uDDFCuDDFE-uDE7FuDE9D-uDE9FuDED1-uDEDFuDEE1-uDEFFuDF20-uDF2CuDF4B-uDF4FuDF7B-uDF7FuDF9EuDF9FuDFC4-uDFC7uDFD0uDFD6-uDFFF]|uD801[uDC9EuDC9FuDCAA-uDCAFuDCD4-uDCD7uDCFC-uDCFFuDD28-uDD2FuDD64-uDDFFuDF37-uDF3FuDF56-uDF5FuDF68-uDFFF]|uD802[uDC06uDC07uDC09uDC36uDC39-uDC3BuDC3DuDC3EuDC56-uDC5FuDC77-uDC7FuDC9F-uDCDFuDCF3uDCF6-uDCFFuDD16-uDD1FuDD3A-uDD7FuDDB8-uDDBDuDDC0-uDDFFuDE04uDE07-uDE0BuDE14uDE18uDE36uDE37uDE3B-uDE3EuDE40-uDE5FuDE7D-uDE7FuDE9D-uDEBFuDEC8uDEE7-uDEFFuDF36-uDF3FuDF56-uDF5FuDF73-uDF7FuDF92-uDFFF]|uD803[uDC49-uDC7FuDCB3-uDCBFuDCF3-uDCFFuDD28-uDD2FuDD3A-uDE7FuDEAAuDEAD-uDEAFuDEB2-uDEFFuDF1D-uDF26uDF28-uDF2FuDF51-uDFAFuDFC5-uDFDFuDFF7-uDFFF]|uD804[uDC47-uDC65uDC70-uDC7EuDCBB-uDCCFuDCE9-uDCEFuDCFA-uDCFFuDD35uDD40-uDD43uDD48-uDD4FuDD74uDD75uDD77-uDD7FuDDC5-uDDC8uDDCDuDDDBuDDDD-uDDFFuDE12uDE38-uDE3DuDE3F-uDE7FuDE87uDE89uDE8EuDE9EuDEA9-uDEAFuDEEB-uDEEFuDEFA-uDEFFuDF04uDF0DuDF0EuDF11uDF12uDF29uDF31uDF34uDF3AuDF45uDF46uDF49uDF4AuDF4EuDF4FuDF51-uDF56uDF58-uDF5CuDF64uDF65uDF6D-uDF6FuDF75-uDFFF]|uD805[uDC4B-uDC4FuDC5A-uDC5DuDC62-uDC7FuDCC6uDCC8-uDCCFuDCDA-uDD7FuDDB6uDDB7uDDC1-uDDD7uDDDE-uDDFFuDE41-uDE43uDE45-uDE4FuDE5A-uDE7FuDEB9-uDEBFuDECA-uDEFFuDF1BuDF1CuDF2C-uDF2FuDF3A-uDFFF]|uD806[uDC3B-uDC9FuDCEA-uDCFEuDD07uDD08uDD0AuDD0BuDD14uDD17uDD36uDD39uDD3AuDD44-uDD4FuDD5A-uDD9FuDDA8uDDA9uDDD8uDDD9uDDE2uDDE5-uDDFFuDE3F-uDE46uDE48-uDE4FuDE9A-uDE9CuDE9E-uDEBFuDEF9-uDFFF]|uD807[uDC09uDC37uDC41-uDC4FuDC5A-uDC71uDC90uDC91uDCA8uDCB7-uDCFFuDD07uDD0AuDD37-uDD39uDD3BuDD3EuDD48-uDD4FuDD5A-uDD5FuDD66uDD69uDD8FuDD92uDD99-uDD9FuDDAA-uDEDFuDEF7-uDFAFuDFB1-uDFFF]|uD808[uDF9A-uDFFF]|uD809[uDC6F-uDC7FuDD44-uDFFF]|[uD80AuD80BuD80E-uD810uD812-uD819uD824-uD82BuD82DuD82EuD830-uD833uD837uD839uD83DuD83FuD87B-uD87DuD87FuD885-uDB3FuDB41-uDBFF][uDC00-uDFFF]|uD80D[uDC2F-uDFFF]|uD811[uDE47-uDFFF]|uD81A[uDE39-uDE3FuDE5FuDE6A-uDECFuDEEEuDEEFuDEF5-uDEFFuDF37-uDF3FuDF44-uDF4FuDF5A-uDF62uDF78-uDF7CuDF90-uDFFF]|uD81B[uDC00-uDE3FuDE80-uDEFFuDF4B-uDF4EuDF88-uDF8EuDFA0-uDFDFuDFE2uDFE5-uDFEFuDFF2-uDFFF]|uD821[uDFF8-uDFFF]|uD823[uDCD6-uDCFFuDD09-uDFFF]|uD82C[uDD1F-uDD4FuDD53-uDD63uDD68-uDD6FuDEFC-uDFFF]|uD82F[uDC6B-uDC6FuDC7D-uDC7FuDC89-uDC8FuDC9A-uDC9CuDC9F-uDFFF]|uD834[uDC00-uDD64uDD6A-uDD6CuDD73-uDD7AuDD83uDD84uDD8C-uDDA9uDDAE-uDE41uDE45-uDFFF]|uD835[uDC55uDC9DuDCA0uDCA1uDCA3uDCA4uDCA7uDCA8uDCADuDCBAuDCBCuDCC4uDD06uDD0BuDD0CuDD15uDD1DuDD3AuDD3FuDD45uDD47-uDD49uDD51uDEA6uDEA7uDEC1uDEDBuDEFBuDF15uDF35uDF4FuDF6FuDF89uDFA9uDFC3uDFCCuDFCD]|uD836[uDC00-uDDFFuDE37-uDE3AuDE6D-uDE74uDE76-uDE83uDE85-uDE9AuDEA0uDEB0-uDFFF]|uD838[uDC07uDC19uDC1AuDC22uDC25uDC2B-uDCFFuDD2D-uDD2FuDD3EuDD3FuDD4A-uDD4DuDD4F-uDEBFuDEFA-uDFFF]|uD83A[uDCC5-uDCCFuDCD7-uDCFFuDD4C-uDD4FuDD5A-uDFFF]|uD83B[uDC00-uDDFFuDE04uDE20uDE23uDE25uDE26uDE28uDE33uDE38uDE3AuDE3C-uDE41uDE43-uDE46uDE48uDE4AuDE4CuDE50uDE53uDE55uDE56uDE58uDE5AuDE5CuDE5EuDE60uDE63uDE65uDE66uDE6BuDE73uDE78uDE7DuDE7FuDE8AuDE9C-uDEA0uDEA4uDEAAuDEBC-uDFFF]|uD83C[uDC00-uDD2FuDD4A-uDD4FuDD6A-uDD6FuDD8A-uDFFF]|uD83E[uDC00-uDFEFuDFFA-uDFFF]|uD869[uDEDE-uDEFF]|uD86D[uDF35-uDF3F]|uD86E[uDC1EuDC1F]|uD873[uDEA2-uDEAF]|uD87A[uDFE1-uDFFF]|uD87E[uDE1E-uDFFF]|uD884[uDF4B-uDFFF]|uDB40[uDC00-uDCFFuDDF0-uDFFF]/g; function slugify(heading: string): string { const slugifiedHeading = heading.trim() .toLowerCase() .replace(githubSlugReplaceRegex, '') .replace(/s/g, '-'); // Replace whitespace with - return slugifiedHeading; } // Copied from https://github.com/markedjs/marked-gfm-heading-id/blob/main/src/index.js // Removed logic for handling duplicate header ids for now // unescape from marked helpers const unescapeTest = /&(#(?:d+)|(?:#x[0-9A-Fa-f]+)|(?:w+));?/ig; function unescape(html: string) { // explicitly match decimal, hex, and named HTML entities return html.replace(unescapeTest, (_, n) => { n = n.toLowerCase(); if (n === 'colon') { return ':'; } if (n.charAt(0) === '#') { return n.charAt(1) === 'x' ? String.fromCharCode(parseInt(n.substring(2), 16)) : String.fromCharCode(+n.substring(1)); } return ''; }); } export function markedGfmHeadingIdPlugin({ prefix = '', globalSlugs = false } = {}): marked.MarkedExtension { return { // hooks: { // \tpreprocess(src: string) { // \t\tif (!globalSlugs) { // \t\t\tresetHeadings(); // \t\t} // \t\treturn src; // \t}, // }, renderer: { heading({ tokens, depth }) { const text = this.parser.parseInline(tokens); const raw = unescape(this.parser.parseInline(tokens, this.parser.textRenderer)) .trim() .replace(/<[!/a-z].*?>/gi, ''); const level = depth; const id = `${prefix}${slugify(raw)}`; // const heading = { level, text, id, raw }; // headings.push(heading); return `${text}n`; }, }, }; } "} {"_id":"q-en-vscode-037079c14a9c8a6407ef795d704e922ffc4b35d3a4701904542d5ac3389e13c9","text":"$ErrorActionPreference = \"Stop\" exec { node build/azure-pipelines/common/listNodeModules.js .build/node_modules_list.txt } exec { mkdir -Force .build/node_modules_cache } exec { 7z.exe a .build/node_modules_cache/cache.7z -mx3 -bb `@.build/node_modules_list.txt } exec { 7z.exe a .build/node_modules_cache/cache.7z -mx3 `@.build/node_modules_list.txt } condition: and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true')) displayName: Create node_modules archive"} {"_id":"q-en-vscode-03e97742a64c9088483106e3767fd6afa8adbbed1800674fb4f740b94a979314","text":"resolved \"https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f\" integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= xterm-addon-search@0.9.0-beta.21: version \"0.9.0-beta.21\" resolved \"https://registry.yarnpkg.com/xterm-addon-search/-/xterm-addon-search-0.9.0-beta.21.tgz#5348fe25676cdd89ce3be52ae62a316b6f266176\" integrity sha512-jh6kfRCpWRvZZkV9QghFYesSYHjybaLNEyYAD6uilZYfNHoGLa0zPgUkLOqoECL7K6rhBmSYOkKbc9MG4wNFMQ== xterm-addon-search@0.9.0-beta.22: version \"0.9.0-beta.22\" resolved \"https://registry.yarnpkg.com/xterm-addon-search/-/xterm-addon-search-0.9.0-beta.22.tgz#18f2eabda82709cdd64dee003879b586869e28a3\" integrity sha512-1I8W0bwjg6bUoNaESKHSkS9BN3Z9Xe44/zbUb6Un+pbb5Nun4LQvFwSLkAIdRrslxcbcHYIU/2Q7F1wCOWLbaA== xterm-addon-serialize@0.7.0-beta.12: version \"0.7.0-beta.12\""} {"_id":"q-en-vscode-03f6919c63c6d2c21fd9f386195406ea63a48d774fefebf8eb8b4f3b171b1e3f","text":"} } ensureFocusIntoNewEditingComment() { this._body.ensureFocusIntoNewEditingComment(); } focusCommentEditor() { this._commentReply?.expandReplyAreaAndFocusCommentEditor(); }"} {"_id":"q-en-vscode-04049ff03913c2cc66caec4f37fe6a8885962e16fd8796d2706371376cf50049","text":"* Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { ExtensionContext, OutputChannel, window, workspace, l10n } from 'vscode'; import { ExtensionContext, OutputChannel, window, workspace, l10n, env } from 'vscode'; import { startClient, LanguageClientConstructor, SchemaRequestService, languageServerDescription } from '../jsonClient'; import { ServerOptions, TransportKind, LanguageClientOptions, LanguageClient, BaseLanguageClient } from 'vscode-languageclient/node';"} {"_id":"q-en-vscode-0407c6a7cd57d14d637a08f4c35ad642712c0933316379b6e28b8ba69d67a1ad","text":"return; } commands.executeCommand('git.clone', cloneUri.toString(true)); commands.executeCommand('git.clone', cloneUri.toString(true), undefined, { ref: ref }); } dispose(): void {"} {"_id":"q-en-vscode-040bb3d3cc27ec11f75c3330ba190a5961bac1ee02df105e3e902ed98f0bb495","text":"accessibilityProvider: this.widgetAccessibilityProvider, horizontalScrolling: false, identityProvider: this.widgetIdentityProvider, multipleSelectionSupport: false, multipleSelectionSupport: true, selectionNavigation: true }, );"} {"_id":"q-en-vscode-040e612c3166540ce59cd9fad602f58d401e50b2753ca57b18a851f10f878a7c","text":"disableHint(): void { this._accessibleView?.disableHint(); } showAccessibleViewHelp(): void { this._accessibleView?.showAccessibleViewHelp(); } } class AccessibleViewNextAction extends Action2 {"} {"_id":"q-en-vscode-043534899a8f462438d810c9b33d6bd4947bdf791dfc64bce46bd4d7d2b35cae","text":"\"dev\": true }, \"node_modules/electron\": { \"version\": \"30.5.0\", \"resolved\": \"https://registry.npmjs.org/electron/-/electron-30.5.0.tgz\", \"integrity\": \"sha512-20c774PEsCFRzIgpZIaY6t/wTYxam0MfxQt5t+wG8aStHsl81FchUyLbDo4a59goqE7mHjLOdBDlxmZk88IgRw==\", \"version\": \"30.5.1\", \"resolved\": \"https://registry.npmjs.org/electron/-/electron-30.5.1.tgz\", \"integrity\": \"sha512-AhL7+mZ8Lg14iaNfoYTkXQ2qee8mmsQyllKdqxlpv/zrKgfxz6jNVtcRRbQtLxtF8yzcImWdfTQROpYiPumdbw==\", \"dev\": true, \"hasInstallScript\": true, \"license\": \"MIT\","} {"_id":"q-en-vscode-0467f695abdb8aabbbacbc7734e01a2471af00b15035f1176baf60874738663f","text":"const scrollTop = outputScrolling ? findScrolledHeight(outputElement) : undefined; // If the previous output item for the same cell was also a stream, append this output to the previous const existingContentParent = getPreviousMatchingContentGroup(outputElement); const existingContentParent = getPreviousMatchingContentGroup(outputElement) || outputElement.querySelector('div'); if (existingContentParent) { const existing = existingContentParent.querySelector(`[output-item-id=\"${outputInfo.id}\"]`) as HTMLElement | null; if (existing) {"} {"_id":"q-en-vscode-047b7af406d11f4db59b88d1811a2df2722ae8cb5d3d70b2e4b9f07ba6e948a0","text":"// We have a preserved ID. So the task didn't change. if (tTask._id !== undefined) { // Always get the task execution first to prevent timing issues when retrieving it later const executionDTO = await this._proxy.$getTaskExecution(TaskHandleDTO.from(tTask)); const handleDto = TaskHandleDTO.from(tTask); const executionDTO = await this._proxy.$getTaskExecution(handleDto); if (executionDTO.task === undefined) { throw new Error('Task from execution DTO is undefined'); } const execution = await this.getTaskExecution(executionDTO, task); this._proxy.$executeTask(executionDTO.task).catch(() => { /* The error here isn't actionable. */ }); this._proxy.$executeTask(handleDto).catch(() => { /* The error here isn't actionable. */ }); return execution; } else { const dto = TaskDTO.from(task, extension);"} {"_id":"q-en-vscode-04bb84d1df359962492ea5c1cdb84793860942d77834d7805cd714ecf01f4f8c","text":"})); } // this.getElement().classList.toggle('config', true); this._contextMenuService.showContextMenu({ getAnchor: () => e, getActions: () => actions,"} {"_id":"q-en-vscode-04cee68cce2c3ae96e003aa2c676b0acf5cb3d758893b665ad8b77655a562254","text":"} } /* Create new file from anywhere */ export class GlobalNewFileAction extends BaseGlobalNewAction { public static ID = 'workbench.action.files.newFile'; public static LABEL = nls.localize('newFile', \"New File\"); protected getAction(): IConstructorSignature2 { return NewFileAction; } } /* Create new folder from anywhere */ export class GlobalNewFolderAction extends BaseGlobalNewAction { public static ID = 'workbench.action.files.newFolder';"} {"_id":"q-en-vscode-0509cd0ef9a245aac05b1f2feffb1b09551a19ed0f0ac2c0e683b4bbcd7b14f6","text":"} }, { \"c\": \" \", \"t\": \"text.html.markdown markup.list.numbered.markdown\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \">\", \"t\": \"text.html.markdown markup.list.numbered.markdown markup.quote.markdown beginning.punctuation.definition.quote.markdown\", \"r\": { \"dark_plus\": \"beginning.punctuation.definition.quote.markdown: #608B4E\", \"light_plus\": \"beginning.punctuation.definition.quote.markdown: #0451A5\", \"dark_vs\": \"beginning.punctuation.definition.quote.markdown: #608B4E\", \"light_vs\": \"beginning.punctuation.definition.quote.markdown: #0451A5\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \" \", \"t\": \"text.html.markdown markup.list.numbered.markdown markup.quote.markdown\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \"Block quotes in list\", \"t\": \"text.html.markdown markup.list.numbered.markdown markup.quote.markdown meta.paragraph.markdown\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \"2.\", \"t\": \"text.html.markdown markup.list.numbered.markdown beginning.punctuation.definition.list.markdown\", \"r\": {"} {"_id":"q-en-vscode-0523754d53e3e6e7719dcbb2ef43f72afaf02017ea7d6734fa832ed46920c676","text":"if [ -z \"${RPROMPT-}\" ]; then RPROMPT=\"\" fi if [ -z \"${PREFIX-}\" ]; then PREFIX=\"\" fi fi __vsc_update_prompt() { __vsc_prior_prompt=\"$PS1\" __vsc_in_command_execution=\"\" PS1=\"%{$(__vsc_prompt_start)%}$PREFIX$PS1%{$(__vsc_prompt_end)%}\" PS1=\"%{$(__vsc_prompt_start)%}$PS1%{$(__vsc_prompt_end)%}\" PS2=\"%{$(__vsc_continuation_start)%}$PS2%{$(__vsc_continuation_end)%}\" if [ -n \"$RPROMPT\" ]; then __vsc_prior_rprompt=\"$RPROMPT\""} {"_id":"q-en-vscode-0565656525a8b1b92c1c6905b1cbe9129412fe6ff00e4f6ff6cab102601651eb","text":"} this._widget = >this._instantiationService.invokeFunction(this._notebookWidgetService.retrieveWidget, group, input); if (this._rootElement && this._widget.value!.getDomNode()) { this._rootElement.setAttribute('aria-flowto', this._widget.value!.getDomNode().id || ''); DOM.setParentFlowTo(this._widget.value!.getDomNode(), this._rootElement); } this._widgetDisposableStore.add(this._widget.value!.onDidChangeModel(() => this._onDidChangeModel.fire())); this._widgetDisposableStore.add(this._widget.value!.onDidChangeActiveCell(() => this._onDidChangeSelection.fire({ reason: EditorPaneSelectionChangeReason.USER })));"} {"_id":"q-en-vscode-0569e8a7464ec9823f35ea6d8bc8cfbf6fdd4848da90008a09a46913798f86ba","text":"readonly typeNavigationEnabled?: boolean; readonly typeNavigationMode?: TypeNavigationMode; readonly defaultFindMode?: TreeFindMode; readonly showNotFoundMessage?: boolean; readonly smoothScrolling?: boolean; readonly horizontalScrolling?: boolean; readonly mouseWheelScrollSensitivity?: number;"} {"_id":"q-en-vscode-057c0a30031285fc0127c7475959eccb440ba8205db805373e1a3b1cc79b4706","text":"const ctx = new HitTestContext(this._context, this._viewHelper, lastRenderData); const request = new HitTestRequest(ctx, editorPos, pos, relativePos, target); try { const r = MouseTargetFactory._createMouseTarget(ctx, request, false); const r = MouseTargetFactory._createMouseTarget(ctx, request); if (r.type === MouseTargetType.CONTENT_TEXT) { // Snap to the nearest soft tab boundary if atomic soft tabs are enabled."} {"_id":"q-en-vscode-05a583908c04e5e0e1cdd58388c34547a7b1cb377d4209d488544be30a6fe6c1","text":"} } const lineBreakRe = /r?ns*/; const lineBreakRe = /r?ns*/g; class TestMessageDecoration implements ITestDecoration { public static readonly inlineClassName = 'test-message-inline-content';"} {"_id":"q-en-vscode-05be8fbb06bbebe325ecbdf0be1d257989b7d30926cdb2a08eb1d96eeb8e51b8","text":"return { enabled: boolean(input.enabled, this.defaultValue.enabled), delay: EditorIntOption.clampedInt(input.delay, this.defaultValue.delay, 0, 10000), sticky: boolean(input.sticky, this.defaultValue.sticky) sticky: boolean(input.sticky, this.defaultValue.sticky), below: boolean(input.below, this.defaultValue.below), }; } }"} {"_id":"q-en-vscode-05f4830de72678637987153dd269befcddc0f6591384c0b996a03bb55145ae1b","text":"command += ' '; } for (const a of args) { command += `${quote(a)} `; command += (a === '<' || a === '>') ? a : quote(a); command += ' '; } break; }"} {"_id":"q-en-vscode-061d37583cabcbaf1bba38b38c0033c79b76c5e599de092f7f148d05bfc28c9d","text":"@IContextKeyService contextKeyService: IContextKeyService, @ILanguageService private readonly languageService: ILanguageService, @IModelService private readonly modelService: IModelService, @IConfigurationService private readonly _configurationService: IConfigurationService @IConfigurationService private readonly _configurationService: IConfigurationService, @IAccessibilityService private readonly _accessibilityService: IAccessibilityService ) { super(); this.element = $('.interactive-result-editor-wrapper'); this.contextKeyService = this._register(contextKeyService.createScoped(this.element)); const scopedInstantiationService = instantiationService.createChild(new ServiceCollection([IContextKeyService, this.contextKeyService])); this.toolbar = this._register(scopedInstantiationService.createInstance(MenuWorkbenchToolBar, this.element, MenuId.ChatCodeBlock, {"} {"_id":"q-en-vscode-0624fd34436bfb12e7322d9d98b2d724703b35f51ed7fd04ae12dcc48d783260","text":"private start(): void { this.textModelResolverService.registerTextModelContentProvider('vscode', { provideTextContent: (uri: URI): Promise | null => { provideTextContent: async (uri: URI): Promise => { if (uri.scheme !== 'vscode') { return null; } if (uri.authority === 'schemas') { const schemaModel = this.getSchemaModel(uri); if (schemaModel) { return Promise.resolve(schemaModel); } return this.getSchemaModel(uri); } return Promise.resolve(this.preferencesService.resolveModel(uri)); return this.preferencesService.resolveModel(uri); } }); } private getSchemaModel(uri: URI): ITextModel | null { let schema = schemaRegistry.getSchemaContributions().schemas[uri.toString()]; if (schema) { const modelContent = JSON.stringify(schema); const languageSelection = this.languageService.createById('jsonc'); const model = this.modelService.createModel(modelContent, languageSelection, uri); const disposables = new DisposableStore(); disposables.add(schemaRegistry.onDidChangeSchema(schemaUri => { if (schemaUri === uri.toString()) { schema = schemaRegistry.getSchemaContributions().schemas[uri.toString()]; model.setValue(JSON.stringify(schema)); } })); disposables.add(model.onWillDispose(() => disposables.dispose())); return model; } return null; private getSchemaModel(uri: URI): ITextModel { let schema = schemaRegistry.getSchemaContributions().schemas[uri.toString()] ?? {} /* Use empty schema if not yet registered */; const modelContent = JSON.stringify(schema); const languageSelection = this.languageService.createById('jsonc'); const model = this.modelService.createModel(modelContent, languageSelection, uri); const disposables = new DisposableStore(); disposables.add(schemaRegistry.onDidChangeSchema(schemaUri => { if (schemaUri === uri.toString()) { schema = schemaRegistry.getSchemaContributions().schemas[uri.toString()]; model.setValue(JSON.stringify(schema)); } })); disposables.add(model.onWillDispose(() => disposables.dispose())); return model; } dispose(): void {"} {"_id":"q-en-vscode-06489750a7aea2bb58399118610b6f2821f30bb050f69ccdb32e7bd61aae731c","text":"} if (runSource === TaskRunSource.User) { const workspaceTasks = await this.getWorkspaceTasks(); RunAutomaticTasks.promptForPermission(this, this._storageService, this._notificationService, this._workspaceTrustManagementService, this._openerService, this._configurationService, workspaceTasks); RunAutomaticTasks.runWithPermission(this, this._storageService, this._notificationService, this._workspaceTrustManagementService, this._openerService, this._configurationService, workspaceTasks); } return executeTaskResult; } catch (error) {"} {"_id":"q-en-vscode-06d54636194d30e3a89f636b881d327d923b777b8c95d5ffea277828892acf5d","text":"this._hoverSettings = { enabled: hoverOpts.enabled, sticky: hoverOpts.sticky, hidingDelay: hoverOpts.delay hidingDelay: hoverOpts.hidingDelay }; if (hoverOpts.enabled) {"} {"_id":"q-en-vscode-06da9d39ce4d5d56d3bee29cad5ebbd6f234625e9ebd24195138714547dc843b","text":"} function substituteWithWhitespace(result: string, start: number, end: number, oldContent: string, before: string, after: string) { let accumulatedWS = 0; result += before; for (let i = start + before.length; i < end; i++) { let accumulatedWS = -before.length; // start with a negative value to account for the before string for (let i = start; i < end; i++) { const ch = oldContent[i]; if (ch === 'n' || ch === 'r') { // only write new lines, skip the whitespace"} {"_id":"q-en-vscode-074aac15b8cf2b50d69507b59710f7cc730a52c0e2dec6e4657a73bfee54c422","text":"import { Disposable } from 'vs/base/common/lifecycle'; import { ILogger, ILoggerService, LogLevelToString } from 'vs/platform/log/common/log'; import { dirname, join } from 'vs/base/common/path'; import { ChildProcess, spawn } from 'child_process'; import { ChildProcess, StdioOptions, spawn } from 'child_process'; import { IProductService } from 'vs/platform/product/common/productService'; import { isMacintosh, isWindows } from 'vs/base/common/platform'; import { CancelablePromise, createCancelablePromise, Delayer } from 'vs/base/common/async';"} {"_id":"q-en-vscode-078b02d9bae980a92cfa5b1bf91582728386e85c24304fa913493a1764ffe3d9","text":"primary: KeyCode.Escape, secondary: [KeyMod.Shift | KeyCode.Escape] } })); class ToggleScreenReaderMode extends Action2 { constructor() { super({ id: 'editor.action.toggleScreenReaderAccessibilityMode', title: { value: nls.localize('toggleScreenReaderMode', \"Toggle Screen Reader Accessibility Mode\"), original: 'Toggle Screen Reader Accessibility Mode' }, f1: true, }); } async run(accessor: ServicesAccessor): Promise { const configurationService = accessor.get(IConfigurationService); const value = configurationService.getValue('editor.accessibilitySupport'); configurationService.updateValue('editor.accessibilitySupport', value === 'on' ? 'off' : 'on'); } } registerAction2(ToggleScreenReaderMode); "} {"_id":"q-en-vscode-07976f8dc5c416dab9bfc6b59a4367be12217578816b603a2aa5a1b75ae847f8","text":"getId() { return languageId; }, doValidation(document: TextDocument): Diagnostic[] { doValidation(document: TextDocument, settings = workspace.settings): Diagnostic[] { updateCurrentTextDocument(document); host.getCompilationSettings()['experimentalDecorators'] = settings && settings.javascript && settings.javascript.implicitProjectConfig.experimentalDecorators; const syntaxDiagnostics: ts.Diagnostic[] = jsLanguageService.getSyntacticDiagnostics(workingFile); const semanticDiagnostics = jsLanguageService.getSemanticDiagnostics(workingFile); return syntaxDiagnostics.concat(semanticDiagnostics).map((diag: ts.Diagnostic): Diagnostic => {"} {"_id":"q-en-vscode-083494470993cb69eefb31efb3bcb3490c5d3c5004b1a9dbb42a9b53dbd01b31","text":"// Create and show quick pick const pick = this._quickInputService.createQuickPick({ useSeparators: true }); const disposables = new DisposableStore(); disposables.add(pick); pick.items = picks; pick.placeholder = localize('terminal.integrated.openDetectedLink', \"Select the link to open, type to filter all links\"); pick.sortByLabel = false;"} {"_id":"q-en-vscode-08567cdd0a2b7c07cd62383becfb1f4c95cd0ae97c361f7f2d48b125606195d7","text":"description: 'content-hover-highlight', className: 'hoverHighlight' }); public static computeHoverRanges(anchorRange: Range, messages: IHoverPart[]) { // The anchor range is always on a single line const anchorLineNumber = anchorRange.startLineNumber; let renderStartColumn = anchorRange.startColumn; let renderEndColumn = anchorRange.endColumn; let highlightRange: Range = messages[0].range; let forceShowAtRange: Range | null = null; for (const msg of messages) { highlightRange = Range.plusRange(highlightRange, msg.range); if (msg.range.startLineNumber === anchorLineNumber && msg.range.endLineNumber === anchorLineNumber) { // this message has a range that is completely sitting on the line of the anchor renderStartColumn = Math.min(renderStartColumn, msg.range.startColumn); renderEndColumn = Math.max(renderEndColumn, msg.range.endColumn); } if (msg.forceShowAtRange) { forceShowAtRange = msg.range; } } return { showAtPosition: forceShowAtRange ? forceShowAtRange.getStartPosition() : new Position(anchorRange.startLineNumber, renderStartColumn), showAtRange: forceShowAtRange ? forceShowAtRange : new Range(anchorLineNumber, renderStartColumn, anchorLineNumber, renderEndColumn), highlightRange }; } } class ContentHoverVisibleData {"} {"_id":"q-en-vscode-0856afc225236469afc35590ea041962baf79c28d2f70a4e3546005a671ea3ec","text":"const reloadAction = this.instantiationService.createInstance(ReloadAction); const actions = [ this.instantiationService.createInstance(ExtensionStatusLabelAction), this.instantiationService.createInstance(MigrateDeprecatedExtension, true), this.instantiationService.createInstance(UpdateAction), reloadAction, this.instantiationService.createInstance(InstallDropdownAction),"} {"_id":"q-en-vscode-08b8879a0e39d99fa4d8ab71cc0afda80ed29ea69c8280e461b8877108d8f6f6","text":"import { EditorPaneDescriptor, IEditorPaneRegistry } from 'vs/workbench/browser/editor'; import { Extensions as WorkbenchExtensions, IWorkbenchContributionsRegistry } from 'vs/workbench/common/contributions'; import { EditorExtensions, IEditorFactoryRegistry } from 'vs/workbench/common/editor'; import { CompareInput1WithBaseCommand, CompareInput2WithBaseCommand, GoToNextConflict, GoToPreviousConflict, OpenBaseFile, OpenMergeEditor, SetColumnLayout, SetMixedLayout, ToggleActiveConflictInput1, ToggleActiveConflictInput2 } from 'vs/workbench/contrib/mergeEditor/browser/commands/commands'; import { CompareInput1WithBaseCommand, CompareInput2WithBaseCommand, GoToNextConflict, GoToPreviousConflict, OpenBaseFile, OpenMergeEditor, OpenResultResource, SetColumnLayout, SetMixedLayout, ToggleActiveConflictInput1, ToggleActiveConflictInput2 } from 'vs/workbench/contrib/mergeEditor/browser/commands/commands'; import { MergeEditorCopyContentsToJSON, MergeEditorOpenContents } from 'vs/workbench/contrib/mergeEditor/browser/commands/devCommands'; import { MergeEditorInput } from 'vs/workbench/contrib/mergeEditor/browser/mergeEditorInput'; import { MergeEditor, MergeEditorOpenHandlerContribution } from 'vs/workbench/contrib/mergeEditor/browser/view/mergeEditor';"} {"_id":"q-en-vscode-08bc1e9ecb1f80fa92731ef6455211090ffce37b643a519d82c8370b7f8712e9","text":"this._element.classList.add('monaco-text-button-with-short-label'); } if (typeof options.ariaLabel === 'string') { this._element.setAttribute('aria-label', options.ariaLabel); } container.appendChild(this._element); this._register(Gesture.addTarget(this._element));"} {"_id":"q-en-vscode-090b0f48253a93edf508928f0b6114fed4fc0208f579866465c528c8b85c4bbb","text":"private onConfigurationChange(config: IConfiguration, notify: boolean): void { let changed = false; function processChanged(didChange: boolean) { changed = changed || didChange; } if (isNative) { // Titlebar style if (typeof config.window?.titleBarStyle === 'string' && config.window?.titleBarStyle !== this.titleBarStyle && (config.window.titleBarStyle === 'native' || config.window.titleBarStyle === 'custom')) { this.titleBarStyle = config.window.titleBarStyle; changed = true; } processChanged((config.window.titleBarStyle === 'native' || config.window.titleBarStyle === 'custom') && this.titleBarStyle.handleChange(config.window?.titleBarStyle)); // Windows: Window Controls Overlay if (isWindows && typeof config.window?.experimental?.windowControlsOverlay?.enabled === 'boolean' && config.window.experimental.windowControlsOverlay.enabled !== this.windowControlsOverlayEnabled) { this.windowControlsOverlayEnabled = config.window.experimental.windowControlsOverlay.enabled; changed = true; } processChanged(isWindows && this.windowControlsOverlayEnabled.handleChange(config.window?.experimental?.windowControlsOverlay?.enabled)); // Windows: Sandbox if (typeof config.window?.experimental?.useSandbox === 'boolean' && config.window.experimental.useSandbox !== this.windowSandboxEnabled) { this.windowSandboxEnabled = config.window.experimental.useSandbox; changed = true; } processChanged(this.windowSandboxEnabled.handleChange(config.window?.experimental?.useSandbox)); // macOS: Native tabs if (isMacintosh && typeof config.window?.nativeTabs === 'boolean' && config.window.nativeTabs !== this.nativeTabs) { this.nativeTabs = config.window.nativeTabs; changed = true; } processChanged(isMacintosh && this.nativeTabs.handleChange(config.window?.nativeTabs)); // macOS: Native fullscreen if (isMacintosh && typeof config.window?.nativeFullScreen === 'boolean' && config.window.nativeFullScreen !== this.nativeFullScreen) { this.nativeFullScreen = config.window.nativeFullScreen; changed = true; } processChanged(isMacintosh && this.nativeFullScreen.handleChange(config.window?.nativeFullScreen)); // macOS: Click through (accept first mouse) if (isMacintosh && typeof config.window?.clickThroughInactive === 'boolean' && config.window.clickThroughInactive !== this.clickThroughInactive) { this.clickThroughInactive = config.window.clickThroughInactive; changed = true; } processChanged(isMacintosh && this.clickThroughInactive.handleChange(config.window?.clickThroughInactive)); // Update channel if (typeof config.update?.mode === 'string' && config.update.mode !== this.updateMode) { this.updateMode = config.update.mode; changed = true; } processChanged(this.updateMode.handleChange(config.update?.mode)); // On linux turning on accessibility support will also pass this flag to the chrome renderer, thus a restart is required if (isLinux && typeof config.editor?.accessibilitySupport === 'string' && config.editor.accessibilitySupport !== this.accessibilitySupport) {"} {"_id":"q-en-vscode-092b7c9087a85811a9b524556026b6c8c0ae7d1836f85a2ed0a9583157fe7389","text":"\"cssnano\": \"^4.1.11\", \"debounce\": \"^1.0.0\", \"deemon\": \"^1.8.0\", \"electron\": \"25.8.4\", \"electron\": \"25.9.1\", \"eslint\": \"8.36.0\", \"eslint-plugin-header\": \"3.1.1\", \"eslint-plugin-jsdoc\": \"^46.5.0\","} {"_id":"q-en-vscode-09bbcdfc2fe4c29713bef44d5d70ea29ab608543caf1518346de4a39c4a4c53d","text":"this.resolve().catch(onUnexpectedError); } }); this._register(extensionService.onWillStop(e => { if (!this.isDirty()) { return; } e.veto((async () => { const editors = editorService.findEditors(this); if (editors.length > 0) { const result = await editorService.save(editors[0]); if (result.success) { return false; // Don't Veto } } return true; // Veto })(), localize('vetoExtHostRestart', \"Notebook '{0}' could not be saved.\", this.resource.path)); })); } override dispose() {"} {"_id":"q-en-vscode-0a2e056e58030b0a815bc79d107fab72669d75428786fba7f1e8c5215fbeccef","text":"default: true, markdownDescription: nls.localize('editor.suggest.showConstructors', \"When enabled IntelliSense shows `constructor`-suggestions.\") }, 'editor.suggest.showDeprecated': { type: 'boolean', default: true, markdownDescription: nls.localize('editor.suggest.showDeprecated', \"When enabled IntelliSense shows `deprecated`-suggestions.\") }, 'editor.suggest.showFields': { type: 'boolean', default: true,"} {"_id":"q-en-vscode-0a53f0a477f262d8538baf763bbf6fe6a12472985e55a332d070b123cf8a14f0","text":"*--------------------------------------------------------------------------------------------*/ import 'vs/css!./editorDictation'; import { localize2 } from 'vs/nls'; import { IDimension, h, reset } from 'vs/base/browser/dom'; import { localize, localize2 } from 'vs/nls'; import { IDimension } from 'vs/base/browser/dom'; import { CancellationTokenSource } from 'vs/base/common/cancellation'; import { Disposable, DisposableStore, MutableDisposable, toDisposable } from 'vs/base/common/lifecycle'; import { ContentWidgetPositionPreference, ICodeEditor, IContentWidget, IContentWidgetPosition } from 'vs/editor/browser/editorBrowser'; import { IEditorContribution } from 'vs/editor/common/editorCommon'; import { ContextKeyExpr, IContextKeyService, RawContextKey } from 'vs/platform/contextkey/common/contextkey'; import { HasSpeechProvider, ISpeechService, SpeechToTextStatus } from 'vs/workbench/contrib/speech/common/speechService'; import { renderIcon } from 'vs/base/browser/ui/iconLabel/iconLabels'; import { Codicon } from 'vs/base/common/codicons'; import { EditorOption } from 'vs/editor/common/config/editorOptions'; import { EditorAction2, EditorContributionInstantiation, registerEditorContribution } from 'vs/editor/browser/editorExtensions';"} {"_id":"q-en-vscode-0a5433017564d31f20252b4da332446cd31e326a70d3de9103861e6d2e2fe696","text":"private _bufferTracker: BufferContentTracker | undefined; private _bufferProvider: TerminalAccessibleBufferProvider | undefined; private _xterm: Pick & { raw: Terminal } | undefined; private _onCommandExecutedShowListener: MutableDisposable = new MutableDisposable(); constructor( private readonly _instance: ITerminalInstance, processManager: ITerminalProcessManager,"} {"_id":"q-en-vscode-0a646fbe4f3969fc8d5de087c91425454ac04d66196efe398c818ad4bef93a1d","text":"showCommonFindToggles?: boolean; checkImeCompletionState?: boolean; showResultCount?: boolean; appendCaseSensitiveLabel?: string; appendRegexLabel?: string; appendWholeWordsLabel?: string; appendCaseSensitiveActionId?: string; appendRegexActionId?: string; appendWholeWordsActionId?: string; previousMatchActionId?: string; nextMatchActionId?: string; closeWidgetActionId?: string; matchesLimit?: number; type?: 'Terminal' | 'Webview'; }"} {"_id":"q-en-vscode-0a89f28963d4663ffa7c6410082cea9be8bad7c120e57c5900e077b1ab0b57b0","text":"} : undefined, getRole: options.ariaProvider && options.ariaProvider.getRole ? (node) => { return options.ariaProvider!.getRole!(node.element); } : undefined } : () => 'treeitem' } }; }"} {"_id":"q-en-vscode-0ab2aba61981a347fc68528cd0672479d0c7aad9dadaa4b890cbea592345c320","text":"builtin unset VSCODE_INJECTION fi # Disable shell integration if PROMPT_COMMAND is 2+ function calls since that is not handled. if [[ \"$PROMPT_COMMAND\" =~ .*(' '.*;)|(;.*' ').* ]]; then builtin unset VSCODE_SHELL_INTEGRATION builtin return fi if [ -z \"$VSCODE_SHELL_INTEGRATION\" ]; then builtin return fi"} {"_id":"q-en-vscode-0b3a3b0f311dfbfd29200283c84615d1d6e4fa964671124e2375f969bf9bafc4","text":"} break; case 'on': text += 'nn - ' + nls.localize('configuredOn', \"The editor is configured to be permanently optimized for usage with a Screen Reader - you can change this by editing the setting `editor.accessibilitySupport`.\"); text += 'nn - ' + nls.localize('configuredOn', \"The editor is configured to be permanently optimized for usage with a Screen Reader - you can change this via the command `Toggle Screen Reader Accessibility Mode` or by editing the setting `editor.accessibilitySupport`\"); break; case 'off': text += 'nn - ' + nls.localize('configuredOff', \"The editor is configured to never be optimized for usage with a Screen Reader.\");"} {"_id":"q-en-vscode-0b6e98d749c08ce5f1db0050545bd6b8db4e73ad46bda6ca5b12e43fe3eff591","text":"this.historyMainService.updateWindowsJumpList(); this.historyMainService.onRecentlyOpenedChange(() => this.historyMainService.updateWindowsJumpList()); // Start shared process here this.sharedProcess.spawn(); // Start shared process after a while TPromise.timeout(3000).then(() => this.sharedProcess.spawn()); } private dispose(): void {"} {"_id":"q-en-vscode-0b8ed66f800178c7fc073d2a95fa063764b6fc09cf341abfd4f28ac3d657afeb","text":"} .settings-editor > .settings-header > .settings-header-controls .settings-tabs-widget .action-label.checked { font-weight: 500; opacity: 1; }"} {"_id":"q-en-vscode-0ba3e32a2bb9ecc7f78c4e44feed0eb555d03efead493a8938181e0f3f7ebf4d","text":"#\tfi #fi # Update mimetype database to pickup workspace mimetype update-mime-database /usr/share/mime &> /dev/null || : %postun if [ $1 = 0 ]; then rm -f /usr/bin/@@NAME@@ fi # Update mimetype database for removed workspace mimetype update-mime-database /usr/share/mime &> /dev/null || : %files %defattr(-,root,root) /usr/share/@@NAME@@/ /usr/share/applications/@@NAME@@.desktop /usr/share/applications/@@NAME@@-url-handler.desktop /usr/share/mime/packages/@@NAME-workspace.xml /usr/share/pixmaps/@@ICON@@.png /usr/share/bash-completion/completions/@@NAME@@ /usr/share/zsh/site-functions/_@@NAME@@"} {"_id":"q-en-vscode-0bed89420f2c99e0130f7ad4ecd16a53beb6710f433db92d16b5be6ea41bfb32","text":"return; } // Hide sticky scroll if the prompt has been trimmed from the buffer if (command.promptStartMarker?.line === -1) { this._setVisible(false); return; } // Determine sticky scroll line count const buffer = xterm.buffer.active; const promptRowCount = command.getPromptRowCount();"} {"_id":"q-en-vscode-0c1c8453b21fc38ee51124b844bc40866c4cc60410680930fdd179e17818b63b","text":".quick-input-list .monaco-list { overflow: hidden; max-height: calc(20 * 22px); padding-bottom: 5px; } .quick-input-list .monaco-scrollable-element {"} {"_id":"q-en-vscode-0c5ce799d406c470acb5d010df6d3ff1a089faf994dcda88e0c631a2d1acbb1b","text":"{ \"name\": \"code-oss-dev\", \"version\": \"1.84.0\", \"distro\": \"ace645d011b7e53ba51e8d5ff153c47e3773b3d8\", \"distro\": \"0f218422a902175f8b82cbf0f13fa4feb278f22a\", \"author\": { \"name\": \"Microsoft Corporation\" },"} {"_id":"q-en-vscode-0c8b3f3133f0a50ee266dca54e9f79e4eabebc0c9378b99caee89a4cc6a9eef8","text":"import { URI } from 'vs/base/common/uri'; import { IInstantiationService } from 'vs/platform/instantiation/common/instantiation'; import { ILogService } from 'vs/platform/log/common/log'; import { VSBuffer } from 'vs/base/common/buffer'; import { decodeBase64, VSBuffer } from 'vs/base/common/buffer'; import { ResourceFileEdit } from 'vs/editor/browser/services/bulkEditService'; import { CancellationToken } from 'vs/base/common/cancellation'; import { tail } from 'vs/base/common/arrays';"} {"_id":"q-en-vscode-0c91216966cc3e0ffa8a305645bfc0caa28083b173a4b2b382d64f8f5c14de03","text":"@ITaskService private readonly _taskService: ITaskService, @IConfigurationService private readonly _configurationService: IConfigurationService, @IWorkspaceTrustManagementService private readonly _workspaceTrustManagementService: IWorkspaceTrustManagementService, @ILogService private readonly _logService: ILogService) { @ILogService private readonly _logService: ILogService, @IStorageService private readonly _storageService: IStorageService, @IOpenerService private readonly _openerService: IOpenerService, @INotificationService private readonly _notificationService: INotificationService) { super(); this._tryRunTasks(); }"} {"_id":"q-en-vscode-0cca3b5f9f49626e0d78971b4f24e1ddaa555a6498c86326bfb914a86d86855e","text":"border: none !important; } .monaco-workbench .part > .title > .title-actions .switch-output > .monaco-select-box { .monaco-workbench .part.sidebar > .title > .title-actions .switch-output > .monaco-select-box { padding: 0 22px 0 6px; }"} {"_id":"q-en-vscode-0d6fdc54200a3812a1bf3e723030c532cf08218b00fc83bcde38739367e3056b","text":"\"source-map\": \"^0.4.4\", \"style-loader\": \"^1.0.0\", \"ts-loader\": \"^4.4.2\", \"tsec\": \"googleinterns/tsec\", \"typescript\": \"^4.1.0-dev.20200824\", \"typescript-formatter\": \"7.1.0\", \"underscore\": \"^1.8.2\","} {"_id":"q-en-vscode-0d960e7d2634b79e0fcb97acc495c4e65025fa05fbf2da178faa8ed33b21a784","text":"display: table-row; opacity: .8; cursor: default; color: var(--vscode-editorWatermark-foreground); } .monaco-workbench .part.editor > .content .editor-group-container > .editor-group-watermark > .shortcuts dt {"} {"_id":"q-en-vscode-0da9f519e2135194edbfd9ab6517693e01e12661232bf6d3c0ff57a71af0f6e4","text":"}, \"plugins\": [ \"@typescript-eslint\", \"jsdoc\" \"jsdoc\", \"header\" ], \"rules\": { \"constructor-super\": \"warn\","} {"_id":"q-en-vscode-0dcb07285cc34f2c56f8311163f6021f5965a13f14fbb23c6c7c0a324ad4248a","text":"return ''; } shouldValidateName(): boolean { return true; } save(): void { this.saveScheduler.schedule(); }"} {"_id":"q-en-vscode-0e01a58d4acc814ff662c3228420be144cb4d72e24bc74b05cc2033e19c18ec1","text":"assert.strictEqual(second.completion.label, '<- groups'); }); test('Completion item sorting broken when using label details #153026', function () { const itemZZZ = createSuggestItem({ label: 'ZZZ' }, 0, languages.CompletionItemKind.Operator, false); const itemAAA = createSuggestItem({ label: 'AAA' }, 0, languages.CompletionItemKind.Operator, false); const itemIII = createSuggestItem('III', 0, languages.CompletionItemKind.Operator, false); const cmp = getSuggestionComparator(SnippetSortOrder.Inline); const actual = [itemZZZ, itemAAA, itemIII].sort(cmp); assert.deepStrictEqual(actual, [itemAAA, itemIII, itemZZZ]); }); test('Score only filtered items when typing more, score all when typing less', function () { model = new CompletionModel([ createSuggestItem('console', 0),"} {"_id":"q-en-vscode-0e29f36735e0b1acccfcbabce24c790b01e1135eccb26d4a377b7d5b3fb9f2a3","text":"// User data let userDataProvider; if (indexedDB) { userDataProvider = new IndexedDBFileSystemProvider(logsPath.scheme, indexedDB, userDataStore, false); userDataProvider = new IndexedDBFileSystemProvider(Schemas.vscodeUserData, indexedDB, userDataStore, true); this.registerDeveloperActions(userDataProvider); } else { logService.info('Using in-memory user data provider');"} {"_id":"q-en-vscode-0e39c4b616d61f9ac60610b6e8f429933f94ebcf46db10ec94197612ddbe1201","text":"data.disposables = []; data.root = container; data.optionText = dom.append(container, $('.option-text')); data.optionDescriptionText = dom.append(container, $('.option-text-description')); return data; }"} {"_id":"q-en-vscode-0e84566702bb79931360f12810130018d1a16a81e9323fe96e42d6f63d53d457","text":"builtin return fi # Disable shell integration if HISTCONTROL is set to erase duplicate entries as the exit code # reporting relies on the duplicates existing if [[ \"$HISTCONTROL\" =~ .*erasedups.* ]]; then builtin unset VSCODE_SHELL_INTEGRATION builtin return fi if [ -z \"$VSCODE_SHELL_INTEGRATION\" ]; then builtin return fi"} {"_id":"q-en-vscode-0f7744111ec32ac745200d0e49c4d3b8ac69f99a2c77780830ec24d6d8eb67aa","text":"import { ExtHostDocuments } from 'vs/workbench/api/common/extHostDocuments'; import * as extHostTypeConverter from 'vs/workbench/api/common/extHostTypeConverters'; import * as types from 'vs/workbench/api/common/extHostTypes'; import { checkProposedApiEnabled } from 'vs/workbench/services/extensions/common/extensions'; import type * as vscode from 'vscode'; import { ExtHostCommentsShape, IMainContext, MainContext, CommentThreadChanges, CommentChanges } from './extHost.protocol'; import { ExtHostCommands } from './extHostCommands';"} {"_id":"q-en-vscode-0fe943846469b6cf76035347bea508fc3ef9cd9ca37a41be11c753ac3fa4171b","text":"assertLink( '(see http://foo.bar)', ' http://foo.bar ' ' http://foo.bar ' ); assertLink( '[see http://foo.bar]', ' http://foo.bar ' ' http://foo.bar ' ); assertLink( '{see http://foo.bar}', ' http://foo.bar ' ' http://foo.bar ' ); assertLink( '', ' http://foo.bar ' ' http://foo.bar ' ); assertLink( 'http://mylink.com',"} {"_id":"q-en-vscode-106f2d46fa9734be69d45eb3e549ac58f07b6a75f724b40cbafa43c5e40c9fae","text":"import { KeybindingWeight } from 'vs/platform/keybinding/common/keybindingsRegistry'; import { ILogService } from 'vs/platform/log/common/log'; import { SnippetSession } from './snippetSession'; import { EditorState, CodeEditorStateFlag } from 'vs/editor/browser/core/editorState'; export class SnippetController2 implements IEditorContribution {"} {"_id":"q-en-vscode-10e0480149c44ffaa5ac8bbeeec664a9032f230620957ddfc1b9add419651677","text":"dependencies: lru-cache \"^6.0.0\" vscode-jsonrpc@8.0.1: version \"8.0.1\" resolved \"https://registry.yarnpkg.com/vscode-jsonrpc/-/vscode-jsonrpc-8.0.1.tgz#f30b0625ebafa0fb3bc53e934ca47b706445e57e\" integrity sha512-N/WKvghIajmEvXpatSzvTvOIz61ZSmOSa4BRA4pTLi+1+jozquQKP/MkaylP9iB68k73Oua1feLQvH3xQuigiQ== vscode-jsonrpc@8.0.2-next.1: version \"8.0.2-next.1\" resolved \"https://registry.yarnpkg.com/vscode-jsonrpc/-/vscode-jsonrpc-8.0.2-next.1.tgz#6bdc39fd194782032e34047eeefce562941259c6\" integrity sha512-sbbvGSWja7NVBLHPGawtgezc8DHYJaP4qfr/AaJiyDapWcSFtHyPtm18+LnYMLTmB7bhOUW/lf5PeeuLpP6bKA== vscode-languageclient@^8.0.1: version \"8.0.1\" resolved \"https://registry.yarnpkg.com/vscode-languageclient/-/vscode-languageclient-8.0.1.tgz#bf5535c4463a78daeaca0bcb4f5868aec86bb301\" integrity sha512-9XoE+HJfaWvu7Y75H3VmLo5WLCtsbxEgEhrLPqwt7eyoR49lUIyyrjb98Yfa50JCMqF2cePJAEVI6oe2o1sIhw== vscode-languageclient@^8.0.2-next.4: version \"8.0.2-next.4\" resolved \"https://registry.yarnpkg.com/vscode-languageclient/-/vscode-languageclient-8.0.2-next.4.tgz#87dd364ffbd4356aff3af14e7b557d9fe34d2b67\" integrity sha512-j9BEiCYMN9IoKwYdk9iickV6WNPVGPoVO11SMdoxFnWPIT3y5UAe3qf/WsfA9OdklAIaxxYasfgyKCpBjSPNuw== dependencies: minimatch \"^3.0.4\" semver \"^7.3.5\" vscode-languageserver-protocol \"3.17.1\" vscode-languageserver-protocol \"3.17.2-next.5\" vscode-languageserver-protocol@3.17.1: version \"3.17.1\" resolved \"https://registry.yarnpkg.com/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.1.tgz#e801762c304f740208b6c804a0cf21f2c87509ed\" integrity sha512-BNlAYgQoYwlSgDLJhSG+DeA8G1JyECqRzM2YO6tMmMji3Ad9Mw6AW7vnZMti90qlAKb0LqAlJfSVGEdqMMNzKg== vscode-languageserver-protocol@3.17.2-next.5: version \"3.17.2-next.5\" resolved \"https://registry.yarnpkg.com/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.2-next.5.tgz#9bc747411c3ce9e1d73c2714bf6555e0199eec26\" integrity sha512-UlH+QL4Q4lX94of/UPDDwwWIkd8w7dtMW4khzvEDUoykiG9tba0iG6V0bAiv8XVpnBIUYjL2FNFiL3zl+TY1Sw== dependencies: vscode-jsonrpc \"8.0.1\" vscode-languageserver-types \"3.17.1\" vscode-jsonrpc \"8.0.2-next.1\" vscode-languageserver-types \"3.17.2-next.2\" vscode-languageserver-types@3.17.1: version \"3.17.1\" resolved \"https://registry.yarnpkg.com/vscode-languageserver-types/-/vscode-languageserver-types-3.17.1.tgz#c2d87fa7784f8cac389deb3ff1e2d9a7bef07e16\" integrity sha512-K3HqVRPElLZVVPtMeKlsyL9aK0GxGQpvtAUTfX4k7+iJ4mc1M+JM+zQwkgGy2LzY0f0IAafe8MKqIkJrxfGGjQ== vscode-languageserver-types@3.17.2-next.2: version \"3.17.2-next.2\" resolved \"https://registry.yarnpkg.com/vscode-languageserver-types/-/vscode-languageserver-types-3.17.2-next.2.tgz#af5d6978eee7682aab87c1419323f5b141ac6596\" integrity sha512-TiAkLABgqkVWdAlC3XlOfdhdjIAdVU4YntPUm9kKGbXr+MGwpVnKz2KZMNBcvG0CFx8Hi8qliL0iq+ndPB720w== vscode-nls@^5.0.0: version \"5.0.0\""} {"_id":"q-en-vscode-10e61334f47c316936c289d65970c930742b625736de003d6791350e3ff1e47d","text":"// Filename not allowed this.filePickBox.validationMessage = nls.localize('remoteFileDialog.validateBadFilename', 'Please enter a valid file name.'); return Promise.resolve(false); } else if (!statDirname || !statDirname.isDirectory) { } else if (!statDirname) { // Folder to save in doesn't exist const message = nls.localize('remoteFileDialog.validateCreateDirectory', 'The folder {0} does not exist. Would you like to create it?', resources.basename(resources.dirname(uri))); return this.yesNoPrompt(uri, message); } else if (!statDirname.isDirectory) { this.filePickBox.validationMessage = nls.localize('remoteFileDialog.validateNonexistentDir', 'Please enter a path that exists.'); return Promise.resolve(false); }"} {"_id":"q-en-vscode-113323af08451a5e4718965aeaff9436644c365514f83450b08be592bf22ab74","text":"// Filtered \"new extensions\" button if (element instanceof SettingsTreeNewExtensionsElement) { if ((this.viewState.tagFilters && this.viewState.tagFilters.size) || this.viewState.filterToCategory) { if (this.viewState.tagFilters?.size || this.viewState.filterToCategory) { return false; } }"} {"_id":"q-en-vscode-11674d5522b4fbcc11a521b5ed97db31171aa7a09ea660b31b4081d12f3a7c0d","text":"private onTabFocusModeChange(): void { const info: StateDelta = { type: 'tabFocusMode', tabFocusMode: TabFocus.getTabFocusMode(this.contextKeyService.getContextKeyValue('focusedView') === 'terminal' ? TabFocusContext.Terminal : TabFocusContext.Editor) }; this.updateState(info); }"} {"_id":"q-en-vscode-1169bd60ffe704a465edbb179670c7c707816ef747f897118cf2a5c51c00d7a7","text":"\"@vscode/policy-watcher\": \"^1.1.4\", \"@vscode/proxy-agent\": \"^0.18.2\", \"@vscode/ripgrep\": \"^1.15.9\", \"@vscode/spdlog\": \"^0.13.12\", \"@vscode/spdlog\": \"^0.14.0\", \"@vscode/sqlite3\": \"5.1.6-vscode\", \"@vscode/sudo-prompt\": \"9.3.1\", \"@vscode/vscode-languagedetection\": \"1.0.21\","} {"_id":"q-en-vscode-11abde32baee8d6666696670af8437afffdb5dac36ae9b19022f16fadef4ea75","text":"if (token.type === 'heading') { yield { depth: token.depth, text: renderMarkdownAsPlaintext({ value: token.text }).trim() text: renderMarkdownAsPlaintext({ value: token.raw }).trim() }; } }"} {"_id":"q-en-vscode-11bef0bb74cef0ba2191dc7a1f172f09527a3cb4075ff41dae12de476904eca9","text":"` https://github.com/jeff-hykin/better-c-syntax/blob/master/autogenerated/c.tmLanguage.json `, ); }); test('issue #119696: Links shouldn't include commas', () => { assertLink( `https://apod.nasa.gov/apod/ap170720.html,IC 1396: Emission Nebula in Cepheus,https://apod.nasa.gov/apod/image/1707/MOSAIC_IC1396_HaSHO_blanco1024.jpg,https://apod.nasa.gov/apod/image/1707/MOSAIC_IC1396_HaSHO_blanco.jpg`, `https://apod.nasa.gov/apod/ap170720.html https://apod.nasa.gov/apod/image/1707/MOSAIC_IC1396_HaSHO_blanco1024.jpg https://apod.nasa.gov/apod/image/1707/MOSAIC_IC1396_HaSHO_blanco.jpg` ); assertLink( `https://apod.nasa.gov/apod/ap180402.html,\"Moons, Rings, Shadows, Clouds: Saturn (Cassini)\",https://apod.nasa.gov/apod/image/1804/SaturnRingsMoons_Cassini_967.jpg,https://apod.nasa.gov/apod/image/1804/SaturnRingsMoons_Cassini_967.jpg`, `https://apod.nasa.gov/apod/ap180402.html https://apod.nasa.gov/apod/image/1804/SaturnRingsMoons_Cassini_967.jpg https://apod.nasa.gov/apod/image/1804/SaturnRingsMoons_Cassini_967.jpg`, ); }); });"} {"_id":"q-en-vscode-11cd34d246a01f30d876aa8f83bc4873334b15fa6752cdda03fda8436b506b18","text":"const editorContext = this._contextKeyService.getContext(this._editor.getDomNode()!); if (editorContext.getValue(CommentContextKeys.activeEditorHasCommentingRange.key)) { content.push(this._descriptionForCommand(CommentCommandId.Add, CommentAccessibilityHelpNLS.addComment, CommentAccessibilityHelpNLS.addCommentNoKb)); content.push(this._descriptionForCommand(CommentCommandId.NextThread, CommentAccessibilityHelpNLS.nextCommentThreadKb, CommentAccessibilityHelpNLS.nextCommentThreadNoKb)); content.push(this._descriptionForCommand(CommentCommandId.PreviousThread, CommentAccessibilityHelpNLS.previousCommentThreadKb, CommentAccessibilityHelpNLS.previousCommentThreadNoKb)); content.push(this._descriptionForCommand(CommentCommandId.NextRange, CommentAccessibilityHelpNLS.nextRange, CommentAccessibilityHelpNLS.nextRangeNoKb)); content.push(this._descriptionForCommand(CommentCommandId.PreviousRange, CommentAccessibilityHelpNLS.previousRange, CommentAccessibilityHelpNLS.previousRangeNoKb)); const commentCommandInfo = []; commentCommandInfo.push(CommentAccessibilityHelpNLS.intro); commentCommandInfo.push(this._descriptionForCommand(CommentCommandId.Add, CommentAccessibilityHelpNLS.addComment, CommentAccessibilityHelpNLS.addCommentNoKb)); commentCommandInfo.push(this._descriptionForCommand(CommentCommandId.NextThread, CommentAccessibilityHelpNLS.nextCommentThreadKb, CommentAccessibilityHelpNLS.nextCommentThreadNoKb)); commentCommandInfo.push(this._descriptionForCommand(CommentCommandId.PreviousThread, CommentAccessibilityHelpNLS.previousCommentThreadKb, CommentAccessibilityHelpNLS.previousCommentThreadNoKb)); commentCommandInfo.push(this._descriptionForCommand(CommentCommandId.NextRange, CommentAccessibilityHelpNLS.nextRange, CommentAccessibilityHelpNLS.nextRangeNoKb)); commentCommandInfo.push(this._descriptionForCommand(CommentCommandId.PreviousRange, CommentAccessibilityHelpNLS.previousRange, CommentAccessibilityHelpNLS.previousRangeNoKb)); content.push(commentCommandInfo.join('n')); } if (options.get(EditorOption.stickyScroll).enabled) {"} {"_id":"q-en-vscode-11e2652dcca485b7e151e99cd6ed3696f09fda4273ce3832b8efce2e0f1df8a2","text":"} offset = Math.min(oldEndViewColumn + 1 - config.normalizeIndentation(ir.afterEnter).length - 1, 0); } return new ReplaceCommandWithOffsetCursorState(range, beforeText + config.normalizeIndentation(ir.afterEnter), 0, offset, true); return new ReplaceCommandWithOffsetCursorState(range, 'n' + config.normalizeIndentation(ir.afterEnter), 0, offset, true); } } }"} {"_id":"q-en-vscode-1256d4c982b0dfd8d571c1cbff807f5c3d1b58a91e2a990ef55824884de25c51","text":"env: GITHUB_TOKEN: \"$(github-distro-mixin-password)\" displayName: Build server (web) condition: and(succeeded(), ne(variables['VSCODE_ARCH'], 'arm64')) - ${{ if or(eq(parameters.VSCODE_RUN_UNIT_TESTS, true), eq(parameters.VSCODE_RUN_INTEGRATION_TESTS, true), eq(parameters.VSCODE_RUN_SMOKE_TESTS, true)) }}: - template: product-build-win32-test.yml@self"} {"_id":"q-en-vscode-126fc130ef980cd7969884f7a37fe55559dd821a1a1cb79a1d6034a2ad8cfaa8","text":") { } async openReporter(dataOverrides: Partial = {}): Promise { const extensions = await this.extensionManagementService.getInstalled(ExtensionType.User); const extensions = await this.extensionManagementService.getInstalled(); const enabledExtensions = extensions.filter(extension => this.extensionEnablementService.isEnabled(extension)); const extensionData: IssueReporterExtensionData[] = enabledExtensions.map(extension => { const extensionData = enabledExtensions.map((extension): IssueReporterExtensionData => { const { manifest } = extension; const manifestKeys = manifest.contributes ? Object.keys(manifest.contributes) : []; const isTheme = !manifest.activationEvents && manifestKeys.length === 1 && manifestKeys[0] === 'themes'; const isBuiltin = extension.type === ExtensionType.System; return { name: manifest.name, publisher: manifest.publisher,"} {"_id":"q-en-vscode-1298d0e46e25bd90ef793efb174ed835fe12492f2c222c645f3396c7d2b732d2","text":"import { ACTIVE_GROUP } from 'vs/workbench/services/editor/common/editorService'; import { IWorkbenchLayoutService, Parts } from 'vs/workbench/services/layout/browser/layoutService'; import { IBaseActionViewItemOptions } from 'vs/base/browser/ui/actionbar/actionViewItems'; import { DisposableStore } from 'vs/base/common/lifecycle'; export class TerminalEditor extends EditorPane {"} {"_id":"q-en-vscode-12fb95a25172c099911504924c759f3bb78357d64123ad82cc0540ed7b888b9f","text":"public static INSTANCE = new ZoomManager(); private _zoomLevel: number = 0; private _editorZoomLevel: number = 0; private _pixelRatioCache: number = 0; private _pixelRatioComputed: boolean = false; private _onDidChangeZoomLevel: Emitter = new Emitter(); public onDidChangeZoomLevel:Event = this._onDidChangeZoomLevel.event; private _onDidChangeEditorZoomLevel: Emitter = new Emitter(); public onDidChangeEditorZoomLevel:Event = this._onDidChangeEditorZoomLevel.event; public getZoomLevel(): number { return this._zoomLevel; }"} {"_id":"q-en-vscode-12fed25870cc26e10b853c16e00e892fd5a588cb1d1f0e3eb4b443db6a461d6e","text":"modes['css'] = getCSSMode(cssLanguageService, documentRegions, workspace); } if (supportedLanguages['javascript']) { modes['javascript'] = getJavaScriptMode(documentRegions, 'javascript'); modes['typescript'] = getJavaScriptMode(documentRegions, 'typescript'); modes['javascript'] = getJavaScriptMode(documentRegions, 'javascript', workspace); modes['typescript'] = getJavaScriptMode(documentRegions, 'typescript', workspace); } return { getModeAtPosition(document: TextDocument, position: Position): LanguageMode | undefined {"} {"_id":"q-en-vscode-132c223d9594bab8eb1d7eb11cd2e717e7767628ed87835355a17272039fa592","text":"dependencies: lru-cache \"^6.0.0\" vscode-jsonrpc@8.0.1: version \"8.0.1\" resolved \"https://registry.yarnpkg.com/vscode-jsonrpc/-/vscode-jsonrpc-8.0.1.tgz#f30b0625ebafa0fb3bc53e934ca47b706445e57e\" integrity sha512-N/WKvghIajmEvXpatSzvTvOIz61ZSmOSa4BRA4pTLi+1+jozquQKP/MkaylP9iB68k73Oua1feLQvH3xQuigiQ== vscode-languageclient@^8.0.1: version \"8.0.1\" resolved \"https://registry.yarnpkg.com/vscode-languageclient/-/vscode-languageclient-8.0.1.tgz#bf5535c4463a78daeaca0bcb4f5868aec86bb301\" integrity sha512-9XoE+HJfaWvu7Y75H3VmLo5WLCtsbxEgEhrLPqwt7eyoR49lUIyyrjb98Yfa50JCMqF2cePJAEVI6oe2o1sIhw== vscode-jsonrpc@8.0.2-next.1: version \"8.0.2-next.1\" resolved \"https://registry.yarnpkg.com/vscode-jsonrpc/-/vscode-jsonrpc-8.0.2-next.1.tgz#6bdc39fd194782032e34047eeefce562941259c6\" integrity sha512-sbbvGSWja7NVBLHPGawtgezc8DHYJaP4qfr/AaJiyDapWcSFtHyPtm18+LnYMLTmB7bhOUW/lf5PeeuLpP6bKA== vscode-languageclient@^8.0.2-next.4: version \"8.0.2-next.4\" resolved \"https://registry.yarnpkg.com/vscode-languageclient/-/vscode-languageclient-8.0.2-next.4.tgz#87dd364ffbd4356aff3af14e7b557d9fe34d2b67\" integrity sha512-j9BEiCYMN9IoKwYdk9iickV6WNPVGPoVO11SMdoxFnWPIT3y5UAe3qf/WsfA9OdklAIaxxYasfgyKCpBjSPNuw== dependencies: minimatch \"^3.0.4\" semver \"^7.3.5\" vscode-languageserver-protocol \"3.17.1\" vscode-languageserver-protocol \"3.17.2-next.5\" vscode-languageserver-protocol@3.17.1: version \"3.17.1\" resolved \"https://registry.yarnpkg.com/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.1.tgz#e801762c304f740208b6c804a0cf21f2c87509ed\" integrity sha512-BNlAYgQoYwlSgDLJhSG+DeA8G1JyECqRzM2YO6tMmMji3Ad9Mw6AW7vnZMti90qlAKb0LqAlJfSVGEdqMMNzKg== vscode-languageserver-protocol@3.17.2-next.5: version \"3.17.2-next.5\" resolved \"https://registry.yarnpkg.com/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.2-next.5.tgz#9bc747411c3ce9e1d73c2714bf6555e0199eec26\" integrity sha512-UlH+QL4Q4lX94of/UPDDwwWIkd8w7dtMW4khzvEDUoykiG9tba0iG6V0bAiv8XVpnBIUYjL2FNFiL3zl+TY1Sw== dependencies: vscode-jsonrpc \"8.0.1\" vscode-languageserver-types \"3.17.1\" vscode-jsonrpc \"8.0.2-next.1\" vscode-languageserver-types \"3.17.2-next.2\" vscode-languageserver-types@3.17.1: version \"3.17.1\" resolved \"https://registry.yarnpkg.com/vscode-languageserver-types/-/vscode-languageserver-types-3.17.1.tgz#c2d87fa7784f8cac389deb3ff1e2d9a7bef07e16\" integrity sha512-K3HqVRPElLZVVPtMeKlsyL9aK0GxGQpvtAUTfX4k7+iJ4mc1M+JM+zQwkgGy2LzY0f0IAafe8MKqIkJrxfGGjQ== vscode-languageserver-types@3.17.2-next.2: version \"3.17.2-next.2\" resolved \"https://registry.yarnpkg.com/vscode-languageserver-types/-/vscode-languageserver-types-3.17.2-next.2.tgz#af5d6978eee7682aab87c1419323f5b141ac6596\" integrity sha512-TiAkLABgqkVWdAlC3XlOfdhdjIAdVU4YntPUm9kKGbXr+MGwpVnKz2KZMNBcvG0CFx8Hi8qliL0iq+ndPB720w== vscode-nls@^5.0.1: version \"5.0.1\""} {"_id":"q-en-vscode-132cd82e8f659d9a0cc8880357ad436b5d12ddc286fcf4a1a44edb9eb08d3bad","text":"actionRunner: this._actionRunner, actions: rest, contextMenuProvider: this._contextMenuService, ariaLabel: action.label }); } else { action = actionOrSubmenu; btn = this.addButton({ secondary: conifgProvider(action)?.isSecondary ?? secondary, ariaLabel: action.label }); }"} {"_id":"q-en-vscode-1386dca9c6f63db62a17f17617fc52ae3dcb2786110813c4f51abbb183001e5f","text":"disturl \"https://electronjs.org/headers\" target \"29.4.0\" ms_build_id \"9593362\" ms_build_id \"9728852\" runtime \"electron\" build_from_source \"true\""} {"_id":"q-en-vscode-13dfb292542cd77019feac094a4e5c00d56ab753961d797d5685c93c3bf090ac","text":"assert.deepStrictEqual(cellList.getViewScrollBottom(), 210); // scroll to 5 cellList.updateElementHeight2(viewModel.cellAt(0)!, 50); cellList.scrollTop = 5; assert.deepStrictEqual(cellList.scrollTop, 5); assert.deepStrictEqual(cellList.getViewScrollBottom(), 215);"} {"_id":"q-en-vscode-13f6b30a8feb11d2ccae04d50189af883f01f2597d7044f35797a1fc0c2cc597","text":"this._currentName = currentName; this._input.domNode.value = currentName; this._input.domNode.setAttribute('selectionStart', selectionStart.toString()); this._input.domNode.setAttribute('selectionEnd', selectionEnd.toString()); this._input.domNode.size = Math.max((where.endColumn - where.startColumn) * 1.1, 20); // determines width const disposeOnDone = new DisposableStore();"} {"_id":"q-en-vscode-1401d39494d82d6a0dc3b4a6630f3778f49236150564c7a9cc61276746b4072c","text":"assert.equal(editor.getValue(), ' let name = foo'); }); test('use additionalTextEdits sync when possible', async function () { disposables.add(CompletionProviderRegistry.register({ scheme: 'test-ctrl' }, { provideCompletionItems(doc, pos) { return { suggestions: [{ kind: CompletionItemKind.Snippet, label: 'let', insertText: 'hello', range: Range.fromPositions(pos), additionalTextEdits: [{ text: 'I came sync', range: { startLineNumber: 1, startColumn: 1, endLineNumber: 1, endColumn: 1 } }] }] }; }, async resolveCompletionItem(item) { return item; } })); editor.setValue('hellonhallo'); editor.setSelection(new Selection(2, 6, 2, 6)); // trigger let p1 = Event.toPromise(controller.model.onDidSuggest); controller.triggerSuggest(); await p1; // let p2 = Event.toPromise(controller.model.onDidCancel); controller.acceptSelectedSuggestion(false, false); await p2; // insertText happens sync! assert.equal(editor.getValue(), 'I came synchellonhallohello'); }); test('resolve additionalTextEdits async when needed', async function () { let resolveCallCount = 0; disposables.add(CompletionProviderRegistry.register({ scheme: 'test-ctrl' }, { provideCompletionItems(doc, pos) { return { suggestions: [{ kind: CompletionItemKind.Snippet, label: 'let', insertText: 'hello', range: Range.fromPositions(pos) }] }; }, async resolveCompletionItem(item) { resolveCallCount += 1; await timeout(10); item.additionalTextEdits = [{ text: 'I came late', range: { startLineNumber: 1, startColumn: 1, endLineNumber: 1, endColumn: 1 } }]; return item; } })); editor.setValue('hellonhallo'); editor.setSelection(new Selection(2, 6, 2, 6)); // trigger let p1 = Event.toPromise(controller.model.onDidSuggest); controller.triggerSuggest(); await p1; // let p2 = Event.toPromise(controller.model.onDidCancel); controller.acceptSelectedSuggestion(false, false); await p2; // insertText happens sync! assert.equal(editor.getValue(), 'hellonhallohello'); assert.equal(resolveCallCount, 1); // additional edits happened after a litte wait await timeout(20); assert.equal(editor.getValue(), 'I came latehellonhallohello'); // single undo stop editor.getModel()?.undo(); assert.equal(editor.getValue(), 'hellonhallo'); }); test('resolve additionalTextEdits async when needed (typing)', async function () { let resolveCallCount = 0; let resolve: Function = () => { }; disposables.add(CompletionProviderRegistry.register({ scheme: 'test-ctrl' }, { provideCompletionItems(doc, pos) { return { suggestions: [{ kind: CompletionItemKind.Snippet, label: 'let', insertText: 'hello', range: Range.fromPositions(pos) }] }; }, async resolveCompletionItem(item) { resolveCallCount += 1; await new Promise(_resolve => resolve = _resolve); item.additionalTextEdits = [{ text: 'I came late', range: { startLineNumber: 1, startColumn: 1, endLineNumber: 1, endColumn: 1 } }]; return item; } })); editor.setValue('hellonhallo'); editor.setSelection(new Selection(2, 6, 2, 6)); // trigger let p1 = Event.toPromise(controller.model.onDidSuggest); controller.triggerSuggest(); await p1; // let p2 = Event.toPromise(controller.model.onDidCancel); controller.acceptSelectedSuggestion(false, false); await p2; // insertText happens sync! assert.equal(editor.getValue(), 'hellonhallohello'); assert.equal(resolveCallCount, 1); // additional edits happened after a litte wait assert.ok(editor.getSelection()?.equalsSelection(new Selection(2, 11, 2, 11))); editor.trigger('test', 'type', { text: 'TYPING' }); assert.equal(editor.getValue(), 'hellonhallohelloTYPING'); resolve(); await timeout(10); assert.equal(editor.getValue(), 'I came latehellonhallohelloTYPING'); assert.ok(editor.getSelection()?.equalsSelection(new Selection(2, 17, 2, 17))); }); // additional edit come late and are AFTER the selection -> cancel test('resolve additionalTextEdits async when needed (simple conflict)', async function () { let resolveCallCount = 0; let resolve: Function = () => { }; disposables.add(CompletionProviderRegistry.register({ scheme: 'test-ctrl' }, { provideCompletionItems(doc, pos) { return { suggestions: [{ kind: CompletionItemKind.Snippet, label: 'let', insertText: 'hello', range: Range.fromPositions(pos) }] }; }, async resolveCompletionItem(item) { resolveCallCount += 1; await new Promise(_resolve => resolve = _resolve); item.additionalTextEdits = [{ text: 'I came late', range: { startLineNumber: 1, startColumn: 6, endLineNumber: 1, endColumn: 6 } }]; return item; } })); editor.setValue(''); editor.setSelection(new Selection(1, 1, 1, 1)); // trigger let p1 = Event.toPromise(controller.model.onDidSuggest); controller.triggerSuggest(); await p1; // let p2 = Event.toPromise(controller.model.onDidCancel); controller.acceptSelectedSuggestion(false, false); await p2; // insertText happens sync! assert.equal(editor.getValue(), 'hello'); assert.equal(resolveCallCount, 1); resolve(); await timeout(10); assert.equal(editor.getValue(), 'hello'); }); // additional edit come late and are AFTER the position at which the user typed -> cancelled test('resolve additionalTextEdits async when needed (conflict)', async function () { let resolveCallCount = 0; let resolve: Function = () => { }; disposables.add(CompletionProviderRegistry.register({ scheme: 'test-ctrl' }, { provideCompletionItems(doc, pos) { return { suggestions: [{ kind: CompletionItemKind.Snippet, label: 'let', insertText: 'hello', range: Range.fromPositions(pos) }] }; }, async resolveCompletionItem(item) { resolveCallCount += 1; await new Promise(_resolve => resolve = _resolve); item.additionalTextEdits = [{ text: 'I came late', range: { startLineNumber: 1, startColumn: 2, endLineNumber: 1, endColumn: 2 } }]; return item; } })); editor.setValue('hellonhallo'); editor.setSelection(new Selection(2, 6, 2, 6)); // trigger let p1 = Event.toPromise(controller.model.onDidSuggest); controller.triggerSuggest(); await p1; // let p2 = Event.toPromise(controller.model.onDidCancel); controller.acceptSelectedSuggestion(false, false); await p2; // insertText happens sync! assert.equal(editor.getValue(), 'hellonhallohello'); assert.equal(resolveCallCount, 1); // additional edits happened after a litte wait editor.setSelection(new Selection(1, 1, 1, 1)); editor.trigger('test', 'type', { text: 'TYPING' }); assert.equal(editor.getValue(), 'TYPINGhellonhallohello'); resolve(); await timeout(10); assert.equal(editor.getValue(), 'TYPINGhellonhallohello'); assert.ok(editor.getSelection()?.equalsSelection(new Selection(1, 7, 1, 7))); }); test('resolve additionalTextEdits async when needed (cancel)', async function () { let resolve: Function[] = []; disposables.add(CompletionProviderRegistry.register({ scheme: 'test-ctrl' }, { provideCompletionItems(doc, pos) { return { suggestions: [{ kind: CompletionItemKind.Snippet, label: 'let', insertText: 'hello', range: Range.fromPositions(pos) }, { kind: CompletionItemKind.Snippet, label: 'let', insertText: 'hallo', range: Range.fromPositions(pos) }] }; }, async resolveCompletionItem(item) { await new Promise(_resolve => resolve.push(_resolve)); item.additionalTextEdits = [{ text: 'additionalTextEdits', range: { startLineNumber: 1, startColumn: 2, endLineNumber: 1, endColumn: 2 } }]; return item; } })); editor.setValue('abc'); editor.setSelection(new Selection(1, 1, 1, 1)); // trigger let p1 = Event.toPromise(controller.model.onDidSuggest); controller.triggerSuggest(); await p1; // let p2 = Event.toPromise(controller.model.onDidCancel); controller.acceptSelectedSuggestion(true, false); await p2; // insertText happens sync! assert.equal(editor.getValue(), 'helloabc'); // next controller.acceptNextSuggestion(); // resolve additional edits (MUST be cancelled) resolve.forEach(fn => fn); resolve.length = 0; await timeout(10); // next suggestion used assert.equal(editor.getValue(), 'halloabc'); }); });"} {"_id":"q-en-vscode-144bc7c402a35b7176c026ae0b653e3fa5a14b9a15672c9f3cb3a2c7f6a904f7","text":"// create the suggestion resolver if (typeof provider.resolveCompletionItem !== 'function') { this._resolveCache = Promise.resolve(); this._isResolved = true; } } // resolving get isResolved() { return Boolean(this._resolveCache); return Boolean(this._isResolved); } private _resolveCache?: Promise; private _isResolved?: boolean; async resolve(token: CancellationToken) { if (!this._resolveCache) { const sub = token.onCancellationRequested(() => { this._resolveCache = undefined; this._isResolved = false; }); this._resolveCache = Promise.resolve(this.provider.resolveCompletionItem!(this.completion, token)).then(value => { Object.assign(this.completion, value); this._isResolved = true; sub.dispose(); }, err => { if (isPromiseCanceledError(err)) { // the IPC queue will reject the request with the // cancellation error -> reset cached this._resolveCache = undefined; this._isResolved = false; } }); }"} {"_id":"q-en-vscode-1471dcdc7e15cb56c0e0adf3e7090eeff8e482db63d070b2e91d8039a8da2d40","text":"readonly outputScrolling?: boolean; readonly outputLinkifyFilePaths?: boolean; readonly minimalError?: boolean; readonly readonly?: boolean; } const defaultConfigConstants = Object.freeze({"} {"_id":"q-en-vscode-147b0ebeb054ed972a6b17c50c5635c0cbb37228c425c4131beb9775f3061558","text":"export type SocketCloseEvent = NodeSocketCloseEvent | WebSocketCloseEvent | undefined; export interface SocketTimeoutEvent { readonly unacknowledgedMsgCount: number; readonly timeSinceOldestUnacknowledgedMsg: number; readonly timeSinceLastReceivedSomeData: number; } export interface ISocket extends IDisposable { onData(listener: (e: VSBuffer) => void): IDisposable; onClose(listener: (e: SocketCloseEvent) => void): IDisposable;"} {"_id":"q-en-vscode-14c82ac72bded1222947b2b40ddb48e5eee63f99d338fa61b8106462e2766300","text":" /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ declare module 'vscode' { // https://github.com/microsoft/vscode/issues/144944 /** * Impacts the behavior and appearance of the validation message. */ export enum InputBoxValidationSeverity { Info = 1, Warning = 2, Error = 3 } /** * Object to configure the behavior of the validation message. */ export interface InputBoxValidationMessage { /** * The validation message to display. */ readonly message: string; /** * The severity of the validation message. * NOTE: When using `InputBoxValidationSeverity.Error`, the user will not be allowed to accept (hit ENTER) the input. * `Info` and `Warning` will still allow the InputBox to accept the input. */ readonly severity: InputBoxValidationSeverity; } export interface InputBoxOptions { /** * The validation message to display. This will become the new {@link InputBoxOptions#validateInput} upon finalization. */ validateInput2?(value: string): string | InputBoxValidationMessage | undefined | null | Thenable; } export interface InputBox { /** * The validation message to display. This will become the new {@link InputBox#validationMessage} upon finalization. */ validationMessage2: string | InputBoxValidationMessage | undefined; } } "} {"_id":"q-en-vscode-14da4504e1d17c11ef078ee804294a3b221ab7cd25054fb5142c9a0ea413a4ed","text":"return parsedPath.ext.slice(1); default: { // dirname and dirname(arg) const n = variable === 'dirname' ? 0 : parseInt(arg); const nthDir = this.getNthDirname(parsedPath, n); const nthDir = this.getNthDirname(relevantPath, n); if (nthDir) { return nthDir; }"} {"_id":"q-en-vscode-1508ae898a7cc4592630d726fd7c5c8c2914cd53ac28ac9db436d2f49bd3d496","text":"readonly token?: CancellationToken; } /*marked.* /** * Renders a string of markdown as a document. * * Uses VS Code's syntax highlighting code blocks."} {"_id":"q-en-vscode-150f95e39396635327004c27123bfd97a1a12b11c9e7b104eaba4aa102c67233","text":"constructor() { super({ id: SETTINGS_EDITOR_COMMAND_FOCUS_CONTROL, precondition: CONTEXT_SETTINGS_ROW_FOCUS, precondition: ContextKeyExpr.and(CONTEXT_SETTINGS_EDITOR, CONTEXT_SETTINGS_ROW_FOCUS), keybinding: { primary: KeyCode.Enter, weight: KeybindingWeight.WorkbenchContrib,"} {"_id":"q-en-vscode-1564d0ea0042a308f2b53ac77f07463006f4f2945715461a7e7583e5d22a9bd2","text":"@IInstantiationService private readonly instantiationService: IInstantiationService, @ISharedProcessService private readonly sharedProcessService: ISharedProcessService, @IProgressService private readonly progressService: IProgressService, @ILabelService private readonly labelService: ILabelService, @IUriIdentityService private readonly uriIdentityService: IUriIdentityService @ILabelService private readonly labelService: ILabelService ) { super();"} {"_id":"q-en-vscode-156525d89ef7684b558aa7ef7b3184616f3bb4470e54b6783f20182117472149","text":"# This makes sure the model is included in the package !@vscode/vscode-languagedetection/model/** # Ensure only the required telemetry pieces are loaded in web to reduce bundle size @microsoft/1ds-core-js/** @microsoft/1ds-post-js/** @microsoft/applicationinsights-core-js/** @microsoft/applicationinsights-shims/** !@microsoft/1ds-core-js/dist/ms.core.min.js !@microsoft/1ds-post-js/dist/ms.post.min.js !@microsoft/applicationinsights-core-js/browser/applicationinsights-core-js.min.js !@microsoft/applicationinsights-shims/dist/umd/applicationinsights-shims.min.js "} {"_id":"q-en-vscode-15e5987674782bf011dc60a64ecc7099078a8a592b1a28a95a44771eda2ee1ea","text":"})); } clearInput(): void { this.contentDisposables.clear(); this.transientDisposables.clear(); super.clearInput(); } focus(): void { if (this.activeElement) { this.activeElement.focus();"} {"_id":"q-en-vscode-15e9d49707f2c123536ed0b91801e46b13230ebc72452d6276473031e9e4c13f","text":"}, { \"command\": \"npm.packageManager\", \"title\": \"%command.packageManager\" \"title\": \"%command.packageManager%\" } ], \"menus\": {"} {"_id":"q-en-vscode-160104e42b23be850ce5f64e2e7fa7550e4c40d74fed521402703906bc300e6f","text":"return GitErrorCodes.RepositoryNotFound; } else if (/unable to access/.test(stderr)) { return GitErrorCodes.CantAccessRemote; } else if (/Couldn't find remote ref/.test(stderr)) { return GitErrorCodes.CantAccessRemote; } return void 0;"} {"_id":"q-en-vscode-16225fddd15aaebee8b7b9cff3d73d54ea0e5cef1291b6103a7c18396ab239e6","text":"this.selectedConfig = config || (this.selectedLaunch && this.selectedName ? this.selectedLaunch.getConfiguration(this.selectedName) : undefined); if (this.selectedConfig) { this.debugConfigurationTypeContext.set(this.selectedConfig.type); this.storageService.store(DEBUG_SELECTED_CONFIG, JSON.stringify(this.selectedConfig), StorageScope.WORKSPACE); } else { this.debugConfigurationTypeContext.reset(); this.storageService.remove(DEBUG_SELECTED_CONFIG, StorageScope.WORKSPACE); } if (this.selectedLaunch !== previousLaunch || this.selectedName !== previousName) {"} {"_id":"q-en-vscode-1650e11476241f058c8ca8bbd5f71ac19606aa9045863a7a50c3a7fbd312e0eb","text":"return this._modelService.createModel(resource.fragment, null, resource, false); } public showAccessibleViewHelp(): void { if (!this._currentProvider) { return; } const previousProvider = Object.assign({}, this._currentProvider); const accessibleViewHelpProvider = Object.assign({}, this._currentProvider); accessibleViewHelpProvider.options.type = AccessibleViewType.Help; accessibleViewHelpProvider.provideContent = () => this._getAccessibleViewHelpDialogContent(accessibleViewHelpProvider!); accessibleViewHelpProvider.onClose = () => this.show(previousProvider); this._accessiblityHelpIsShown.set(true); const delegate: IContextViewDelegate = { getAnchor: () => { return { x: (window.innerWidth / 2) - ((Math.min(this._layoutService.dimension.width * 0.62 /* golden cut */, DIMENSIONS.MAX_WIDTH)) / 2), y: this._layoutService.offset.quickPickTop }; }, render: (container) => { container.classList.add('accessible-view-container'); return this._render(accessibleViewHelpProvider, container, true); }, }; this._contextViewService.showContextView(delegate); } private _getAccessibleViewHelpDialogContent(provider: IAccessibleContentProvider): string { const navigationHint = this._getNavigationAriaHint(provider.verbositySettingKey); const goToSymbolHint = this._getGoToSymbolHint(provider); return [navigationHint, goToSymbolHint].filter(i => !!i).join('n'); } private _getNavigationAriaHint(verbositySettingKey: AccessibilityVerbositySettingId): string { let hint = ''; const nextKeybinding = this._keybindingService.lookupKeybinding('editor.action.accessibleViewNext')?.getAriaLabel();"} {"_id":"q-en-vscode-16a4a300e34b25625bcba3136dad1acd40181242a435382ffdc29671825d2f43","text":"import { ILanguageFeaturesService } from 'vs/editor/common/services/languageFeatures'; import { CopyAction } from 'vs/editor/contrib/clipboard/browser/clipboard'; import { localize } from 'vs/nls'; import { CONTEXT_ACCESSIBILITY_MODE_ENABLED } from 'vs/platform/accessibility/common/accessibility'; import { Action2, MenuId, registerAction2 } from 'vs/platform/actions/common/actions'; import { IClipboardService } from 'vs/platform/clipboard/common/clipboardService'; import { ContextKeyExpr } from 'vs/platform/contextkey/common/contextkey'; import { KeybindingWeight } from 'vs/platform/keybinding/common/keybindingsRegistry'; import { TerminalLocation } from 'vs/platform/terminal/common/terminal'; import { IUntitledTextResourceEditorInput } from 'vs/workbench/common/editor';"} {"_id":"q-en-vscode-16e4e8b1c88f198b4048978eb49226257a3c6d351aeb9b752a7162e795f79e2f","text":"return undefined; } export function getSelectionTextFromEditor(allowUnselectedWord: boolean, editor: IEditor): string | null { export function getSelectionTextFromEditor(allowUnselectedWord: boolean, activeEditor: IEditor): string | null { let editor = activeEditor; if (isDiffEditor(editor)) { if (editor.getOriginalEditor().hasTextFocus()) { editor = editor.getOriginalEditor(); } else { editor = editor.getModifiedEditor(); } } if (!isCodeEditor(editor) || !editor.hasModel()) { return null;"} {"_id":"q-en-vscode-17202099e5b14917b3fe752f02143e15ada2236625472fdf57fe05e9232b0e45","text":"const viewStartPosition = this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(modelStartPosition); const verticalOffsetStart = this._context.viewLayout.getVerticalOffsetForLineNumber(viewStartPosition.lineNumber); const editorScrollTop = this._context.viewLayout.getCurrentScrollTop(); const editorScrollLeft = this._context.viewLayout.getCurrentScrollLeft(); const top = parentBounds.top + verticalOffsetStart - editorScrollTop; const height = (this._primarySelection.endLineNumber - this._primarySelection.startLineNumber + 1) * lineHeight; let left = parentBounds.left + contentLeft; let left = parentBounds.left + contentLeft - editorScrollLeft; let width: number; if (this._primarySelection.isEmpty()) {"} {"_id":"q-en-vscode-1741f57ac5c0ce108e42b4de0ff9c0d81052a3332da868f549f43591e447b197","text":"private hoverPosition: Position | null = null; private mouseDown = false; private exceptionWidgetVisible: IContextKey; private gutterIsHovered = false; private exceptionWidget: ExceptionWidget | undefined; private configurationWidget: FloatingClickWidget | undefined;"} {"_id":"q-en-vscode-174465a52c89d61d2833eb7f9aaa16b424e882594be21652806268096ab293ca","text":"// Dispose old listeners this.activeEditorListeners.clear(); // Handle editor change unless the editor is transient // Handle editor change unless the editor is transient. In that case // setup a listener to see if the transient editor becomes non-transient // (https://github.com/microsoft/vscode/issues/211769) if (!activeEditorPane?.group.isTransient(activeEditorPane.input)) { this.handleActiveEditorChange(activeEditorGroup, activeEditorPane); } else { this.logService.trace(`[History]: ignoring transient editor change (editor: ${activeEditorPane.input?.resource?.toString()}})`); this.logService.trace(`[History]: ignoring transient editor change until becoming non-transient (editor: ${activeEditorPane.input?.resource?.toString()}})`); const transientListener = activeEditorGroup.onDidModelChange(e => { if (e.kind === GroupModelChangeKind.EDITOR_TRANSIENT && e.editor === activeEditorPane.input && !activeEditorPane.group.isTransient(activeEditorPane.input)) { transientListener.dispose(); this.handleActiveEditorChange(activeEditorGroup, activeEditorPane); } }); this.activeEditorListeners.add(transientListener); } // Listen to selection changes unless the editor is transient"} {"_id":"q-en-vscode-1768b46930491d8c0b8d1847420aacea0fe049bd45a1e7d4943c4668ec1e113a","text":"this.ariaLabel = label; } setMarkerSelection(marker: Marker): void { setMarkerSelection(selection?: Marker[], focus?: Marker[]): void { if (this.isVisible()) { if (marker) { const markerNode = this.findMarkerNode(marker); if (selection && selection.length > 0) { this.setSelection(selection.map(m => this.findMarkerNode(m))); if (markerNode) { this.setFocus([markerNode]); this.setSelection([markerNode]); if (focus && focus.length > 0) { this.setFocus(focus.map(f => this.findMarkerNode(f))); } else { this.setFocus([this.findMarkerNode(selection[0])]); } } else if (this.getSelection().length === 0) { const firstVisibleElement = this.firstVisibleElement;"} {"_id":"q-en-vscode-17aa904850220ef1f5535bf710cf246997aa1e90887af61df87b518dfd58f2c0","text":"readonly initialCwd?: string; readonly os?: OperatingSystem; readonly capabilities: ITerminalCapabilityStore; readonly usedShellIntegrationInjection: boolean; readonly statusList: ITerminalStatusList;"} {"_id":"q-en-vscode-185fa931f98e2ff42494b1d0092af60a6f4e102d5650b3ea378b015950b85af0","text":"\"vscode-proxy-agent\": \"^0.12.0\", \"vscode-regexpp\": \"^3.1.0\", \"vscode-textmate\": \"7.0.1\", \"xterm\": \"4.19.0-beta.24\", \"xterm-addon-search\": \"0.9.0-beta.21\", \"xterm\": \"4.19.0-beta.25\", \"xterm-addon-search\": \"0.9.0-beta.22\", \"xterm-addon-serialize\": \"0.7.0-beta.12\", \"xterm-addon-unicode11\": \"0.4.0-beta.3\", \"xterm-addon-webgl\": \"0.12.0-beta.28\", \"xterm-headless\": \"4.19.0-beta.24\", \"xterm-addon-webgl\": \"0.12.0-beta.29\", \"xterm-headless\": \"4.19.0-beta.25\", \"yauzl\": \"^2.9.2\", \"yazl\": \"^2.4.3\" },"} {"_id":"q-en-vscode-18763e02c537cb407f5b3d11aa7f726e8e23133fbf5fcc17ba620b01d70a72be","text":"resolved \"https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.207.tgz#9c3310ebace2952903d05dcaba8abe3a4ed44c01\" integrity sha512-piH7MJDJp4rJCduWbVvmUd59AUne1AFBJ8JaRQvk0KzNTSUnZrVXHCZc+eg+CGE4OujkcLJznhGKD6tuAshj5Q== electron@19.1.8: version \"19.1.8\" resolved \"https://registry.yarnpkg.com/electron/-/electron-19.1.8.tgz#3ce19c270ca86d05bbf0df5ceeaea2d23edc7083\" integrity sha512-UfPQdFjgKI0xCm1V5sV3iAVOs0kCwAE91xWzV5tI7ij14yOkxTdXp9BqTzFaSbQYLYxn6q1BUUe1nlzjJjzAnw== electron@19.1.9: version \"19.1.9\" resolved \"https://registry.yarnpkg.com/electron/-/electron-19.1.9.tgz#01995eea4014f7cdb2f616f5f3492d4ed6f5e4f0\" integrity sha512-XT5LkTzIHB+ZtD3dTmNnKjVBWrDWReCKt9G1uAFLz6uJMEVcIUiYO+fph5pLXETiBw/QZBx8egduMEfIccLx+g== dependencies: \"@electron/get\" \"^1.14.1\" \"@types/node\" \"^16.11.26\""} {"_id":"q-en-vscode-188cca1159fe3083f32de6f4d14ed8d4a1bd29d4f2a509fd1f2b4d55900d0509","text":"} }); } run(accessor: ServicesAccessor, args?: IOpenSettingsActionOptions) { args = sanitizeOpenSettingsArgs(args); run(accessor: ServicesAccessor, args?: string | IOpenSettingsActionOptions) { // Match the behaviour of workbench.action.openSettings args = typeof args === 'string' ? { query: args } : sanitizeOpenSettingsArgs(args); return accessor.get(IPreferencesService).openWorkspaceSettings(args); } });"} {"_id":"q-en-vscode-188d96bf2fee62d2d131948499515a9e1ed5d4091f109c1991168f8edbec7f8a","text":"this.outputElements.get(request.outputId)?.updateScroll(request.outputOffset); if (request.forceDisplay) { this.element.style.visibility = 'visible'; this.element.style.visibility = ''; } } }"} {"_id":"q-en-vscode-18924995cd7653d40a70dcad9b82556ffce48182986d9ddd3ff78b361f2ea311","text":"} } private updateCompositeSwitcher(): void { private updateCompositeSwitcher(donotTrigger?: boolean): void { const compositeSwitcherBar = this.compositeSwitcherBar; if (!compositeSwitcherBar || !this.dimension) { return; // We have not been rendered yet so there is nothing to update."} {"_id":"q-en-vscode-1915c79c07d9daf93eef235a01fec1e672becb6e2a1eebafcec8221b51a5f1bd","text":"resolved \"https://registry.yarnpkg.com/xterm-addon-unicode11/-/xterm-addon-unicode11-0.4.0-beta.3.tgz#f350184155fafd5ad0d6fbf31d13e6ca7dea1efa\" integrity sha512-FryZAVwbUjKTmwXnm1trch/2XO60F5JsDvOkZhzobV1hm10sFLVuZpFyHXiUx7TFeeFsvNP+S77LAtWoeT5z+Q== xterm-addon-webgl@0.12.0-beta.28: version \"0.12.0-beta.28\" resolved \"https://registry.yarnpkg.com/xterm-addon-webgl/-/xterm-addon-webgl-0.12.0-beta.28.tgz#252f88fd15816c23789659a0e2545682cf1eec9c\" integrity sha512-xpqZRYlyv+aNdDl46W2Hi2fxakNvdJDmWhOwGHPjOmex+kOYdBvVn4rRZmJ7xrKFuQVOfzb3SQCmpZ/njCpBJA== xterm-addon-webgl@0.12.0-beta.29: version \"0.12.0-beta.29\" resolved \"https://registry.yarnpkg.com/xterm-addon-webgl/-/xterm-addon-webgl-0.12.0-beta.29.tgz#7a508595c4521d14d7ed4315a121f9e3f230a0f0\" integrity sha512-NcZBsD0ar3ZpQX070hDIsyEBl/StRMNu6U+9crNpiD2rQVfkM1vcWkOv31Zlj3eu6/f8z5aStyZLRMCGFwiRbA== xterm-headless@4.19.0-beta.24: version \"4.19.0-beta.24\" resolved \"https://registry.yarnpkg.com/xterm-headless/-/xterm-headless-4.19.0-beta.24.tgz#17dab68ae1b2600b0926d4c47032599f3b2f24cc\" integrity sha512-Coq8gQ9f5/kNr1yhpXTZqatTOHOYDF4XVp93SM12vRROH64bM0rUMec6ukuTAd8DD97UOWYUgR+n7+xD0iTTSg== xterm-headless@4.19.0-beta.25: version \"4.19.0-beta.25\" resolved \"https://registry.yarnpkg.com/xterm-headless/-/xterm-headless-4.19.0-beta.25.tgz#a0a1b59f386c44458f06b8ced64e3567371cc983\" integrity sha512-UswSgymk3g9i6XTpFAasnqqIvWhi+AEWT+iO3kkjII6ll+dYEQgeZAv92EnCmeRHp11u5TP+IBAo8jy+aTYbtA== xterm@4.19.0-beta.24: version \"4.19.0-beta.24\" resolved \"https://registry.yarnpkg.com/xterm/-/xterm-4.19.0-beta.24.tgz#12b62877d4cf133f4626db3a15f6ed267b3bbcb5\" integrity sha512-GydvC2ExdsfjkiXhUVuZtDhc89IZfyMLFgw/nwWHrvkyq4iCVsHbMloEObV3lZmv+0oRpcGtTiorfzdWGiHG0A== xterm@4.19.0-beta.25: version \"4.19.0-beta.25\" resolved \"https://registry.yarnpkg.com/xterm/-/xterm-4.19.0-beta.25.tgz#38f92d0fef1cfdb290ef8994449a04fa1a8c90a7\" integrity sha512-pDiMWKN1Cj4+X/K9Xegp0SA0ZDEGVqiq7RPSy8oZO2wo2rze1BF20PAZb3/RSp30eY5WyOKilKnck4yNOsPzHw== y18n@^3.2.1: version \"3.2.2\""} {"_id":"q-en-vscode-196dd114d781db9c19d8d8aa19aeedd3e5e2eac337e79ee3de1aaa9073e939f4","text":"} this.activeRequests.splice(this.activeRequests.indexOf(listener), 1); listener.dispose(); if (this.activeRequests.length === 0) { this.disposeDelayer.trigger(() => this.disposeClient());"} {"_id":"q-en-vscode-19ecd8d4472e5a05837fc4a4d570454e4f1c4bcfa4575f02dce55241cd2c8018","text":"return res; } // we are here when no provider prepared a location which means we can // just rely on the word under cursor and start with the first provider this._providerRenameIdx = 0; const word = this.model.getWordAtPosition(this.position); if (!word) { return {"} {"_id":"q-en-vscode-1a1fe44016b92d56942dc22e9cf7cc4a0330de6ab25b8447551a46d28855502b","text":"private async render() { if (this._previewState !== PreviewState.Disposed) { this.webviewEditor.webview.html = await this.getWebiewContents(); this.webviewEditor.webview.html = await this.getWebviewContents(); } }"} {"_id":"q-en-vscode-1aad4bb012cb21ad7ef1a7fb878bff66f266e99672cdf2ab25d52062651cc615","text":"font-family: var(--monaco-monospace-font); font-size: 12px; color: var(--vscode-textPreformat-foreground); background-color: var(--vscode-textPreformat-background); padding: 1px 3px; border-radius: 4px; }"} {"_id":"q-en-vscode-1ab79c3e4cb72cf0847613b8c7cd38ce13bca36a1d315a4a4ec15b0cd6e6d298","text":"private async _sync(repository: Repository, rebase: boolean): Promise { const HEAD = repository.HEAD; if (!HEAD || !HEAD.upstream) { if (!HEAD) { return; } else if (!HEAD.upstream) { const branchName = HEAD.name; const message = localize('confirm publish branch', \"The branch '{0}' has no upstream branch. Would you like to publish this branch?\", branchName); const yes = localize('ok', \"OK\"); const pick = await window.showWarningMessage(message, { modal: true }, yes); if (pick === yes) { await this.publish(repository); } return; }"} {"_id":"q-en-vscode-1aecd9b4f65b5eb536a598089f6bf3631bd45054ac380fd5c993885fba5d5edb","text":"Hover = 'accessibility.verbosity.hover', Notification = 'accessibility.verbosity.notification', EmptyEditorHint = 'accessibility.verbosity.emptyEditorHint', Comments = 'accessibility.verbosity.comments' Comments = 'accessibility.verbosity.comments', DiffEditorActive = 'accessibility.verbosity.diffEditorActive' } export const enum AccessibleViewProviderId {"} {"_id":"q-en-vscode-1b986f9d6d48dd58eab4c0a52e96a92e3ad4aa9c7de6c37ad225871a2449be1c","text":"} } export class RevertButton implements IGlyphMarginWidget { export class RevertButton extends Disposable implements IGlyphMarginWidget { public static counter = 0; private readonly _id: string = `revertButton${RevertButton.counter++}`;"} {"_id":"q-en-vscode-1ba114a0e53e71573e0416e91c56b7e6f60aa90372fb5dd4e480f41ea8df89da","text":"const innerContent = document.createElement('div'); innerContent.classList.add('walkThroughContent'); // only for markdown files const markdown = this.expandMacros(content); safeInnerHtml(innerContent, markdown); safeInnerHtml(innerContent, markdown, { ALLOW_UNKNOWN_PROTOCOLS: true }); this.content.appendChild(innerContent); model.snippets.forEach((snippet, i) => {"} {"_id":"q-en-vscode-1bc061a541550290b1b59afcc964e6bdb75f0ca5384f770711978c516d52778a","text":"tags: ['notebookLayout', 'notebookOutputLayout'] }, [NotebookSetting.outputScrolling]: { markdownDescription: nls.localize('notebook.outputScrolling', \"Use a scrollable region for notebook output when longer than the limit\"), markdownDescription: nls.localize('notebook.outputScrolling', \"Initially render notebook outputs in a scrollable region when longer than the limit\"), type: 'boolean', tags: ['notebookLayout', 'notebookOutputLayout'], default: typeof product.quality === 'string' && product.quality !== 'stable' // only enable as default in insiders"} {"_id":"q-en-vscode-1c460fe9259e052b0a2c71d92b38fb0e47954bf23e3f5b3277a3d3109b54154a","text":"if (action.class) { this.label.classList.add(action.class); } if (!action.icon) { const reactionLabel = dom.append(this.label, dom.$('span.reaction-label')); reactionLabel.innerText = action.label; } else { const reactionIcon = dom.append(this.label, dom.$('.reaction-icon')); reactionIcon.style.display = ''; const uri = URI.revive(action.icon); reactionIcon.style.backgroundImage = dom.asCSSUrl(uri); reactionIcon.title = action.label;"} {"_id":"q-en-vscode-1c93ff9fc3f809fc2963a17ab397b04cae7a21330cff9df54cdbefce65bcdac7","text":"}; } async function main(arch = process.arch) { const version = product.electronRepository ? '22.5.3' : util.getElectronVersion(); const version = product.electronRepository ? '22.5.4' : util.getElectronVersion(); const electronPath = path.join(root, '.build', 'electron'); const versionFile = path.join(electronPath, 'version'); const isUpToDate = fs.existsSync(versionFile) && fs.readFileSync(versionFile, 'utf8') === `${version}`;"} {"_id":"q-en-vscode-1ce59e6cf5bd5b738dba8e6289d5037502fe9df224449634eb9d3f2c76eab068","text":"} public run(accessor: ServicesAccessor, editor: ICodeEditor, args: any): void { const useLogicalLine = (args && args.logicalLine === true); const cursors = editor._getCursors(); const context = cursors.context;"} {"_id":"q-en-vscode-1d138f703d600ba995d8ed12868dfc8a6a6c746e24d5171eb397158d2b9731a4","text":"\"textCodeBlock.background\": \"#2B2B2B\", \"textLink.activeForeground\": \"#4daafc\", \"textLink.foreground\": \"#4daafc\", \"textPreformat.foreground\": \"#D0D0D0\", \"textPreformat.foreground\": \"#D7BA7D\", \"textPreformat.background\": \"#3C3C3C\", \"textSeparator.foreground\": \"#21262D\", \"titleBar.activeBackground\": \"#181818\","} {"_id":"q-en-vscode-1d4799f4220402e1169fbb1c86444bda88113ceb2eb58c94e07baaba5d298ec7","text":"} } const didCompression = compressStreamBuffer(buffers); const data = formatStreamText(VSBuffer.concat(buffers.map(buffer => VSBuffer.wrap(buffer)))); let didCompression = compressStreamBuffer(buffers); const concatenated = VSBuffer.concat(buffers.map(buffer => VSBuffer.wrap(buffer))); const data = formatStreamText(concatenated); didCompression = didCompression || data.byteLength !== concatenated.byteLength; return { data, didCompression }; }"} {"_id":"q-en-vscode-1d53816905e23850e05c090e3a3c2eb0dea951806b45128a6909e660062e42e2","text":"'use strict'; import { CompletionItemProvider, CompletionItem, CompletionItemKind, CancellationToken, TextDocument, Position, Range, TextEdit } from 'vscode'; import { CompletionItemProvider, CompletionItem, CompletionItemKind, CancellationToken, TextDocument, Position, Range, TextEdit, workspace } from 'vscode'; import phpGlobals = require('./phpGlobals'); export default class PHPCompletionItemProvider implements CompletionItemProvider {"} {"_id":"q-en-vscode-1d6167f3b01260cfe60e1702feeeeef5c3252067483ae60383cdbd1534382c0a","text":"SymbolInformation, SymbolKind, CompletionItem, Location, SignatureHelp, SignatureInformation, ParameterInformation, Definition, TextEdit, TextDocument, Diagnostic, DiagnosticSeverity, Range, CompletionItemKind, Hover, MarkedString, DocumentHighlight, DocumentHighlightKind, CompletionList, Position, FormattingOptions, FoldingRange, FoldingRangeKind, SelectionRange, LanguageMode, Settings, SemanticTokenData LanguageMode, Settings, SemanticTokenData, Workspace } from './languageModes'; import { getWordAtText, startsWith, isWhitespaceOnly, repeat } from '../utils/strings'; import { HTMLDocumentRegions } from './embeddedSupport';"} {"_id":"q-en-vscode-1d80d72709a9c0138cd2d87c2c1a5d632fb413464b759eebb869c2f0434372ce","text":" restart No newline at end of file restart No newline at end of file"} {"_id":"q-en-vscode-1dc272d3530337f8eb2590d9d40e8bb73e52d333e6331f285b29a3dbb79fdb20","text":"\"@iktakahiro/markdown-it-katex@mjbvz/markdown-it-katex\": version \"4.0.3\" resolved \"https://codeload.github.com/mjbvz/markdown-it-katex/tar.gz/17509eaeb7d48887d62ca02eb5eee9e6372b80ac\" resolved \"https://codeload.github.com/mjbvz/markdown-it-katex/tar.gz/58f6637b5883caa8a811f1736bc90b34cd26b395\" dependencies: katex \"^0.16.2\""} {"_id":"q-en-vscode-1de5bd4081c5dbe49cc74384858aa35d200114e041a7ba60e736aad5b28a371f","text":"if (!isUndefined(e.enabled)) { button.enabled = action.enabled; } if (!isUndefined(e.label)) { button.label = action.label; } })); disposables.add(profileElement.onDidChange(e => { if (e.message) {"} {"_id":"q-en-vscode-1dedf8f9394d275deb4097c45fdd50384f4c422790af0be753238e428b7200a1","text":"resolved \"https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-2.0.1.tgz#34bdc31727a1889198855913db2f270ace6d7bf8\" integrity sha512-0G7tNyS+yW8TdgHwZKlDWYXFA6OJQnoLCQvYKkQP0Q2X205PSQ6RNUj0M+1OB/9gRQaUZ/ccYfaxd0nhaWKfjw== \"@xterm/addon-canvas@0.6.0-beta.16\": version \"0.6.0-beta.16\" resolved \"https://registry.yarnpkg.com/@xterm/addon-canvas/-/addon-canvas-0.6.0-beta.16.tgz#d22ba7f1b211882215c5206ca07ce177378a898f\" integrity sha512-o89xcm0Tqy1ksEYMq3EIqxJNDUWJBaS9QUggc7i5vKUL2unw9TMa5IiiNzc3CsBOlBQDlITwEXoHDEbOMxoZPQ== \"@xterm/addon-image@0.7.0-beta.14\": version \"0.7.0-beta.14\" resolved \"https://registry.yarnpkg.com/@xterm/addon-image/-/addon-image-0.7.0-beta.14.tgz#39b123dd0a0390766aff631cf43cb2e51b3b2174\" integrity sha512-oCOIupROzkb5p2vZarY6HrX74OqvtbmjnkC6uuGEJXQ75XL2CX+uTUl2DlgeSTvvR0S8ZVB3hQlp4hrtoNNelA== \"@xterm/addon-search@0.14.0-beta.16\": version \"0.14.0-beta.16\" resolved \"https://registry.yarnpkg.com/@xterm/addon-search/-/addon-search-0.14.0-beta.16.tgz#5fa21d2b993970e8ced1e0ada3dcca5f7581c314\" integrity sha512-e6l5jCJIULQ6nzRcc0gp9obZsqd76qubAr0HZF6Ebxf3KOGRz4UX6g+kgt6RB1liWgG94WD8vI1rGB1z5bMSEg== \"@xterm/addon-serialize@0.12.0-beta.16\": version \"0.12.0-beta.16\" resolved \"https://registry.yarnpkg.com/@xterm/addon-serialize/-/addon-serialize-0.12.0-beta.16.tgz#68c4d68dba7ff17a231650cc0d07dcc77721877b\" integrity sha512-F6ngtvTC5VDLn585uJro7V1xjM43TbjPQjQ6Fn0Uic3+dsQrbPFxZmNZuQOjMZDoYj/febFsuspKjXdpoxo21w== \"@xterm/addon-unicode11@0.7.0-beta.16\": version \"0.7.0-beta.16\" resolved \"https://registry.yarnpkg.com/@xterm/addon-unicode11/-/addon-unicode11-0.7.0-beta.16.tgz#c4c640cb119290e1d0a6401ac018aba1d71287f9\" integrity sha512-sP81NX13madSeATjlBReZbaay17DgatR7dZP6OF8aMyJf6cBVaHMYjTipyw3NnsmjUtBfLc3Alu+JKv8NFteiw== \"@xterm/addon-webgl@0.17.0-beta.16\": version \"0.17.0-beta.16\" resolved \"https://registry.yarnpkg.com/@xterm/addon-webgl/-/addon-webgl-0.17.0-beta.16.tgz#75466614bf8ea02a3fcb0900df48724c2344d081\" integrity sha512-+/eTLvSgYjvRX7oAKfpCDZdotrE8P/asCKXQtXjkbOtYRToI7kWEYfJzfgdFKFgDLKOpDdgY6Bgq384wEewlTA== \"@xterm/headless@5.4.0-beta.16\": version \"5.4.0-beta.16\" resolved \"https://registry.yarnpkg.com/@xterm/headless/-/headless-5.4.0-beta.16.tgz#d12097c6c2082f14f5650169471eb120ed7600e7\" integrity sha512-5GTEzrZzpjfoQrFexULq20Mqc5jbTmhkTBYk0XaE4jeZVdCvsw1yiZNDVj7/66cKOmhQMCxV809p2jQZ/BJ0ww== \"@xterm/xterm@5.4.0-beta.16\": version \"5.4.0-beta.16\" resolved \"https://registry.yarnpkg.com/@xterm/xterm/-/xterm-5.4.0-beta.16.tgz#eb00506e56ba78c587fcacbada096c2af3693992\" integrity sha512-ARzWYQ8LfuZIn47TS8c+XKQhn/1ZVvbHdwlpolZIrT2pTarP+71U1b6cSpF7fV+OIV6tAPA8+q4g/1ZKHuOX8g== \"@xterm/addon-canvas@0.6.0-beta.17\": version \"0.6.0-beta.17\" resolved \"https://registry.yarnpkg.com/@xterm/addon-canvas/-/addon-canvas-0.6.0-beta.17.tgz#0bc968a42bcfd477e26cdacd9b1624e3296df97a\" integrity sha512-I5qTtbxqXO3vEBzRuEXHjU9tpLABlMxmaoQ43TkSIO5I4jCQ3EIgnLGNTrDf7BQ6H3OxxsxlMp9Ui0jQRxUuSg== \"@xterm/addon-image@0.7.0-beta.15\": version \"0.7.0-beta.15\" resolved \"https://registry.yarnpkg.com/@xterm/addon-image/-/addon-image-0.7.0-beta.15.tgz#5d18f0702ca7dc1b80c4696448eca949d9a04d4b\" integrity sha512-ymt2cbG1P56EamETSKNNLxr0mI8yWnyUxHC6lRFA6mB0PYO++EePSzulrAC/Clk8X3BPbXIZmhBwoxp0VqWAGg== \"@xterm/addon-search@0.14.0-beta.17\": version \"0.14.0-beta.17\" resolved \"https://registry.yarnpkg.com/@xterm/addon-search/-/addon-search-0.14.0-beta.17.tgz#1f39f02edfa20c3e7f898ddcf73d6b4c8a764e23\" integrity sha512-zM/X41hcHu3FNqPOxlzElGdPkOlkCMI8CWKXSlVfUe7EydzJcRDOUvIE1rE+rCumry79O7ThEK7/6FVTH9k3bQ== \"@xterm/addon-serialize@0.12.0-beta.17\": version \"0.12.0-beta.17\" resolved \"https://registry.yarnpkg.com/@xterm/addon-serialize/-/addon-serialize-0.12.0-beta.17.tgz#cf4ada9104f22427fde915644638d84f8fe45ff9\" integrity sha512-OUV0f1fnqJK8oooJ3J8dGfDxDpqf5s8UU7LWNmuGkcJYkfkltMKlo4DHfQ2DaLxdnb+JT0rfu5LojtRi3bvVaw== \"@xterm/addon-unicode11@0.7.0-beta.17\": version \"0.7.0-beta.17\" resolved \"https://registry.yarnpkg.com/@xterm/addon-unicode11/-/addon-unicode11-0.7.0-beta.17.tgz#0cc609574ccffc683902020f549671e4c36dcf1c\" integrity sha512-VLwnBy3OlzdUy6NGQwS95qDHkgzDfSRssjxJc9YTqOBCz87LD00oKRVDJOa6SMhxXYm7nPyVlC6J6CBSivcLmQ== \"@xterm/addon-webgl@0.17.0-beta.17\": version \"0.17.0-beta.17\" resolved \"https://registry.yarnpkg.com/@xterm/addon-webgl/-/addon-webgl-0.17.0-beta.17.tgz#aa4dd17c9e8b57185b001e8fac1e23cd1fc5a456\" integrity sha512-XvCpPb+jZfb6aHFf+DhgtRcvDz8VA+ZnPa0YfrZWszGoBzNJ4tqWXy6gerRulk20SGilY0UBCfV1f4DIs/HQPg== \"@xterm/headless@5.4.0-beta.17\": version \"5.4.0-beta.17\" resolved \"https://registry.yarnpkg.com/@xterm/headless/-/headless-5.4.0-beta.17.tgz#13ff28cf8708d1d7668ecf27008a837f4002af94\" integrity sha512-5Os8Wa+5+9/KA8FdHvAgdzmFGUTZv9DtHjZgtXB1hX0/yx2sCaDQgPYSwt5w52GYhh5HOxx6Olo4exb9lrKvAw== \"@xterm/xterm@5.4.0-beta.17\": version \"5.4.0-beta.17\" resolved \"https://registry.yarnpkg.com/@xterm/xterm/-/xterm-5.4.0-beta.17.tgz#08897de7274a3431accf525a147a7e6034a64573\" integrity sha512-EhQsTHeO7VhCOnYLdrowWAqEbmZKf6k6Z/Rd3GriikB394jivux6OBcJbt7QdewIOAKqFah53d4rNXfz3/6mwQ== \"@xtuc/ieee754@^1.2.0\": version \"1.2.0\""} {"_id":"q-en-vscode-1e04877e88528a4a0dac3dd9c4b0a429a0cc96fb555eb6d5c9b50f8f48ba1966","text":"return false; } async createProfileFromShellAndShellArgs(shell?: unknown, shellArgs?: unknown): Promise { const detectedProfile = this._terminalService.availableProfiles?.find(p => p.path === shell); async createProfileFromShellAndShellArgs(shell?: unknown, shellArgs?: unknown): Promise { const detectedProfile = this._terminalService.availableProfiles?.find(p => { if (p.path !== shell) { return false; } if (p.args === undefined || typeof p.args === 'string') { return p.args === shellArgs; } return p.path === shell && equals(p.args, (shellArgs || []) as string[]); }); const fallbackProfile = (await this.getDefaultProfile({ remoteAuthority: this._remoteAgentService.getConnection()?.remoteAuthority, os: this._primaryBackendOs! })); fallbackProfile.profileName = `${fallbackProfile.path} (migrated)`; const profile = detectedProfile || fallbackProfile; const args = this._isValidShellArgs(shellArgs, this._primaryBackendOs!) ? shellArgs : profile.args; const createdProfile = {"} {"_id":"q-en-vscode-1e37df41b4537998bca62513d678d42fffee8efcaddf632df4a80e485fdb50fd","text":"} update(): void { this.enabled = !!this.extension && !this.extension.isBuiltin && !!this.extension.gallery && !!this.extension.local && !!this.extension.server && this.extension.state === ExtensionState.Installed; this.enabled = !!this.extension && !this.extension.isBuiltin && !!this.extension.gallery && !!this.extension.local && !!this.extension.server && this.extension.state === ExtensionState.Installed && !this.extension.deprecationInfo; } override async run(): Promise {"} {"_id":"q-en-vscode-1e576632549771511e4a93df93229b3e5811175937a15269d94306946918931f","text":"class ContentHitTestResult { readonly type = HitTestResultType.Content; get hitTarget(): HTMLElement { return this.spanNode; } constructor( readonly position: Position, readonly spanNode: HTMLElement,"} {"_id":"q-en-vscode-1e73adbe8e68fd4aff87a8d78d18038d7882a6de4d7e53199a9ef08abfb838aa","text":"resource ); this._disposables.push(disposables.add(ref.object.notebook.onDidChangeContent(e => { if (result && e.rawEvents.some(event => event.kind === NotebookCellsChangeType.ChangeCellMetadata && event.index === cellIndex)) { if (result && e.rawEvents.some(event => (event.kind === NotebookCellsChangeType.ChangeCellMetadata || event.kind === NotebookCellsChangeType.ChangeCellLanguage) && event.index === cellIndex)) { const value = getFormattedMetadataJSON(ref.object.notebook, cell.metadata, cell.language); if (result.getValue() !== value) { result.setValue(getFormattedMetadataJSON(ref.object.notebook, cell.metadata, cell.language));"} {"_id":"q-en-vscode-1e80cf3ddde2c78a51534c593c621a39af6fe403088ab0a5d2f993ced86e267e","text":"} export const config = { version: product.electronRepository ? '22.4.5' : util.getElectronVersion(), version: product.electronRepository ? '22.4.6' : util.getElectronVersion(), productAppName: product.nameLong, companyName: 'Microsoft Corporation', copyright: 'Copyright (C) 2023 Microsoft. All rights reserved',"} {"_id":"q-en-vscode-1ee5fdbf3d0514bbffa066f47a921091f4be7128ce2293986d7f8b079c807767","text":"\"when\": \"config.git.enabled && scmProvider == git && gitState == idle\" }, { \"command\": \"git.pullFrom\", \"when\": \"config.git.enabled && scmProvider == git && gitState == idle\" }, { \"command\": \"git.push\", \"when\": \"config.git.enabled && scmProvider == git && gitState == idle\" },"} {"_id":"q-en-vscode-1f3a2c7ba3f517e386144ee83829d9bcc5c9e829c1878545b00b1627f49e090c","text":"return Promise.resolve(null); } if (debugService.getConfigurationManager().canSetBreakpointsIn(widget.getModel())) { return debugService.addBreakpoints(modelUri, [{ lineNumber: position.lineNumber, column: position.column > 1 ? position.column : undefined }]); return debugService.addBreakpoints(modelUri, [{ lineNumber: position.lineNumber, column: position.column > 1 ? position.column : undefined }], 'debugCommands.inlineBreakpointCommand'); } }"} {"_id":"q-en-vscode-1f3a70e6bac001daf5945bb562a1c36d57286204941e743d402224992127c929","text":"title: 'Debug', icon: Codicon.debug, order: 1, when: ContextKeyExpr.and(CONTEXT_DEBUG_STATE.notEqualsTo('inactive'), ContextKeyExpr.equals('config.debug.toolBarLocation', 'commandCenter')) when: ContextKeyExpr.and(CONTEXT_IN_DEBUG_MODE, ContextKeyExpr.equals('config.debug.toolBarLocation', 'commandCenter')) }); registerDebugToolBarItem(CONTINUE_ID, CONTINUE_LABEL, 10, icons.debugContinue, CONTEXT_DEBUG_STATE.isEqualTo('stopped'));"} {"_id":"q-en-vscode-1f913c9a5e49202416c238e5b573a1be84c44595fcb82fe2074bea3cfa54d7d7","text":"Config = '5_config' } export const enum TerminalTabContextMenuGroup { Default = '1_create_default', Profile = '2_create_profile', Configure = '3_configure' } export const enum TerminalMenuBarGroup { Create = '1_create', Run = '2_run',"} {"_id":"q-en-vscode-1f994d3d21e5237f9e9858e4d1e9089c075baad06329107ef6894e0c49f86837","text":"static readonly ID: string = 'workbench.explorer.emptyView'; static readonly NAME = nls.localize('noWorkspace', \"No Folder Opened\"); private _disposed: boolean = false; constructor( options: IViewletViewOptions,"} {"_id":"q-en-vscode-1fba80b5344ffd7236b561b5487f049981d8095d3a0794c98de979c6f1fd42e2","text":"} } // If any candidates end with special characters that are likely to not be part of the // link, add a candidate excluding them. const specialEndCharRegex = /[[]]$/; const trimRangeMap: Map = new Map(); const specialEndLinkCandidates: string[] = []; for (const candidate of linkCandidates) { let previous = candidate; let removed = previous.replace(specialEndCharRegex, ''); let trimRange = 0; while (removed !== previous) { trimRange++; specialEndLinkCandidates.push(removed); trimRangeMap.set(removed, trimRange); previous = removed; removed = removed.replace(specialEndCharRegex, ''); } } linkCandidates.push(...specialEndLinkCandidates); const linkStat = await this._validateLinkCandidates(linkCandidates); // Create the link if validated"} {"_id":"q-en-vscode-1fd1398245dae1e96ee3fed16a9af72db5370c879c16b2de112a2733a1060d03","text":"\"values\": [ { \"name\": \"center\", \"desc\": \"Places the center of the Grid Item's margin box at the center of the the Grid Item's column.\" \"desc\": \"Places the center of the Grid Item's margin box at the center of the Grid Item's column.\" }, { \"name\": \"end\","} {"_id":"q-en-vscode-1fd5dba1029fcc0c4b08f279842bc96f15dbe708761d3cefd3424f11ee261ef7","text":"const possibleChangesLength = possibleChanges.length; if (inclusive) { if ((getModifiedEndLineNumber(change.change) >= lineNumber) && (change.change.modifiedStartLineNumber <= lineNumber)) { if (getModifiedEndLineNumber(change.change) >= lineNumber) { if (preferredProvider && change.label !== preferredProvider) { possibleChanges.push(i); } else {"} {"_id":"q-en-vscode-1ffeea3f4f152ecc18502a8775ff49a4061bab33aedb2f82e573811a13d9f5ea","text":" /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import * as assert from 'assert'; import { IListRenderer, IListVirtualDelegate } from 'vs/base/browser/ui/list/list'; import { List } from 'vs/base/browser/ui/list/listWidget'; import { range } from 'vs/base/common/arrays'; import { timeout } from 'vs/base/common/async'; suite('ListWidget', function () { test('Page up and down', async function () { const element = document.createElement('div'); element.style.height = '200px'; element.style.width = '200px'; const delegate: IListVirtualDelegate = { getHeight() { return 20; }, getTemplateId() { return 'template'; } }; let templatesCount = 0; const renderer: IListRenderer = { templateId: 'template', renderTemplate() { templatesCount++; }, renderElement() { }, disposeTemplate() { templatesCount--; } }; const listWidget = new List('test', element, delegate, [renderer]); listWidget.layout(200); assert.strictEqual(templatesCount, 0, 'no templates have been allocated'); listWidget.splice(0, 0, range(100)); listWidget.focusFirst(); listWidget.focusNextPage(); assert.strictEqual(listWidget.getFocus()[0], 9, 'first page down moves focus to element at bottom'); // scroll to next page is async listWidget.focusNextPage(); await timeout(0); assert.strictEqual(listWidget.getFocus()[0], 19, 'page down to next page'); listWidget.focusPreviousPage(); assert.strictEqual(listWidget.getFocus()[0], 10, 'first page up moves focus to element at top'); // scroll to previous page is async listWidget.focusPreviousPage(); await timeout(0); assert.strictEqual(listWidget.getFocus()[0], 0, 'page down to previous page'); listWidget.dispose(); }); test('Page up and down with item taller than viewport #149502', async function () { const element = document.createElement('div'); element.style.height = '200px'; element.style.width = '200px'; const delegate: IListVirtualDelegate = { getHeight() { return 200; }, getTemplateId() { return 'template'; } }; let templatesCount = 0; const renderer: IListRenderer = { templateId: 'template', renderTemplate() { templatesCount++; }, renderElement() { }, disposeTemplate() { templatesCount--; } }; const listWidget = new List('test', element, delegate, [renderer]); listWidget.layout(200); assert.strictEqual(templatesCount, 0, 'no templates have been allocated'); listWidget.splice(0, 0, range(100)); listWidget.focusFirst(); assert.strictEqual(listWidget.getFocus()[0], 0, 'initial focus is first element'); // scroll to next page is async listWidget.focusNextPage(); await timeout(0); assert.strictEqual(listWidget.getFocus()[0], 1, 'page down to next page'); // scroll to previous page is async listWidget.focusPreviousPage(); await timeout(0); assert.strictEqual(listWidget.getFocus()[0], 0, 'page up to next page'); listWidget.dispose(); }); }); "} {"_id":"q-en-vscode-201a4172d06f64c4e96c0dcea2508367453879027e890bb76d83a280cd6dcc55","text":"} private async computeAndUpdateEnablement(): Promise { this.enabled = false; this.class = UpdateAction.DisabledClass; this.label = this.getLabel(); if (!this.extension) { this.enabled = false; this.class = UpdateAction.DisabledClass; this.label = this.getLabel(); return; } if (this.extension.deprecationInfo) { return; }"} {"_id":"q-en-vscode-203a7e28789a8b8bcee1ef5745114ce2c496c0f29fee0c05703534c2e6ef51ca","text":"export class SettingsChangeRelauncher extends Disposable implements IWorkbenchContribution { private titleBarStyle: 'native' | 'custom' | undefined; private windowControlsOverlayEnabled: boolean | undefined; private windowSandboxEnabled: boolean | undefined; private nativeTabs: boolean | undefined; private nativeFullScreen: boolean | undefined; private clickThroughInactive: boolean | undefined; private updateMode: string | undefined; private readonly titleBarStyle = new ChangeObserver<'native' | 'custom'>('string'); private readonly windowControlsOverlayEnabled = new ChangeObserver('boolean'); private readonly windowSandboxEnabled = new ChangeObserver('boolean'); private readonly nativeTabs = new ChangeObserver('boolean'); private readonly nativeFullScreen = new ChangeObserver('boolean'); private readonly clickThroughInactive = new ChangeObserver('boolean'); private readonly updateMode = new ChangeObserver('string'); private accessibilitySupport: 'on' | 'off' | 'auto' | undefined; private workspaceTrustEnabled: boolean | undefined; private settingsProfilesEnabled: boolean | undefined; private experimentsEnabled: boolean | undefined; private enablePPEExtensionsGallery: boolean | undefined; private readonly workspaceTrustEnabled = new ChangeObserver('boolean'); private readonly settingsProfilesEnabled = new ChangeObserver('boolean'); private readonly experimentsEnabled = new ChangeObserver('boolean'); private readonly enablePPEExtensionsGallery = new ChangeObserver('boolean'); constructor( @IHostService private readonly hostService: IHostService,"} {"_id":"q-en-vscode-20965baa1de4a6c1a53a7965e6dfe40bde13093748e40b346f012f85124d8984","text":"let waitMarkerError: Error; const randomTmpFile = paths.join(os.tmpdir(), Math.random().toString(36).replace(/[^a-z]+/g, '').substr(0, 10)); try { writeFileAndFlushSync(randomTmpFile, ''); fs.writeFileSync(randomTmpFile, ''); waitMarkerFilePath = randomTmpFile; argv.push('--waitMarkerFilePath', waitMarkerFilePath); } catch (error) {"} {"_id":"q-en-vscode-20eae345883d9f0b6efe7c60e2bf7f536f3bdf38d4e8f93138c6487a9365fe77","text":"/* No Tab Close Button */ .monaco-workbench > .part.editor > .content > .one-editor-silo > .container > .title .tabs-container > .tab.close-button-off { padding-right: 28px; /* make room for dirty indication when we are running without close button */ padding-right: 12px; transition: padding-right ease-in-out 100ms; } .monaco-workbench > .part.editor > .content > .one-editor-silo > .container > .title .tabs-container > .tab.close-button-off.dirty { background-repeat: no-repeat; background-position-y: center; background-position-x: calc(100% - 6px); /* to the right of the tab label */ padding-right: 28px; /* make room for dirty indication when we are running without close button */ } .vs .monaco-workbench > .part.editor > .content > .one-editor-silo > .container > .title .tabs-container > .tab.close-button-off.dirty {"} {"_id":"q-en-vscode-211688f9b6445ba29dc408ced4f38234e620e22b06cc2c3b30909e8f90da9872","text":"resolved \"https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.207.tgz#9c3310ebace2952903d05dcaba8abe3a4ed44c01\" integrity sha512-piH7MJDJp4rJCduWbVvmUd59AUne1AFBJ8JaRQvk0KzNTSUnZrVXHCZc+eg+CGE4OujkcLJznhGKD6tuAshj5Q== electron@19.0.11: version \"19.0.11\" resolved \"https://registry.yarnpkg.com/electron/-/electron-19.0.11.tgz#0c0a52abc08694fd38916d9270baf45bb7752a27\" integrity sha512-GPM6C1Ze17/gR4koTE171MxrI5unYfFRgXQdkMdpWM2Cd55LMUrVa0QHCsfKpsaloufv9T65lsOn0uZuzCw5UA== electron@19.0.12: version \"19.0.12\" resolved \"https://registry.yarnpkg.com/electron/-/electron-19.0.12.tgz#73d11cc2a3e4dbcd61fdc1c39561e7a7911046e9\" integrity sha512-GOvG0t2NCeJYIfmC3g/dnEAQ71k3nQDbRVqQhpi2YbsYMury0asGJwqnVAv2uZQEwCwSx4XOwOQARTFEG/msWw== dependencies: \"@electron/get\" \"^1.14.1\" \"@types/node\" \"^16.11.26\""} {"_id":"q-en-vscode-213edcbfd60e604800c5478c94b798f0566ca70d7bf6fd04e76f572836be4a13","text":"import { editorBackground, editorForeground, inputBackground } from 'vs/platform/theme/common/colorRegistry'; import { ChatModel } from 'vs/workbench/contrib/chat/common/chatModel'; import { Range } from 'vs/editor/common/core/range'; import { ServiceCollection } from 'vs/platform/instantiation/common/serviceCollection'; import { IContextKeyService } from 'vs/platform/contextkey/common/contextkey'; export class InlineChatContentWidget implements IContentWidget {"} {"_id":"q-en-vscode-2227604c22a3b38792b041004a41518bc2f7e6f3acb8e9485206b3f1f5498f11","text":"} else if (minimapSide === 'right') { this._rootDomNode.style.marginLeft = '0px'; } this._rootDomNode.style.zIndex = '11'; } public getId(): string {"} {"_id":"q-en-vscode-2237e9759dbf0d288469243d6d258a00b712401d24463d6a6c07c6298c0ab5ab","text":".monaco-action-bar .action-item .monaco-select-box { cursor: pointer; min-width: 110px; min-width: 70px; min-height: 18px; padding: 2px 23px 2px 8px; }"} {"_id":"q-en-vscode-2243570454d164c6fac52326acef1c4839fd3bc152e1a7bb29ee40287ad1708d","text":"__vsc_command_complete() { builtin local __vsc_history_id=$(builtin history | tail -n1 | awk '{print $1;}') if [[ \"$__vsc_history_id\" == \"$__vsc_last_history_id\" ]]; then builtin printf \"033]633;D007\" else builtin printf \"033]633;D;%s007\" \"$__vsc_status\" __vsc_last_history_id=$__vsc_history_id # Don't write the command complete sequence for the first prompt without an associated command if [[ \"$__vsc_initialized\" == \"1\" ]]; then if [[ \"$__vsc_history_id\" == \"$__vsc_last_history_id\" ]]; then builtin printf \"033]633;D007\" else builtin printf \"033]633;D;%s007\" \"$__vsc_status\" __vsc_last_history_id=$__vsc_history_id fi fi __vsc_update_cwd }"} {"_id":"q-en-vscode-224637422e48bb317d34e62ceb166f54b22f86ee2372d969ec2611ef2aeaaf68","text":"public fulfillOverlayWidget(detail: string): IMouseTargetOverlayWidget { return MouseTarget.createOverlayWidget(this.target, this._getMouseColumn(), detail); } public withTarget(target: HTMLElement | null): HitTestRequest { return new HitTestRequest(this._ctx, this.editorPos, this.pos, this.relativePos, target); } } interface ResolvedHitTestRequest extends HitTestRequest {"} {"_id":"q-en-vscode-224d6706722c3f31915197cd4e570d3d9c402246a1c66a201f63499881cf6ce6","text":"let uninitializedPromise: TPromise | null = null; const emitter = new Emitter({ onFirstListenerAdd: () => { uninitializedPromise = this.whenInitialized().then(() => { uninitializedPromise = this.whenInitialized(); uninitializedPromise.then(() => { uninitializedPromise = null; this.send(request.raw); });"} {"_id":"q-en-vscode-2281be002439c7ddcaf9067a0175528d0fd4d86dd839ccaef3594b9125cf196c","text":".settings-editor > .settings-body .settings-tree-container .setting-item.setting-item-list .setting-list-sibling, .settings-editor > .settings-body .settings-tree-container .setting-item.setting-item-list .setting-list-object-widget .setting-list-object-key, .settings-editor > .settings-body .settings-tree-container .setting-item.setting-item-list .setting-list-object-widget .setting-list-object-value { white-space: normal; overflow-wrap: normal; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } .settings-editor > .settings-body .settings-tree-container .setting-item-bool .setting-value-checkbox {"} {"_id":"q-en-vscode-2288e392ca12f48efaf74caeff7bf2818ecae7186fc113e548d93f06fd0da7d5","text":"\"vscode-debugprotocol\": \"1.10.0\", \"vscode-textmate\": \"2.0.1\", \"winreg\": \"1.2.0\", \"xterm\": \"git+https://github.com/sourcelair/xterm.js.git#55fb5db\", \"xterm\": \"git+https://github.com/sourcelair/xterm.js.git#5e662d0\", \"yauzl\": \"2.3.1\" }, \"devDependencies\": {"} {"_id":"q-en-vscode-229ade6875fe181b2e34e1f5a208f421ddaa5939602fc29ff356516e51811bc5","text":"} protected abstract _showTerminalCloseConfirmation(): TPromise; protected abstract _showNotEnoughSpaceToast(): void; public abstract createTerminal(shell?: IShellLaunchConfig, wasNewTerminalAction?: boolean): ITerminalInstance; public abstract createTerminalRenderer(name: string): ITerminalInstance; public abstract createInstance(terminalFocusContextKey: IContextKey, configHelper: ITerminalConfigHelper, container: HTMLElement, shellLaunchConfig: IShellLaunchConfig, doCreateProcess: boolean): ITerminalInstance;"} {"_id":"q-en-vscode-22aaf871942f239bd4af281e6b6b18c11b98fbc943b957a7e1d24fa87a5099ba","text":"accessor.get(IAccessibleViewService).next(); } } registerAction2(AccessibleViewNextAction); class AccessibleViewPreviousAction extends Action2 { static id: 'editor.action.accessibleViewPrevious'; constructor() { super({ id: AccessibleViewPreviousAction.id, id: 'editor.action.accessibleViewPrevious', precondition: accessibleViewIsShown, keybinding: { primary: KeyMod.Alt | KeyCode.BracketLeft,"} {"_id":"q-en-vscode-22c0fc9fc2df9dfe7d9e9a3189d8586d85dcf422e8672811baf772b3526a2f44","text":"}); }); test('updateElementHeight with anchor #121723: focus element out of viewport', async function () { test('updateElementHeight with no scrolling', async function () { config.setUserConfiguration(NotebookSetting.scrollToRevealCell, 'none'); await withTestNotebook( [ ['# header a', 'markdown', CellKind.Markup, [], {}], ['var b = 1;', 'javascript', CellKind.Code, [], {}], ['# header b', 'markdown', CellKind.Markup, [], {}], ['var b = 2;', 'javascript', CellKind.Code, [], {}], ['# header c', 'markdown', CellKind.Markup, [], {}] ], async (editor, viewModel, disposables) => { viewModel.restoreEditorViewState({ editingCells: [false, false, false, false, false], editorViewStates: [null, null, null, null, null], cellTotalHeights: [50, 100, 50, 100, 50], cellLineNumberStates: {}, collapsedInputCells: {}, collapsedOutputCells: {}, }); const cellList = createNotebookCellList(instantiationService, disposables); cellList.attachViewModel(viewModel); // render height 210, it can render 3 full cells and 1 partial cell cellList.layout(210, 100); // init scrollTop and scrollBottom assert.deepStrictEqual(cellList.scrollTop, 0); assert.deepStrictEqual(cellList.getViewScrollBottom(), 210); // scroll to 5 cellList.updateElementHeight2(viewModel.cellAt(0)!, 50); cellList.scrollTop = 5; assert.deepStrictEqual(cellList.scrollTop, 5); assert.deepStrictEqual(cellList.getViewScrollBottom(), 215); cellList.setFocus([1]); cellList.updateElementHeight2(viewModel.cellAt(0)!, 100); assert.deepStrictEqual(cellList.scrollHeight, 400); // Any change in cell size should not affect the scroll height with scrollToReveal set to none assert.deepStrictEqual(cellList.scrollTop, 5); cellList.updateElementHeight2(viewModel.cellAt(0)!, 50); assert.deepStrictEqual(cellList.scrollTop, 5); cellList.updateElementHeight2(viewModel.cellAt(0)!, 250); assert.deepStrictEqual(cellList.scrollTop, 5); }); }); test('updateElementHeight with no scroll setting and cell editor focused', async function () { config.setUserConfiguration(NotebookSetting.scrollToRevealCell, 'none'); await withTestNotebook( [ ['# header a', 'markdown', CellKind.Markup, [], {}], ['var b = 1;', 'javascript', CellKind.Code, [], {}], ['# header b', 'markdown', CellKind.Markup, [], {}], ['var b = 2;', 'javascript', CellKind.Code, [], {}], ['# header c', 'markdown', CellKind.Markup, [], {}] ], async (editor, viewModel, disposables) => { viewModel.restoreEditorViewState({ editingCells: [false, false, false, false, false], editorViewStates: [null, null, null, null, null], cellTotalHeights: [50, 100, 50, 100, 50], cellLineNumberStates: {}, collapsedInputCells: {}, collapsedOutputCells: {}, }); const cellList = createNotebookCellList(instantiationService, disposables); cellList.attachViewModel(viewModel); // render height 210, it can render 3 full cells and 1 partial cell cellList.layout(210, 100); // init scrollTop and scrollBottom assert.deepStrictEqual(cellList.scrollTop, 0); assert.deepStrictEqual(cellList.getViewScrollBottom(), 210); cellList.setFocus([1]); editor.focusNotebookCell(cellList.viewModel?.cellAt(1)!, 'editor'); cellList.updateElementHeight2(viewModel.cellAt(0)!, 100); assert.deepStrictEqual(cellList.scrollHeight, 400); // We have the cell editor focused, so we should anchor to that cell assert.deepStrictEqual(cellList.scrollTop, 50); cellList.updateElementHeight2(viewModel.cellAt(0)!, 50); assert.deepStrictEqual(cellList.scrollTop, 0); cellList.updateElementHeight2(viewModel.cellAt(0)!, 250); assert.deepStrictEqual(cellList.scrollTop, 250 + 100 - cellList.renderHeight); }); }); test('updateElementHeight with focused element out of viewport', async function () { await withTestNotebook( [ ['# header a', 'markdown', CellKind.Markup, [], {}],"} {"_id":"q-en-vscode-22f844f38080cc34c8523d379623e08ac728c097874798e6c89f743dcabdafc7","text":"} this.handlers.set(id, handler); this.proxy.$registerProfileContentHandler(id, handler.name, extension.identifier.value); this.proxy.$registerProfileContentHandler(id, handler.name, handler.description, extension.identifier.value); return toDisposable(() => { this.handlers.delete(id);"} {"_id":"q-en-vscode-2329808d57d976b555fa1300bc89e175fee21baa622edd642532206cf025157a","text":"\"@microsoft/1ds-post-js\": \"^3.2.13\", \"@vscode/iconv-lite-umd\": \"0.7.0\", \"@vscode/vscode-languagedetection\": \"1.0.21\", \"@xterm/addon-canvas\": \"0.6.0-beta.16\", \"@xterm/addon-image\": \"0.7.0-beta.14\", \"@xterm/addon-search\": \"0.14.0-beta.16\", \"@xterm/addon-serialize\": \"0.12.0-beta.16\", \"@xterm/addon-unicode11\": \"0.7.0-beta.16\", \"@xterm/addon-webgl\": \"0.17.0-beta.16\", \"@xterm/xterm\": \"5.4.0-beta.16\", \"@xterm/addon-canvas\": \"0.6.0-beta.17\", \"@xterm/addon-image\": \"0.7.0-beta.15\", \"@xterm/addon-search\": \"0.14.0-beta.17\", \"@xterm/addon-serialize\": \"0.12.0-beta.17\", \"@xterm/addon-unicode11\": \"0.7.0-beta.17\", \"@xterm/addon-webgl\": \"0.17.0-beta.17\", \"@xterm/xterm\": \"5.4.0-beta.17\", \"jschardet\": \"3.0.0\", \"tas-client-umd\": \"0.1.8\", \"vscode-oniguruma\": \"1.7.0\","} {"_id":"q-en-vscode-235b7f5fd96d69f9dcf23c9c2c26789487dc3f0a4a4cda09eec2fb79a5443768","text":"keybinding: { primary: KeyMod.Alt | KeyCode.KeyW, mac: { primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.KeyW }, when: ContextKeyExpr.or(TerminalContextKeys.focusInAny, TerminalContextKeys.findFocus), when: TerminalContextKeys.findVisible, weight: KeybindingWeight.WorkbenchContrib }, precondition: ContextKeyExpr.or(TerminalContextKeys.processSupported, TerminalContextKeys.terminalHasBeenCreated),"} {"_id":"q-en-vscode-23d569d153f81373a1d547a99c204a152567f8b95bc4eb0c3b781aa2b7c0df85","text":"] }, [TerminalSettingId.EnablePersistentSessions]: { description: localize('terminal.integrated.enablePersistentSessions', \"Persist terminal sessions for the workspace across window reloads.\"), description: localize('terminal.integrated.enablePersistentSessions', \"Persist terminal sessions/history for the workspace across window reloads.\"), type: 'boolean', default: true }, [TerminalSettingId.PersistentSessionReviveProcess]: { markdownDescription: localize('terminal.integrated.persistentSessionReviveProcess', \"When the terminal process must be shutdown (eg. on window or application close), this determines when the previous terminal session contents should be restored and processes be recreated when the workspace is next opened.nnCaveats:nn- Restoring of the process current working directory depends on whether it is supported by the shell.n- Time to persist the session during shutdown is limited, so it may be aborted when using high-latency remote connections.\"), markdownDescription: localize('terminal.integrated.persistentSessionReviveProcess', \"When the terminal process must be shutdown (eg. on window or application close), this determines when the previous terminal session contents/history should be restored and processes be recreated when the workspace is next opened.nnCaveats:nn- Restoring of the process current working directory depends on whether it is supported by the shell.n- Time to persist the session during shutdown is limited, so it may be aborted when using high-latency remote connections.\"), type: 'string', enum: ['onExit', 'onExitAndWindowClose', 'never'], markdownEnumDescriptions: ["} {"_id":"q-en-vscode-246e2f82d17b301cdd00cc7d6fa5785280198a8e989a0885437bdf54dc553581","text":"} this._register(browser.onDidChangeZoomLevel(_ => this._recomputeOptions())); this._register(browser.onDidChangeEditorZoomLevel(_ => this._recomputeOptions())); } private _onReferenceDomElementSizeChanged(): void {"} {"_id":"q-en-vscode-247ec37c61bfac48b31f262694677dee85cd811061dec3e92653e6b470264dc5","text":"} const originalProfile = this.userDataProfileService.currentProfile; await this.userDataProfileImportExportService.createTemporaryProfile(this.userDataProfileService.currentProfile, localize('troubleshoot issue', \"Troubleshoot Issue\"), true); await this.userDataProfileImportExportService.createTroubleshootProfile(); this.state = new TroubleShootState(TroubleshootStage.EXTENSIONS, originalProfile.id); await this.resume(); }"} {"_id":"q-en-vscode-251e064b4b874bccbf774876cf62e98ed3d51863080c40840fb7da5c9cdf32bc","text":"return; } runAccessibilityHelpAction(accessor, codeEditor, 'panelChat'); }, CONTEXT_IN_CHAT_INPUT)); }, CONTEXT_IN_CHAT_SESSION)); } }"} {"_id":"q-en-vscode-2533f74698442e48c448afdb531b5c571dede926800bb9fd2d2f73fa9248fba3","text":"if (settingId !== this.currentColorTheme.settingsId) { await this.internalSetColorTheme(theme.id, undefined); } else if (theme !== this.currentColorTheme) { await theme.ensureLoaded(this.extensionResourceLoaderService); theme.setCustomizations(this.settings); await this.applyTheme(theme, undefined, true); }"} {"_id":"q-en-vscode-25fcdc8b7320066ba83b7406b6fd34bdbebd2b1543341556ef753ab920a5701f","text":"this.toDispose.push(this.editor.onMouseDown((e: IEditorMouseEvent) => this.onEditorMouseDown(e))); this.toDispose.push(this.editor.onMouseMove((e: IEditorMouseEvent) => this.onEditorMouseMove(e))); this.toDispose.push(this.editor.onMouseLeave((e: IEditorMouseEvent) => { this.provideNonDebugHoverScheduler.cancel(); const hoverDomNode = this.hoverWidget.getDomNode(); if (!hoverDomNode) { return;"} {"_id":"q-en-vscode-2617b6cda43215d0e324195cbd88dbbe85724d92b2e66b59403cb2ffd5d16d3c","text":"resolved \"https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.207.tgz#9c3310ebace2952903d05dcaba8abe3a4ed44c01\" integrity sha512-piH7MJDJp4rJCduWbVvmUd59AUne1AFBJ8JaRQvk0KzNTSUnZrVXHCZc+eg+CGE4OujkcLJznhGKD6tuAshj5Q== electron@25.8.4: version \"25.8.4\" resolved \"https://registry.yarnpkg.com/electron/-/electron-25.8.4.tgz#b50877aac7d96323920437baf309ad86382cb455\" integrity sha512-hUYS3RGdaa6E1UWnzeGnsdsBYOggwMMg4WGxNGvAoWtmRrr6J1BsjFW/yRq4WsJHJce2HdzQXtz4OGXV6yUCLg== electron@25.9.1: version \"25.9.1\" resolved \"https://registry.yarnpkg.com/electron/-/electron-25.9.1.tgz#cc4baecbebe346b050b9cf9db9882d3d00fc4abd\" integrity sha512-Uo/Fh7igjoUXA/f90iTATZJesQEArVL1uLA672JefNWTLymdKSZkJKiCciu/Xnd0TS6qvdIOUGuJFSTQnKskXQ== dependencies: \"@electron/get\" \"^2.0.0\" \"@types/node\" \"^18.11.18\""} {"_id":"q-en-vscode-2619c6c6844b5f7667b56a47c6d6af1be210269e08fe82c902255c4c067a4f8b","text":"\"config.inputValidation\": \"Controls when to show commit message input validation.\", \"config.detectSubmodules\": \"Controls whether to automatically detect git submodules.\", \"config.detectSubmodulesLimit\": \"Controls the limit of git submodules detected.\", \"config.alwaysSignOff\": \"Controls the signoff flag for all commits\", \"colors.modified\": \"Color for modified resources.\", \"colors.deleted\": \"Color for deleted resources.\", \"colors.untracked\": \"Color for untracked resources.\","} {"_id":"q-en-vscode-26251c83af8b5c52cfe12687c0225226ca6d3d5b23b98611e2cb4e3d7229c1d3","text":"private _updateTabActionBar(profiles: ITerminalProfile[]): void { const actions = getTerminalActionBarArgs(TerminalLocation.Panel, profiles, this._getDefaultProfileName(), this._terminalProfileService.contributedProfiles, this._terminalService, this._dropdownMenu); this._registerDisposableActions(actions.dropdownAction, actions.dropdownMenuActions); this._newDropdown?.update(actions.dropdownAction, actions.dropdownMenuActions); }"} {"_id":"q-en-vscode-264fad3bd7e6513712acebbaa81fb0ee05f505fb287b8d2e7ad3fa53debc3a76","text":"const newCellListHeight = Math.max(newBodyHeight - topInserToolbarHeight, 0); if (this._list.getRenderHeight() < newCellListHeight) { // the new dimension is larger than the list viewport, update its additional height first, otherwise the list view will move down a bit (as the `scrollBottom` will move down) this._list.updateOptions({ additionalScrollHeight: this._allowScrollBeyondLastLine() ? Math.max(0, (newCellListHeight - 50)) : topInserToolbarHeight, overrideStyles: this._listStyleOverride }); this._list.updateOptions({ additionalScrollHeight: this._allowScrollBeyondLastLine() ? Math.max(0, (newCellListHeight - 50)) : topInserToolbarHeight }); this._list.layout(newCellListHeight, dimension.width); } else { // the new dimension is smaller than the list viewport, if we update the additional height, the `scrollBottom` will move up, which moves the whole list view upwards a bit. So we run a layout first. this._list.layout(newCellListHeight, dimension.width); this._list.updateOptions({ additionalScrollHeight: this._allowScrollBeyondLastLine() ? Math.max(0, (newCellListHeight - 50)) : topInserToolbarHeight, overrideStyles: this._listStyleOverride }); this._list.updateOptions({ additionalScrollHeight: this._allowScrollBeyondLastLine() ? Math.max(0, (newCellListHeight - 50)) : topInserToolbarHeight }); } this._overlayContainer.style.visibility = 'visible';"} {"_id":"q-en-vscode-26515f53799cfff11c4f33507f155cbc514ce52a0ca5f730633331816fff8588","text":"if (action instanceof MenuItemAction) { const location = { viewColumn: ACTIVE_GROUP }; const actions = getTerminalActionBarArgs(location, this._terminalProfileService.availableProfiles, this._getDefaultProfileName(), this._terminalProfileService.contributedProfiles, this._terminalService, this._dropdownMenu); this._registerDisposableActions(actions.dropdownAction, actions.dropdownMenuActions); const button = this._instantiationService.createInstance(DropdownWithPrimaryActionViewItem, action, actions.dropdownAction, actions.dropdownMenuActions, actions.className, this._contextMenuService, { hoverDelegate: options.hoverDelegate }); return button; }"} {"_id":"q-en-vscode-2664c19210254d3276fc057d538f302206f4196394d0dbf0a7210ba5eca39dd8","text":"} public show(top: number, newContent: string | undefined, metadata: NotebookCellMetadata | undefined): void { this.element.style.visibility = 'visible'; this.element.style.visibility = ''; this.element.style.top = `${top}px`; if (typeof newContent === 'string' || metadata) { this.updateContentAndRender(newContent ?? this._content.value, metadata ?? this._content.metadata);"} {"_id":"q-en-vscode-2670c13031c8385a21dfecc7324726a2ef4c9ad32a2abab1dbaf37354a74d73f","text":"\"dependencies\": { \"@vscode/extension-telemetry\": \"0.5.1\", \"request-light\": \"^0.5.8\", \"vscode-languageclient\": \"^8.0.1\", \"vscode-languageclient\": \"^8.0.2-next.4\", \"vscode-nls\": \"^5.0.1\" }, \"devDependencies\": {"} {"_id":"q-en-vscode-27133e05cbf3f9b6701a1b3e6d04400b54538822ab8db8e52cd4b778a6170f06","text":"result.edits.push({ oldResource: entry.from, newResource: entry.to, options: entry.options, options: { ...entry.options, contentsBase64: entry.options?.contents && encodeBase64(VSBuffer.wrap(entry.options.contents)) }, metadata: entry.metadata });"} {"_id":"q-en-vscode-276604d97aca0218e0aae121bc896f36937f6d85043e51da25958fb007c2f46d","text":"showMethods: true, showFunctions: true, showConstructors: true, showDeprecated: true, showFields: true, showVariables: true, showClasses: true,"} {"_id":"q-en-vscode-27792e3ed01dd07b35ad3ac545c4050e6b75eb3b956f3d090341eb68af414e31","text":"}); test('fuzzyScore2 (matching)', function () { const target = 'HeLlo-World'; const target = 'HelLo-World'; for (const offset of [0, 3]) { let [score, matches] = _doScore2(offset === 0 ? target : `123${target}`, 'HeLlo-World', offset); let [score, matches] = _doScore2(offset === 0 ? target : `123${target}`, 'HelLo-World', offset); assert.ok(score); assert.strictEqual(matches.length, 1);"} {"_id":"q-en-vscode-2786e92f6099216c3cfeef3485ca0699e8cc18950f76ebf4338f1be360d2bb70","text":"setCompositeBarItems(items: ICompositeBarItem[]): void { this.model.setItems(items); this.updateCompositeSwitcher(); this.updateCompositeSwitcher(true); } getPinnedComposites(): ICompositeBarItem[] {"} {"_id":"q-en-vscode-27b0ffe945b40ccddc4284ac356bdc7182ec161f5fa212ae08ec1b8da284b15d","text":"//#endregion //#region Task /** * Controls how the task is presented in the UI. */ export interface TaskPresentationOptions { /** * Controls whether the terminal is cleared before executing the task. */ clear?: boolean; } export enum RerunBehavior { reevaluate = 1, useEvaluated = 2,"} {"_id":"q-en-vscode-27bb5412257ea9656956482530d9a48ce916e74aeaeb1d8fd31c0ec029cdb036","text":"\"textCodeBlock.background\": \"#F8F8F8\", \"textLink.activeForeground\": \"#005FB8\", \"textLink.foreground\": \"#005FB8\", \"textPreformat.foreground\": \"#3B3B3B\", \"textPreformat.foreground\": \"#A31515\", \"textPreformat.background\":\t\"#0000001F\", \"textSeparator.foreground\": \"#21262D\", \"titleBar.activeBackground\": \"#F8F8F8\","} {"_id":"q-en-vscode-280b14373661fb93968b4ade9a517b451a056de8b2d2e07b7ba0c2658a8086db","text":"} const { result } = await this.dialogService.prompt({ type: Severity.Info, message: localize('profile already exists', \"Profile with name '{0}' already exists. Do you want to overwrite it?\", profileTemplate.name), message: localize('profile already exists', \"Profile with name '{0}' already exists. Do you want to overwrite it?\", profileName), buttons: [ { label: localize({ key: 'overwrite', comment: ['&& denotes a mnemonic'] }, \"&&Overwrite\"),"} {"_id":"q-en-vscode-28a6ba27915fef39759708ede86987e208607f4f1113753d6fbb3edbda375917","text":"private _removeCellDecoration(decorationId: string) { const options = this._resolvedCellDecorations.get(decorationId); this._resolvedCellDecorations.delete(decorationId); if (options) { for (const existingOptions of this._resolvedCellDecorations.values()) { // don't remove decorations that are applied from other entries if (options.className === existingOptions.className) { options.className = undefined; } if (options.outputClassName === existingOptions.outputClassName) { options.outputClassName = undefined; } if (options.gutterClassName === existingOptions.gutterClassName) { options.gutterClassName = undefined; } if (options.topClassName === existingOptions.topClassName) { options.topClassName = undefined; } } this._cellDecorationsChanged.fire({ added: [], removed: [options] }); this._resolvedCellDecorations.delete(decorationId); } }"} {"_id":"q-en-vscode-28e780723c2db18754ff9dc296cd10b81998160777c79160efec3bfd145c7f2c","text":"} private _isDisposed = false; private _isReadonly = false; constructor( readonly viewType: string,"} {"_id":"q-en-vscode-28f5c22191f1d98d3ca2065962cbfd5ba2383f18e72aa78d3b5966445be711b0","text":"} } }); this.threads.forEach(t => { // Remove all old threads which are no longer part of the update #75980 if (threadIds.indexOf(t.threadId) === -1) { this.threads.delete(t.threadId); } }); const stoppedDetails = data.stoppedDetails; if (stoppedDetails) {"} {"_id":"q-en-vscode-28f60cc19d3fab92fce87c97fe5de7b6862d5a8f1880f81b962ca5a26eb5f3d4","text":"}, \"autoCloseBefore\": \";:.,={}])>` nt$\", \"wordPattern\": { \"pattern\": \"(p{Alphabetic}|p{Number}|p{Nonspacing_Mark}){2,}\", \"pattern\": \"(p{Alphabetic}|p{Number}|p{Nonspacing_Mark}){1,}\", \"flags\": \"u\" } }"} {"_id":"q-en-vscode-28ffac41ec6aad896772f076569ab9839a8e06614a82a48a7f9826629662a6ff","text":"return ancestor; } // TODO@lszomoru - Return first commit // First commit const commits = await this.repository.log({ maxParents: 0, refNames: ['HEAD'] }); if (commits.length > 0) { return commits[0].hash; } } else if (historyItemGroupIds.length > 1) { const ancestor = await this.repository.getMergeBase(historyItemGroupIds[0], historyItemGroupIds[1], ...historyItemGroupIds.slice(2)); return ancestor;"} {"_id":"q-en-vscode-298f4ceded4c060215b9b252a11f79b6d6a69ee38cde22b6ca24a2b13482e034","text":"} model.setLanguage(provider.options.language ?? 'markdown'); container.appendChild(this._editorContainer); let ariaLabel = undefined; const label = provider.options.ariaLabel; const navigationHint = this._getNavigationAriaHint(provider.verbositySettingKey); const disableHint = this._getDisableVerbosityHint(provider.verbositySettingKey); if (label && navigationHint && disableHint) { ariaLabel = localize('ariaLabelAll', '{0}, {1}, {2}', label, navigationHint, disableHint); } else if (label && navigationHint) { ariaLabel = localize('ariaLabelLabelNavigation', '{0}, {1}', label, navigationHint); } else if (label && disableHint) { ariaLabel = localize('ariaLabelLabelDisable', '{0}, {1}', label, disableHint); } else if (navigationHint && disableHint) { ariaLabel = localize('ariaLabelNavigationDisable', '{0}, {1}', navigationHint, disableHint); let ariaLabel = ''; let helpHint = ''; if (this._configurationService.getValue(provider.verbositySettingKey) && provider.options.type !== 'help') { const accessibilityHelpKeybinding = this._keybindingService.lookupKeybinding('editor.action.accessibilityHelp')?.getLabel(); if (accessibilityHelpKeybinding) { helpHint = localize('ariaAccessibilityHelp', \"Use {0} for accessibility help\", accessibilityHelpKeybinding); } } if (helpHint) { ariaLabel = provider.options.ariaLabel ? localize('helpAriaKb', \"{0}, {1}\", provider.options.ariaLabel, helpHint) : localize('accessible-view', \"Accessible View, {0}\", helpHint); } else { ariaLabel = provider.options.ariaLabel ? provider.options.ariaLabel : localize('helpAriaNoKb', \"Accessible View\"); } this._editorWidget.updateOptions({ ariaLabel }); this._editorWidget.focus();"} {"_id":"q-en-vscode-29c5142aff47560902ffb96ad499f3d2cb4ccaa677b01298d6e804723885417b","text":"\"engines\": { \"vscode\": \"0.10.x\" }, \"categories\": [ \"categories\": [ \"Other\" ], \"activationEvents\": ["} {"_id":"q-en-vscode-2a1cc1a9ec588db6a567bfd92ba4f9cd3397f397f2cf78f9e5db6d89cead5a07","text":"}); } public setWidgetManager(widgetManager: TerminalWidgetManager) { public setWidgetManager(widgetManager: TerminalWidgetManager): void { this._widgetManager = widgetManager; }"} {"_id":"q-en-vscode-2a4674e50c987d9e23f91d2e36c279a643e3e987d5750caef5520ee68eada3fc","text":"sbomBuildDropPath: $(Agent.BuildDirectory)/vscode-server-win32-$(VSCODE_ARCH)-web sbomPackageName: \"VS Code Windows $(VSCODE_ARCH) Web\" sbomPackageVersion: $(Build.SourceVersion) condition: and(succeededOrFailed(), ne(variables['WEB_PATH'], ''), ne(variables['VSCODE_ARCH'], 'arm64')) condition: and(succeededOrFailed(), ne(variables['WEB_PATH'], '')) displayName: Publish web server archive - task: 1ES.PublishPipelineArtifact@1"} {"_id":"q-en-vscode-2a7d82f0398dcb7f813230cd40ea603af7c8931f18997537eec8310d3c9cd366","text":"get contentHeight(): number { const data = { followUpsHeight: getTotalHeight(this._elements.followUps), chatWidgetHeight: this._chatWidget.contentHeight, chatWidgetContentHeight: this._chatWidget.contentHeight, progressHeight: getTotalHeight(this._elements.progress), statusHeight: getTotalHeight(this._elements.status), extraHeight: this._getExtraHeight() }; const result = data.progressHeight + data.chatWidgetHeight + data.followUpsHeight + data.statusHeight + data.extraHeight; // console.log(`InlineChat#contentHeight ${result}`, data); const result = data.progressHeight + data.chatWidgetContentHeight + data.followUpsHeight + data.statusHeight + data.extraHeight; return result; } get minHeight(): number { // The chat widget is variable height and supports scrolling. It // should be at least 100px high and at most the content height. let value = this.contentHeight; value -= this._chatWidget.contentHeight; value += Math.min(100, this._chatWidget.contentHeight); return value; } protected _getExtraHeight(): number { return 12 /* padding */ + 2 /*border*/ + 12 /*shadow*/; }"} {"_id":"q-en-vscode-2b2c0ba646a9fa07e502a19e61520f906f5d1cf64bc4651f8486b38b9a26a4ae","text":"import { DebugAdapterExecutable, DebugAdapterNamedPipeServer, DebugAdapterServer, ThemeIcon } from '../common/extHostTypes.js'; import { IExtHostVariableResolverProvider } from '../common/extHostVariableResolverService.js'; import { IExtHostWorkspace } from '../common/extHostWorkspace.js'; import { IExtHostTerminalShellIntegration } from '../common/extHostTerminalShellIntegration.js'; export class ExtHostDebugService extends ExtHostDebugServiceBase {"} {"_id":"q-en-vscode-2b79fbdd7c20c982f0510b771ed8c957ac598299bf1f0f1b532825f018c1a3e0","text":"import * as viewEvents from 'vs/editor/common/view/viewEvents'; import { registerThemingParticipant } from 'vs/platform/theme/common/themeService'; import { editorIndentGuides } from 'vs/editor/common/view/editorColorRegistry'; import * as dom from 'vs/base/browser/dom'; import { Position } from 'vs/editor/common/core/position'; export class IndentGuidesOverlay extends DynamicViewOverlay {"} {"_id":"q-en-vscode-2bb0a333f1cc4a0ae4455432823c24a3bd17b231baddcbb9fa3d82608a47081f","text":"\"default\": false, \"description\": \"%config.rebaseWhenSync%\" }, \"git.fetchBeforeCheckout\": { \"git.pullBeforeCheckout\": { \"type\": \"boolean\", \"scope\": \"resource\", \"default\": false, \"description\": \"%config.fetchBeforeCheckout%\" \"description\": \"%config.pullBeforeCheckout%\" }, \"git.fetchOnPull\": { \"type\": \"boolean\","} {"_id":"q-en-vscode-2bc221498e0ea01f2d12fd1ee6c7df6a8cc889ca1734505e1418325d4c49570f","text":"return this._validationMessage; } set validationMessage(validationMessage: string | undefined) { set validationMessage(validationMessage: string | InputBoxValidationMessage | undefined) { this._validationMessage = validationMessage; this.update({ validationMessage, severity: validationMessage ? Severity.Error : Severity.Ignore }); } get validationMessage2() { return this._validationMessage2; } set validationMessage2(validationMessage: string | InputBoxValidationMessage | undefined) { checkProposedApiEnabled(this.extension, 'inputBoxSeverity'); this._validationMessage2 = validationMessage; if (!validationMessage) { this.update({ validationMessage: undefined, severity: Severity.Ignore }); } else if (typeof validationMessage === 'string') {"} {"_id":"q-en-vscode-2bca6fb342995698fc56fe56120592461e310c735ddd9619862b5f11faee9d1d","text":"* Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { EditorInput } from '../../../common/editor/editorInput.js'; import { EditorModel } from '../../../common/editor/editorModel.js'; import { URI } from '../../../../base/common/uri.js'; import { Dimension } from '../../../../base/browser/dom.js'; import { DisposableStore, IReference } from '../../../../base/common/lifecycle.js'; import { ITextEditorModel, ITextModelService } from '../../../../editor/common/services/resolverService.js'; import { marked, Tokens } from '../../../../base/common/marked/marked.js'; import * as marked from '../../../../base/common/marked/marked.js'; import { Schemas } from '../../../../base/common/network.js'; import { isEqual } from '../../../../base/common/resources.js'; import { moduleToContent } from '../common/walkThroughContentProvider.js'; import { Dimension } from '../../../../base/browser/dom.js'; import { EditorInputCapabilities, IUntypedEditorInput } from '../../../common/editor.js'; import { URI } from '../../../../base/common/uri.js'; import { ITextEditorModel, ITextModelService } from '../../../../editor/common/services/resolverService.js'; import { IInstantiationService } from '../../../../platform/instantiation/common/instantiation.js'; import { Schemas } from '../../../../base/common/network.js'; import { EditorInputCapabilities, IUntypedEditorInput } from '../../../common/editor.js'; import { EditorInput } from '../../../common/editor/editorInput.js'; import { EditorModel } from '../../../common/editor/editorModel.js'; import { markedGfmHeadingIdPlugin } from '../../markdown/browser/markedGfmHeadingIdPlugin.js'; import { moduleToContent } from '../common/walkThroughContentProvider.js'; class WalkThroughModel extends EditorModel {"} {"_id":"q-en-vscode-2bf40f92d49f5c02b6aa154f3752681a5f3d04233bc485c499c06fe88074618d","text":"import { AccessibilitySupport, IAccessibilityService } from 'vs/platform/accessibility/common/accessibility'; import { Action2, registerAction2 } from 'vs/platform/actions/common/actions'; import { TabFocus, TabFocusContext } from 'vs/editor/browser/config/tabFocus'; import { accessibilityHelpIsShown } from 'vs/workbench/contrib/accessibility/browser/accessibleView'; import { KeybindingWeight } from 'vs/platform/keybinding/common/keybindingsRegistry'; const CONTEXT_ACCESSIBILITY_WIDGET_VISIBLE = new RawContextKey('accessibilityHelpWidgetVisible', false);"} {"_id":"q-en-vscode-2bf6d1ffbb06e99292d638154f5faa45f7d3ea1a4e81ff9550795f7b0847a0d3","text":"const actionsElement = $('div.actions'); this._actions.forEach(action => this._renderAction(actionsElement, action)); statusBarElement.appendChild(actionsElement); this._domNode.appendChild(statusBarElement); this._containerDomNode.appendChild(statusBarElement); } this._mouseTracker = new CompositeMouseTracker([this._containerDomNode, ..._target.targetElements]);"} {"_id":"q-en-vscode-2c021af457eeb888dee56e8d4623a4a3d3f6b8346cdb7f53e8f9b2952e0c1052","text":"return this.editorService.openEditor({ resource: this.defaultSettingsRawResource }, EditorPosition.ONE) as TPromise; } openRawUserSettings(): TPromise { return this.editorService.openEditor({ resource: this.userSettingsResource }) as TPromise; } openSettings(): TPromise { const editorInput = this.getActiveSettingsEditorInput() || this.lastOpenedSettingsInput; const resource = editorInput ? editorInput.master.getResource() : this.userSettingsResource;"} {"_id":"q-en-vscode-2c03093bc48f1641ed9e840889ef8e50ca050f1756c554b6ea992e257147e6ea","text":"editorMargin: 0, metadataHeight: 0, cellStatusHeight, metadataStatusHeight: 25, metadataStatusHeight: this.ignoreMetadata ? 0 : 25, rawOutputHeight: 0, outputTotalHeight: 0, outputStatusHeight: 25, outputStatusHeight: this.ignoreOutputs ? 0 : 25, outputMetadataHeight: 0, bodyMargin: 32, totalHeight: 82 + cellStatusHeight + editorHeight,"} {"_id":"q-en-vscode-2c1f2168083f06950e49ffaf680938f17d2ce9ac1098d1ce89b9c16253c2154a","text":"window.localStorage.removeItem(WebLocaleService._LOCAL_STORAGE_LOCALE_KEY); window.localStorage.removeItem(WebLocaleService._LOCAL_STORAGE_EXTENSION_ID_KEY); if (Language.value() === navigator.language) { if (Language.value() === navigator.language.toLowerCase()) { return; }"} {"_id":"q-en-vscode-2cd629bb7de8f36a4435091f159b68e225ee3efe830d24c742edb0454ec076df","text":"picker.items = makeSnippetPicks(); }); picker.items = makeSnippetPicks(); if (!picker.items.length) { picker.validationMessage = nls.localize('pick.noSnippetAvailable', \"No snippet available\"); } picker.show(); // wait for an item to be picked or the picker to become hidden"} {"_id":"q-en-vscode-2cd78894a0da576873711824f9dabdd17fd61769edabd99174dcf817f1bc593c","text":"this.updateActions(); if (!shouldShowFilterInHeader) { append(this.filterContainer!, this.filterWidget.element); height = height - 44; } } if (!shouldShowFilterInHeader) { height = height - 44; } this.filterWidget.layout(width); this.layoutBodyContent(height, width); }"} {"_id":"q-en-vscode-2cfca5d809f75999bee86eafe40687e61aeca8d21d3355dddfa239270cf22660","text":"cursors.setStates( args.source, CursorChangeReason.Explicit, CursorMoveCommands.addCursorUp(context, cursors.getAll()) CursorMoveCommands.addCursorUp(context, cursors.getAll(), useLogicalLine) ); cursors.reveal(true, RevealTarget.TopMost, ScrollType.Smooth); } } export class InsertCursorBelow extends EditorAction { constructor() { super({ id: 'editor.action.insertCursorBelow',"} {"_id":"q-en-vscode-2d17548e5bcda8c4c1e74fee818810dbff5d413e0e0e2a26c22200470bbecfd4","text":"bugsUrl: manifest.bugs && manifest.bugs.url, displayName: manifest.displayName, id: extension.identifier.id, isTheme: isTheme isTheme, isBuiltin, }; }); const theme = this.themeService.getColorTheme(); const issueReporterData: IssueReporterData = assign({ styles: getIssueReporterStyles(theme), zoomLevel: webFrame.getZoomLevel(), enabledExtensions: extensionData enabledExtensions: extensionData, }, dataOverrides); return this.issueService.openReporter(issueReporterData); }"} {"_id":"q-en-vscode-2d1858f50854a97178ec89d163a6ccedc0debb97f260116dcfee183fcf5c8bf5","text":"category, keybinding: { weight: KeybindingWeight.WorkbenchContrib, when: ContextKeyExpr.and(Constants.SearchViewVisibleKey, Constants.FirstMatchFocusKey), when: ContextKeyExpr.and(Constants.SearchViewVisibleKey, ContextKeyExpr.or(Constants.FirstMatchFocusKey, CONTEXT_ACCESSIBILITY_MODE_ENABLED)), primary: KeyMod.CtrlCmd | KeyCode.UpArrow, }, });"} {"_id":"q-en-vscode-2d44e1069f86c586a65230da9253e7e0b8cb5879bd35e9abf17d5f080e79a64a","text":"import { CancellationToken } from 'vs/base/common/cancellation'; import { isUNC } from 'vs/base/common/extpath'; import { Schemas } from 'vs/base/common/network'; import { sep } from 'vs/base/common/path'; import { normalize, sep } from 'vs/base/common/path'; import { URI } from 'vs/base/common/uri'; import { FileOperationError, FileOperationResult, IFileService } from 'vs/platform/files/common/files'; import { ILogService } from 'vs/platform/log/common/log';"} {"_id":"q-en-vscode-2d5849eeef3e240b0120f0360b78682e0a695138c944a011c595cfbb1013ad5e","text":"[deltaY, deltaX] = [deltaX, deltaY]; } if (this._options.scrollYToX && !deltaX) { // Convert vertical scrolling to horizontal if shift is held, this // is handled at a higher level on Mac const shiftConvert = !Platform.isMacintosh && e.browserEvent.shiftKey; if ((this._options.scrollYToX || shiftConvert) && !deltaX) { deltaX = deltaY; deltaY = 0; }"} {"_id":"q-en-vscode-2d5f6b96a72ea4091476aadc050eaaff71ba9d55f67136ea126172a07280fd51","text":"import { IPagedRenderer } from 'vs/base/browser/ui/list/listPaging'; import { Event } from 'vs/base/common/event'; import { IExtension, ExtensionContainers, ExtensionState, IExtensionsWorkbenchService } from 'vs/workbench/contrib/extensions/common/extensions'; import { UpdateAction, ManageExtensionAction, ReloadAction, ExtensionStatusLabelAction, RemoteInstallAction, ExtensionStatusAction, LocalInstallAction, ActionWithDropDownAction, InstallDropdownAction, InstallingLabelAction, ExtensionActionWithDropdownActionViewItem, ExtensionDropDownAction, WebInstallAction, SwitchToPreReleaseVersionAction, SwitchToReleasedVersionAction } from 'vs/workbench/contrib/extensions/browser/extensionsActions'; import { UpdateAction, ManageExtensionAction, ReloadAction, ExtensionStatusLabelAction, RemoteInstallAction, ExtensionStatusAction, LocalInstallAction, ActionWithDropDownAction, InstallDropdownAction, InstallingLabelAction, ExtensionActionWithDropdownActionViewItem, ExtensionDropDownAction, WebInstallAction, SwitchToPreReleaseVersionAction, SwitchToReleasedVersionAction, MigrateDeprecatedExtension } from 'vs/workbench/contrib/extensions/browser/extensionsActions'; import { areSameExtensions } from 'vs/platform/extensionManagement/common/extensionManagementUtil'; import { RatingsWidget, InstallCountWidget, RecommendationWidget, RemoteBadgeWidget, ExtensionPackCountWidget as ExtensionPackBadgeWidget, SyncIgnoredWidget, ExtensionHoverWidget, ExtensionActivationStatusWidget, PreReleaseBookmarkWidget, extensionVerifiedPublisherIconColor } from 'vs/workbench/contrib/extensions/browser/extensionsWidgets'; import { IExtensionService, toExtension } from 'vs/workbench/services/extensions/common/extensions';"} {"_id":"q-en-vscode-2d7cba8961cb29998501349e0caa4781567f1b424dbb6239ee52db2da0e5b1df","text":"return TPromise.as(true); } } No newline at end of file } "} {"_id":"q-en-vscode-2db5e037ffdc1cf4686e35b5f887613fe3a248a398dd0d1b946ffd5226ffe97a","text":"// Avoid adding cache busting if there is already a query string if (resource.query) { return webviewEditor.webview.asWebviewUri(resource).toString(true); return webviewEditor.webview.asWebviewUri(resource).toString(); } return webviewEditor.webview.asWebviewUri(resource).with({ query: `version=${version}` }).toString(true); return webviewEditor.webview.asWebviewUri(resource).with({ query: `version=${version}` }).toString(); } private extensionResource(path: string) {"} {"_id":"q-en-vscode-2df6f9412f04795d39ba832a05d0af4bd6f085a74132a95dcf033c5a2b2dc6ae","text":"import { KeyCode, KeyMod } from 'vs/base/common/keyCodes'; import { ToggleCaseSensitiveKeybinding, TogglePreserveCaseKeybinding, ToggleRegexKeybinding, ToggleWholeWordKeybinding } from 'vs/editor/contrib/find/browser/findModel'; import { category, getSearchView, openSearchView } from 'vs/workbench/contrib/search/browser/searchActionsBase'; import { CONTEXT_ACCESSIBILITY_MODE_ENABLED } from 'vs/platform/accessibility/common/accessibility'; //#region Actions: Changing Search Input Options registerAction2(class ToggleQueryDetailsAction extends Action2 {"} {"_id":"q-en-vscode-2ed7b3bbc82ea7a96eed010a122d0d234f8b581b12b8a2453da763748b2128cf","text":"this.inSelectionToggle = this._register(new Toggle({ icon: findSelectionIcon, title: NLS_FIND_IN_CELL_SELECTION_BTN_LABEL, title: NLS_TOGGLE_SELECTION_FIND_TITLE, isChecked: false, inputActiveOptionBackground: asCssVariable(inputActiveOptionBackground), inputActiveOptionBorder: asCssVariable(inputActiveOptionBorder),"} {"_id":"q-en-vscode-2edbdc1578081bbae12ecb7dc5d27ffe716b445b5caa70aa7f5105286a011806","text":"\"An existing tunnel is running on this machine, connecting to it...\" ); let stdin_handle = rpc.get_caller(msg_tx.clone()); thread::spawn(move || { let mut input = String::new(); loop { input.truncate(0); match std::io::stdin().read_line(&mut input) { Err(_) | Ok(0) => return, // EOF or not a tty _ => {} }; match input.chars().next().map(|c| c.to_ascii_lowercase()) { Some('x') => { stdin_handle.notify(protocol::singleton::METHOD_SHUTDOWN, EmptyObject {}); return; if *IS_INTERACTIVE_CLI { let stdin_handle = rpc.get_caller(msg_tx.clone()); thread::spawn(move || { let mut input = String::new(); loop { input.truncate(0); println!(\"reading line\"); match std::io::stdin().read_line(&mut input) { Err(_) | Ok(0) => return, // EOF or not a tty _ => {} }; match input.chars().next().map(|c| c.to_ascii_lowercase()) { Some('x') => { stdin_handle.notify(protocol::singleton::METHOD_SHUTDOWN, EmptyObject {}); return; } Some('r') => { stdin_handle.notify(protocol::singleton::METHOD_RESTART, EmptyObject {}); } Some(_) | None => {} } Some('r') => { stdin_handle.notify(protocol::singleton::METHOD_RESTART, EmptyObject {}); } Some(_) | None => {} } } }); }); } let caller = rpc.get_caller(msg_tx); let mut rpc = rpc.methods(SingletonServerContext {"} {"_id":"q-en-vscode-2f01c02697dad7b0bc3ef6ace8342adbca0c7ecd40011be98b007c659a178fe4","text":"import { LinkDetector } from 'vs/editor/contrib/links/browser/links'; import { localize } from 'vs/nls'; import { IConfigurationService } from 'vs/platform/configuration/common/configuration'; import { IContextKey, IContextKeyService, RawContextKey } from 'vs/platform/contextkey/common/contextkey'; import { IContextViewDelegate, IContextViewService } from 'vs/platform/contextview/browser/contextView'; import { IInstantiationService, createDecorator } from 'vs/platform/instantiation/common/instantiation'; import { IOpenerService } from 'vs/platform/opener/common/opener';"} {"_id":"q-en-vscode-2f0efbe7f551d4994ef9d49f8ecb97df81a84d709601c84b0dfa9cfa1a003ebe","text":"this._last = null; } public length(): number { let result = 0; let current = this._first; while (current) { current = current.next; result++; } return result; } public peek(): T | null { if (!this._first) { return null;"} {"_id":"q-en-vscode-2f3c555b661ce5aa8a1e420cd23bc8fc5251cd61bbe2685283ecd2db322d7013","text":"extHostContext: IExtHostContext, @IStorageService storageService: IStorageService, @IExtensionsStorageSyncService extensionsStorageSyncService: IExtensionsStorageSyncService, @ILogService private readonly _logService: ILogService ) { this._storageService = storageService; this._extensionsStorageSyncService = extensionsStorageSyncService;"} {"_id":"q-en-vscode-2fb24e8719c47cad872c7607c0aa4f99ea8a5eded0c8e3870abd01de27b9217d","text":">> And, they can be nested 1. A numbered list > Block quotes in list 2. Which is numbered 3. With periods and a space"} {"_id":"q-en-vscode-2fdced9cb917e315c174851765603a50bff8b43b042c83a8e4b83cbcb5db0f6c","text":"override async run(accessor: ServicesAccessor, match: RenderableMatch | undefined): Promise { const quickInputService = accessor.get(IQuickInputService); const searchText = getSearchText(accessor) ?? ''; quickInputService.quickAccess.show(TEXT_SEARCH_QUICK_ACCESS_PREFIX + searchText); quickInputService.quickAccess.show(TEXT_SEARCH_QUICK_ACCESS_PREFIX + searchText, { preserveValue: !!searchText }); } });"} {"_id":"q-en-vscode-300047d7eca7cf44618bcbc1a90a64963dcb5b05906cbd6bc2c183e4ee64732e","text":"DOM.addStandardDisposableListener(inputBox.inputElement, DOM.EventType.KEY_DOWN, (e: IKeyboardEvent) => { if (e.equals(KeyCode.Enter)) { if (inputBox.validate()) { done(true); done(true, true); } } else if (e.equals(KeyCode.Escape)) { done(false); done(false, true); } }), blurDisposable,"} {"_id":"q-en-vscode-3003bcb265ad1bf9e3405fdd0b784d39de29c22bfe6ef1cb392f2fa8e53bfc2b","text":"const NLS_FIND_INPUT_LABEL = nls.localize('label.find', \"Find\"); const NLS_FIND_INPUT_\" = nls.localize('placeholder.find', \"Find\"); const NLS_PREVIOUS_MATCH_BTN_LABEL = nls.localize('label.previousMatchButton', \"Previous Match\"); // const NLS_FILTER_BTN_LABEL = nls.localize('label.findFilterButton', \"Search in View\"); const NLS_NEXT_MATCH_BTN_LABEL = nls.localize('label.nextMatchButton', \"Next Match\"); const NLS_FIND_IN_CELL_SELECTION_BTN_LABEL = nls.localize('label.findInCellSelectionButton', \"Find in Cell Selection\"); const NLS_TOGGLE_SELECTION_FIND_TITLE = nls.localize('label.toggleSelectionFind', \"Find in Selection\"); const NLS_CLOSE_BTN_LABEL = nls.localize('label.closeButton', \"Close\"); const NLS_TOGGLE_REPLACE_MODE_BTN_LABEL = nls.localize('label.toggleReplaceButton', \"Toggle Replace\"); const NLS_REPLACE_INPUT_LABEL = nls.localize('label.replace', \"Replace\");"} {"_id":"q-en-vscode-3028261d46549620978ab46463161059931710cc01ad58dc694e4f87f29c7918","text":"import { ICodeEditor } from 'vs/editor/browser/editorBrowser'; export class InsertCursorAbove extends EditorAction { constructor() { super({ id: 'editor.action.insertCursorAbove',"} {"_id":"q-en-vscode-30b4f2cb54118c621929dbab409965cbfd7154b804068dbd032d6d0fff909104","text":"} } for (const a of args) { command += `${quote(a)} `; command += (a === '<' || a === '>') ? a : quote(a); command += ' '; } if (env) { command += '\"';"} {"_id":"q-en-vscode-30d566fe0d6bcb4b2a4351b8725e4be71debf5c4bedcb55883446c75d0d43910","text":"const wrapper = this.wrapper = dom.$('.testing-filter-wrapper'); container.appendChild(wrapper); const history = this.history.get([]); if (history.length) { this.state.setText(history[history.length - 1]); } const input = this.input = this._register(this.instantiationService.createInstance(ContextScopedSuggestEnabledInputWithHistory, { id: 'testing.explorer.filter', ariaLabel: localize('testExplorerFilterLabel', \"Filter text for tests in the explorer\"),"} {"_id":"q-en-vscode-30f3590f8ab1ded02a79e0968f9b79473f472136605938bb9bc60b09349dd2ab","text":"* provides access to the raw data stream from the process running within the terminal, * including VT sequences. */ onData: Event; onDidWriteData: Event; } /**"} {"_id":"q-en-vscode-30f3a41a4f2927737cc562c2252d28748bb06815133781d44f710b2651c3c695","text":"await this.model.pull(true); } @command('git.pullFrom') async pullFrom(): Promise { const remotes = this.model.remotes; if (remotes.length === 0) { window.showWarningMessage(localize('no remotes to pull', \"Your repository has no remotes configured to pull from.\")); return; } const picks = remotes.map(r => ({ label: r.name, description: r.url })); const placeHolder = localize('pick remote pull', \"Pick a remote to pull from\"); const pickRemote = await window.showQuickPick(picks, { placeHolder }); const pickBranch = await window.showInputBox({ prompt: localize('pick pull branch', \"Type a branch to pull\"), ignoreFocusOut: true }); if (!pickRemote || !pickBranch) { return; } this.model.pull(false, pickRemote.label, pickBranch); } @command('git.push') async push(): Promise { const remotes = this.model.remotes;"} {"_id":"q-en-vscode-3139900828195ea1df3407291fa9ca0014b46a799c1cb17abdd2000324b3554d","text":"}).then(res => !res.confirmed); } protected _showNotEnoughSpaceToast(): void { this._notificationService.warn(nls.localize('terminal.minWidth', \"Not enough space to split terminal.\")); } public setContainers(panelContainer: HTMLElement, terminalContainer: HTMLElement): void { this._configHelper.panelContainer = panelContainer; this._terminalContainer = terminalContainer;"} {"_id":"q-en-vscode-313f2e28e48694323311f1b277617f3dd9cef75dd4d83c4ab3ce74f840331cbc","text":"} } async pull(rebase?: boolean): Promise { async pull(rebase?: boolean, remote?: string, branch?: string): Promise { const args = ['pull']; if (rebase) { args.push('-r'); } if (remote && branch) { args.push(remote, branch); } try { await this.run(args);"} {"_id":"q-en-vscode-31df3765f37dcfba80c60aff3659b631119951ba1afcd01172437de8323137ce","text":"/** * Sanitizes the given `value` and reset the given `node` with it. */ export function safeInnerHtml(node: HTMLElement, value: string): void { export function safeInnerHtml(node: HTMLElement, value: string, extraDomPurifyConfig?: dompurify.Config): void { const hook = hookDomPurifyHrefAndSrcSanitizer(defaultSafeProtocols); try { const html = dompurify.sanitize(value, defaultDomPurifyConfig); const html = dompurify.sanitize(value, { ...defaultDomPurifyConfig, ...extraDomPurifyConfig }); node.innerHTML = html as unknown as string; } finally { hook.dispose();"} {"_id":"q-en-vscode-31f60c230e95f34432e2ee2a3d959434610455a90e06580c575e5544760360f8","text":"if (activeEditor) { groupActiveEditorCanSplitInGroupContext.set(activeEditor.hasCapability(EditorInputCapabilities.CanSplitInGroup)); sideBySideEditorContext.set(activeEditor.typeId === SideBySideEditorInput.ID); groupActiveEditorIsSideBySideEditorContext.set(activeEditor.typeId === SideBySideEditorInput.ID); groupActiveEditorDirtyContext.set(activeEditor.isDirty() && !activeEditor.isSaving()); activeEditorListener.value = activeEditor.onDidChangeDirty(() => {"} {"_id":"q-en-vscode-31f7d82260b927d762cfaa3245fa3497c7bee33f2c10266a0827ce47433d5d8c","text":"quickPick.show(); quickPick.onDidAccept(() => { this._accessibleView.showSymbol(provider, quickPick.selectedItems[0]); quickPick.hide(); }); quickPick.onDidHide(() => { if (quickPick.selectedItems.length === 0) {"} {"_id":"q-en-vscode-322db238f82dfa875190d08737413f22512740847e3f8fa4a172dcea3aa8db35","text":"const characterLinesVisibleRanges = this._visibleRangeProvider.linesVisibleRangesForRange(characterViewRange, true) ?? []; const characterVerticalOffset = this._context.viewLayout.getVerticalOffsetForLineNumber(characterViewRange.startLineNumber); const editorScrollTop = this._context.viewLayout.getCurrentScrollTop(); const editorScrollLeft = this._context.viewLayout.getCurrentScrollLeft(); const top = parentBounds.top + characterVerticalOffset - editorScrollTop; let left = 0;"} {"_id":"q-en-vscode-323aade035eb71fc548d1499fe351c8e1c79925f3710ba2087bec6ee87c1559b","text":"this.instantiationService.createInstance(InstallingLabelAction), this.instantiationService.createInstance(ActionWithDropDownAction, 'extensions.uninstall', UninstallAction.UninstallLabel, [ [ this.instantiationService.createInstance(MigrateDeprecatedExtension, false), this.instantiationService.createInstance(UninstallAction), this.instantiationService.createInstance(InstallAnotherVersionAction), ]"} {"_id":"q-en-vscode-32a431e78be37cb943d52f877835907b847426e7efaaddae9a3ace34e23328e9","text":"\"tas-client-umd\": \"0.1.4\", \"vscode-oniguruma\": \"1.6.1\", \"vscode-textmate\": \"7.0.1\", \"xterm\": \"4.19.0-beta.24\", \"xterm-addon-search\": \"0.9.0-beta.21\", \"xterm\": \"4.19.0-beta.25\", \"xterm-addon-search\": \"0.9.0-beta.22\", \"xterm-addon-unicode11\": \"0.4.0-beta.3\", \"xterm-addon-webgl\": \"0.12.0-beta.28\" \"xterm-addon-webgl\": \"0.12.0-beta.29\" } }"} {"_id":"q-en-vscode-32fe7c743eb66393ea5c47a489be4526513e2e4ac206f8f2cd34bcba807275d6","text":"} layout(maxHeight?: number): void { this.list.getHTMLElement().style.maxHeight = maxHeight ? `calc(${Math.floor(maxHeight / 44) * 44}px)` : ''; this.list.getHTMLElement().style.maxHeight = maxHeight ? `${ // Make sure height aligns with list item heights Math.floor(maxHeight / 44) * 44 // Add some extra height so that it's clear there's more to scroll + 6 }px` : ''; this.list.layout(); }"} {"_id":"q-en-vscode-3300ecd39dbf8dc40d54bb79e14f5cead1f3fa9931735333fd4109c25bad4eab","text":"export const suggestMemoryService = define(ISuggestMemoryService, (o) => new SuggestMemoryService(storageService.get(o), configurationService.get(o))); export const codeLensCacheService = define(ICodeLensCache, (o) => new CodeLensCache(storageService.get(o))); } export class DynamicStandaloneServices extends Disposable {"} {"_id":"q-en-vscode-3306a547412e9f80355507785c7c2d2a4ccce1614b37cdd535f2eb1f428e6727","text":"} // Workspace trust if (typeof config?.security?.workspace?.trust?.enabled === 'boolean' && config.security?.workspace.trust.enabled !== this.workspaceTrustEnabled) { this.workspaceTrustEnabled = config.security.workspace.trust.enabled; changed = true; } processChanged(this.workspaceTrustEnabled.handleChange(config?.security?.workspace?.trust?.enabled)); } // Profiles if (this.productService.quality === 'stable' && typeof config.workbench?.experimental?.settingsProfiles?.enabled === 'boolean' && config.workbench.experimental.settingsProfiles.enabled !== this.settingsProfilesEnabled) { this.settingsProfilesEnabled = config.workbench.experimental.settingsProfiles.enabled; changed = true; } processChanged(this.productService.quality === 'stable' && this.settingsProfilesEnabled.handleChange(config.workbench?.experimental?.settingsProfiles?.enabled)); // Experiments if (typeof config.workbench?.enableExperiments === 'boolean' && config.workbench.enableExperiments !== this.experimentsEnabled) { this.experimentsEnabled = config.workbench.enableExperiments; changed = true; } processChanged(this.experimentsEnabled.handleChange(config.workbench?.enableExperiments)); // Profiles if (this.productService.quality !== 'stable' && typeof config._extensionsGallery?.enablePPE === 'boolean' && config._extensionsGallery?.enablePPE !== this.enablePPEExtensionsGallery) { this.enablePPEExtensionsGallery = config._extensionsGallery?.enablePPE; changed = true; } processChanged(this.productService.quality !== 'stable' && this.enablePPEExtensionsGallery.handleChange(config._extensionsGallery?.enablePPE)); // Notify only when changed and we are the focused window (avoids notification spam across windows) if (notify && changed) {"} {"_id":"q-en-vscode-3362c78cfe84b227a47c264c9d749ab3380f32c74472c08b2383a012e6e2c9e0","text":"this.toDispose.push(this.editor.onDidChangeModelContent(() => this.update())); this.toDispose.push(this.inlineChatService.onDidChangeProviders(() => this.update())); this.toDispose.push(this.editor.onDidChangeModelDecorations(() => this.update())); this.toDispose.push(this.editor.onDidChangeConfiguration((e: ConfigurationChangedEvent) => { if (e.hasChanged(EditorOption.readOnly)) { this.update(); } })); this.toDispose.push(this.configurationService.onDidChangeConfiguration(e => { if (e.affectsConfiguration(emptyTextEditorHintSetting)) { this.update();"} {"_id":"q-en-vscode-33721adeac7ecadc6b72627afebc5260247b2b2b74dc08b2d43c2da8d137c587","text":"scrollbar: { alwaysConsumeMouseWheel: false }, ariaLabel: this._configurationService.getValue(AccessibilityVerbositySettingId.Chat) ? localize('chat.codeBlockHelp', 'Code block, to discover ways this can be interacted with, search the command palette for Chat: Insert and Chat: Run.') : localize('chat.codeBlock', 'Code block'), ariaLabel: localize('chat.codeBlockHelp', 'Code block'), ...this.getEditorOptionsFromConfig() }, { isSimpleWidget: true,"} {"_id":"q-en-vscode-337a7d13e07845f3909c749b4cfce848c87a1d91451d715922578c3fe05ecbc4","text":"\"dependencies\": { \"vscode-css-languageservice\": \"^6.0.1\", \"vscode-html-languageservice\": \"^5.0.0\", \"vscode-languageserver\": \"^8.0.1\", \"vscode-languageserver\": \"^8.0.2-next.4\", \"vscode-languageserver-textdocument\": \"^1.0.4\", \"vscode-nls\": \"^5.0.1\", \"vscode-uri\": \"^3.0.3\""} {"_id":"q-en-vscode-33f814e7b35f957ffc9e5b8cbc472ab3db429150fb80aac236f5450def65a2bd","text":"vertical-align: middle; } .monaco-workbench .part.editor > .content .editor-group-container > .editor-group-watermark > .shortcuts dt, .monaco-workbench .part.editor > .content .editor-group-container > .editor-group-watermark > .shortcuts dl { color: rgba(0,0,0,.68); } .monaco-workbench.vs-dark .part.editor > .content .editor-group-container .editor-group-watermark > .shortcuts dt, .monaco-workbench.vs-dark .part.editor > .content .editor-group-container .editor-group-watermark > .shortcuts dl { color: rgba(255,255,255,.6); } .monaco-workbench.hc-black .part.editor > .content .editor-group-container .editor-group-watermark > .shortcuts dt, .monaco-workbench.hc-light .part.editor > .content .editor-group-container .editor-group-watermark > .shortcuts dt { color: var(--vscode-editor-foreground); } .monaco-workbench.hc-black .part.editor > .content .editor-group-container .editor-group-watermark > .shortcuts dl, .monaco-workbench.hc-light .part.editor > .content .editor-group-container .editor-group-watermark > .shortcuts dl { color: var(--vscode-editor-foreground); opacity: 1; } /* Title */ .monaco-workbench .part.editor > .content .editor-group-container > .title {"} {"_id":"q-en-vscode-343356fdec32742ff7743f3da5c12d13fbd2680ed047cfb19d52e1cb0a1ea919","text":"import electron = require('electron'); import platform = require('vs/base/common/platform'); import env = require('vs/workbench/electron-main/env'); import storage = require('vs/workbench/electron-main/storage'); import settings = require('vs/workbench/electron-main/settings'); import {Win32AutoUpdaterImpl} from 'vs/workbench/electron-main/win32/auto-updater.win32'; import {manager as Lifecycle} from 'vs/workbench/electron-main/lifecycle';"} {"_id":"q-en-vscode-3435bd375814dd9179f914914eee4cd841a1db786fe31eae3bc4ad5eec5d4344","text":": importAction; const secondaryAction = isWeb ? importAction : new BarrierAction(barrier, new Action('close', localize('close', \"Close\"))); : new BarrierAction(barrier, new Action('close', localize('close', \"Close\")), this.notificationService); const view = await this.showProfilePreviewView(IMPORT_PROFILE_PREVIEW_VIEW, importedProfile.name, primaryAction, secondaryAction, false, userDataProfileImportState); const message = new MarkdownString();"} {"_id":"q-en-vscode-343efa08ec66f6226924828dc63c230ab4f2c670970eaecd81fd3d7c35ff48ee","text":"if (_sticky) { return; } this._hideWidgets(); if (this._mouseWasOverWidget) { // The mouse just left the content widget and a timeout is trigerred to hide the widget // This timeout will be cancelled if the mouse re-enters the content widget this._hideWidgetsTimeout = setTimeout(() => { this._hideWidgets(); this._hideWidgetsTimeout = undefined; }, this._hidingDelay); this._mouseWasOverWidget = false; } else { this._hideWidgets(); } } private _onKeyDown(e: IKeyboardEvent): void {"} {"_id":"q-en-vscode-3442f6b7224a8261d0e55ec18070c2c9cf2ea048ce4a54d6f19263d598d2c43a","text":"* Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ .monaco-workbench .part > .title > .title-actions .switch-output { .monaco-workbench .part.sidebar > .title > .title-actions .switch-output, .monaco-pane-view .pane > .pane-header .monaco-action-bar .switch-output { border-width: 1px; border-style: solid; } .part.panel > .title > .title-actions .switch-output > .monaco-select-box { border-width: 1px; border-style: solid; } .monaco-workbench .part.sidebar > .title > .title-actions .switch-output { display: flex; align-items: center; font-size: 11px;"} {"_id":"q-en-vscode-344c6b054b2db8c3970bc820d915798349bc6a530ebfd15500fba33f8b5ab171","text":"this.findInput.inputBox.setPlaceHolder(mode === TreeFindMode.Filter ? localize('type to filter', \"Type to filter\") : localize('type to search', \"Type to search\")); } get value(): string { return this.findInput.inputBox.value; } set value(value: string) { this.findInput.inputBox.value = value; } private readonly modeToggle: ModeToggle; private readonly findInput: FindInput; private readonly actionbar: ActionBar;"} {"_id":"q-en-vscode-34738d90a989803dac6b09bc961a7a5cdfa7e9e95fc929aaee8ae13c41b1b86d","text":"template.onChange = undefined; template.inputBox.value = typeof dataElement.value === 'number' ? dataElement.value.toLocaleString(language) : ''; dataElement.value.toString() : ''; template.inputBox.step = dataElement.valueType.includes('integer') ? '1' : 'any'; template.inputBox.setAriaLabel(dataElement.setting.key); template.onChange = value => {"} {"_id":"q-en-vscode-34aaa48f0993f8a0e5695275c664cfe6b62d526659fabb0cf14852a5cebdfaa8","text":"} private _onMouseWheel(e: StandardMouseWheelEvent): void { let browserEvent = e.browserEvent; if (browserEvent.ctrlKey){ let zoomLevel:number = Browser.getEditorZoomLevel(); let delta = e.deltaY > 0 ? 1 : -1; zoomLevel += delta; Browser.setEditorZoomLevel(zoomLevel); return; } if (Platform.isMacintosh && e.browserEvent && this._options.saveLastScrollTimeOnClassName) { // Mark dom node with timestamp of wheel event let target = e.browserEvent.target;"} {"_id":"q-en-vscode-34c4447ab9acfa6350d0b57986e94bcd2ed41dbea1a14ee1c65b993270500613","text":"public setDetailsProvider(provider: (index: number) => { details: string, isMarkdown: boolean }): void { this.detailsProvider = provider; if (this.options) { const currentOptions = this.options; this.options = []; this.setOptions(currentOptions, this.selected, this.disabledOptionIndex); } } public focus(): void {"} {"_id":"q-en-vscode-34db46e047e3f2d7599a9d07edcb7754cc7524533ea420c414a0bd4c8c9604e6","text":"constructor( public readonly label: string, public readonly command: string, public readonly description?: string, public readonly when?: ContextKeyExpression, ) { } }"} {"_id":"q-en-vscode-34f3ff9e6a4a3fade78b7d6c4e623eafd8a4666797a20f8d774c212ccb4bc544","text":"const activeTextEditor = window.activeTextEditor; // Must extract these now because opening a new document will change the activeTextEditor reference const previousVisibleRange = activeTextEditor?.visibleRanges[0]; const previousVisibleRanges = activeTextEditor?.visibleRanges; const previousURI = activeTextEditor?.document.uri; const previousSelection = activeTextEditor?.selection;"} {"_id":"q-en-vscode-34f8abb2955f10b3cccba6f45b83bf0ed087e2facc0204bfbb3925fcfd06c4d4","text":" 3af1be2861b5de836b35e7a2e5eeaffa2b4517c3024ebd8658033be5aa98c3ce *electron-v22.3.11-darwin-arm64-symbols.zip 5441f785aefc23d53466872b8f1836a172b20f0a0ddf019dfe6cfc498e9e8e19 *electron-v22.3.11-darwin-arm64.zip 473ba98236a945113f3ea5e3b7d3c3d1bc108bb8c99c5d35917c4ee01c0bb4be *electron-v22.3.11-darwin-x64-symbols.zip 8bd965b00c19de5e880feeff92e01cb0570c436ff6a97e271123e340fee157c3 *electron-v22.3.11-darwin-x64.zip 689281dc20066f98673261b77337d018237f8b0d11f6e3b14dedec24d90f2df4 *electron-v22.3.11-linux-arm64-symbols.zip d9ade7f28e10c3ca0ddc5ada982574a3d84f30fb9f92a82608666608b801ca8a *electron-v22.3.11-linux-arm64.zip 926a0adfb9bf1d2ed3cd26b0bcc8efe66eb793ddc309dff8e6f230abf12ca6e5 *electron-v22.3.11-linux-armv7l-symbols.zip 857eadea9ba34dacf7822d4bb58fd62fd585cc5c5a5b81c0ac32e55108038382 *electron-v22.3.11-linux-armv7l.zip 529057b7fe9be5958bd56b2d18b32d85cb9337ccb76878c67afb799b0f166130 *electron-v22.3.11-linux-x64-symbols.zip 6b5d2a18eab1d14b9f60180c246fb07cd09b298e4e8da1bf517b83ca6c0d0242 *electron-v22.3.11-linux-x64.zip 472a3a15ee7e94ba4cc47052ec4be90fa1072955367bdf135591f12e623af167 *electron-v22.3.11-win32-arm64-pdb.zip 104a685a78556c61c3f7c6fe33f84a3091199150e44e701e513a5d49afef0c55 *electron-v22.3.11-win32-arm64-symbols.zip 3debd92e3be6b74c6b8f25ec7963e8ab94fb877c50c06026aea4bac308311604 *electron-v22.3.11-win32-arm64.zip 38617bd350dd5f757be2cd43afb2238ac42d97714f96a1f27839d04447a31d82 *electron-v22.3.11-win32-ia32-pdb.zip 12b8a47ddae57eb55dcf8aa1fdf39b9575fcb150de1c9bb2444d8702a7d3efec *electron-v22.3.11-win32-ia32-symbols.zip 463062b6bdc09c11ab083c667aae2d6b677f945449ff7bf482059c6086a28e7b *electron-v22.3.11-win32-ia32.zip 3f5bf196a4de1c2b8efedc5f0ef690a41645b33a36e62c307164cb66e20cfaa7 *electron-v22.3.11-win32-x64-pdb.zip b4edb586a021013333badb6e1974e42e0b673f5f49bc7909a338b3e9ad46f7ef *electron-v22.3.11-win32-x64-symbols.zip 7944be5db19c2fa16aa887ec0ca287e84dfe8676d8223165b811ffec1dd57b3d *electron-v22.3.11-win32-x64.zip f2e3db6dc9c7b6e779a034bc4ede297213a05f1a80e0d5fc7fa02e6f8438ecd2 *ffmpeg-v22.3.11-darwin-arm64.zip 5b1732b2f67aa98cb5a0ad9b5caf085c11449bc9710971a2344c10f471cc986f *ffmpeg-v22.3.11-darwin-x64.zip 8233e865973bed62bb1d16011a29eb1e39851725509523bb3c54281b9ecad7e0 *ffmpeg-v22.3.11-linux-arm64.zip 18464ab29adc06c72602b30b4c101ed27edadccee9476f3bd54411e791b415ee *ffmpeg-v22.3.11-linux-armv7l.zip 4467c2e6c5b45cf11d8c2e06bfed76982c95fc50701cf13350b19d100080addd *ffmpeg-v22.3.11-linux-x64.zip 8abc4dddf1e105a3375f56a8dd804101c014919a87dcd231cdb3b19ad6c30f7a *ffmpeg-v22.3.11-win32-arm64.zip 295d3d628460c4b25f751ebc3763bf7ec72a57a337f89ed1ef6f666e3dcfecf5 *ffmpeg-v22.3.11-win32-ia32.zip 17c5e7ec2248521d7064cfa91e9d894981e53a6391e65b83e35ff4f30001b2c5 *ffmpeg-v22.3.11-win32-x64.zip "} {"_id":"q-en-vscode-35045c7ccf0eb1d6ddff254b2901cefcaf1d328e3714436fc180354d13285e26","text":" 2024-07-04T16:31:11.121Z 2024-08-06T11:06:57.600Z "} {"_id":"q-en-vscode-350e16d07af40d5bd4967f14c2de6ed65876e2a508ba7f1e5cfc279270419549","text":"\"icon\": \"images/icon.png\", \"activationEvents\": [ \"onProfile\", \"onProfile:github\" \"onProfile:github\", \"onLanguage:json\", \"onLanguage:jsonc\" ], \"enabledApiProposals\": [ \"profileContentHandlers\""} {"_id":"q-en-vscode-35157ab76743e2e0c389cc68085cc374608347732a5745f89e5082b46b597aff","text":"@IInstantiationService private readonly _instantiationService: IInstantiationService, @ILabelService labelService: ILabelService, @IFileService fileService: IFileService, @IFilesConfigurationService filesConfigurationService: IFilesConfigurationService @IFilesConfigurationService filesConfigurationService: IFilesConfigurationService, @IExtensionService extensionService: IExtensionService, @IEditorService editorService: IEditorService ) { super(resource, undefined, labelService, fileService, filesConfigurationService); this._defaultDirtyState = !!options.startDirty;"} {"_id":"q-en-vscode-353c2d429ff2e0e246dcd675f7be955ce22005252929d8208433400481ff97ab","text":"newDocument.body.appendChild(defaultScripts); styleBody(newDocument.body); const frame = getTarget(); frame.setAttribute('id', '_oldTarget') // keep current scrollTop around and use later const scrollTop = getTarget().contentDocument.body.scrollTop; const scrollTop = frame.contentDocument.body.scrollTop; const newFrame = document.createElement('iframe'); newFrame.setAttribute('id', '_target'); newFrame.setAttribute('frameborder', '0'); newFrame.style.cssText = \"margin: 0; overflow: hidden; position: absolute; width: 100%; height: 100%; display: none\"; document.body.appendChild(newFrame); // write new content onto iframe getTarget().contentDocument.open('text/html', 'replace'); newFrame.contentDocument.open('text/html', 'replace'); // set DOCTYPE for newDocument explicitly as DOMParser.parseFromString strips it off // and DOCTYPE is needed in the iframe to ensure that the user agent stylesheet is correctly overridden getTarget().contentDocument.write(''); getTarget().contentDocument.write(newDocument.documentElement.innerHTML); getTarget().contentDocument.close(); newFrame.contentDocument.write(''); newFrame.contentDocument.write(newDocument.documentElement.innerHTML); newFrame.contentDocument.close(); // workaround for https://github.com/Microsoft/vscode/issues/12865 // check new scrollTop and reset if neccessary setTimeout(function () { if (scrollTop !== getTarget().contentDocument.body.scrollTop) { getTarget().contentDocument.body.scrollTop = scrollTop; setTimeout(() => { if (scrollTop !== newFrame.contentDocument.body.scrollTop) { newFrame.contentDocument.body.scrollTop = scrollTop; } document.body.removeChild(frame); newFrame.style.display = 'block'; }, 0); ipcRenderer.sendToHost('did-set-content', stats);"} {"_id":"q-en-vscode-35656a1bf537594e8236bffa246cc778a47ea00bf9386bb812f61a049e84cc6d","text":"} } case 'server': if (arch === 'arm64') { throw new Error(`Unrecognized: ${product} ${os} ${arch} ${type}`); } return `server-win32-${arch}`; case 'web': if (arch === 'arm64') { throw new Error(`Unrecognized: ${product} ${os} ${arch} ${type}`); } return `server-win32-${arch}-web`; case 'cli': return `cli-win32-${arch}`;"} {"_id":"q-en-vscode-35a550e86cd6b05dc69a1b5cedcd9384e5d907878193fa5e2fe6b08452ec4837","text":"}); }); test('Expand abbreviation with no self closing tags for html', () => { test.skip('Expand abbreviation with no self closing tags for html', () => { return withRandomFileEditor('img', 'html', async (editor, _doc) => { editor.selection = new Selection(0, 6, 0, 6); await expandEmmetAbbreviation({ language: 'html' });"} {"_id":"q-en-vscode-360a0f85bb9cf8ff965496dd5be79aec531847067b8f7643cfd960767ad076b9","text":"private _hide(): void { this._accessibleBuffer.classList.remove('active'); this._xtermElement.classList.remove('hide'); this._xterm.raw.focus(); }"} {"_id":"q-en-vscode-361eebae10c28ffdf5c56fa8232f061367fd5bc8ed95f32e3ef74aa760d241ef","text":"} } public $executeTask(value: TaskDTO): Promise { // Passing in a TaskHandleDTO will cause the task to get re-resolved, which is important for tasks are coming from the core, // such as those gotten from a fetchTasks, since they can have missing configuration properties. public $executeTask(value: TaskHandleDTO | TaskDTO): Promise { return new Promise((resolve, reject) => { const task = TaskDTO.to(value, this._workspaceContextServer, true)!; this._taskService.run(task).then(undefined, reason => { // eat the error, it has already been surfaced to the user and we don't care about it here }); const result: TaskExecutionDTO = { id: task._id, task: TaskDTO.from(task) }; resolve(result); if (TaskHandleDTO.is(value)) { const workspaceFolder = typeof value.workspaceFolder === 'string' ? value.workspaceFolder : this._workspaceContextServer.getWorkspaceFolder(URI.revive(value.workspaceFolder)); if (workspaceFolder) { this._taskService.getTask(workspaceFolder, value.id, true).then((task: Task | undefined) => { if (!task) { reject(new Error('Task not found')); } else { this._taskService.run(task).then(undefined, reason => { // eat the error, it has already been surfaced to the user and we don't care about it here }); const result: TaskExecutionDTO = { id: value.id, task: TaskDTO.from(task) }; resolve(result); } }, (_error) => { reject(new Error('Task not found')); }); } else { reject(new Error('No workspace folder')); } } else { const task = TaskDTO.to(value, this._workspaceContextServer, true)!; this._taskService.run(task).then(undefined, reason => { // eat the error, it has already been surfaced to the user and we don't care about it here }); const result: TaskExecutionDTO = { id: task._id, task: TaskDTO.from(task) }; resolve(result); } }); } public $customExecutionComplete(id: string, result?: number): Promise { return new Promise((resolve, reject) => { this._taskService.getActiveTasks().then((tasks) => {"} {"_id":"q-en-vscode-36387e43b8dc17ae9d366b220dfed2cace793c672b79ce9de259f262511e8280","text":"default: defaults.sticky, description: nls.localize('hover.sticky', \"Controls whether the hover should remain visible when mouse is moved over it.\") }, 'editor.hover.hidingDelay': { type: 'integer', minimum: 0, default: defaults.hidingDelay, description: nls.localize('hover.hidingDelay', \"Controls the delay in milliseconds after thich the hover is hidden. Requires `editor.hover.sticky` to be enabled.\") }, 'editor.hover.above': { type: 'boolean', default: defaults.above,"} {"_id":"q-en-vscode-367fc15c8cbf937e02538e2a50d3cea5a05fe66dddd962b872912b129bb4184c","text":"this._disposeQuickFix(this._lastQuickFixId, false); } // Wait for the next command to start to ensure the quick fix marker is created on the next // prompt line const commandDetection = this._capabilities.get(TerminalCapability.CommandDetection); if (commandDetection) { await Event.toPromise(commandDetection.onCommandStarted); } const resolver = async (selector: ITerminalQuickFixOptions, lines?: string[]) => { if (lines === undefined) { return undefined;"} {"_id":"q-en-vscode-368469df7b43a7c92778c510c534430bddde2827786887e2236ee00773800fbd","text":"} } async pull(rebase?: boolean): Promise { await this.run(Operation.Pull, () => this.repository.pull(rebase)); async pull(rebase?: boolean, remote?: string, branch?: string): Promise { await this.run(Operation.Pull, () => this.repository.pull(rebase, remote, branch)); } async push(remote?: string, name?: string, options?: PushOptions): Promise {"} {"_id":"q-en-vscode-368a399d685e2305a6f17c7fde1cab9aac6e4f529f221a192329d6ed38647472","text":"getConfiguration(section?: string, scope?: vscode.ConfigurationScope | null, extensionDescription?: IExtensionDescription): vscode.WorkspaceConfiguration { const overrides = scopeToOverrides(scope) || {}; if (overrides.overrideIdentifier && extensionDescription) { checkProposedApiEnabled(extensionDescription); } const config = this._toReadonlyValue(section ? lookUp(this._configuration.getValue(undefined, overrides, this._extHostWorkspace.workspace), section) : this._configuration.getValue(undefined, overrides, this._extHostWorkspace.workspace));"} {"_id":"q-en-vscode-36bcbfb45766e08281e3af11f3c09e060f2e750b43fbd71a45d4016553e2b85d","text":"end set -e VSCODE_PATH_PREFIX # Apply EnvironmentVariableCollections if needed if test -n \"$VSCODE_ENV_REPLACE\" set ITEMS (string split : $VSCODE_ENV_REPLACE) for B in $ITEMS set split (string split = $B) set -gx \"$split[1]\" (echo -e \"$split[2]\") set -g __vsc_applied_env_vars 0 function __vsc_apply_env_vars if test $__vsc_applied_env_vars -eq 1; return end set -e VSCODE_ENV_REPLACE end if test -n \"$VSCODE_ENV_PREPEND\" set ITEMS (string split : $VSCODE_ENV_PREPEND) for B in $ITEMS set split (string split = $B) set -gx \"$split[1]\" (echo -e \"$split[2]\")\"$$split[1]\" # avoid -p as it adds a space set -l __vsc_applied_env_vars 1 # Apply EnvironmentVariableCollections if needed if test -n \"$VSCODE_ENV_REPLACE\" set ITEMS (string split : $VSCODE_ENV_REPLACE) for B in $ITEMS set split (string split = $B) set -gx \"$split[1]\" (echo -e \"$split[2]\") end set -e VSCODE_ENV_REPLACE end set -e VSCODE_ENV_PREPEND end if test -n \"$VSCODE_ENV_APPEND\" set ITEMS (string split : $VSCODE_ENV_APPEND) for B in $ITEMS set split (string split = $B) set -gx \"$split[1]\" \"$$split[1]\"(echo -e \"$split[2]\") # avoid -a as it adds a space if test -n \"$VSCODE_ENV_PREPEND\" set ITEMS (string split : $VSCODE_ENV_PREPEND) for B in $ITEMS set split (string split = $B) set -gx \"$split[1]\" (echo -e \"$split[2]\")\"$$split[1]\" # avoid -p as it adds a space end set -e VSCODE_ENV_PREPEND end if test -n \"$VSCODE_ENV_APPEND\" set ITEMS (string split : $VSCODE_ENV_APPEND) for B in $ITEMS set split (string split = $B) set -gx \"$split[1]\" \"$$split[1]\"(echo -e \"$split[2]\") # avoid -a as it adds a space end set -e VSCODE_ENV_APPEND end set -e VSCODE_ENV_APPEND end # Handle the shell integration nonce"} {"_id":"q-en-vscode-36e413dc5f4f0c181e4c7ba576c665a49769ab80b4ca0e929b9851afd96094c1","text":"this._widget.showAt(fragment, new ContentHoverVisibleData( colorPicker, forceShowAtRange ? forceShowAtRange.getStartPosition() : new Position(anchor.range.startLineNumber, renderColumn), forceShowAtRange ? forceShowAtRange : highlightRange, showAtPosition, showAtRange, this._editor.getOption(EditorOption.hover).above, this._computer.shouldFocus, disposables"} {"_id":"q-en-vscode-36ea9d5b249db0f5548c7477ded2d3e317f5354ebcf9daa4ede195e7c89cc087","text":"import * as editorCommon from 'vs/editor/common/editorCommon'; import {EditorLayoutProvider} from 'vs/editor/common/viewLayout/editorLayoutProvider'; import {ScrollbarVisibility} from 'vs/base/browser/ui/scrollbar/scrollableElementOptions'; import * as browser from 'vs/base/browser/browser'; /** * Experimental screen reader support toggle"} {"_id":"q-en-vscode-36ead3cd1a6b7db7dca2fa90343c6df2d22b8aaf5e72e333e21a093604b942dd","text":"switch (item.kind) { case PConst.Kind.function: { const showOnAllFunctions = vscode.workspace.getConfiguration(this.language.id).get('referencesCodeLens.showOnAllFunctions'); if (showOnAllFunctions) { if (showOnAllFunctions && item.nameSpan) { return getSymbolRange(document, item); } }"} {"_id":"q-en-vscode-36ec55bf073f06234df6ede1fb05ddf23d1e2091781259cad372e41485bab760","text":"* Controls whether to show the \"Terminal will be reused by tasks, press any key to close it\" message. */ showReuseMessage?: boolean; /** * Controls whether the terminal is cleared before executing the task. */ clear?: boolean; } /**"} {"_id":"q-en-vscode-3737401f84f595eabca1f5c809d44b379e35faee85abc927dd0b596e45c0244f","text":"\"emmetPreferencesCssOProperties\": \"Comma separated CSS properties that get the 'o' vendor prefix when used in Emmet abbreviation that starts with `-`. Set to empty string to always avoid the 'o' prefix.\", \"emmetPreferencesCssMsProperties\": \"Comma separated CSS properties that get the 'ms' vendor prefix when used in Emmet abbreviation that starts with `-`. Set to empty string to always avoid the 'ms' prefix.\", \"emmetPreferencesCssFuzzySearchMinScore\": \"The minimum score (from 0 to 1) that fuzzy-matched abbreviation should achieve. Lower values may produce many false-positive matches, higher values may reduce possible matches.\", \"emmetOptimizeStylesheetParsing\": \"When set to `false`, the whole file is parsed to determine if current position is valid for expanding Emmet abbreviations. When set to `true`, only the content around the current position in css/scss/less files is parsed.\" \"emmetOptimizeStylesheetParsing\": \"When set to `false`, the whole file is parsed to determine if current position is valid for expanding Emmet abbreviations. When set to `true`, only the content around the current position in css/scss/less files is parsed.\", \"emmetPreferencesOutputReverseAttributes\": \"If `true`, reverses attribute merging directions when resolving snippets.\" }"} {"_id":"q-en-vscode-3788159cce22c0335f978a52ca9cc0f883a220836b14999a4ec0d3c313be9ec4","text":"} registerAction2(AssignSelectedAgentAction); class ReferenceArgument { constructor( readonly widget: IChatWidget, readonly variable: IDynamicVariable ) { } } class BuiltinDynamicCompletions extends Disposable { private static readonly addReferenceCommand = '_addReferenceCmd'; private static readonly VariableNameDef = new RegExp(`${chatVariableLeader}w*`, 'g'); // MUST be using `g`-flag private readonly queryBuilder: QueryBuilder; constructor( @IHistoryService private readonly historyService: IHistoryService, @IWorkspaceContextService private readonly workspaceContextService: IWorkspaceContextService, @ISearchService private readonly searchService: ISearchService, @ILabelService private readonly labelService: ILabelService, @ILanguageFeaturesService private readonly languageFeaturesService: ILanguageFeaturesService, @IChatWidgetService private readonly chatWidgetService: IChatWidgetService, @IInstantiationService private readonly instantiationService: IInstantiationService, ) { super(); this._register(this.languageFeaturesService.completionProvider.register({ scheme: ChatInputPart.INPUT_SCHEME, hasAccessToAllModels: true }, { _debugDisplayName: 'chatDynamicCompletions', triggerCharacters: [chatVariableLeader], provideCompletionItems: async (model: ITextModel, position: Position, _context: CompletionContext, _token: CancellationToken) => { provideCompletionItems: async (model: ITextModel, position: Position, _context: CompletionContext, token: CancellationToken) => { const widget = this.chatWidgetService.getWidgetByInputUri(model.uri); if (!widget || !widget.supportsFileReferences) { return null;"} {"_id":"q-en-vscode-37a00c4e280031b9b4a7c6b350edc6846de95948ada3e3f18bd1a69b767ba1a3","text":"}, menuOpts: { menuId: MarkerNavigationWidget.TitleMenu, title: NextMarkerAction.LABEL, title: PrevMarkerAction.LABEL, icon: registerIcon('marker-navigation-previous', Codicon.arrowUp, nls.localize('previousMarkerIcon', 'Icon for goto previous marker.')), group: 'navigation', order: 2"} {"_id":"q-en-vscode-37a134291b68039a082e837beed58ea76a5124f5657d2f743ba225badcfd7e11","text":"this._onDidChangeZoomLevel.fire(this._zoomLevel); } public getEditorZoomLevel(): number { return this._editorZoomLevel; } public setEditorZoomLevel(zoomLevel:number): void { if (this._editorZoomLevel === zoomLevel) { return; } this._editorZoomLevel = zoomLevel; this._onDidChangeZoomLevel.fire(this._editorZoomLevel); } public getPixelRatio(): number { if (!this._pixelRatioComputed) { this._pixelRatioCache = this._computePixelRatio();"} {"_id":"q-en-vscode-37b8059eb3ecb2fdc0dad2d9f86982bd798eb8e29140c7e1e6292fdbe19d5b80","text":"foldingRangeLimit = getClientCapability('textDocument.foldingRange.rangeLimit', Number.MAX_VALUE); formatterMaxNumberOfEdits = initializationOptions?.customCapabilities?.rangeFormatting?.editLimit || Number.MAX_VALUE; const pullDiagnosticSupport = getClientCapability('textDocument.diagnostic', undefined); if (pullDiagnosticSupport === undefined) { const supportsDiagnosticPull = getClientCapability('textDocument.diagnostic', undefined); if (supportsDiagnosticPull === undefined) { diagnosticsSupport = registerDiagnosticsPushSupport(documents, connection, runtime, validateTextDocument); } else { diagnosticsSupport = registerDiagnosticsPullSupport(documents, connection, runtime, validateTextDocument);"} {"_id":"q-en-vscode-37ba2dd5156f31870fc8630be702c96940ae0f2911b86166fa42a964cbc9aa61","text":".monaco-workbench .part.editor > .content .editor-group-container > .title .tabs-container > .tab.sizing-fit .monaco-icon-label, .monaco-workbench .part.editor > .content .editor-group-container > .title .tabs-container > .tab.sizing-fit .monaco-icon-label > .monaco-icon-label-container { overflow: visible; /* fixes https://github.com/microsoft/vscode/issues/20182 */ overflow-x: visible; /* fixes https://github.com/microsoft/vscode/issues/20182 by ensuring the horizontal overflow is visible */ } .monaco-workbench .part.editor > .content .editor-group-container > .title .tabs-container > .tab.sizing-shrink > .monaco-icon-label > .monaco-icon-label-container,"} {"_id":"q-en-vscode-37cbaff094705443ae0f4383de8294638dc94e009fd59c8ad8fe8018aab1a1c0","text":"}); test('score (non fuzzy)', function () { const target = 'HeLlo-World'; const target = 'HelLo-World'; assert.ok(_doScore(target, 'HelLo-World', false)[0] > 0); assert.strictEqual(_doScore(target, 'HelLo-World', false)[1].length, 'HelLo-World'.length);"} {"_id":"q-en-vscode-38a4b90f1151b3b75420c33005b9203113a673766a28338dba1a837286411693","text":"const defaults: EditorHoverOptions = { enabled: true, delay: 300, hidingDelay: 500, sticky: true, above: true, };"} {"_id":"q-en-vscode-38ac0cd87f56e4950f5d85283e4ad24dae43c8e6c9208ce646a77b23d438de96","text":"if (colorPickerWidget === undefined) { return; } this.body.classList.add('standalone-colorpicker-body'); this.body.style.maxHeight = Math.max(this._editor.getLayoutInfo().height / 4, 250) + 'px'; this.body.style.maxWidth = Math.max(this._editor.getLayoutInfo().width * 0.66, 500) + 'px'; this.body.tabIndex = 0; this.body.appendChild(fragment); this._body.classList.add('standalone-colorpicker-body'); this._body.style.maxHeight = Math.max(this._editor.getLayoutInfo().height / 4, 250) + 'px'; this._body.style.maxWidth = Math.max(this._editor.getLayoutInfo().width * 0.66, 500) + 'px'; this._body.tabIndex = 0; this._body.appendChild(fragment); colorPickerWidget.layout(); const colorPickerBody = colorPickerWidget.body;"} {"_id":"q-en-vscode-38bb4bbeec095e5eb8d46d5211a4303e974832b807c18331f43eef39e69e31fc","text":"IFS=' ' fi builtin read -ra ADDR <<<\"$__vsc_original_prompt_command\" for ((i = 0; i < ${#ADDR[@]}; i++)); do builtin eval ${ADDR[i]} done if [[ ${__vsc_original_ifs+set} ]]; then IFS=\"$__vsc_original_ifs\" unset __vsc_original_ifs else unset IFS fi for ((i = 0; i < ${#ADDR[@]}; i++)); do # unset IFS builtin eval ${ADDR[i]} done __vsc_precmd }"} {"_id":"q-en-vscode-3916e0105c34e4dd1733a96d6efeadf6591698f064fc1f9c152faa1fd813d2fe","text":"const filteredEdits = allCellEdits.filter(edit => edit !== undefined) as ResourceEdit[]; await this.bulkEditService.apply(filteredEdits, { label: localize('insertFinalNewLine', \"Insert Final New Line\"), code: 'undoredo.insertFinalNewLine' }); // set cursor back to initial position after inserting final new line if (activeCellEditor && selections) { activeCellEditor.setSelections(selections); } } finally { progress.report({ increment: 100 }); disposable.dispose();"} {"_id":"q-en-vscode-3938eb19a76ff894ec914edf66bb157d8e13dc5e09f2626b81e407ed45446f04","text":"} this._beginReconnecting(); })); this._register(protocol.onSocketTimeout(() => { this._register(protocol.onSocketTimeout((e) => { const logPrefix = commonLogPrefix(this._connectionType, this.reconnectionToken, true); this._options.logService.info(`${logPrefix} received socket timeout event.`); this._options.logService.info(`${logPrefix} received socket timeout event (unacknowledgedMsgCount: ${e.unacknowledgedMsgCount}, timeSinceOldestUnacknowledgedMsg: ${e.timeSinceOldestUnacknowledgedMsg}, timeSinceLastReceivedSomeData: ${e.timeSinceLastReceivedSomeData}).`); this._beginReconnecting(); }));"} {"_id":"q-en-vscode-39467e015f21d65114ad29aa49f4e8b95a6417cc3b09f35bbe18c2d8e0e06335","text":"} .monaco-workbench .simple-find-part.visible { visibility: visible; } .monaco-workbench .simple-find-part.visible-transition { top: 0; }"} {"_id":"q-en-vscode-39627a1d3142ecbce23bfa9638e677515bcef741f5cd213008a00afd4dce2fa0","text":"] }, \"dependencies\": { \"vscode-languageclient\": \"^8.0.1\", \"vscode-languageclient\": \"^8.0.2-next.4\", \"vscode-nls\": \"^5.0.0\", \"vscode-uri\": \"^3.0.3\" },"} {"_id":"q-en-vscode-3966dc0dc15bd54dca8d76cf69a8cc9241ff8f510d821b795266e381408f0e51","text":"// When at a markdown file, apply existing scroll settings if (textEditor && textEditor.document && isMarkdownFile(textEditor.document)) { const line = this._topmostLineMonitor.getPreviousEditorLineByUri(textEditor.document.uri); const line = this._topmostLineMonitor.getPreviousStaticEditorLineByUri(textEditor.document.uri); if (line) { scrollEditorToLine(line, textEditor); }"} {"_id":"q-en-vscode-3990e4b892ccd5fc9a72c3aeb3147970ef6cdb2ccb926fb40ee59acb81f986a3","text":"# Sent at the start of the prompt. # Marks the beginning of the prompt (and, implicitly, a new line). function __vsc_fish_prompt_start # Applying environment variables is deferred to after config.fish has been # evaluated __vsc_apply_env_vars __vsc_esc A end"} {"_id":"q-en-vscode-39ef93db208b2f962cbb7aad82dedc2b936a522405091367e77bf067380b5c97","text":"return result[0].resource; }); } else if (fileExists && (tasksExistInFile || content)) { if (content) { this._configurationService.updateValue('tasks', json.parse(content), target); const statResource = stat?.resource; if (content && statResource) { this._configurationService.updateValue('tasks', json.parse(content), { resource: statResource }, target); } return stat?.resource; return statResource; } return undefined; }).then((resource) => {"} {"_id":"q-en-vscode-3a09c99c939dafdae633810f65f7b92df09895a71188e5b3206625209b874dc9","text":"this._storageListener.dispose(); } $getValue(shared: boolean, key: string): Promise { async $getValue(shared: boolean, key: string): Promise { if (shared) { this._sharedStorageKeysToWatch.set(key, true); } try { return Promise.resolve(this._getValue(shared, key)); } catch (error) { return Promise.reject(error); } return this._getValue(shared, key); } private _getValue(shared: boolean, key: string): T | undefined { const jsonValue = this._storageService.get(key, shared ? StorageScope.GLOBAL : StorageScope.WORKSPACE); if (!jsonValue) { return undefined; if (jsonValue) { try { return JSON.parse(jsonValue); } catch (error) { // Do not fail this call but log it for diagnostics // https://github.com/microsoft/vscode/issues/132777 this._logService.error(`[mainThreadStorage] unexpected error parsing storage contents (key: ${key}, shared: ${shared}): ${error}`); } } return JSON.parse(jsonValue); return undefined; } $setValue(shared: boolean, key: string, value: object): Promise { let jsonValue: string; try { jsonValue = JSON.stringify(value); // Extension state is synced separately through extensions this._storageService.store(key, jsonValue, shared ? StorageScope.GLOBAL : StorageScope.WORKSPACE, StorageTarget.MACHINE); } catch (err) { return Promise.reject(err); } return Promise.resolve(undefined); async $setValue(shared: boolean, key: string, value: object): Promise { this._storageService.store(key, JSON.stringify(value), shared ? StorageScope.GLOBAL : StorageScope.WORKSPACE, StorageTarget.MACHINE /* Extension state is synced separately through extensions */); } $registerExtensionStorageKeysToSync(extension: IExtensionIdWithVersion, keys: string[]): void {"} {"_id":"q-en-vscode-3a2bbd9e94b62dc7635cceb86e2fecff96cbdcc1bdc3a3789049b2d9a1c32533","text":"return []; } return response.body .filter(highlight => highlight.file === file) .map(convertDocumentHighlight) .flat(); return response.body.flatMap(convertDocumentHighlight); } }"} {"_id":"q-en-vscode-3a75aca9ba18f7d1de6b0a5f77f123ade14dddca5e7e76fe7774c846f7408d87","text":"*--------------------------------------------------------------------------------------------*/ import { IDragAndDropData } from 'vs/base/browser/dnd'; import { createStyleSheet, Dimension, EventHelper } from 'vs/base/browser/dom'; import { asCssValueWithDefault, createStyleSheet, Dimension, EventHelper } from 'vs/base/browser/dom'; import { DomEmitter } from 'vs/base/browser/event'; import { IKeyboardEvent, StandardKeyboardEvent } from 'vs/base/browser/keyboardEvent'; import { Gesture } from 'vs/base/browser/touch';"} {"_id":"q-en-vscode-3aae95a1fdd341bbd6c1ca1a079fde1d16a4c00c7e720f346053adf0764a2808","text":"this.replInput.layout({ width: width - 30, height: replInputHeight }); } override shouldShowFilterInHeader(): boolean { return true; } collapseAll(): void { this.tree.collapseAll(); }"} {"_id":"q-en-vscode-3b47c617d934f82e71935e4eeec44af59b62d636f3edea103c14bcf9a3a4259d","text":"import { EditorAccessibilityHelpContribution } from 'vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp'; import { SaveAccessibilitySignalContribution } from 'vs/workbench/contrib/accessibility/browser/saveAccessibilitySignal'; import { CommentsAccessibilityHelpContribution } from 'vs/workbench/contrib/comments/browser/commentsAccessibility'; import { DiffEditorActiveAnnouncementContribution } from 'vs/workbench/contrib/accessibility/browser/openDiffEditorAnnouncement'; registerAccessibilityConfiguration(); registerSingleton(IAccessibleViewService, AccessibleViewService, InstantiationType.Delayed);"} {"_id":"q-en-vscode-3b60675a43693fe096852e0fed70750457bf26a75eff200f5681ab88486f53ac","text":"type: 'string', enum: ['on', 'auto', 'off'], enumDescriptions: [ nls.localize('ttask.allowAutomaticTasks.on', \"Always\"), nls.localize('task.allowAutomaticTasks.on', \"Always\"), nls.localize('task.allowAutomaticTasks.auto', \"Prompt for permission for each folder\"), nls.localize('task.allowAutomaticTasks.off', \"Never\"), ], description: nls.localize('task.allowAutomaticTasks', \"Enable automatic tasks in the folder.\"), description: nls.localize('task.allowAutomaticTasks', \"Enable automatic tasks in the folder - note that tasks won't run in an untrusted workspace.\"), default: 'auto', restricted: true },"} {"_id":"q-en-vscode-3b7bedb0e51d7f5a7502d25956c00ae98ac194a66797e3e95d05977ca35e6196","text":"import { getColorForSeverity } from 'vs/workbench/contrib/terminal/browser/terminalStatusList'; import { createAndFillInContextMenuActions, MenuEntryActionViewItem } from 'vs/platform/actions/browser/menuEntryActionViewItem'; import { DropdownWithPrimaryActionViewItem } from 'vs/platform/actions/browser/dropdownWithPrimaryActionViewItem'; import { dispose, IDisposable, toDisposable } from 'vs/base/common/lifecycle'; import { DisposableStore, dispose, IDisposable, toDisposable } from 'vs/base/common/lifecycle'; import { URI } from 'vs/base/common/uri'; import { ColorScheme } from 'vs/platform/theme/common/theme'; import { getColorClass, getUriClasses } from 'vs/workbench/contrib/terminal/browser/terminalIcon';"} {"_id":"q-en-vscode-3b825509598e1efbaa0a42ed066685d543fc847106709b5b4bce48e4e268d479","text":"import { withNullAsUndefined } from 'vs/base/common/types'; import { URI } from 'vs/base/common/uri'; import { IUriIdentityService } from 'vs/platform/uriIdentity/common/uriIdentity'; import { isLinux, isNative, isWindows } from 'vs/base/common/platform'; import { isLinux, isMacintosh, isNative, isWindows } from 'vs/base/common/platform'; import { ILogService } from 'vs/platform/log/common/log'; import { getProgressBarStyles } from 'vs/platform/theme/browser/defaultStyles';"} {"_id":"q-en-vscode-3bb46772a83bf1cace1ea0103618c97288a89e0a7f27300e915fb354d1e7e26b","text":"// keep item in memory this._memoryService.memorize(model, this.editor.getPosition(), item); const scrollState = StableEditorScrollState.capture(this.editor); if (Array.isArray(item.completion.additionalTextEdits)) { this.editor.executeEdits('suggestController.additionalTextEdits', item.completion.additionalTextEdits.map(edit => EditOperation.replace(Range.lift(edit.range), edit.text))); // sync additional edits const scrollState = StableEditorScrollState.capture(this.editor); this.editor.executeEdits( 'suggestController.additionalTextEdits.sync', item.completion.additionalTextEdits.map(edit => EditOperation.replace(Range.lift(edit.range), edit.text)) ); scrollState.restoreRelativeVerticalPositionOfCursor(this.editor); } else if (!item.isResolved) { // async additional edits let position: IPosition | undefined; const docListener = model.onDidChangeContent(e => { if (e.isFlush) { cts.cancel(); docListener.dispose(); return; } for (let change of e.changes) { const thisPosition = Range.getEndPosition(change.range); if (!position || Position.isBefore(thisPosition, position)) { position = thisPosition; } } }); let oldFlags = flags; flags |= InsertFlags.NoAfterUndoStop; let didType = false; let typeListener = this.editor.onWillType(() => { typeListener.dispose(); didType = true; if (!(oldFlags & InsertFlags.NoAfterUndoStop)) { this.editor.pushUndoStop(); } }); tasks.push(item.resolve(cts.token).then(() => { if (!item.completion.additionalTextEdits || cts.token.isCancellationRequested) { return; } if (position && item.completion.additionalTextEdits.some(edit => Position.isBefore(position!, Range.getStartPosition(edit.range)))) { return; } if (didType) { this.editor.pushUndoStop(); } this.editor.executeEdits( 'suggestController.additionalTextEdits.async', item.completion.additionalTextEdits.map(edit => EditOperation.replace(Range.lift(edit.range), edit.text)) ); if (didType || !(oldFlags & InsertFlags.NoAfterUndoStop)) { this.editor.pushUndoStop(); } }).finally(() => { docListener.dispose(); typeListener.dispose(); })); } let { insertText } = item.completion;"} {"_id":"q-en-vscode-3bc9117f8cd72e15b3706473c396938ddd4b380ffda3626dbec7c2bca59164b2","text":"'type': 'string', 'enum': ['hide', 'filter'], 'enumDescriptions': [ nls.localize('settingsSearchTocBehavior.hide', \"Hide the Table of Contents while searching. The search results will not be grouped by category, and instead will be sorted by similarity to the query, with exact keyword matches coming first.\"), nls.localize('settingsSearchTocBehavior.filter', \"Filter the Table of Contents to just categories that have matching settings. Clicking a category will filter the results to that category. The search results will be grouped by category.\"), nls.localize('settingsSearchTocBehavior.hide', \"Hide the Table of Contents while searching.\"), nls.localize('settingsSearchTocBehavior.filter', \"Filter the Table of Contents to just categories that have matching settings. Clicking on a category will filter the results to that category.\"), ], 'description': nls.localize('settingsSearchTocBehavior', \"Controls the behavior of the Settings editor Table of Contents while searching. If this setting is being changed in the Settings editor, the setting will take effect after the search query is modified.\"), 'default': 'filter',"} {"_id":"q-en-vscode-3bea63bd47893f9a1e8a5262fef42afa8de6b90d71b6c0f70461c97eff4e540a","text":"\"SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\" ], \"isOnlyProductionDependency\": true, \"version\": \"102.0.5005.167\" \"version\": \"102.0.5005.194\" }, { \"component\": {"} {"_id":"q-en-vscode-3c12bff47f348a2941f1244409678f833518327c97b774362561053f03a1874e","text":"} } async clearRecentlyOpened(): Promise { async clearRecentlyOpened(options?: { confirm?: boolean }): Promise { if (options?.confirm) { const { response } = await this.dialogMainService.showMessageBox({ type: 'warning', buttons: [ localize({ key: 'clearButtonLabel', comment: ['&& denotes a mnemonic'] }, \"&&Clear\"), localize({ key: 'cancel', comment: ['&& denotes a mnemonic'] }, \"&&Cancel\") ], message: localize('confirmClearRecentsMessage', \"Do you want to clear all recently opened files and workspaces?\"), detail: localize('confirmClearDetail', \"This action is irreversible!\"), cancelId: 1 }); if (response !== 0) { return; } } await this.saveRecentlyOpened({ workspaces: [], files: [] }); app.clearRecentDocuments();"} {"_id":"q-en-vscode-3c175db29ca64379c8e98b7923c911e4e21f1423534a436cdf64ad8e6b6386bc","text":"this.commentService.disposeCommentThread(this.owner, this._commentThread.threadId); } public collapse(): Promise { public collapse() { this._commentThread.collapsibleState = languages.CommentThreadCollapsibleState.Collapsed; if (this._commentThread.comments && this._commentThread.comments.length === 0) { this.deleteCommentThread(); return Promise.resolve(); } this.hide(); return Promise.resolve(); } public expand(): Promise { public expand() { this._commentThread.collapsibleState = languages.CommentThreadCollapsibleState.Expanded; this.show(this.arrowPosition(this._commentThread.range), 2); return Promise.resolve(); } public getGlyphPosition(): number {"} {"_id":"q-en-vscode-3c92a57c52b5212016d726300710d5d7279befd9d87e8918f3e549efdad7b021","text":"\"type\": \"number\", \"default\": 0.3, \"description\": \"%emmetPreferencesCssFuzzySearchMinScore%\" }, \"output.reverseAttributes\": { \"type\": \"boolean\", \"default\": false, \"description\": \"%emmetPreferencesOutputReverseAttributes%\" } } },"} {"_id":"q-en-vscode-3d080bf548374bc6af7fa88a86f3a8b5ea639b43f0208dcdd893c18021278f51","text":" /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import * as assert from 'assert'; import { URI, UriComponents } from 'vs/base/common/uri'; import { ExtHostDocumentsAndEditors } from 'vs/workbench/api/common/extHostDocumentsAndEditors'; import { SingleProxyRPCProtocol } from 'vs/workbench/api/test/common/testRPCProtocol'; import { NullLogService } from 'vs/platform/log/common/log'; import { ensureNoDisposablesAreLeakedInTestSuite } from 'vs/base/test/common/utils'; import { ExtHostDocumentContentProvider } from 'vs/workbench/api/common/extHostDocumentContentProviders'; import { Emitter } from 'vs/base/common/event'; import { MainThreadDocumentContentProvidersShape } from 'vs/workbench/api/common/extHost.protocol'; import { timeout } from 'vs/base/common/async'; import { runWithFakedTimers } from 'vs/base/test/common/timeTravelScheduler'; suite('ExtHostDocumentContentProvider', () => { ensureNoDisposablesAreLeakedInTestSuite(); const resource = URI.parse('foo:bar'); let documentContentProvider: ExtHostDocumentContentProvider; let mainThreadContentProvider: MainThreadDocumentContentProvidersShape; const changes: [uri: UriComponents, value: string][] = []; setup(() => { changes.length = 0; mainThreadContentProvider = new class implements MainThreadDocumentContentProvidersShape { $registerTextContentProvider(handle: number, scheme: string): void { } $unregisterTextContentProvider(handle: number): void { } async $onVirtualDocumentChange(uri: UriComponents, value: string): Promise { await timeout(10); changes.push([uri, value]); } dispose(): void { throw new Error('Method not implemented.'); } }; const ehContext = SingleProxyRPCProtocol(mainThreadContentProvider); const documentsAndEditors = new ExtHostDocumentsAndEditors(ehContext, new NullLogService()); documentsAndEditors.$acceptDocumentsAndEditorsDelta({ addedDocuments: [{ isDirty: false, languageId: 'foo', uri: resource, versionId: 1, lines: ['foo'], EOL: 'n', }] }); documentContentProvider = new ExtHostDocumentContentProvider(ehContext, documentsAndEditors, new NullLogService()); }); test('TextDocumentContentProvider drops onDidChange events when they happen quickly #179711', async () => { await runWithFakedTimers({}, async function () { const emitter = new Emitter(); const contents = ['X', 'Y']; let counter = 0; let stack = 0; const d = documentContentProvider.registerTextDocumentContentProvider(resource.scheme, { onDidChange: emitter.event, async provideTextDocumentContent(_uri) { assert.strictEqual(stack, 0); stack++; try { await timeout(0); return contents[counter++ % contents.length]; } finally { stack--; } } }); emitter.fire(resource); emitter.fire(resource); await timeout(100); assert.strictEqual(changes.length, 2); assert.strictEqual(changes[0][1], 'X'); assert.strictEqual(changes[1][1], 'Y'); d.dispose(); }); }); }); "} {"_id":"q-en-vscode-3d0b0213e04ba02c2b9e21ffe345f5ac0e8b279e301a986f43d5180741cbe345","text":"return null; } const result: CompletionList = { suggestions: [] }; const afterRange = new Range(position.lineNumber, range.replace.startColumn, position.lineNumber, range.replace.startColumn + '#file:'.length); return { suggestions: [ { label: `${chatVariableLeader}file`, insertText: `${chatVariableLeader}file:`, detail: localize('pickFileLabel', \"Pick a file\"), range, kind: CompletionItemKind.Text, command: { id: SelectAndInsertFileAction.ID, title: SelectAndInsertFileAction.ID, arguments: [{ widget, range: afterRange }] }, sortText: 'z' } satisfies CompletionItem ] }; result.suggestions.push({ label: `${chatVariableLeader}file`, insertText: `${chatVariableLeader}file:`, detail: localize('pickFileLabel', \"Pick a file\"), range, kind: CompletionItemKind.Text, command: { id: SelectAndInsertFileAction.ID, title: SelectAndInsertFileAction.ID, arguments: [{ widget, range: afterRange }] }, sortText: 'z' }); await this.addFileEntries(widget, result, range, token); return result; } })); this._register(CommandsRegistry.registerCommand(BuiltinDynamicCompletions.addReferenceCommand, (_services, arg) => this.cmdAddReference(arg))); this.queryBuilder = this.instantiationService.createInstance(QueryBuilder); } private async addFileEntries(widget: IChatWidget, result: CompletionList, info: { insert: Range; replace: Range; varWord: IWordAtPosition | null }, token: CancellationToken) { const makeFileCompletionItem = (resource: URI): CompletionItem => { const basename = this.labelService.getUriBasenameLabel(resource); const insertText = `${chatVariableLeader}file:${basename} `; return { label: { label: `${chatVariableLeader}file:${basename}`, description: this.labelService.getUriLabel(resource) }, insertText, range: info, kind: CompletionItemKind.File, sortText: 'zz', command: { id: BuiltinDynamicCompletions.addReferenceCommand, title: '', arguments: [new ReferenceArgument(widget, { id: 'vscode.file', range: { startLineNumber: info.replace.startLineNumber, startColumn: info.replace.startColumn, endLineNumber: info.replace.endLineNumber, endColumn: info.replace.startColumn + insertText.length }, data: resource })] } }; }; let pattern: string | undefined; if (info.varWord?.word && info.varWord.word.startsWith(chatVariableLeader)) { pattern = info.varWord.word.toLowerCase().slice(1); // remove leading # } const seen = new ResourceSet(); const len = result.suggestions.length; // HISTORY // always take the last N items for (const item of this.historyService.getHistory()) { if (!item.resource || !this.workspaceContextService.getWorkspaceFolder(item.resource)) { // ignore \"forgein\" editors continue; } if (pattern) { // use pattern if available const basename = this.labelService.getUriBasenameLabel(item.resource).toLowerCase(); if (!isPatternInWord(pattern, 0, pattern.length, basename, 0, basename.length)) { continue; } } seen.add(item.resource); const newLen = result.suggestions.push(makeFileCompletionItem(item.resource)); if (newLen - len >= 5) { break; } } // SEARCH // use file search when having a pattern if (pattern) { const query = this.queryBuilder.file(this.workspaceContextService.getWorkspace().folders, { filePattern: pattern, maxResults: 25 }); const data = await this.searchService.fileSearch(query, token); for (const match of data.results) { if (seen.has(match.resource)) { // already included via history continue; } result.suggestions.push(makeFileCompletionItem(match.resource)); } if (!data.limitHit) { result.incomplete = true; } } } private cmdAddReference(arg: ReferenceArgument) { // invoked via the completion command arg.widget.getContrib(ChatDynamicVariableModel.ID)?.addReference(arg.variable); } }"} {"_id":"q-en-vscode-3d8a52c5260f82732751e871a302254c634e8fd811ea634e32f7b43509b5814d","text":"get providers(): Map { return this._providers; } constructor(@ITerminalContributionService private readonly _terminalContributionService: ITerminalContributionService) { for (const selector of this._terminalContributionService.quickFixes) { this.registerCommandSelector(selector); } this._terminalContributionService.quickFixes.then(selectors => { for (const selector of selectors) { this.registerCommandSelector(selector); } }); } registerCommandSelector(selector: ITerminalCommandSelector): void {"} {"_id":"q-en-vscode-3e15527f06d2a5d04b04bb9d7673f8732cbcf83b2581e72c0fcf11588cdf732f","text":"} } async pull(rebase?: boolean): Promise { async pull(rebase?: boolean, remote?: string, branch?: string): Promise { const args = ['pull']; if (rebase) { args.push('-r'); } if (remote && branch) { args.push(remote); args.push(branch); } try { await this.run(args); } catch (err) {"} {"_id":"q-en-vscode-3e6d62976c923449aeb23b3c75ae8412c21ee6b205e1efab0d611e1849fe22ff","text":"} export class ExplorerItem { private _isDirectoryResolved: boolean; protected _isDirectoryResolved: boolean; private _isDisposed: boolean; public isError = false;"} {"_id":"q-en-vscode-3e746992d5ce574219ba864957cebab510ceda5b4f03fcb7b55a70cd6517adc2","text":"// this partition for shared memory. // Refs https://github.com/microsoft/vscode/issues/152143 args.push('--disable-dev-shm-usage'); // Refs https://github.com/microsoft/vscode/issues/192206 args.push('--disable-gpu'); } if (process.platform === 'darwin') {"} {"_id":"q-en-vscode-3e7bcdb84865bd7e0acea5ac4046cb68c700dcec88db41307c82bd0e95933758","text":"suite('Fuzzy Scorer', () => { test('score (fuzzy)', function () { const target = 'HeLlo-World'; const target = 'HelLo-World'; const scores: FuzzyScore[] = []; scores.push(_doScore(target, 'HelLo-World', true)); // direct case match"} {"_id":"q-en-vscode-3e993c22e209ca4f07f9e9b09e0c014bc48e6361ad4464b263748fee5c0c411f","text":"const tabSize = this._context.model.getTabSize(); const tabWidth = tabSize * this._spaceWidth; const lineHeight = this._lineHeight; const indentGuideWidth = dom.computeScreenAwareSize(1); const indentGuideWidth = tabWidth; const indents = this._context.model.getLinesIndentGuides(visibleStartLineNumber, visibleEndLineNumber);"} {"_id":"q-en-vscode-3ec2d96a8db5b79607034ffc4952c210274d1b6a52c979244e51e3d91df33081","text":"ctrl.insert('farboo'); assertSelections(editor, new Selection(1, 7, 1, 7), new Selection(2, 11, 2, 11)); // assertContextKeys(contextKeys, true, false, true); assertContextKeys(contextKeys, true, false, true); // ctrl.next(); // assertSelections(editor, new Selection(1, 7, 1, 7), new Selection(2, 11, 2, 11)); ctrl.next(); assertSelections(editor, new Selection(1, 7, 1, 7), new Selection(2, 11, 2, 11)); assertContextKeys(contextKeys, false, false, false); });"} {"_id":"q-en-vscode-3f1d98f63a94f966f5904da1e2d8632689eff1a3a0627f3c411de63c86a03be3","text":"URL: https://code.visualstudio.com/ Icon: @@NAME@@.xpm Requires: glibc >= 2.15 Requires: GConf2 %ifarch x86_64 Requires: libXss.so.1()(64bit) %else"} {"_id":"q-en-vscode-3f6ffb75c31e50089eccf62c9b45c4a2c6d8056c3d9ed79d4aa0f822bfbf5b91","text":"return; } const options = { findNext: true, forward: !previous }; const options = { findNext: false, forward: !previous }; if (!this._findStarted) { this.startFind(value, options); return;"} {"_id":"q-en-vscode-3fb13aa527abe7f98c1a1d8147f9840603f7610c0dbc4fd1cfc9f2fb1e3a01a5","text":"markdownIt.linkify.set({ fuzzyLink: false }); addNamedHeaderRendering(markdownIt); addLinkRenderer(markdownIt); const style = document.createElement('style'); style.textContent = `"} {"_id":"q-en-vscode-3fb13e51a6949161f71fb35f657cfdb930e7eea9e78429f0f1767f1c0483d14c","text":"private _shadowElement?: HTMLElement; private _shadowElementViewInfo: { height: number; width: number; top: number; left: number } | null = null; private _listStyleOverride = { listBackground: notebookEditorBackground, listActiveSelectionBackground: notebookEditorBackground, listActiveSelectionForeground: foreground, listFocusAndSelectionBackground: notebookEditorBackground, listFocusAndSelectionForeground: foreground, listFocusBackground: notebookEditorBackground, listFocusForeground: foreground, listHoverForeground: foreground, listHoverBackground: notebookEditorBackground, listHoverOutline: focusBorder, listFocusOutline: focusBorder, listInactiveSelectionBackground: notebookEditorBackground, listInactiveSelectionForeground: foreground, listInactiveFocusBackground: notebookEditorBackground, listInactiveFocusOutline: notebookEditorBackground, }; private readonly _editorFocus: IContextKey; private readonly _outputFocus: IContextKey; private readonly _editorEditable: IContextKey;"} {"_id":"q-en-vscode-3fca7a123693e88df7f9dd307667c46126dfb91e05a9ec1c578278f1b765ab59","text":"@ITextFileService private readonly textFileService: ITextFileService, @IStatusbarService private readonly statusbarService: IStatusbarService, @IInstantiationService private readonly instantiationService: IInstantiationService, @IContextKeyService private readonly contextKeyService: IContextKeyService @IContextKeyService private readonly contextKeyService: IContextKeyService, @IConfigurationService private readonly configurationService: IConfigurationService ) { super();"} {"_id":"q-en-vscode-3ffc0615b991d10e505d7c36d2a3e6e49b267711adfa7f7a930e946e8337d251","text":"if (command && this._currentStickyCommand !== command) { this._throttledRefresh(); } else { this._debouncedRefresh(); // If it's the same command, do not throttle as the sticky scroll overlay height may // need to be adjusted. This would cause a flicker if throttled. this._refreshNow(); } } @debounce(20) private _debouncedRefresh(): void { this._throttledRefresh(); } @throttle(0) private _throttledRefresh(): void { this._refreshNow(); } private _refreshNow(): void { const command = this._commandDetection.getCommandForLine(this._xterm.raw.buffer.active.viewportY); // The command from viewportY + 1 is used because this one will not be obscured by sticky"} {"_id":"q-en-vscode-401c8388deb45762a20db694ffbd4b2a263f4853a32c19db339178f5c00a7a01","text":"import { ExplorerViewPaneContainer } from 'vs/workbench/contrib/files/browser/explorerViewlet'; import { onUnexpectedError } from 'vs/base/common/errors'; import { category, getElementsToOperateOn, getSearchView, openSearchView } from 'vs/workbench/contrib/search/browser/searchActionsBase'; import { withNullAsUndefined } from 'vs/base/common/types'; import { IConfigurationResolverService } from 'vs/workbench/services/configurationResolver/common/configurationResolver'; import { IHistoryService } from 'vs/workbench/services/history/common/history'; import { Schemas } from 'vs/base/common/network'; //#region Interfaces"} {"_id":"q-en-vscode-4060dba5d70d974e00fc732d44b2c7066a4fed9464abfb2e34b07e25e39f1e3c","text":"export interface MainThreadDocumentContentProvidersShape extends IDisposable { $registerTextContentProvider(handle: number, scheme: string): void; $unregisterTextContentProvider(handle: number): void; $onVirtualDocumentChange(uri: UriComponents, value: string): void; $onVirtualDocumentChange(uri: UriComponents, value: string): Promise; } export interface MainThreadDocumentsShape extends IDisposable {"} {"_id":"q-en-vscode-40aebd503e8831ec5acb7ad243aef53ce182b0a5baf9eded0bfb2a4d177f5950","text":"document: vscode.TextDocument, webview: vscode.WebviewPanel ): Promise { const lineNumber = this._topmostLineMonitor.getPreviousEditorLineByUri(document.uri); const lineNumber = this._topmostLineMonitor.getPreviousTextEditorLineByUri(document.uri); const preview = StaticMarkdownPreview.revive( document.uri, webview,"} {"_id":"q-en-vscode-40e2214df07c4c3e70156cba626b88f1522a333d3b455a575766c256a9b2de22","text":"this.onTabFocusModeChange(); } })); this._register(this.configurationService.onDidChangeConfiguration(e => { if (e.affectsConfiguration('editor.tabFocusMode')) { TabFocus.setTabFocusMode(this.configurationService.getValue('editor.tabFocusMode'), TabFocusContext.Editor); this.onTabFocusModeChange(); } else if (e.affectsConfiguration(TerminalSettingId.TabFocusMode)) { TabFocus.setTabFocusMode(this.configurationService.getValue(TerminalSettingId.TabFocusMode), TabFocusContext.Terminal); this.onTabFocusModeChange(); } })); } private registerCommands(): void {"} {"_id":"q-en-vscode-4150ff4b5aaa4af8e2d3220f1a65f80c3898fcb7527f4d51160a37e6704b3704","text":" breakpoint-log-unverified No newline at end of file breakpoint-log-unverified No newline at end of file"} {"_id":"q-en-vscode-4182b5dc6cf6996eecf72a84b6415e3561038f51d07bf171aabf8d7109035235","text":"isDefault: true }; if (detectedProfile && detectedProfile.profileName === createdProfile.profileName && detectedProfile.path === createdProfile.path && this._argsMatch(detectedProfile.args, createdProfile.args)) { return undefined; return detectedProfile.profileName; } return createdProfile; }"} {"_id":"q-en-vscode-41e2d768f30bf3b68e4be8fc23e10ad5e2139efc137760cdf7f06209187b4279","text":"*/ .monaco-editor .lines-content .cigr { position: absolute; --box-shadow-color: rgba(0, 0, 0, 0); box-shadow: 1px 0 0 0 var(--box-shadow-color) inset; }"} {"_id":"q-en-vscode-4204c751b81875fd0bbf9f44f8d74e0066763f60e4b405484ff5b5a33150997c","text":"if (!alertSetting) { return; } const alertSettingValue: NotificationSetting = this._configurationService.getValue(alertSetting); if (this._shouldNotify(alertSettingValue, userGesture)) { this._logService.debug('AccessibleNotificationService alerting: ', alertMessage); this._accessibilityService.alert(alertMessage); } const audioCueSetting: NotificationSetting = this._configurationService.getValue(audioCue.settingsKey); if (this._shouldNotify(audioCueSetting, userGesture)) { this._logService.debug('AccessibleNotificationService playing sound: ', audioCue.name); console.log('AccessibleNotificationService playing sound: ', audioCue.name); // Play sound bypasses the usual audio cue checks IE screen reader optimized, auto, etc. this._audioCueService.playSound(audioCue.sound.getSound(), true); return; } const alertSettingValue: NotificationSetting = this._configurationService.getValue(alertSetting); if (this._shouldNotify(alertSettingValue, userGesture)) { this._logService.debug('AccessibleNotificationService alerting: ', alertMessage); console.log('AccessibleNotificationService alerting: ', alertMessage); this._accessibilityService.alert(alertMessage); } }"} {"_id":"q-en-vscode-420fb5fb1dcc4256de83e6c75e2e122146e6d315654979309ff1877513054da5","text":"}); } exports.config = { version: product.electronRepository ? '22.5.3' : util.getElectronVersion(), version: product.electronRepository ? '22.5.4' : util.getElectronVersion(), productAppName: product.nameLong, companyName: 'Microsoft Corporation', copyright: 'Copyright (C) 2023 Microsoft. All rights reserved',"} {"_id":"q-en-vscode-422b102753059c54423a34ea2cfa8ed8866f666df6afa58c70bbe6de04440215","text":"description: localize('verbosity.comments', 'Provide information about actions that can be taken in the comment widget or in a file which contains comments.'), ...baseVerbosityProperty }, [AccessibilityVerbositySettingId.DiffEditorActive]: { description: localize('verbosity.diffEditorActive', 'Indicate when a diff editor becomes the active editor.'), ...baseVerbosityProperty }, [AccessibilityAlertSettingId.Save]: { 'markdownDescription': localize('announcement.save', \"Indicates when a file is saved. Also see {0}.\", '`#audioCues.save#`'), 'enum': ['userGesture', 'always', 'never'],"} {"_id":"q-en-vscode-427226dda2a18c009abb48884b8861d8dd60ff9a4cbd98f8402de272a8ea8d87","text":"import { Mime, mediaMimes } from '../../util/mimes'; import { Schemes } from '../../util/schemes'; import { PasteUrlAsFormattedLink, createEditAddingLinksForUriList, createEditForMediaFiles, getPasteUrlAsFormattedLinkSetting } from './shared'; import { getParentDocumentUri } from '../../util/document'; class PasteResourceEditProvider implements vscode.DocumentPasteEditProvider {"} {"_id":"q-en-vscode-42ff3fefcaddfc5ab6e5e31b39167ed2f9c78384daae61ddd124e41e4522d1f3","text":"this._commentsElement.focus(); } ensureFocusIntoNewEditingComment() { if (this._commentElements.length === 1 && this._commentElements[0].isEditing) { this._commentElements[0].setFocus(true); } } async display() { this._commentsElement = dom.append(this.container, dom.$('div.comments-container')); this._commentsElement.setAttribute('role', 'presentation');"} {"_id":"q-en-vscode-430270f6ee40fc98458de4463169ea921c904df7ac8b8fc47391e764fe1c9463","text":"accessibilitySupport: app.accessibilitySupportEnabled, colorScheme: this.themeMainService.getColorScheme(), policiesData: this.policyService.serialize(), editSessionId: this.environmentMainService.editSessionId, }; let window: ICodeWindow | undefined;"} {"_id":"q-en-vscode-431c1c88783e32207adcc21720f62df1116b878265ed4090bfb1ec7a258eb854","text":"} } public onLineMappingChanged(e: viewEvents.ViewLineMappingChangedEvent): void { public updateAnchorViewPosition(): void { this._setPosition(this._affinity, this._primaryAnchor.modelPosition, this._secondaryAnchor.modelPosition); }"} {"_id":"q-en-vscode-437a42ece2a15f25ad3bfea6d18df23b500f451528bd8b35ad39f4b1833366ac","text":"const verbose = this._configurationService.getValue(provider.verbositySettingKey); const hasActions = this._accessibleViewSupportsNavigation.get() || this._accessibleViewVerbosityEnabled.get() || this._accessibleViewGoToSymbolSupported.get() || this._currentProvider?.actions; if (verbose && !showAccessibleViewHelp && hasActions) { actionsHint = localize('ariaAccessibleViewActions', \"Use Shift+Tab to explore actions such as disabling this hint.\"); actionsHint = localize('ariaAccessibleViewActions', 'Explore actions such as disabling this hint (Shift+Tab).'); } let ariaLabel = provider.options.type === AccessibleViewType.Help ? localize('accessibility-help', \"Accessibility Help\") : localize('accessible-view', \"Accessible View\"); this._title.textContent = ariaLabel;"} {"_id":"q-en-vscode-4382cab867cde078cc2502da3828ce7fb7ca9c6ebebaa645ec064f467fa78292","text":"cellEditorOptionsCustomizations: 'notebook.editorOptionsCustomizations', consolidatedRunButton: 'notebook.consolidatedRunButton', openGettingStarted: 'notebook.experimental.openGettingStarted', textOutputLineLimit: 'notebook.output.textLineLimit', globalToolbarShowLabel: 'notebook.globalToolbarShowLabel', markupFontSize: 'notebook.markup.fontSize', interactiveWindowCollapseCodeCells: 'interactiveWindow.collapseCellInputCode', outputLineHeight: 'notebook.outputLineHeight', outputFontSize: 'notebook.outputFontSize', outputFontFamily: 'notebook.outputFontFamily', kernelPickerType: 'notebook.kernelPicker.type', outputScrolling: 'notebook.experimental.outputScrolling', textOutputLineLimit: 'notebook.output.textLineLimit', outputWordWrap: 'notebook.output.wordWrap', outputLineHeightDeprecated: 'notebook.outputLineHeight', outputLineHeight: 'notebook.output.lineHeight', outputFontSizeDeprecated: 'notebook.outputFontSize', outputFontSize: 'notebook.output.fontSize', outputFontFamilyDeprecated: 'notebook.outputFontFamily', outputFontFamily: 'notebook.output.fontFamily', logging: 'notebook.logging', } as const;"} {"_id":"q-en-vscode-4385680cf0af5aa4043d33c675529de0dc50b4b373f6143f490d6e4fe50a8b56","text":"} const tunnelArgs = argv.slice(argv.indexOf('tunnel') + 1); // all arguments behind `tunnel` return new Promise((resolve, reject) => { let tunnelProcess: ChildProcessWithoutNullStreams; let tunnelProcess: ChildProcess; const stdio: StdioOptions = ['ignore', 'pipe', 'pipe']; if (process.env['VSCODE_DEV']) { tunnelProcess = spawn('cargo', ['run', '--', 'tunnel', ...tunnelArgs], { cwd: join(getAppRoot(), 'cli') }); tunnelProcess = spawn('cargo', ['run', '--', 'tunnel', ...tunnelArgs], { cwd: join(getAppRoot(), 'cli'), stdio }); } else { const appPath = process.platform === 'darwin' // ./Contents/MacOS/Electron => ./Contents/Resources/app/bin/code-tunnel-insiders ? join(dirname(dirname(process.execPath)), 'Resources', 'app') : dirname(process.execPath); const tunnelCommand = join(appPath, 'bin', `${product.tunnelApplicationName}${isWindows ? '.exe' : ''}`); tunnelProcess = spawn(tunnelCommand, ['tunnel', ...tunnelArgs], { cwd: cwd() }); tunnelProcess = spawn(tunnelCommand, ['tunnel', ...tunnelArgs], { cwd: cwd(), stdio }); } tunnelProcess.stdout.pipe(process.stdout); tunnelProcess.stderr.pipe(process.stderr); tunnelProcess.stdout!.pipe(process.stdout); tunnelProcess.stderr!.pipe(process.stderr); tunnelProcess.on('exit', resolve); tunnelProcess.on('error', reject); });"} {"_id":"q-en-vscode-438c7c4002184dc3bc8a993a158d98ff0e50b5b1e7daa7f1cce0dfc0b05168f3","text":"updateStyleOverrides(overrideStyles?: IColorMapping): void { dispose(this.styler); this.styler = overrideStyles ? attachListStyler(this.tree, this.themeService, overrideStyles) : Disposable.None; this.styler = attachListStyler(this.tree, this.themeService, overrideStyles); } dispose(): void {"} {"_id":"q-en-vscode-439b46e099c4a65a4fb54a69aa1731fe8abd9670813aa0406ddc820dd2b852fe","text":"private registerListeners(): void { this.editorGroupService.whenReady.then(() => { this.updateEditorAreaContextKeys(); this.updateEditorGroupContextKeys(); this.updateVisiblePanesContextKeys(); }); this._register(this.editorService.onDidActiveEditorChange(() => this.updateEditorGroupContextKeys())); this._register(this.editorService.onDidVisibleEditorsChange(() => this.updateVisiblePanesContextKeys())); this._register(this.editorGroupService.onDidAddGroup(() => this.updateEditorGroupContextKeys())); this._register(this.editorGroupService.onDidRemoveGroup(() => this.updateEditorGroupContextKeys())); this._register(this.editorGroupService.onDidChangeGroupIndex(() => this.updateEditorGroupContextKeys())); this._register(this.editorGroupService.onDidChangeActiveGroup(() => this.updateEditorGroupsContextKeys())); this._register(this.editorGroupService.onDidChangeGroupLocked(() => this.updateEditorGroupsContextKeys())); this._register(this.editorGroupService.onDidChangeEditorPartOptions(() => this.updateEditorAreaContextKeys())); this._register(Event.runAndSubscribe(onDidRegisterWindow, ({ window, disposables }) => disposables.add(addDisposableListener(window, EventType.FOCUS_IN, () => this.updateInputContextKeys(window.document), true)), { window: mainWindow, disposables: this._store }));"} {"_id":"q-en-vscode-43d94969959293ad121d364b4611b64ba332f8991b10336df127af1c1b4c2581","text":"test('issue #62278: \"Ctrl + click to follow link\" for IPv6 URLs', () => { assertLink( 'let x = \"http://[::1]:5000/connect/token\"', ' http://[::1]:5000/connect/token ' ' http://[::1]:5000/connect/token ' ); });"} {"_id":"q-en-vscode-441880cc604a6be441e1a73af4852ae5ddef3d6f9305fbf74c25f905daf1583f","text":".pipe(replace('@@LICENSE@@', product.licenseName)) .pipe(rename('usr/share/appdata/' + product.applicationName + '.appdata.xml')); const workspaceMime = gulp.src('resources/code-workspace.xml', { base: '.' }) .pipe(replace('@@NAME_LONG@@', product.nameLong)) .pipe(replace('@@NAME@@', product.applicationName)) .pipe(rename('BUILD/usr/share/mime/packages/' + product.applicationName + '-workspace.xml')); const icon = gulp.src('resources/linux/code.png', { base: '.' }) .pipe(rename('BUILD/usr/share/pixmaps/' + product.linuxIconName + '.png'));"} {"_id":"q-en-vscode-447a18f79124be30c71639c5ec459676101674193ea6281d1aad8ae2aa9e453c","text":"* Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { addDisposableListener, h, EventType } from 'vs/base/browser/dom'; import { renderIcon } from 'vs/base/browser/ui/iconLabel/iconLabels'; import { Codicon } from 'vs/base/common/codicons'; import { Disposable, toDisposable } from 'vs/base/common/lifecycle'; import { IObservable, autorunWithStore, derived } from 'vs/base/common/observable'; import { IGlyphMarginWidget, IGlyphMarginWidgetPosition } from 'vs/editor/browser/editorBrowser';"} {"_id":"q-en-vscode-4484984e86899d90de1ba1ba5b20af9f24da65c030a97945b625d953697e0b9e","text":" // from https://flutter.dev/ import 'package:flutter/material.dart'; void main() async { runApp( MaterialApp( debugShowCheckedModeBanner: false, home: Scaffold( body: MyApp(), ), ), ); } class MyApp extends StatefulWidget { @override _MyAppState createState() => _MyAppState(); } No newline at end of file"} {"_id":"q-en-vscode-44909b7f9d29ef1f5d4b3d01f287aa4c9bd56bccfabd2d77a6313e579004396a","text":"deepStrictEqual(actualLinks, expectedLinks); } function countOccurrences(source: string, pattern: string): number { return source.length - (source.replaceAll(pattern, '').length / pattern.length); } export async function resolveLinkForTest(link: string, uri?: URI): Promise { // A set of conditions to help with square brackets in testing, this is only needed because the // resolve path function must be injected if (link.startsWith('[')) { return null; } if (countOccurrences(link, '[') !== countOccurrences(link, ']')) { return null; } if (link.includes('[') !== link.includes(']')) { return null; } return { link, uri: URI.from({ scheme: Schemas.file, path: link }),"} {"_id":"q-en-vscode-44fea2395cbdcb9e4edc14d419a5e3b42b8f3a0a0a2b449e273101bcdf053e34","text":"} private async getProfileToImport(profileTemplate: IUserDataProfileTemplate, temp?: boolean): Promise { const profile = this.userDataProfilesService.profiles.find(p => p.name === profileTemplate.name); const profileName = temp ? `${profileTemplate.name} (${localize('preview', \"Preview\")})` : profileTemplate.name; const profile = this.userDataProfilesService.profiles.find(p => p.name === profileName); if (profile) { if (temp) { return this.userDataProfilesService.createNamedProfile(`${profileTemplate.name} ${this.getProfileNameIndex(profileTemplate.name)}`, { shortName: profileTemplate.shortName, transient: temp }); return this.userDataProfilesService.createNamedProfile(`${profileName} ${this.getProfileNameIndex(profileName)}`, { shortName: profileTemplate.shortName, transient: temp }); } enum ImportProfileChoice {"} {"_id":"q-en-vscode-45219e51f01422325001b5c4d9a21e32a6b9cced8e295af34ea120efdc576106","text":"\"@vscode/iconv-lite-umd\": \"0.7.0\", \"@vscode/proxy-agent\": \"^0.18.2\", \"@vscode/ripgrep\": \"^1.15.9\", \"@vscode/spdlog\": \"^0.13.12\", \"@vscode/spdlog\": \"^0.14.0\", \"@vscode/vscode-languagedetection\": \"1.0.21\", \"@vscode/windows-process-tree\": \"^0.5.0\", \"@vscode/windows-registry\": \"^1.1.0\","} {"_id":"q-en-vscode-4530c3f173b8d47b31d1b9d44d2253c5c00e55838d5a092b50f0f7418cd8970a","text":"const debugIconDisconnectColor = theme.getColor(debugIconDisconnectForeground); if (debugIconDisconnectColor) { collector.addRule(`.monaco-workbench .part > .title > .title-actions .action-label${ThemeIcon.asCSSSelector(icons.debugDisconnect)},.monaco-workbench ${ThemeIcon.asCSSSelector(icons.debugDisconnect)} { color: ${debugIconDisconnectColor}; }`); collector.addRule(`.monaco-workbench .part > .title > .title-actions .action-label${ThemeIcon.asCSSSelector(icons.debugDisconnect)},.monaco-workbench .debug-view-content ${ThemeIcon.asCSSSelector(icons.debugDisconnect)}, .monaco-workbench .debug-toolbar ${ThemeIcon.asCSSSelector(icons.debugDisconnect)}, .monaco-workbench .command-center-center ${ThemeIcon.asCSSSelector(icons.debugDisconnect)} { color: ${debugIconDisconnectColor}; }`); } const debugIconRestartColor = theme.getColor(debugIconRestartForeground);"} {"_id":"q-en-vscode-45adbb8fda7575c82baba92e8c3c6f9a6d80fc37c7a83f4db39df1652ed711d0","text":"id: RunToCursorAction.ID, label: RunToCursorAction.LABEL, alias: 'Debug: Run to Cursor', precondition: ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, PanelFocusContext.toNegated(), EditorContextKeys.editorTextFocus), precondition: ContextKeyExpr.and(CONTEXT_IN_DEBUG_MODE, PanelFocusContext.toNegated(), CONTEXT_DEBUG_STATE.isEqualTo('stopped'), EditorContextKeys.editorTextFocus), contextMenuOpts: { group: 'debug', order: 2"} {"_id":"q-en-vscode-45ec440a0bd775a2b8c33547af2f6fe9b7fe34ce5b33f89a0adfdb47abf1f93a","text":"inlineCompletions: 'https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.inlineCompletions.d.ts', inlineCompletionsAdditions: 'https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts', inlineCompletionsNew: 'https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.inlineCompletionsNew.d.ts', inputBoxSeverity: 'https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.inputBoxSeverity.d.ts', ipc: 'https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.ipc.d.ts', notebookCellExecutionState: 'https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.notebookCellExecutionState.d.ts', notebookContentProvider: 'https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.notebookContentProvider.d.ts',"} {"_id":"q-en-vscode-46087a66aeb5c23233b0a328e80e8c0c2004f16b316025cc0a2d2a438d0bcf6e","text":"private readonly _domNode: HTMLElement; private readonly _pickedColorNode: HTMLElement; private readonly _pickedColorPresentation: HTMLElement; private readonly _originalColorNode: HTMLElement; private readonly _closeButton: CloseButton | null = null; private backgroundColor: Color;"} {"_id":"q-en-vscode-461126a488f44740aa534ccf6e5ab695cc90372cb537f058be577ce38a1b33bd","text":"public readonly range: Range, public readonly initialMousePosX: number | undefined, public readonly initialMousePosY: number | undefined, public readonly supportsMarkerHover: boolean | undefined ) { } public equals(other: HoverAnchor) {"} {"_id":"q-en-vscode-4612a98bed9ed0e70aa4500765d3bfdd378863a7f322cbfc6c3bc6ea1586a0a2","text":"} export const config = { version: product.electronRepository ? '22.5.3' : util.getElectronVersion(), version: product.electronRepository ? '22.5.4' : util.getElectronVersion(), productAppName: product.nameLong, companyName: 'Microsoft Corporation', copyright: 'Copyright (C) 2023 Microsoft. All rights reserved',"} {"_id":"q-en-vscode-461912dfb5ec3b8da791c44cd7c3534b92424dac0050d26a90d603b3d35e9687","text":"public readonly resultCodeEditorView: ResultCodeEditorView, public readonly baseCodeEditorView: IObservable, public readonly showNonConflictingChanges: IObservable, @IConfigurationService public readonly configurationService: IConfigurationService, @IConfigurationService private readonly configurationService: IConfigurationService, @INotificationService private readonly notificationService: INotificationService ) { super();"} {"_id":"q-en-vscode-465ab9e69a861bfe44abb565873331e7430d263034be636de606fcff528fe375","text":"this._sourceControl.commitTemplate = commitTemplate; // Execute cancellable long-running operations const config = workspace.getConfiguration('git'); let sort = config.get<'alphabetically' | 'committerdate'>('branchSortOrder') || 'alphabetically'; if (sort !== 'alphabetically' && sort !== 'committerdate') { sort = 'alphabetically'; } const [resourceGroups, refs] = await Promise.all([ this.getStatus(cancellationToken), this.repository.getRefs({ sort }, cancellationToken)]); this.getRefs({}, cancellationToken)]); this._refs = refs!; this._updateResourceGroupsState(resourceGroups);"} {"_id":"q-en-vscode-470f8bec88955ee948e38293816443163af7cada712325ec0366c50a4afe6300","text":"override updateOptions(options: IWorkbenchListOptionsUpdate): void { super.updateOptions(options); if (options.overrideStyles) { if (options.overrideStyles !== undefined) { this.updateStyles(options.overrideStyles); }"} {"_id":"q-en-vscode-473d0beb1b89a649efef043aa423f6e1c9d339575a1a16b85b7315c77e5e4426","text":"export class CommandsConverter implements extHostTypeConverter.Command.ICommandsConverter { readonly delegatingCommandId: string = `__vsc${Date.now().toString(36)} `; readonly delegatingCommandId: string = `__vsc${generateUuid()}`; private readonly _cache = new Map(); private _cachIdPool = 0;"} {"_id":"q-en-vscode-474aa58a8a4751ab3b2d90302fe0fd7ac558f47987b35d0e89488d2dfb24e68e","text":"if (!_singleSlashStart.test(ret.path)) { throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash (\"/\") character'); } } else { if (_doubleSlashStart.test(ret.path)) { throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters (\"//\")'); } } else if (_doubleSlashStart.test(ret.path)) { throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters (\"//\")'); } } }"} {"_id":"q-en-vscode-475a1cb305ddb13675541caebbb10507e3cd4bd60691fe45c3df5c8224eca2a2","text":"} .monaco-workbench .simple-find-part { visibility: hidden;\t\t/* Use visibility to maintain flex layout while hidden otherwise interferes with transition */ z-index: 10; position: relative; top: -45px;"} {"_id":"q-en-vscode-47b44ec49c24b15eee7f14e84b6264d7d6082cbf576a744f6c6b7d21d792eb32","text":"}, { \"name\": \"counter-increment\", \"desc\": \"Counters are used with the 'counter()' and 'counters()' functions of the the 'content' property.\", \"desc\": \"Counters are used with the 'counter()' and 'counters()' functions of the 'content' property.\", \"browsers\": \"C,FF1.5,IE8,O10.5,S3\", \"restriction\": \"identifier, integer\", \"values\": []"} {"_id":"q-en-vscode-47dc302df8865a90b717defbe884ef40a1ae2078b5c897ebcbd4dc7f2018294a","text":"registerWorkbenchContribution2(AccessibilityStatus.ID, AccessibilityStatus, WorkbenchPhase.BlockRestore); registerWorkbenchContribution2(SaveAccessibilitySignalContribution.ID, SaveAccessibilitySignalContribution, WorkbenchPhase.AfterRestored); registerWorkbenchContribution2(DiffEditorActiveAnnouncementContribution.ID, DiffEditorActiveAnnouncementContribution, WorkbenchPhase.AfterRestored); registerWorkbenchContribution2(DynamicSpeechAccessibilityConfiguration.ID, DynamicSpeechAccessibilityConfiguration, WorkbenchPhase.AfterRestored);"} {"_id":"q-en-vscode-47e8a847ddc262374103333a3082f9b3a0acf69c2d98d75104d037c6ec3dcb81","text":"private _getAccessibleViewHelpDialogContent(providerHasSymbols?: boolean): string { const navigationHint = this._getNavigationHint(); const goToSymbolHint = this._getGoToSymbolHint(providerHasSymbols); const toolbarHint = localize('toolbar', \"Navigate to the toolbar (Shift+Tab))\"); const toolbarHint = localize('toolbar', \"Navigate to the toolbar (Shift+Tab)).\"); let hint = localize('intro', \"In the accessible view, you can:n\"); if (navigationHint) {"} {"_id":"q-en-vscode-48125f008f7d7ce90b7c8b35bcc8885b8e5c9725017a6c8fac678ed337bcc9ea","text":"if (resolveResult && resolveResult.enterChord) { shouldPreventDefault = true; this._enterChordMode(firstPart, keypressLabel); this._log(`+ Entering chord mode...`); return shouldPreventDefault; } if (this._currentChord) { if (!resolveResult || !resolveResult.commandId) { this._log(`+ Leaving chord mode: Nothing bound to \"${this._currentChord.label} ${keypressLabel}\".`); this._notificationService.status(nls.localize('missing.chord', \"The key combination ({0}, {1}) is not a command.\", this._currentChord.label, keypressLabel), { hideAfter: 10 * 1000 /* 10s */ }); shouldPreventDefault = true; }"} {"_id":"q-en-vscode-48e9b1b615b7f61599ce9c91afd7bb0c8d1ef87ea4b1121a3e3db125ddc1b617","text":"\"cssnano\": \"^4.1.11\", \"debounce\": \"^1.0.0\", \"deemon\": \"^1.8.0\", \"electron\": \"25.8.1\", \"electron\": \"25.8.2\", \"eslint\": \"8.36.0\", \"eslint-plugin-header\": \"3.1.1\", \"eslint-plugin-jsdoc\": \"^46.5.0\","} {"_id":"q-en-vscode-491717489f9bf01fc639295e47a74dde64e9b1cf98e6c5d4ad8919a3deb32778","text":"{ \"name\": \"code-oss-dev\", \"version\": \"1.80.0\", \"distro\": \"cbc1aeab0c196a6c6314cf4df21228d9016c70d1\", \"distro\": \"6ee5ac9f5980f3dd5aaf2948d43e6adced9c8b43\", \"author\": { \"name\": \"Microsoft Corporation\" },"} {"_id":"q-en-vscode-49801c2a12d23a7885cf6de45441835c64866e754551f27ced6cdb62cdf799d4","text":"this.#historyService = historyService; codeEditorService.registerDecorationType('interactive-decoration', DECORATION_KEY, {}); this._register(this.#keybindingService.onDidUpdateKeybindings(this.#updateInputDecoration, this)); } protected createEditor(parent: HTMLElement): void {"} {"_id":"q-en-vscode-49814e394ebba57bec003fc3233d3e953032777d3c821893e7f390a19ea672f4","text":"} } let excludePatternOrDisregardExcludes: string | false = false; let excludePatternOrDisregardExcludes: string | false | undefined = undefined; if (exclude === null) { excludePatternOrDisregardExcludes = false; } else if (exclude) {"} {"_id":"q-en-vscode-4990c3e14edfad4cd1f6e8e4bf450e4510f1e2e7a17dcc832f3ba273b97d8587","text":"this.toDispose.push(this.debugService.getViewModel().onWillUpdateViews(() => this.updateInlineValuesScheduler.schedule())); this.toDispose.push(this.debugService.getViewModel().onDidEvaluateLazyExpression(() => this.updateInlineValuesScheduler.schedule())); this.toDispose.push(this.editor.onDidChangeModel(async () => { const stackFrame = this.debugService.getViewModel().focusedStackFrame; const model = this.editor.getModel(); if (model) { this.applyHoverConfiguration(model, stackFrame); } this.updateHoverConfiguration(); this.toggleExceptionWidget(); this.hideHoverWidget(); this._wordToLineNumbersMap = undefined; const stackFrame = this.debugService.getViewModel().focusedStackFrame; await this.updateInlineValueDecorations(stackFrame); })); this.toDispose.push(this.editor.onDidScrollChange(() => {"} {"_id":"q-en-vscode-49efb560e2a5841b820334792e7feffe40e690747214de1c060dd4e29d6cc791","text":"import { CancellationToken } from 'vs/base/common/cancellation'; import { KeyCode } from 'vs/base/common/keyCodes'; import { Disposable, DisposableStore, toDisposable } from 'vs/base/common/lifecycle'; import { Constants } from 'vs/base/common/uint'; import { ContentWidgetPositionPreference, IActiveCodeEditor, ICodeEditor, IContentWidget, IContentWidgetPosition, IEditorMouseEvent, MouseTargetType } from 'vs/editor/browser/editorBrowser'; import { ConfigurationChangedEvent, EditorOption } from 'vs/editor/common/config/editorOptions'; import { Position } from 'vs/editor/common/core/position';"} {"_id":"q-en-vscode-4a447f60597c827eacae8024cf42d2afd088bcca323df3ab0e4bc268c324d406","text":"} }); }, 0); }); }, () => listener.dispose()); return DiskSearch.collectResults(promise); }"} {"_id":"q-en-vscode-4a7cd78ce9c9d99d22886a13f65a68fed7633f6186913b8e2ac79465f26dca43","text":"error: message }); } private telemetryDebugAddBreakpoint(breakpoint: IBreakpoint, context: string): TPromise { /* __GDPR__ \"debugAddBreakpoint\" : { \"context\": { \"classification\": \"SystemMetaData\", \"purpose\": \"FeatureInsight\" }, \"hasCondition\": { \"classification\": \"SystemMetaData\", \"purpose\": \"FeatureInsight\" }, \"hasHitCondition\": { \"classification\": \"SystemMetaData\", \"purpose\": \"FeatureInsight\" }, \"hasLogMessage\": { \"classification\": \"SystemMetaData\", \"purpose\": \"FeatureInsight\" } } */ return this.telemetryService.publicLog('debugAddBreakpoint', { context: context, hasCondition: !!breakpoint.condition, hasHitCondition: !!breakpoint.hitCondition, hasLogMessage: !!breakpoint.logMessage }); } }"} {"_id":"q-en-vscode-4abc775b9bd519502746b17402e11f6a8c2bea49b90332ecc15621f5eeaabef5","text":"processCallbacks.push(child => { child.stdout.on('data', (data: Buffer) => console.log(data.toString('utf8').trim())); child.stderr.on('data', (data: Buffer) => console.log(data.toString('utf8').trim())); return new TPromise(c => child.once('exit', () => c(null))); }); } // If we are running with input from stdin, pipe that into a file and // open this file via arguments. let isReadingFromStdin: boolean; try { isReadingFromStdin = !process.stdin.isTTY; // Via https://twitter.com/MylesBorins/status/782009479382626304 } catch (error) { // Windows workaround for https://github.com/nodejs/node/issues/11656 } let stdinFilePath: string; if (isReadingFromStdin) { let stdinFileError: Error; stdinFilePath = paths.join(os.tmpdir(), `stdin-${Math.random().toString(36).replace(/[^a-z]+/g, '').substr(0, 6)}.txt`); try { // Pipe into tmp file process.stdin.setEncoding('utf8'); process.stdin.pipe(fs.createWriteStream(stdinFilePath)); // Make sure to open tmp file argv.push(stdinFilePath); // Enable --wait to get all data argv.push('--wait'); args.wait = true; } catch (error) { stdinFileError = error; } if (args.verbose) { if (stdinFileError) { console.error(`Failed to create file to read via stdin: ${stdinFileError.toString()}`); } else { console.log(`Reading from stdin via: ${stdinFilePath}`); } } } // If we are started with --wait create a random temporary file // and pass it over to the starting instance. We can use this file // to wait for it to be deleted to monitor that the edited file"} {"_id":"q-en-vscode-4aee1b1e45a8aa54775f482473a97ed655124eeb7b96febb550e70f671e0e26d","text":"if (userDataProfileImportState.isEmpty()) { await importAction.run(); } else { await this.showProfilePreviewView(IMPORT_PROFILE_PREVIEW_VIEW, profileTemplate.name, importAction, new BarrierAction(barrier, new Action('cancel', localize('cancel', \"Cancel\"))), false, userDataProfileImportState); await this.showProfilePreviewView(IMPORT_PROFILE_PREVIEW_VIEW, profileTemplate.name, importAction, new BarrierAction(barrier, new Action('cancel', localize('cancel', \"Cancel\")), this.notificationService), false, userDataProfileImportState); } await barrier.wait(); await this.hideProfilePreviewView(IMPORT_PROFILE_PREVIEW_VIEW);"} {"_id":"q-en-vscode-4b0aa7b6335e1d349e4706a6b46d88937dc21cf94c4413b7eeabd4f11e034f85","text":"} })); const progressBar = new ProgressBar(container, this.styles.progressBar); progressBar.getContainer().classList.add('quick-input-progress'); const focusTracker = dom.trackFocus(container); this._register(focusTracker); this._register(dom.addDisposableListener(container, dom.EventType.FOCUS, e => {"} {"_id":"q-en-vscode-4b8379c01b7912a099faa4a5569f2009957d333421907e47a6030f90c422bd73","text":"\"dependencies\": { \"applicationinsights\": \"1.0.8\", \"chokidar\": \"3.5.1\", \"eslint-plugin-header\": \"3.1.1\", \"graceful-fs\": \"4.2.6\", \"http-proxy-agent\": \"^2.1.0\", \"https-proxy-agent\": \"^2.2.3\","} {"_id":"q-en-vscode-4bb02bc92b9cf81e9e444c7d1609acf8730abb2b68a16f504fa80d7864a47241","text":"id: SelectionToWatchExpressionsAction.ID, label: SelectionToWatchExpressionsAction.LABEL, alias: 'Debug: Add to Watch', precondition: ContextKeyExpr.and(EditorContextKeys.editorTextFocus), precondition: ContextKeyExpr.and(CONTEXT_IN_DEBUG_MODE, EditorContextKeys.editorTextFocus), contextMenuOpts: { group: 'debug', order: 1"} {"_id":"q-en-vscode-4bd3eddffee5662bbb44724adc9c4b6e0f1dee5e56b8205de011b9ea4a6c9da6","text":"rows: 30 }); instantiationService.stub(IStorageService, new TestStorageService()); instantiationService.stub(ITerminalContributionService, { quickFixes: [] } as Partial); instantiationService.stub(ITerminalContributionService, { quickFixes: new Promise((r) => { r([]); }) } as Partial); instantiationService.stub(ITerminalQuickFixService, { onDidRegisterProvider: new Emitter().event, onDidUnregisterProvider: new Emitter().event, onDidRegisterCommandSelector: new Emitter().event } as Partial); instantiationService.stub(IConfigurationService, new TestConfigurationService()); instantiationService.stub(ILabelService, {} as Partial);"} {"_id":"q-en-vscode-4bf7ad98d72a8b5e67f48e4c4efdb4dff4a491a9271ae3f90b3a9dce26cbffc9","text":"* with the next editor or if it will be kept. */ preview?: boolean; /** * An optional selection to apply for the document in the [editor](#TextEditor). */ selection?: Range; } /**"} {"_id":"q-en-vscode-4c05a8c4613d6d3a661c7c51a9bb7b7972e9087a0495163f4154b1af39c66914","text":"}); const searchOperation = await startInput.ongoingSearchOperation; this.onSearchComplete(searchOperation, config, startInput); await this.onSearchComplete(searchOperation, config, startInput); } private async onSearchComplete(searchOperation: ISearchComplete, startConfig: SearchConfiguration, startInput: SearchEditorInput) {"} {"_id":"q-en-vscode-4c09bf8f4222e35336e8f58724243b3f672c1285e23f589258da49a566cf5094","text":"model.dispose(); mode.dispose(); }); test('issue #111128: Multicursor `Enter` issue with indentation', () => { const model = createTextModel(' let a, b, c;', { detectIndentation: false, insertSpaces: false, tabSize: 4 }, mode.getLanguageIdentifier()); withTestCodeEditor(null, { model: model }, (editor, viewModel) => { editor.setSelections([ new Selection(1, 11, 1, 11), new Selection(1, 14, 1, 14), ]); viewModel.type('n', 'keyboard'); assert.equal(model.getValue(), ' let a,nt b,nt c;'); }); }); }); interface ICursorOpts {"} {"_id":"q-en-vscode-4c25b1ccd67ac279a4df54736cbe4d14f0137335c09532dc8d1f395aa3fbbc97","text":"builtin return fi __vsc_initialized=\"0\" __vsc_in_command_execution=\"1\" __vsc_last_history_id=0"} {"_id":"q-en-vscode-4c33b6df7a4bc90439ee4f54cb7c8808a7f6d81ba8175a8701dc3af8e862ccf2","text":"const element = this.options[index]; let optionDisabled: boolean; index === this.disabledOptionIndex ? optionDisabled = true : optionDisabled = false; listEntries.push({ optionText: element, optionDisabled: optionDisabled }); const optionDescription = this.detailsProvider ? this.detailsProvider(index) : { details: null, isMarkdown: false }; listEntries.push({ optionText: element, optionDisabled: optionDisabled, optionDescriptionText: optionDescription.details }); } this.selectList.splice(0, this.selectList.length, listEntries);"} {"_id":"q-en-vscode-4c607411335f057c818367cf16fcf60d15006a8ee98a9622f2fff232b409d889","text":".monaco-workbench .terminal-action.new { background: url('new.svg') center center no-repeat; } /* Dark theme / HC theme */ .vs-dark .monaco-workbench .terminal-action.kill, .hc-black .monaco-workbench .terminal-action.kill { background: url('kill-inverse.svg') center center no-repeat; } .vs-dark .monaco-workbench .terminal-action.new, .hc-black .monaco-workbench .terminal-action.new { background: url('new-inverse.svg') center center no-repeat; } No newline at end of file .vs-dark .monaco-workbench .terminal-action.new, .hc-black .monaco-workbench .terminal-action.new { background: url('new-inverse.svg') center center no-repeat; } .vs-dark .monaco-workbench.mac .panel.integrated-terminal .xterm-rows, .hc-black .monaco-workbench.mac .panel.integrated-terminal .xterm-rows { cursor: -webkit-image-set(url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAL0lEQVQoz2NgCD3x//9/BhBYBWdhgFVAiVW4JBFKGIa4AqD0//9D3pt4I4tAdAMAHTQ/j5Zom30AAAAASUVORK5CYII=') 1x, url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAAz0lEQVRIx2NgYGBY/R8I/vx5eelX3n82IJ9FxGf6tksvf/8FiTMQAcAGQMDvSwu09abffY8QYSAScNk45G198eX//yev73/4///701eh//kZSARckrNBRvz//+8+6ZohwCzjGNjdgQxkAg7B9WADeBjIBqtJCbhRA0YNoIkBSNmaPEMoNmA0FkYNoFKhapJ6FGyAH3nauaSmPfwI0v/3OukVi0CIZ+F25KrtYcx/CTIy0e+rC7R1Z4KMICVTQQ14feVXIbR695u14+Ir4gwAAD49E54wc1kWAAAAAElFTkSuQmCC') 2x) 5 8, text; } No newline at end of file"} {"_id":"q-en-vscode-4cc3a4dd1aa33e7ad0d52bdab08975a70b5e9ec7422590a7f4bbaa7681444cc8","text":"this.show(); } })); this._register(this._configurationService.onDidChangeConfiguration(e => { if (e.affectsConfiguration(TerminalSettingId.AccessibleViewFocusOnCommandExecution)) { this._updateCommandExecutedListener(); } })); this._register(this._instance.capabilities.onDidAddCapability(e => { if (e.capability.type === TerminalCapability.CommandDetection) { this._updateCommandExecutedListener(); } })); } xtermReady(xterm: IXtermTerminal & { raw: Terminal }): void { const addon = this._instantiationService.createInstance(TextAreaSyncAddon, this._instance.capabilities); xterm.raw.loadAddon(addon);"} {"_id":"q-en-vscode-4cdbd00ced4b3cd06a47871cc3d117cb658376f405ae95dd5f4101413b2e2ee2","text":"const termBox = xterm.element.getBoundingClientRect(); const rowHeight = termBox.height / xterm.rows; const overlayHeight = stickyScrollLineCount * rowHeight; this._element.style.bottom = `${termBox.height - overlayHeight + 1}px`; // Adjust sticky scroll content if it would below the end of the command, obscuring the // following command. let endMarkerOffset = 0; if (!isPartialCommand && command.endMarker && command.endMarker.line !== -1) { if (buffer.viewportY + stickyScrollLineCount > command.endMarker.line) { const diff = buffer.viewportY + stickyScrollLineCount - command.endMarker.line; endMarkerOffset = diff * rowHeight; } } this._element.style.bottom = `${termBox.height - overlayHeight + 1 + endMarkerOffset}px`; } } else { this._setVisible(false);"} {"_id":"q-en-vscode-4ce037376995c0cce696d00a559036ba770c324e0c84b6dbb688832ea0a8f3e1","text":"} if (currentCount < desiredCount) { const rulerWidth = dom.computeScreenAwareSize(1); const rulerWidth = this._context.model.getTabSize(); let addCount = desiredCount - currentCount; while (addCount > 0) { let node = createFastDomNode(document.createElement('div'));"} {"_id":"q-en-vscode-4ce46ddd04e0e9b2684672ceee5aefdcc22ca87c4ea9f18a02f64f498533c211","text":"const runToolbar = this.setupRunToolbar(runButtonContainer, container, contextKeyService, disposables); const executionOrderLabel = DOM.append(cellContainer, $('div.execution-count-label')); executionOrderLabel.setAttribute('title', 'Execution Order'); const editorPart = DOM.append(cellContainer, $('.cell-editor-part')); const editorContainer = DOM.append(editorPart, $('.cell-editor-container'));"} {"_id":"q-en-vscode-4d5b17c222f3a6e8a398daee1b3562a34974aac6537d5e37ae46964a34f6b47a","text":"} private _showToggleVisibilityQuickPick() { const quickPick = this._quickInputService.createQuickPick(); const quickPick = this._register(this._quickInputService.createQuickPick()); quickPick.hideInput = true; quickPick.hideCheckAll = true; quickPick.canSelectMany = true;"} {"_id":"q-en-vscode-4d6165397eb8c91c390bef51995905a151da08926eed65be2fc0b58114397489","text":"jquery_d_ts = join(__dirname, '../../lib/jquery.d.ts'); // from source } export function getJavaScriptMode(documentRegions: LanguageModelCache, languageId: 'javascript' | 'typescript'): LanguageMode { export function getJavaScriptMode(documentRegions: LanguageModelCache, languageId: 'javascript' | 'typescript', workspace: Workspace): LanguageMode { let jsDocuments = getLanguageModelCache(10, 60, document => documentRegions.get(document).getEmbeddedDocument(languageId)); const workingFile = languageId === 'javascript' ? 'vscode://javascript/1.js' : 'vscode://javascript/2.ts'; // the same 'file' is used for all contents let compilerOptions: ts.CompilerOptions = { allowNonTsExtensions: true, allowJs: true, lib: ['lib.es6.d.ts'], target: ts.ScriptTarget.Latest, moduleResolution: ts.ModuleResolutionKind.Classic }; let compilerOptions: ts.CompilerOptions = { allowNonTsExtensions: true, allowJs: true, lib: ['lib.es6.d.ts'], target: ts.ScriptTarget.Latest, moduleResolution: ts.ModuleResolutionKind.Classic, experimentalDecorators: false }; let currentTextDocument: TextDocument; let scriptFileVersion: number = 0; function updateCurrentTextDocument(doc: TextDocument) {"} {"_id":"q-en-vscode-4dd1b436eba1a7aae19b3641d9a159640085712cb29ab1d055f35902a28d2078","text":"export const textSeparatorForeground = registerColor('textSeparator.foreground', { light: '#0000002e', dark: '#ffffff2e', hcDark: Color.black, hcLight: '#292929' }, nls.localize('textSeparatorForeground', \"Color for text separators.\")); export const textLinkForeground = registerColor('textLink.foreground', { light: '#006AB1', dark: '#3794FF', hcDark: '#3794FF', hcLight: '#0F4A85' }, nls.localize('textLinkForeground', \"Foreground color for links in text.\")); export const textLinkActiveForeground = registerColor('textLink.activeForeground', { light: '#006AB1', dark: '#3794FF', hcDark: '#3794FF', hcLight: '#0F4A85' }, nls.localize('textLinkActiveForeground', \"Foreground color for links in text when clicked on and on mouse hover.\")); export const textPreformatForeground = registerColor('textPreformat.foreground', { light: '#A31515', dark: '#D7BA7D', hcDark: '#000000', hcLight: '#FFFFFF' }, nls.localize('textPreformatForeground', \"Foreground color for preformatted text segments.\")); export const textPreformatForeground = registerColor('textPreformat.foreground', { light: '#A31515', dark: '#D7BA7D', hcDark: '#D7BA7D', hcLight: '#292929' }, nls.localize('textPreformatForeground', \"Foreground color for preformatted text segments.\")); export const textPreformatBackground = registerColor('textPreformat.background', { light: '#0000001A', dark: '#FFFFFF1A', hcDark: '#FFFFFF', hcLight: '#09345f' }, nls.localize('textPreformatBackground', \"Background color for preformatted text segments.\")); export const textBlockQuoteBackground = registerColor('textBlockQuote.background', { light: '#f2f2f2', dark: '#222222', hcDark: null, hcLight: '#F2F2F2' }, nls.localize('textBlockQuoteBackground', \"Background color for block quotes in text.\")); export const textBlockQuoteBorder = registerColor('textBlockQuote.border', { light: '#007acc80', dark: '#007acc80', hcDark: Color.white, hcLight: '#292929' }, nls.localize('textBlockQuoteBorder', \"Border color for block quotes in text.\"));"} {"_id":"q-en-vscode-4e7a7653df5b258db33bc39ca2a88f61d3de79c1e3d339e88249893343cc0b6f","text":"options = { position: TypeConverters.fromViewColumn(columnOrOptions.viewColumn), preserveFocus: columnOrOptions.preserveFocus, selection: typeof columnOrOptions.selection === 'object' ? TypeConverters.fromRange(columnOrOptions.selection) : undefined, pinned: typeof columnOrOptions.preview === 'boolean' ? !columnOrOptions.preview : undefined }; } else {"} {"_id":"q-en-vscode-4ee35469744a10e437eca44bec47fe1904c43f880319357b8839326ee646e06e","text":"import { debugToolBarBackground, debugToolBarBorder } from 'vs/workbench/contrib/debug/browser/debugColors'; import { CONTINUE_ID, CONTINUE_LABEL, DISCONNECT_AND_SUSPEND_ID, DISCONNECT_AND_SUSPEND_LABEL, DISCONNECT_ID, DISCONNECT_LABEL, FOCUS_SESSION_ID, FOCUS_SESSION_LABEL, PAUSE_ID, PAUSE_LABEL, RESTART_LABEL, RESTART_SESSION_ID, REVERSE_CONTINUE_ID, STEP_BACK_ID, STEP_INTO_ID, STEP_INTO_LABEL, STEP_OUT_ID, STEP_OUT_LABEL, STEP_OVER_ID, STEP_OVER_LABEL, STOP_ID, STOP_LABEL } from 'vs/workbench/contrib/debug/browser/debugCommands'; import * as icons from 'vs/workbench/contrib/debug/browser/debugIcons'; import { CONTEXT_DEBUG_STATE, CONTEXT_FOCUSED_SESSION_IS_ATTACH, CONTEXT_MULTI_SESSION_DEBUG, CONTEXT_STEP_BACK_SUPPORTED, CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED, IDebugConfiguration, IDebugService, State, VIEWLET_ID } from 'vs/workbench/contrib/debug/common/debug'; import { CONTEXT_DEBUG_STATE, CONTEXT_FOCUSED_SESSION_IS_ATTACH, CONTEXT_IN_DEBUG_MODE, CONTEXT_MULTI_SESSION_DEBUG, CONTEXT_STEP_BACK_SUPPORTED, CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED, IDebugConfiguration, IDebugService, State, VIEWLET_ID } from 'vs/workbench/contrib/debug/common/debug'; import { IWorkbenchLayoutService } from 'vs/workbench/services/layout/browser/layoutService'; import { Codicon } from 'vs/base/common/codicons';"} {"_id":"q-en-vscode-4f06293f81c726a5192296cac00e1b2bed879edfdfa850564e68da1142964fb6","text":"case TerminalCommandId.New: { if (action instanceof MenuItemAction) { const actions = getTerminalActionBarArgs(TerminalLocation.Panel, this._terminalProfileService.availableProfiles, this._getDefaultProfileName(), this._terminalProfileService.contributedProfiles, this._terminalService, this._dropdownMenu); this._registerDisposableActions(actions.dropdownAction, actions.dropdownMenuActions); this._newDropdown?.dispose(); this._newDropdown = new DropdownWithPrimaryActionViewItem(action, actions.dropdownAction, actions.dropdownMenuActions, actions.className, this._contextMenuService, { hoverDelegate: options.hoverDelegate }, this._keybindingService, this._notificationService, this._contextKeyService, this._themeService, this._accessibilityService); this._updateTabActionBar(this._terminalProfileService.availableProfiles);"} {"_id":"q-en-vscode-4f4f69499a2026d6da1d13a4cd91d09ac3e647c6f23f481918cc620c015c9b1f","text":"touch-action: none; width: 100%; border-radius: 4px; text-transform: capitalize; } .action-widget .monaco-list .monaco-list-row.action.focused:not(.option-disabled) {"} {"_id":"q-en-vscode-4f52c7b4e0a5e948738660abf195545b7029873ea914d9df28b4c4b7d1c48cca","text":"import env = require('vs/base/common/platform'); import {ITextFileService, asFileResource} from 'vs/workbench/parts/files/common/files'; import {IWorkbenchContributionsRegistry, Extensions as WorkbenchExtensions} from 'vs/workbench/common/contributions'; import {GlobalNewFileAction, SaveFileAsAction} from 'vs/workbench/parts/files/browser/fileActions'; import {GlobalNewUntitledFileAction, SaveFileAsAction} from 'vs/workbench/parts/files/browser/fileActions'; import {FileTracker} from 'vs/workbench/parts/files/electron-browser/electronFileTracker'; import {TextFileService} from 'vs/workbench/parts/files/electron-browser/textFileServices'; import {OpenFolderAction, OPEN_FOLDER_ID, OPEN_FOLDER_LABEL, OpenFileAction, OPEN_FILE_ID, OPEN_FILE_LABEL, OpenFileFolderAction, OPEN_FILE_FOLDER_ID, OPEN_FILE_FOLDER_LABEL, ShowOpenedFileInNewWindow, GlobalRevealInOSAction, GlobalCopyPathAction, CopyPathAction, RevealInOSAction} from 'vs/workbench/parts/files/electron-browser/electronFileActions';"} {"_id":"q-en-vscode-4f5bd1887e2cf29072211c92773340b484805e1abea2b4ad02e82bf35a0f75c1","text":"desktop-file-install /usr/share/applications/@@NAME@@-url-handler.desktop fi # Update mimetype database to pickup workspace mimetype if hash update-mime-database 2>/dev/null; then update-mime-database /usr/share/mime fi if [ \"@@NAME@@\" != \"code-oss\" ]; then # Remove the legacy bin command if this is the stable build if [ \"@@NAME@@\" = \"code\" ]; then"} {"_id":"q-en-vscode-4fd1b01337749835dcd0184774d8ab5fe8b9c5122c70f379866431c4366fd9b5","text":"resolved \"https://registry.yarnpkg.com/vscode-textmate/-/vscode-textmate-7.0.1.tgz#8118a32b02735dccd14f893b495fa5389ad7de79\" integrity sha512-zQ5U/nuXAAMsh691FtV0wPz89nSkHbs+IQV8FDk+wew9BlSDhf4UmWGlWJfTR2Ti6xZv87Tj5fENzKf6Qk7aLw== xterm-addon-search@0.9.0-beta.21: version \"0.9.0-beta.21\" resolved \"https://registry.yarnpkg.com/xterm-addon-search/-/xterm-addon-search-0.9.0-beta.21.tgz#5348fe25676cdd89ce3be52ae62a316b6f266176\" integrity sha512-jh6kfRCpWRvZZkV9QghFYesSYHjybaLNEyYAD6uilZYfNHoGLa0zPgUkLOqoECL7K6rhBmSYOkKbc9MG4wNFMQ== xterm-addon-search@0.9.0-beta.22: version \"0.9.0-beta.22\" resolved \"https://registry.yarnpkg.com/xterm-addon-search/-/xterm-addon-search-0.9.0-beta.22.tgz#18f2eabda82709cdd64dee003879b586869e28a3\" integrity sha512-1I8W0bwjg6bUoNaESKHSkS9BN3Z9Xe44/zbUb6Un+pbb5Nun4LQvFwSLkAIdRrslxcbcHYIU/2Q7F1wCOWLbaA== xterm-addon-unicode11@0.4.0-beta.3: version \"0.4.0-beta.3\" resolved \"https://registry.yarnpkg.com/xterm-addon-unicode11/-/xterm-addon-unicode11-0.4.0-beta.3.tgz#f350184155fafd5ad0d6fbf31d13e6ca7dea1efa\" integrity sha512-FryZAVwbUjKTmwXnm1trch/2XO60F5JsDvOkZhzobV1hm10sFLVuZpFyHXiUx7TFeeFsvNP+S77LAtWoeT5z+Q== xterm-addon-webgl@0.12.0-beta.28: version \"0.12.0-beta.28\" resolved \"https://registry.yarnpkg.com/xterm-addon-webgl/-/xterm-addon-webgl-0.12.0-beta.28.tgz#252f88fd15816c23789659a0e2545682cf1eec9c\" integrity sha512-xpqZRYlyv+aNdDl46W2Hi2fxakNvdJDmWhOwGHPjOmex+kOYdBvVn4rRZmJ7xrKFuQVOfzb3SQCmpZ/njCpBJA== xterm-addon-webgl@0.12.0-beta.29: version \"0.12.0-beta.29\" resolved \"https://registry.yarnpkg.com/xterm-addon-webgl/-/xterm-addon-webgl-0.12.0-beta.29.tgz#7a508595c4521d14d7ed4315a121f9e3f230a0f0\" integrity sha512-NcZBsD0ar3ZpQX070hDIsyEBl/StRMNu6U+9crNpiD2rQVfkM1vcWkOv31Zlj3eu6/f8z5aStyZLRMCGFwiRbA== xterm@4.19.0-beta.24: version \"4.19.0-beta.24\" resolved \"https://registry.yarnpkg.com/xterm/-/xterm-4.19.0-beta.24.tgz#12b62877d4cf133f4626db3a15f6ed267b3bbcb5\" integrity sha512-GydvC2ExdsfjkiXhUVuZtDhc89IZfyMLFgw/nwWHrvkyq4iCVsHbMloEObV3lZmv+0oRpcGtTiorfzdWGiHG0A== xterm@4.19.0-beta.25: version \"4.19.0-beta.25\" resolved \"https://registry.yarnpkg.com/xterm/-/xterm-4.19.0-beta.25.tgz#38f92d0fef1cfdb290ef8994449a04fa1a8c90a7\" integrity sha512-pDiMWKN1Cj4+X/K9Xegp0SA0ZDEGVqiq7RPSy8oZO2wo2rze1BF20PAZb3/RSp30eY5WyOKilKnck4yNOsPzHw== "} {"_id":"q-en-vscode-4fd2e1ec9d03ac100da20a263d9a746ab8c063b7739d57e66e290bbe90fbfc0f","text":"Sleep(1000); end; Exec(ExpandConstant('{app}inno_updater.exe'), ExpandConstant('\"{app}{#ExeBasename}.exe\" ' + BoolToStr(LockFileExists())), '', SW_SHOW, ewWaitUntilTerminated, UpdateResultCode); Exec(ExpandConstant('{app}toolsinno_updater.exe'), ExpandConstant('\"{app}{#ExeBasename}.exe\" ' + BoolToStr(LockFileExists())), '', SW_SHOW, ewWaitUntilTerminated, UpdateResultCode); end; end;"} {"_id":"q-en-vscode-500fb30a0c0e0f07ee1da9cb3ab9bf95f19802a73487bdf1509ab108741705bd","text":"const shell = this._configurationService.getValue(TerminalSettingPrefix.Shell + platform); const shellArgs = this._configurationService.getValue(TerminalSettingPrefix.ShellArgs + platform); const profile = await this._terminalProfileResolverService.createProfileFromShellAndShellArgs(shell, shellArgs); if (profile) { this._configurationService.updateValue(TerminalSettingPrefix.DefaultProfile + platform, profile.profileName); this._configurationService.updateValue(TerminalSettingPrefix.Shell + platform, undefined); this._configurationService.updateValue(TerminalSettingPrefix.ShellArgs + platform, undefined); this._logService.trace(`migrated from shell/shellArgs, ${shell} ${shellArgs} to profile ${JSON.stringify(profile)}`); if (typeof profile === 'string') { await this._configurationService.updateValue(TerminalSettingPrefix.DefaultProfile + platform, profile); this._logService.trace(`migrated from shell/shellArgs, using existing profile ${profile}`); } else { this._logService.trace('migration from shell/shellArgs to profile did not occur bc created profile was an exact match for existing one', shell, shellArgs); const profiles = this._configurationService.inspect<{ [key: string]: ITerminalProfileObject }>(TerminalSettingPrefix.Profiles + platform).userValue || {}; const profileConfig: ITerminalProfileObject = { path: profile.path }; if (profile.args) { profileConfig.args = profile.args; } profiles[profile.profileName] = profileConfig; await this._configurationService.updateValue(TerminalSettingPrefix.Profiles + platform, profiles); await this._configurationService.updateValue(TerminalSettingPrefix.DefaultProfile + platform, profile.profileName); this._logService.trace(`migrated from shell/shellArgs, ${shell} ${shellArgs} to profile ${JSON.stringify(profile)}`); } await this._configurationService.updateValue(TerminalSettingPrefix.Shell + platform, undefined); await this._configurationService.updateValue(TerminalSettingPrefix.ShellArgs + platform, undefined); } } as IPromptChoice, ],"} {"_id":"q-en-vscode-502bad7b63da87c2895859df33f42acd10b59ed8c36559930c60fc0823933119","text":"} .monaco-shell .monaco-menu .monaco-action-bar.vertical .submenu-indicator { font-size: inherit; padding: 0 1em; font-size: 60%; padding: 0 1.8em; } .monaco-shell .monaco-menu .action-item {"} {"_id":"q-en-vscode-5051bf5a5583443cac1cc61b09d104a262404ec3c98e760474fcf113aa79eb89","text":".monaco-workbench .part.basepanel > .content .scm-view .scm-editor-container .monaco-editor .margin, .monaco-workbench .part.basepanel > .content .scm-view .scm-editor-container .monaco-editor .monaco-editor-background { color: inherit; background-color: unset background-color: var(--vscode-input-background); } .scm-view .scm-editor-container .mtk1 {"} {"_id":"q-en-vscode-50b1c6f4a042c2728431195f4464fc5df1e34a6b511fcb8cd2f2bb5cfe799421","text":"return { position: this._showAtPosition, range: this._showAtRange, preference: [ preference: this._preferBelow ? [ ContentWidgetPositionPreference.BELOW, ContentWidgetPositionPreference.ABOVE, ContentWidgetPositionPreference.BELOW ] ] : [ ContentWidgetPositionPreference.ABOVE, ContentWidgetPositionPreference.BELOW, ], }; } return null;"} {"_id":"q-en-vscode-50c6339e27e139ee435b92a27a3de6e9354858ecadc6590ad1bf4c6da95a810a","text":"} const actions = this.getFixAllActions(context.only); if (this.client.bufferSyncSupport.hasPendingDiagnostics(document.uri)) { return actions; } const diagnostics = this.diagnosticsManager.getDiagnostics(document.uri); if (!diagnostics.length) { // Actions are a no-op in this case but we still want to return them"} {"_id":"q-en-vscode-50cb0ebbff33969a0b357192e975b4e9f78941929eada75d7ced94bcf6c745eb","text":"import { ContextKeyExpr } from 'vs/platform/contextkey/common/contextkey'; import { IExtensionTerminalProfile, ITerminalProfile, TerminalLocation, TerminalSettingId } from 'vs/platform/terminal/common/terminal'; import { ResourceContextKey } from 'vs/workbench/common/contextkeys'; import { TaskExecutionSupportedContext } from 'vs/workbench/contrib/tasks/common/taskService'; import { ICreateTerminalOptions, ITerminalLocationOptions, ITerminalService } from 'vs/workbench/contrib/terminal/browser/terminal'; import { TerminalCommandId, TERMINAL_VIEW_ID } from 'vs/workbench/contrib/terminal/common/terminal'; import { TerminalContextKeys, TerminalContextKeyStrings } from 'vs/workbench/contrib/terminal/common/terminalContextKey';"} {"_id":"q-en-vscode-50ceba1c242a32e54d1585885bdb6b8f8255c70846f356ef10911291ac9f0440","text":"provideContent(): string { this._element = document.activeElement as HTMLElement; const content: string[] = []; content.push(CommentAccessibilityHelpNLS.introWidget); content.push(CommentAccessibilityHelpNLS.escape); content.push(this._descriptionForCommand(CommentCommandId.Add, CommentAccessibilityHelpNLS.addComment, CommentAccessibilityHelpNLS.addCommentNoKb)); content.push(this._descriptionForCommand(CommentCommandId.Submit, CommentAccessibilityHelpNLS.submitComment, CommentAccessibilityHelpNLS.submitCommentNoKb)); content.push(this._descriptionForCommand(CommentCommandId.NextRange, CommentAccessibilityHelpNLS.nextRange, CommentAccessibilityHelpNLS.nextRangeNoKb)); content.push(this._descriptionForCommand(CommentCommandId.PreviousRange, CommentAccessibilityHelpNLS.previousRange, CommentAccessibilityHelpNLS.previousRangeNoKb)); content.push(this._descriptionForCommand(CommentCommandId.Submit, CommentAccessibilityHelpNLS.submitComment, CommentAccessibilityHelpNLS.submitCommentNoKb)); return content.join('nn'); return content.join('n'); } onClose(): void { this._element?.focus();"} {"_id":"q-en-vscode-50f104719e945f1befe4876230d865659d282b8e373f1202559d711d5c114f3e","text":"}, }, { id: 'installGit', title: localize('gettingStarted.installGit.title', \"Install Git\"), description: localize('gettingStarted.installGit.description.interpolated', \"Install Git to track changes in your projects.n{0}\", Button(localize('installGit', \"Install Git\"), 'https://aka.ms/vscode-install-git')), when: 'git.missing', media: { type: 'svg', altText: 'Install Git.', path: 'git.svg', }, }, { id: 'tasks', title: localize('gettingStarted.tasks.title', \"Automate your project tasks\"), when: 'workspaceFolderCount != 0 && workspacePlatform != 'webworker'',"} {"_id":"q-en-vscode-50f36513ed1247e2d6b400ceec740b6a07a63664e6ece6f80cbc51712d1e8e50","text":"import { Emitter, Event } from 'vs/base/common/event'; import { KeyCode } from 'vs/base/common/keyCodes'; import { Disposable, DisposableStore, dispose, isDisposable, toDisposable } from 'vs/base/common/lifecycle'; import { isIOS, language } from 'vs/base/common/platform'; import { isIOS } from 'vs/base/common/platform'; import { escapeRegExpCharacters } from 'vs/base/common/strings'; import { isDefined, isUndefinedOrNull } from 'vs/base/common/types'; import { localize } from 'vs/nls';"} {"_id":"q-en-vscode-510acae7609c4f0d6fd506ac14320029d094be531a39c806a20f5749a69e7949","text":"import { IPartService, Position } from 'vs/workbench/services/part/common/partService'; const SPLIT_PANE_MIN_SIZE = 120; const TERMINAL_MIN_USEFUL_SIZE = 250; class SplitPaneContainer { private _height: number;"} {"_id":"q-en-vscode-51aeecaf7338c947dcc53b38f47c6de03c6171f3dae1b3bda50bb4f7a3e44021","text":"folder?: boolean; skipTrashBin?: boolean; maxSize?: number; contentsBase64?: string; } export interface IWorkspaceFileEdit {"} {"_id":"q-en-vscode-51e66fd831cfd96d1a906f542012752e5ad81b0fd8a1bfe736f09d2b03dd3916","text":"\"type\": \"object\", \"order\": 20, \"properties\": { \"php.builtInCompletions.enable\": { \"type\": \"boolean\", \"default\": true, \"description\": \"%configuration.builtInCompletions.enable%\" }, \"php.validate.enable\": { \"type\": \"boolean\", \"default\": true,"} {"_id":"q-en-vscode-51ed4a3fb1c9195f1f8fae8eed5d5ce573fed760c7e0412cf671ff7ff64436ca","text":"constructor( private id: string, @IMenuService private readonly menuService: IMenuService ) { super(); } ) { } /** * Caller is now responsible for disposing of the menu! */ getResourceActions(element: ITreeItem): { menu?: IMenu; actions: IAction[] } { const actions = this.getActions(MenuId.ViewItemContext, element, true); getResourceActions(element: ITreeItem, disposableStore: DisposableStore): { menu?: IMenu; actions: IAction[] } { const actions = this.getActions(MenuId.ViewItemContext, element, disposableStore); return { menu: actions.menu, actions: actions.primary }; }"} {"_id":"q-en-vscode-522134604c7a406dc0aa261b10d1690042ca155dc0e4cf2c209385058bb69ad1","text":"match acquire_singleton(&paths.tunnel_lockfile()).await { Ok(SingletonConnection::Client(stream)) => { debug!(log, \"starting as client to singleton\"); if gateway_args.name.is_none() || !gateway_args.install_extension.is_empty() || gateway_args.tunnel.tunnel_id.is_some() { warning!( log, \"Command-line options will not be applied until the existing tunnel exits.\" ); } let should_exit = start_singleton_client(SingletonClientArgs { log: log.clone(), shutdown: shutdown.clone(),"} {"_id":"q-en-vscode-522b4ebe76460c2b44b5962ca1a0f8e4664579beb51ac9d0f0640d31cde50a87","text":"font-family: var(--monaco-monospace-font); font-size: 12px; color: var(--vscode-textPreformat-foreground); background-color: var(--vscode-textPreformat-background); padding: 2px 5px; border-radius: 4px; }"} {"_id":"q-en-vscode-5233ee0ea0c566ca923300515a58a7f986eae360a9702b4272b120054e173473","text":" /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import * as assert from 'assert'; import { CellKind } from 'vs/workbench/contrib/notebook/common/notebookCommon'; import { withTestNotebook } from 'vs/workbench/contrib/notebook/test/browser/testNotebookEditor'; import { ensureNoDisposablesAreLeakedInTestSuite } from 'vs/base/test/common/utils'; import { Event } from 'vs/base/common/event'; suite('CellDecorations', () => { ensureNoDisposablesAreLeakedInTestSuite(); test('Add and remove a cell decoration', async function () { await withTestNotebook( [ ['# header a', 'markdown', CellKind.Markup, [], {}], ], async (editor, viewModel) => { const cell = viewModel.cellAt(0); assert.ok(cell); let added = false; Event.once(cell.onCellDecorationsChanged)(e => added = !!e.added.find(decoration => decoration.className === 'style1')); const decorationIds = cell.deltaCellDecorations([], [{ className: 'style1' }]); assert.ok(cell.getCellDecorations().find(dec => dec.className === 'style1')); let removed = false; Event.once(cell.onCellDecorationsChanged)(e => removed = !!e.removed.find(decoration => decoration.className === 'style1')); cell.deltaCellDecorations(decorationIds, []); assert.ok(!cell.getCellDecorations().find(dec => dec.className === 'style1')); assert.ok(added); assert.ok(removed); }); }); test('Removing one cell decoration should not remove all', async function () { await withTestNotebook( [ ['# header a', 'markdown', CellKind.Markup, [], {}], ], async (editor, viewModel) => { const cell = viewModel.cellAt(0); assert.ok(cell); const decorationIds = cell.deltaCellDecorations([], [{ className: 'style1', outputClassName: 'style1' }]); cell.deltaCellDecorations([], [{ className: 'style1' }]); let styleRemoved = false; let outputStyleRemoved = false; Event.once(cell.onCellDecorationsChanged)(e => { styleRemoved = !!e.removed.find(decoration => decoration.className === 'style1'); outputStyleRemoved = !!e.removed.find(decoration => decoration.outputClassName === 'style1'); }); // remove the first style added, which should only remove the output class cell.deltaCellDecorations(decorationIds, []); assert.ok(!cell.getCellDecorations().find(dec => dec.outputClassName === 'style1')); assert.ok(cell.getCellDecorations().find(dec => dec.className === 'style1')); assert.ok(!styleRemoved); assert.ok(outputStyleRemoved); }); }); }); "} {"_id":"q-en-vscode-523ac3a7c2d8a325dd5aa74276d09c474ce6794d23954acacacb2bb8156c4645","text":"// The widget's position is undefined until the widget has been displayed, so rely on the glyph position instead const existingCommentsAtLine = this._commentWidgets.filter(widget => widget.getGlyphPosition() === commentRange.endLineNumber); if (existingCommentsAtLine.length) { existingCommentsAtLine.forEach(widget => widget.toggleExpand()); const allExpanded = existingCommentsAtLine.every(widget => widget.expanded); existingCommentsAtLine.forEach(allExpanded ? widget => widget.collapse() : widget => widget.expand()); this.processNextThreadToAdd(); return; } else {"} {"_id":"q-en-vscode-52530b0a32b6a92914eb0178f1ac436efe92facfd0109714e6dd252d964e65f6","text":"this.renderTree(undefined, forceRefresh); } else { this.settingsTreeModel = this.instantiationService.createInstance(SettingsTreeModel, this.viewState, this.workspaceTrustManagementService.isWorkspaceTrusted()); this.settingsTreeModel.update(resolvedSettingsRoot); this.tocTreeModel.settingsTreeRoot = this.settingsTreeModel.root as SettingsTreeGroupElement; this.refreshModels(resolvedSettingsRoot); // Don't restore the cached state if we already have a query value from calling _setOptions(). const cachedState = !this.viewState.query ? this.restoreCachedState() : undefined;"} {"_id":"q-en-vscode-525bf6aa218e1081ee7f27f5bd870c52e3059235076a6ed471ddb77f931cd3bd","text":"private setSourceOptions(): void { const sourceSelect = this.getElementById('issue-source')! as HTMLSelectElement; const { issueType, fileOnExtension } = this.issueReporterModel.getData(); const { issueType, fileOnExtension, selectedExtension } = this.issueReporterModel.getData(); let selected = sourceSelect.selectedIndex; if (selected === -1 && fileOnExtension !== undefined) { selected = fileOnExtension ? 2 : 1; if (selected === -1) { if (fileOnExtension !== undefined) { selected = fileOnExtension ? 2 : 1; } else if (selectedExtension?.isBuiltin) { selected = 1; } } sourceSelect.innerHTML = '';"} {"_id":"q-en-vscode-52637492c3d5980e011e8241e31e11a43c4eed412ede66741467e20e5934203f","text":"depsStr = line.substring(shlibsDependsPrefix.length); } } const requires = new Set(depsStr.split(', ').sort()); // Refs https://chromium-review.googlesource.com/c/chromium/src/+/3572926 // Chromium depends on libgcc_s, is from the package libgcc1. However, in // Bullseye, the package was renamed to libgcc-s1. To avoid adding a dep // on the newer package, this hack skips the dep. This is safe because // libgcc-s1 is a dependency of libc6. This hack can be removed once // support for Debian Buster and Ubuntu Bionic are dropped. const filteredDeps = depsStr.split(', ').filter(dependency => { return !dependency.startsWith('libgcc-s1'); }).sort(); const requires = new Set(filteredDeps); return requires; }"} {"_id":"q-en-vscode-52be4e8579e85d22727398cf61263dc0049086bbc324164a021c5ce2bba1180d","text":"import { EditSessionsFileSystemProvider } from 'vs/workbench/contrib/editSessions/browser/editSessionsFileSystemProvider'; import { isNative } from 'vs/base/common/platform'; import { WorkspaceFolderCountContext } from 'vs/workbench/common/contextkeys'; import { ThemeIcon } from 'vs/platform/theme/common/themeService'; registerSingleton(IEditSessionsLogService, EditSessionsLogService); registerSingleton(IEditSessionsWorkbenchService, EditSessionsWorkbenchService);"} {"_id":"q-en-vscode-5305d7a1167035fba4c05f3910bd8e6a9c79e7670ac1c9d97906747b2a420093","text":"wait_for_async_execs exec \"$@\" \"--no-sandbox\" exec \"$@\" "} {"_id":"q-en-vscode-53268cde6c9de50b6f59bdc9d6beaecfde3eebb4c6ce353dee28b2204d6ab0cb","text":"StartupNotify=false StartupWMClass=@@NAME_SHORT@@ Categories=Utility;TextEditor;Development;IDE; MimeType=text/plain;inode/directory; MimeType=text/plain;inode/directory;application/x-@@NAME@@-workspace; Actions=new-empty-window; Keywords=vscode;"} {"_id":"q-en-vscode-53334275b84c6c05db96ff2c7e2104bb97db3e1e15eced4d9f63718575b5e7c9","text":"import { IKeybindingService } from 'vs/platform/keybinding/common/keybinding'; import { Emitter, Event } from 'vs/base/common/event'; import { DisposableStore } from 'vs/base/common/lifecycle'; import { EditorContextKeys } from 'vs/editor/common/editorContextKeys'; const CTX_QUICK_CHAT_IN_PROGRESS = new RawContextKey('inlineChat.quickChatInProgress', false);"} {"_id":"q-en-vscode-5357d02c7d4be942cb51fc3ab3ddaceb1d0ad10c323614c1f9976eba585baa27","text":"quickSuggestions: false, renderWhitespace: 'none', dropIntoEditor: { enabled: true }, readOnly: true readOnly: true, fontFamily: 'var(--monaco-monospace-font)' }; this._editorWidget = this._register(this._instantiationService.createInstance(CodeEditorWidget, this._editorContainer, editorOptions, codeEditorWidgetOptions)); } show(provider: IAccessibleContentProvider): void { const delegate: IContextViewDelegate = { getAnchor: () => this._editorContainer, getAnchor: () => { return { x: (window.innerWidth / 2) - (DIMENSION_DEFAULT.WIDTH / 2), y: (window.innerHeight / 2) - (this.editorWidget.getContentHeight() / 2) }; }, render: (container) => { return this._render(provider, container); },"} {"_id":"q-en-vscode-53582450f6fc3ad32ad80877f6aea775c928106de3a11ff55643172dff94d6fd","text":".conflict-zone-root { background-color: var(--vscode-mergeEditor-change-background); border: 1px dashed var(--vscode-mergeEditor-conflict-unhandledUnfocused-border); border: 1px solid var(--vscode-mergeEditor-conflict-unhandledUnfocused-border); height: 90%; display: flex; align-items: center;"} {"_id":"q-en-vscode-535834fcd908cc98928d76e836f1bf6053759c895ef0d200be355b9721a2804c","text":"appendWholeWordsLabel: this._keybindingLabelFor(FIND_IDS.ToggleWholeWordCommand), appendRegexLabel: this._keybindingLabelFor(FIND_IDS.ToggleRegexCommand), validation: (value: string): InputBoxMessage | null => { if (value.length === 0) { return null; } if (!this._findInput.getRegex()) { if (value.length === 0 || !this._findInput.getRegex()) { return null; } try { /* tslint:disable:no-unused-expression */ /* tslint:disable-next-line:no-unused-expression */ new RegExp(value); /* tslint:enable:no-unused-expression */ return null; } catch (e) { return { content: e.message };"} {"_id":"q-en-vscode-536962da394e499aafeae9fd7775c6975509921c17f1dcedc451e7de69afb4b6","text":"const isXHRResponse = (error: any): error is XHRResponse => typeof error?.status === 'number'; const request = async (uri: string, etag?: string): Promise => { const headers: Headers = { 'Accept-Encoding': 'gzip, deflate' }; const headers: Headers = { 'Accept-Encoding': 'gzip, deflate', 'User-Agent': `${env.appName} (${env.appHost})` }; if (etag) { headers['If-None-Match'] = etag; }"} {"_id":"q-en-vscode-53755fbc4cdce6151853db202a87a3d77c2de13e70a4bd7850fc1647fe5193ca","text":"/* padding must be on action-label because it has the bottom-border, because that's where the .checked class is */ } .settings-editor > .settings-header > .settings-header-controls .settings-tabs-widget > .monaco-action-bar .action-item.focused { outline-offset: -1.5px; } .settings-editor > .settings-header > .settings-header-controls .settings-tabs-widget > .monaco-action-bar .action-item .action-label { text-transform: none; font-size: 13px; padding-bottom: 7px; padding-bottom: 6.5px; padding-top: 7px; padding-left: 8px; padding-right: 8px; } .settings-editor > .settings-header > .settings-header-controls .settings-tabs-widget > .monaco-action-bar .action-item .action-label .dropdown-icon { padding-top: 2px; } .settings-editor > .settings-header > .settings-header-controls .settings-tabs-widget > .monaco-action-bar .action-item .action-label:not(.checked):not(:focus) { /* Add an extra pixel due to it not getting the outline */ padding-bottom: 8px;"} {"_id":"q-en-vscode-537ceb49b26b3e72a9056306b3866efbf116d36c9ebd9d456ce421f3c59bc949","text":"linuxExecutableName: product.applicationName, winIcon: 'resources/win32/code.ico', token: process.env['GITHUB_TOKEN'], repo: product.electronRepository || undefined repo: product.electronRepository || undefined, validateChecksum: true, checksumFile: path.join(root, 'build', 'checksums', 'electron.txt'), }; function getElectron(arch) { return () => {"} {"_id":"q-en-vscode-538a1eeb3886de5335f1c61f9054024e0ea25b56ac8268b173969b187450d9b9","text":"import { findExecutable, getShellIntegrationInjection, getWindowsBuildNumber, IShellIntegrationConfigInjection } from 'vs/platform/terminal/node/terminalEnvironment'; import { WindowsShellHelper } from 'vs/platform/terminal/node/windowsShellHelper'; import { IPty, IPtyForkOptions, IWindowsPtyForkOptions, spawn } from 'node-pty'; import { chunkInput } from 'vs/platform/terminal/common/terminalProcess'; const enum ShutdownConstants { /**"} {"_id":"q-en-vscode-53b578d6c91cfc31aaa5e3755c99ee79200497a6e960c8c36502a2b300db1890","text":"}); }); // --- document highlights test('\"vscode.executeDocumentHighlights\" API has stopped returning DocumentHighlight[]#200056', async function () { disposables.push(extHost.registerDocumentHighlightProvider(nullExtensionDescription, defaultSelector, { provideDocumentHighlights() { return [ new types.DocumentHighlight(new types.Range(0, 17, 0, 25), types.DocumentHighlightKind.Read) ]; } })); await rpcProtocol.sync(); return commands.executeCommand('vscode.executeDocumentHighlights', model.uri, new types.Position(0, 0)).then(values => { assert.ok(Array.isArray(values)); assert.strictEqual(values.length, 1); const [first] = values; assert.strictEqual(first.range.start.line, 0); assert.strictEqual(first.range.start.character, 17); assert.strictEqual(first.range.end.line, 0); assert.strictEqual(first.range.end.character, 25); }); }); // --- outline test('Outline, back and forth', function () {"} {"_id":"q-en-vscode-5423758020cef09d91355fb87de28df3c4af86658eb363026e52db5b3cddf21e","text":"inputBox.focus(); inputBox.select({ start: 0, end: lastDot > 0 && !stat.isDirectory ? lastDot : value.length }); const done = once(async (success: boolean) => { const done = once(async (success: boolean, finishEditing: boolean) => { label.element.style.display = 'none'; const value = inputBox.value; dispose(toDispose); container.removeChild(label.element); // Timeout: once done rendering only then re-render #70902 setTimeout(() => editableData.onFinish(value, success), 0); if (finishEditing) { // Timeout: once done rendering only then re-render #70902 setTimeout(() => editableData.onFinish(value, success), 0); } }); let ignoreDisposeAndBlur = true; setTimeout(() => ignoreDisposeAndBlur = false, 100); const blurDisposable = DOM.addDisposableListener(inputBox.inputElement, DOM.EventType.BLUR, () => { if (!ignoreDisposeAndBlur) { done(inputBox.isInputValid()); done(inputBox.isInputValid(), true); } });"} {"_id":"q-en-vscode-54257a7abc9beb686339066da1de19b480209c29def8fde75ac40abaabff8686","text":"if (this._currentCommand.commandStartMarker) { this._commandMarkers.push(this._currentCommand.commandStartMarker); } this._onCommandExecuted.fire(); } this._evaluateCommandMarkersWindows(); }"} {"_id":"q-en-vscode-542d40163b0f7b86d79108d9f63ecc53bd04ec086ee4ca1c48d24919cb4483e0","text":"// or if no window is open (macOS only) shouldOpenInNewWindow ||= isMacintosh && windowsMainService.getWindowCount() === 0; // Pass along edit session id if (params.get('editSessionId') !== null) { environmentService.editSessionId = params.get('editSessionId') ?? undefined; params.delete('editSessionId'); uri = uri.with({ query: params.toString() }); } // Check for URIs to open in window const windowOpenableFromProtocolLink = app.getWindowOpenableFromProtocolLink(uri); logService.trace('app#handleURL: windowOpenableFromProtocolLink = ', windowOpenableFromProtocolLink);"} {"_id":"q-en-vscode-545f208bdbd41985ac684a33553e83df4985dded48db4a93c0df0840db9cfe0e","text":"import { IWorkspaceTrustRequestService } from 'vs/platform/workspace/common/workspaceTrust'; import { EditorInput } from 'vs/workbench/common/editor/editorInput'; import { EditorModel } from 'vs/workbench/common/editor/editorModel'; import { CellFindMatchWithIndex, IActiveNotebookEditorDelegate, IBaseCellEditorOptions, ICellViewModel, INotebookEditorDelegate } from 'vs/workbench/contrib/notebook/browser/notebookBrowser'; import { CellFindMatchWithIndex, CellFocusMode, IActiveNotebookEditorDelegate, IBaseCellEditorOptions, ICellViewModel, INotebookEditorDelegate } from 'vs/workbench/contrib/notebook/browser/notebookBrowser'; import { NotebookCellStateChangedEvent, NotebookLayoutInfo } from 'vs/workbench/contrib/notebook/browser/notebookViewEvents'; import { NotebookCellStatusBarService } from 'vs/workbench/contrib/notebook/browser/services/notebookCellStatusBarServiceImpl'; import { ListViewInfoAccessor, NotebookCellList } from 'vs/workbench/contrib/notebook/browser/view/notebookCellList';"} {"_id":"q-en-vscode-549a22e6fcffa23b50865e703d374dc23145c4c502fb3c1de79f0d05869695f6","text":"import { IProductService } from 'vs/platform/product/common/productService'; import { registerNavigableContainer } from 'vs/workbench/browser/actions/widgetNavigationCommands'; import { IEditorProgressService } from 'vs/platform/progress/common/progress'; import { IExtensionManifest } from 'vs/platform/extensions/common/extensions'; export const enum SettingsFocusContext {"} {"_id":"q-en-vscode-54eb14f9ef774eb0c67e2599ac12d8ff4e8d04edbaa1e8017e8fe59440144d1a","text":"\"tab.unfocusedHoverBackground\": \"#6e76811a\", \"terminal.foreground\": \"#ffffffc5\", \"terminal.inactiveSelectionBackground\": \"#E5EBF1\", \"textBlockQuote.background\": \"#010409\", \"textBlockQuote.background\": \"#f8f8f8\", \"textBlockQuote.border\": \"#0000001a\", \"textCodeBlock.background\": \"#6e768166\", \"textLink.activeForeground\": \"#005FB8\","} {"_id":"q-en-vscode-5537ff4ec897219411b153fba98eff491be29e98f5a9b8b0005125a7dbe8d6db","text":"this._register(addDisposableListener(window, EventType.RESIZE, e => this.onWindowResize(e, true))); // React to editor input changes const appRootUri = URI.file(this.environmentService.appRoot); this._register(this.editorService.onDidActiveEditorChange(() => { // Touchbar this.updateTouchbarMenu(); // Potential data loss when editing files // from within the installation app root if (this.environmentService.isBuilt) { this.notifyOnAppRootEditors(appRootUri); } })); this._register(this.editorService.onDidActiveEditorChange(() => this.updateTouchbarMenu())); // prevent opening a real URL inside the window for (const event of [EventType.DRAG_OVER, EventType.DROP]) {"} {"_id":"q-en-vscode-553bfac3876b81d7084157c0be6d4ac830f6909cefa5c350f5c77abd6d2d7631","text":"} getCopyFromName(): string | undefined { if (isUserDataProfile(this.copyFrom)) { if (this.copyFrom.isDefault) { return localize('copy from default', \"{0} (Copy)\", this.copyFrom.name); } return this.copyFrom.name; } if (this.template) { return this.template.name; } return undefined; const name = isUserDataProfile(this.copyFrom) ? this.copyFrom.name : this.template ? this.template.name : undefined; return name === this.userDataProfilesService.defaultProfile.name ? localize('copy from default', \"{0} (Copy)\", name) : name; } protected override async getChildrenForResourceType(resourceType: ProfileResourceType): Promise {"} {"_id":"q-en-vscode-553cdb2693b3104f418e8a9dfe566da9be48025ec517c31f7996c782a5598558","text":"} return false; }); if (refer && slashCommandLike) { if (refer && slashCommandLike && !this._session.lastExchange) { this._log('[IE] seeing refer command, continuing outside editor', this._session.provider.extensionId); // cancel this request"} {"_id":"q-en-vscode-556dfbafcfa54964112914b13604a0de372018df52a103102a64d46ceabc926e","text":"import { Disposable } from 'vs/base/common/lifecycle'; import { IContextKeyService, IContextKey, setConstant as setConstantContextKey } from 'vs/platform/contextkey/common/contextkey'; import { InputFocusedContext, IsMacContext, IsLinuxContext, IsWindowsContext, IsWebContext, IsMacNativeContext, IsDevelopmentContext, IsIOSContext, ProductQualityContext, IsMobileContext } from 'vs/platform/contextkey/common/contextkeys'; import { SplitEditorsVertically, InEditorZenModeContext, AuxiliaryBarVisibleContext, SideBarVisibleContext, PanelAlignmentContext, PanelMaximizedContext, PanelVisibleContext, EmbedderIdentifierContext, EditorTabsVisibleContext, IsMainEditorCenteredLayoutContext, MainEditorAreaVisibleContext, DirtyWorkingCopiesContext, EmptyWorkspaceSupportContext, EnterMultiRootWorkspaceSupportContext, HasWebFileSystemAccess, IsMainWindowFullscreenContext, OpenFolderWorkspaceSupportContext, RemoteNameContext, VirtualWorkspaceContext, WorkbenchStateContext, WorkspaceFolderCountContext, PanelPositionContext, TemporaryWorkspaceContext, TitleBarVisibleContext, TitleBarStyleContext, IsAuxiliaryWindowFocusedContext } from 'vs/workbench/common/contextkeys'; import { SplitEditorsVertically, InEditorZenModeContext, AuxiliaryBarVisibleContext, SideBarVisibleContext, PanelAlignmentContext, PanelMaximizedContext, PanelVisibleContext, EmbedderIdentifierContext, EditorTabsVisibleContext, IsMainEditorCenteredLayoutContext, MainEditorAreaVisibleContext, DirtyWorkingCopiesContext, EmptyWorkspaceSupportContext, EnterMultiRootWorkspaceSupportContext, HasWebFileSystemAccess, IsMainWindowFullscreenContext, OpenFolderWorkspaceSupportContext, RemoteNameContext, VirtualWorkspaceContext, WorkbenchStateContext, WorkspaceFolderCountContext, PanelPositionContext, TemporaryWorkspaceContext, TitleBarVisibleContext, TitleBarStyleContext, IsAuxiliaryWindowFocusedContext, ActiveEditorGroupEmptyContext, ActiveEditorGroupIndexContext, ActiveEditorGroupLastContext, ActiveEditorGroupLockedContext, MultipleEditorGroupsContext, EditorsVisibleContext } from 'vs/workbench/common/contextkeys'; import { trackFocus, addDisposableListener, EventType, onDidRegisterWindow, getActiveWindow } from 'vs/base/browser/dom'; import { preferredSideBySideGroupDirection, GroupDirection, IEditorGroupsService } from 'vs/workbench/services/editor/common/editorGroupsService'; import { IConfigurationService } from 'vs/platform/configuration/common/configuration';"} {"_id":"q-en-vscode-557a3d91ac176889243c420922497d9af526cb5a11e94e92c15886ef84942dac","text":"} /** * Impacts the behavior and appearance of the validation message. */ export enum InputBoxValidationSeverity { Info = 1, Warning = 2, Error = 3 } /** * Object to configure the behavior of the validation message. */ export interface InputBoxValidationMessage { /** * The validation message to display. */ readonly message: string; /** * The severity of the validation message. * NOTE: When using `InputBoxValidationSeverity.Error`, the user will not be allowed to accept (hit ENTER) the input. * `Info` and `Warning` will still allow the InputBox to accept the input. */ readonly severity: InputBoxValidationSeverity; } /** * Options to configure the behavior of the input box UI. */ export interface InputBoxOptions {"} {"_id":"q-en-vscode-55e276fe7a9eed2065780e589de50e3eff33a5a79972507ba61cbf4c6fa70e8b","text":"condition, hitCondition, logMessage }]); }], `breakpointWidget`); } }"} {"_id":"q-en-vscode-5644e699f96a73d24b7a17d05502b0783feaf6152b43b88f719dd4a4dcf4a626","text":"let subscription: IDisposable | undefined; if (typeof provider.onDidChange === 'function') { subscription = provider.onDidChange(uri => { let lastEvent: Promise | undefined; subscription = provider.onDidChange(async uri => { if (uri.scheme !== scheme) { this._logService.warn(`Provider for scheme '${scheme}' is firing event for schema '${uri.scheme}' which will be IGNORED`); return; } if (this._documentsAndEditors.getDocument(uri)) { this.$provideTextDocumentContent(handle, uri).then(value => { if (!this._documentsAndEditors.getDocument(uri)) { // ignore event if document isn't open return; } if (lastEvent) { await lastEvent; } const thisEvent = this.$provideTextDocumentContent(handle, uri) .then(async value => { if (!value && typeof value !== 'string') { return; }"} {"_id":"q-en-vscode-564e09d212c061de05fe54e07eb17509cae880851085b170821ebe20c15ffaff","text":"this.onModelChanged(); this.codeEditorService.registerDecorationType('comment-controller', COMMENTEDITOR_DECORATION_KEY, {}); this.commentService.registerContinueOnCommentProvider({ provideContinueOnComments: () => { const pendingComments: languages.PendingCommentThread[] = []; if (this._commentWidgets) { for (const zone of this._commentWidgets) { const zonePendingComments = zone.getPendingComments(); const pendingNewComment = zonePendingComments.newComment; if (!pendingNewComment) { continue; } let lastCommentBody; if (zone.commentThread.comments && zone.commentThread.comments.length) { const lastComment = zone.commentThread.comments[zone.commentThread.comments.length - 1]; if (typeof lastComment.body === 'string') { lastCommentBody = lastComment.body; } else { lastCommentBody = lastComment.body.value; this.globalToDispose.add( this.commentService.registerContinueOnCommentProvider({ provideContinueOnComments: () => { const pendingComments: languages.PendingCommentThread[] = []; if (this._commentWidgets) { for (const zone of this._commentWidgets) { const zonePendingComments = zone.getPendingComments(); const pendingNewComment = zonePendingComments.newComment; if (!pendingNewComment) { continue; } let lastCommentBody; if (zone.commentThread.comments && zone.commentThread.comments.length) { const lastComment = zone.commentThread.comments[zone.commentThread.comments.length - 1]; if (typeof lastComment.body === 'string') { lastCommentBody = lastComment.body; } else { lastCommentBody = lastComment.body.value; } } } if (pendingNewComment !== lastCommentBody) { pendingComments.push({ owner: zone.owner, uri: zone.editor.getModel()!.uri, range: zone.commentThread.range, body: pendingNewComment, isReply: (zone.commentThread.comments !== undefined) && (zone.commentThread.comments.length > 0) }); if (pendingNewComment !== lastCommentBody) { pendingComments.push({ owner: zone.owner, uri: zone.editor.getModel()!.uri, range: zone.commentThread.range, body: pendingNewComment, isReply: (zone.commentThread.comments !== undefined) && (zone.commentThread.comments.length > 0) }); } } } return pendingComments; } return pendingComments; } }); }) ); } private registerEditorListeners() {"} {"_id":"q-en-vscode-5664a2adeb4fc5b3a486389e3ded8275c95a7fb8be1ad8fa94d69c80b9470699","text":"import { QuickQuestionMode } from 'vs/workbench/contrib/chat/browser/actions/quickQuestionActions/quickQuestionAction'; import { alertFocusChange } from 'vs/workbench/contrib/accessibility/browser/accessibility.contribution'; import { AccessibilityVerbositySettingId } from 'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration'; import { ChatWelcomeMessageModel } from 'vs/workbench/contrib/chat/common/chatModel'; import { IMarkdownString } from 'vs/base/common/htmlContent'; // Register configuration const configurationRegistry = Registry.as(ConfigurationExtensions.Configuration);"} {"_id":"q-en-vscode-56750a557d026c10109d1c4010f1b695b4004b5b8fa8166d27fd12914d864abb","text":"tags: ['accessibility'] }, [AccessibilityAlertSettingId.Format]: { 'markdownDescription': localize('alert.format', \"When in screen reader mode, alerts when a file or notebook cell is formatted. Also see {0}\", '`#audioCues.format#`'), 'markdownDescription': localize('alert.format', \"When in screen reader mode, alerts when a file or notebook cell is formatted. Note that this will be ignored when {0} is enabled.\", '`#audioCues.format#`'), 'type': 'string', 'enum': ['userGesture', 'always', 'never'], 'default': 'never', 'default': 'always', 'enumDescriptions': [ localize('alert.format.userGesture', \"Alerts when a file is formatted via user gesture.\"), localize('alert.format.always', \"Alerts whenever is a file is formatted, including auto save, on cell execution, and more.\"),"} {"_id":"q-en-vscode-56ba2a1d286f2d43a82a3ca6676186b201748225421bd2db796d3aa7d437c799","text":"// Don't touch processes if the shutdown was a result of reload as they will be reattached const shouldPersistTerminals = this._configHelper.config.enablePersistentSessions && e.reason === ShutdownReason.RELOAD; if (shouldPersistTerminals) { for (const instance of this.instances) { for (const instance of this._terminalGroupService.instances) { instance.detachProcessAndDispose(TerminalExitReason.Shutdown); } return; } // Force dispose of all terminal instances const shouldPersistTerminalsForEvent = this._shouldReviveProcesses(e.reason); for (const instance of this.instances) { if (shouldPersistTerminalsForEvent) { instance.shutdownPersistentProcessId = instance.persistentProcessId; } // Force dispose of all pane terminal instances for (const instance of this._terminalGroupService.instances) { instance.dispose(TerminalExitReason.Shutdown); }"} {"_id":"q-en-vscode-5751340a8850a41f457c77bbea4074ac1902b4841e2fc80c69e48c9f31e7f128","text":"if (symbol && this._currentProvider) { this.showSymbol(this._currentProvider, symbol); } this._currentProvider = provider; } previous(): void {"} {"_id":"q-en-vscode-579348cfe5dad37d6b787eadf1e631fd5a58c5c8c70a7644263658773102639b","text":"this.widget.layout(this.width); this.widget.focus(); this.widget.value = this.previousPattern; this.widget.select(); this._onDidChangeOpenState.fire(true); }"} {"_id":"q-en-vscode-57f6906c68575ca9d6bf43ddccb60502cf1497919269498551c96af5689596d9","text":"private cache = new Map(); private readonly flushDelayer = new ThrottledDelayer(Storage.DEFAULT_FLUSH_DELAY); private readonly flushDelayer = this._register(new ThrottledDelayer(Storage.DEFAULT_FLUSH_DELAY)); private pendingDeletes = new Set(); private pendingInserts = new Map();"} {"_id":"q-en-vscode-58267de14eb1ad10838f53e106467e149db8a6d87895458738be70d5ad3fe8fc","text":"import { DiffEditorWidget } from 'vs/editor/browser/widget/diffEditor/diffEditorWidget'; import { LineRange, LineRangeSet } from 'vs/editor/common/core/lineRange'; import { Range } from 'vs/editor/common/core/range'; import { RangeMapping } from 'vs/editor/common/diff/rangeMapping'; import { GlyphMarginLane } from 'vs/editor/common/model'; import { localize } from 'vs/nls'; import { RangeMapping } from 'vs/editor/common/diff/rangeMapping'; import { renderIcon } from 'vs/base/browser/ui/iconLabel/iconLabels'; import { Codicon } from 'vs/base/common/codicons'; import { h } from 'vs/base/browser/dom'; export class RevertButtonsFeature extends Disposable { constructor("} {"_id":"q-en-vscode-582ca80043d6a76e36176cdddbd917395f5080cf8432a11e8d00c679ed4e16a5","text":"/** * Adds new breakpoints to the model for the file specified with the uri. Notifies debug adapter of breakpoint changes. */ addBreakpoints(uri: uri, rawBreakpoints: IBreakpointData[]): TPromise; addBreakpoints(uri: uri, rawBreakpoints: IBreakpointData[], context: string): TPromise; /** * Updates the breakpoints."} {"_id":"q-en-vscode-58414621a06e2fd517786a43025d4dfc7b1ffb0e6c11e0653800244ea73c073b","text":"} if (pattern.parsedPattern(relevantPath)) { return this.applyTempate(pattern.template, resource); return this.applyTempate(pattern.template, resource, relevantPath); } } return undefined; } private readonly _parsedTemplateExpression = /${(dirname|filename|extname|dirname((d+)))}/g; private applyTempate(template: string, resource: URI): string { private readonly _parsedTemplateExpression = /${(dirname|filename|extname|dirname(([-+]?d+)))}/g; private applyTempate(template: string, resource: URI, relevantPath: string): string { let parsedPath: undefined | ParsedPath; return template.replace(this._parsedTemplateExpression, (match: string, variable: string, arg: string) => { parsedPath = parsedPath ?? parsePath(resource.path);"} {"_id":"q-en-vscode-584dde3f3d369c37a61c61316de26532ae174c91bac8f7c873d10147ea79e398","text":"// do nothing } if (stat && stat.isDirectory && (resources.basename(valueUri) !== '.') && this.endsWithSlash(value)) { valueUri = this.tryAddTrailingSeparatorToDirectory(valueUri, stat); return await this.updateItems(valueUri) ? UpdateResult.UpdatedWithTrailing : UpdateResult.Updated; } else if (this.endsWithSlash(value)) { // The input box contains a path that doesn't exist on the system."} {"_id":"q-en-vscode-58692f7b1f9f467e2c7035f48db910808c7915e55fa9bde9ea887e8b1e68c3dc","text":"const [firstPart,] = keybinding.getDispatchParts(); if (firstPart === null) { // cannot be dispatched, probably only modifier keys this._log(` Keyboard event cannot be dispatched`); return null; }"} {"_id":"q-en-vscode-58910f9eb46b64b0cd8941e9ac00417fbd376f1f78f94ab9ac7970350651c68e","text":"if (e.disabled || e.message) { previewProfileAction.enabled = createAction.enabled = !this.newProfileElement?.disabled && !this.newProfileElement?.message; } if (e.name) { if (this.newProfileElement?.copyFrom && this.userDataProfilesService.profiles.some(p => p.name === this.newProfileElement?.name)) { createAction.label = localize('replace', \"Replace\"); } else { createAction.label = localize('create', \"Create\"); } } })); this._profiles.push([this.newProfileElement, disposables]); this._onDidChange.fire(this.newProfileElement);"} {"_id":"q-en-vscode-58a1425c5d5c9adf62bd628917e82ef67f9414691d97a0cf5e203571a89d2315","text":"position?: EditorPosition; preserveFocus?: boolean; pinned?: boolean; selection?: IRange; } export abstract class MainThreadEditorsShape {"} {"_id":"q-en-vscode-59485fd24eb778b2af020aff7e466686e11ab7fc8ac1021353676f47a44cb7af","text":"}); test('cursorWordAccessibilityRight', () => { const EXPECTED = [' /* Just| some| more| text| a|+= 3| +5|-3| + 7| */ |'].join('n'); const EXPECTED = [' /* |Just |some |more |text |a+= |3 +|5-|3 + |7 */ |'].join('n'); const [text,] = deserializePipePositions(EXPECTED); const actualStops = testRepeatedActionAndExtractPositions( text,"} {"_id":"q-en-vscode-598b67c708828575eed558df8846209805e756a6131a2e8ed99c7335a040600c","text":"disturl \"https://electronjs.org/headers\" target \"25.8.1\" ms_build_id \"23779380\" target \"25.8.2\" ms_build_id \"23977753\" runtime \"electron\" build_from_source \"true\""} {"_id":"q-en-vscode-5a2f1ff63011ad7109d94d41f806ac1bfb79b6aa3a3902c1079e25f882725bfa","text":"} return this.addExtensionToWorkspaceConfig(workspaceConfig, extensionId, shouldRecommend).then(() => { this.notificationService.info(localize('AddToWorkspaceRecommendations.success', 'The extension was successfully added to this workspace's recommendations.')); this.notificationService.prompt(Severity.Info, localize('AddToWorkspaceRecommendations.success', 'The extension was successfully added to this workspace's recommendations.'), [{ label: localize('viewChanges', \"View Changes\"), run: () => this.openWorkspaceConfigurationFile(workspaceConfig) }]); }, err => { this.notificationService.error(localize('AddToWorkspaceRecommendations.failure', 'Failed to write. {0}', err)); });"} {"_id":"q-en-vscode-5a69aba921f7dac4f608eb624c6c37c732c0fa993cdbe58d68ed44392bfc4a53","text":"/** * Create a regular file. * * @param uri Uri of the new file.. * @param uri Uri of the new file. * @param options Defines if an existing file should be overwritten or be * ignored. When overwrite and ignoreIfExists are both set overwrite wins. * ignored. When `overwrite` and `ignoreIfExists` are both set `overwrite` wins. * When both are unset and when the file already exists then the edit cannot * be applied successfully. * be applied successfully. The `content`-property allows to set the initial contents * the file is being created with. * @param metadata Optional metadata for the entry. */ createFile(uri: Uri, options?: { overwrite?: boolean; ignoreIfExists?: boolean }, metadata?: WorkspaceEditEntryMetadata): void; createFile(uri: Uri, options?: { overwrite?: boolean; ignoreIfExists?: boolean; contents?: Uint8Array }, metadata?: WorkspaceEditEntryMetadata): void; /** * Delete a file or folder."} {"_id":"q-en-vscode-5a7708b03e11c6be9808dfc8e06c994a144ce933934b85906ae0a9ce6dc4427f","text":".focused.conflict-zone .conflict-zone-root { border: 1px dashed var(--vscode-mergeEditor-conflict-unhandledFocused-border); border: 1px solid var(--vscode-mergeEditor-conflict-unhandledFocused-border); }"} {"_id":"q-en-vscode-5aa7e259f62c86f17f1efcba51482b8a15ca8424be7d0b78d02ddf73e91cfbb8","text":"async participate(workingCopy: IStoredFileWorkingCopy, context: { reason: SaveReason }, progress: IProgress, _token: CancellationToken): Promise { if (this.configurationService.getValue('files.trimFinalNewlines')) { this.doTrimFinalNewLines(workingCopy, context.reason === SaveReason.AUTO, progress); await this.doTrimFinalNewLines(workingCopy, context.reason === SaveReason.AUTO, progress); } }"} {"_id":"q-en-vscode-5ab02c50f216a1448bfc72642e331b5a7b7f3af8a352bb4534467ffe32d78354","text":"const chatContentHeight = this.widget.contentHeight; const editorHeight = this.editor.getLayoutInfo().height; const contentHeight = Math.min(chatContentHeight, editorHeight * 0.42); const contentHeight = Math.min(chatContentHeight, Math.max(this.widget.minHeight, editorHeight * 0.42)); const heightInLines = contentHeight / this.editor.getOption(EditorOption.lineHeight); // console.log('ZONE#_computeHeightInLines', { chatContentHeight, editorHeight, contentHeight, heightInLines }); return heightInLines; }"} {"_id":"q-en-vscode-5ad997000abf441c7d6b6d9e750c849260d88be4c2c99b13924f9e37c52ac06d","text":"if (lineHeight === 0) { lineHeight = Math.round(GOLDEN_LINE_HEIGHT_RATIO * fontSize); } let editorZoomLevelMultiplier = 1 + (browser.getEditorZoomLevel() * 0.1); fontSize *= editorZoomLevelMultiplier; lineHeight *= editorZoomLevelMultiplier; return InternalEditorOptionsHelper.createInternalEditorOptions( this.getOuterWidth(),"} {"_id":"q-en-vscode-5ae94349e4318f3f1fc8110f5377ee3d8bb68f14593732a321cb2af6493adda3","text":"proxy-from-env \"^1.1.0\" yauzl \"^2.9.2\" \"@vscode/spdlog@^0.13.12\": version \"0.13.12\" resolved \"https://registry.yarnpkg.com/@vscode/spdlog/-/spdlog-0.13.12.tgz#8b8e3308468fd7d613c350ecd7fcfaa27064960a\" integrity sha512-8Qw8VwBzFkH6AWVKh+ULeVDff0lwTh/PkEKUOwRpyuu7Mr7W2zQoc+oAaGmTWKb1NPmvVeXmo+qF9X+jXuBCOg== \"@vscode/spdlog@^0.14.0\": version \"0.14.0\" resolved \"https://registry.yarnpkg.com/@vscode/spdlog/-/spdlog-0.14.0.tgz#3cdf589ca59b9ce792ef58b5f773e29a732a360f\" integrity sha512-mpblZa3v6AGEJC1qTwIkpgTc6NItdiiuTxufGxr6XD14srXCvVAUXFIYNqszxC6RY57qDQMX1d9Wd4/oZDxuUQ== dependencies: bindings \"^1.5.0\" mkdirp \"^1.0.4\""} {"_id":"q-en-vscode-5b0cf15afb4c151a5191547e90540041bc4c17b5cd1f78b3677a612d698a92c9","text":"resolved \"https://registry.yarnpkg.com/xterm-addon-unicode11/-/xterm-addon-unicode11-0.4.0-beta.3.tgz#f350184155fafd5ad0d6fbf31d13e6ca7dea1efa\" integrity sha512-FryZAVwbUjKTmwXnm1trch/2XO60F5JsDvOkZhzobV1hm10sFLVuZpFyHXiUx7TFeeFsvNP+S77LAtWoeT5z+Q== xterm-addon-webgl@0.12.0-beta.28: version \"0.12.0-beta.28\" resolved \"https://registry.yarnpkg.com/xterm-addon-webgl/-/xterm-addon-webgl-0.12.0-beta.28.tgz#252f88fd15816c23789659a0e2545682cf1eec9c\" integrity sha512-xpqZRYlyv+aNdDl46W2Hi2fxakNvdJDmWhOwGHPjOmex+kOYdBvVn4rRZmJ7xrKFuQVOfzb3SQCmpZ/njCpBJA== xterm-addon-webgl@0.12.0-beta.29: version \"0.12.0-beta.29\" resolved \"https://registry.yarnpkg.com/xterm-addon-webgl/-/xterm-addon-webgl-0.12.0-beta.29.tgz#7a508595c4521d14d7ed4315a121f9e3f230a0f0\" integrity sha512-NcZBsD0ar3ZpQX070hDIsyEBl/StRMNu6U+9crNpiD2rQVfkM1vcWkOv31Zlj3eu6/f8z5aStyZLRMCGFwiRbA== xterm-headless@4.19.0-beta.24: version \"4.19.0-beta.24\" resolved \"https://registry.yarnpkg.com/xterm-headless/-/xterm-headless-4.19.0-beta.24.tgz#17dab68ae1b2600b0926d4c47032599f3b2f24cc\" integrity sha512-Coq8gQ9f5/kNr1yhpXTZqatTOHOYDF4XVp93SM12vRROH64bM0rUMec6ukuTAd8DD97UOWYUgR+n7+xD0iTTSg== xterm-headless@4.19.0-beta.25: version \"4.19.0-beta.25\" resolved \"https://registry.yarnpkg.com/xterm-headless/-/xterm-headless-4.19.0-beta.25.tgz#a0a1b59f386c44458f06b8ced64e3567371cc983\" integrity sha512-UswSgymk3g9i6XTpFAasnqqIvWhi+AEWT+iO3kkjII6ll+dYEQgeZAv92EnCmeRHp11u5TP+IBAo8jy+aTYbtA== xterm@4.19.0-beta.24: version \"4.19.0-beta.24\" resolved \"https://registry.yarnpkg.com/xterm/-/xterm-4.19.0-beta.24.tgz#12b62877d4cf133f4626db3a15f6ed267b3bbcb5\" integrity sha512-GydvC2ExdsfjkiXhUVuZtDhc89IZfyMLFgw/nwWHrvkyq4iCVsHbMloEObV3lZmv+0oRpcGtTiorfzdWGiHG0A== xterm@4.19.0-beta.25: version \"4.19.0-beta.25\" resolved \"https://registry.yarnpkg.com/xterm/-/xterm-4.19.0-beta.25.tgz#38f92d0fef1cfdb290ef8994449a04fa1a8c90a7\" integrity sha512-pDiMWKN1Cj4+X/K9Xegp0SA0ZDEGVqiq7RPSy8oZO2wo2rze1BF20PAZb3/RSp30eY5WyOKilKnck4yNOsPzHw== yallist@^4.0.0: version \"4.0.0\""} {"_id":"q-en-vscode-5b21f7a88b53287d2098e41084be3ab3afa56ddaa4e83af3d9b2844860118b20","text":"}); this._register('vscode.diff', (left: URI, right: URI, label: string, options?: vscode.TextDocumentShowOptions) => { let editorOptions: IEditorOptions; let editorOptions: ITextEditorOptions; if (options) { editorOptions = { pinned: typeof options.preview === 'boolean' ? !options.preview : undefined, preserveFocus: options.preserveFocus preserveFocus: options.preserveFocus, selection: typeof options.selection === 'object' ? typeConverters.fromRange(options.selection) : undefined }; }"} {"_id":"q-en-vscode-5be2f51fcd92ec44aea73045b5cd2b08bc869e7a849f117cc206542d86b5a535","text":"readonly type: string; readonly entrypoint: URI; readonly extensionLocation: URI; readonly localResourceRoots: readonly URI[]; constructor(descriptor: { readonly type: string; readonly entrypoint: string; readonly localResourceRoots: readonly string[]; readonly extension: IExtensionDescription; }) { this.type = descriptor.type; this.entrypoint = joinPath(descriptor.extension.extensionLocation, descriptor.entrypoint); this.extensionLocation = descriptor.extension.extensionLocation; this.localResourceRoots = descriptor.localResourceRoots.map(root => joinPath(descriptor.extension.extensionLocation, root)); } }"} {"_id":"q-en-vscode-5bf05a69426a306f2594e73c5cfd7b407b5261ffba30c1aa528dbaaa14637a38","text":"const category = nls.localize('preferences', \"Preferences\"); const registry = Registry.as(Extensions.WorkbenchActions); registry.registerWorkbenchAction(new SyncActionDescriptor(OpenRawDefaultSettingsAction, OpenRawDefaultSettingsAction.ID, OpenRawDefaultSettingsAction.LABEL), 'Preferences: Open Raw Default Settings', category); registry.registerWorkbenchAction(new SyncActionDescriptor(OpenRawUserSettingsAction, OpenRawUserSettingsAction.ID, OpenRawUserSettingsAction.LABEL), 'Preferences: Open Raw User Settings', category); registry.registerWorkbenchAction(new SyncActionDescriptor(OpenSettingsAction, OpenSettingsAction.ID, OpenSettingsAction.LABEL, { primary: KeyMod.CtrlCmd | KeyCode.US_COMMA }), 'Preferences: Open Settings', category); registry.registerWorkbenchAction(new SyncActionDescriptor(OpenSettings2Action, OpenSettings2Action.ID, OpenSettings2Action.LABEL), 'Preferences: Open Settings (Experimental)', category); registry.registerWorkbenchAction(new SyncActionDescriptor(OpenGlobalSettingsAction, OpenGlobalSettingsAction.ID, OpenGlobalSettingsAction.LABEL), 'Preferences: Open User Settings', category);"} {"_id":"q-en-vscode-5c3c982e90d96f5e487fa93bb91326a2647633578707d5b880710568ed405261","text":"process.exit(1); }); } //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWxlY3Ryb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJlbGVjdHJvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUE7OztnR0FHZ0c7OztBQUVoRyx5QkFBeUI7QUFDekIsNkJBQTZCO0FBQzdCLGdDQUFnQztBQUNoQyxzQ0FBc0M7QUFDdEMsZ0NBQWdDO0FBQ2hDLCtCQUErQjtBQUMvQiw2Q0FBMEM7QUFZMUMsU0FBUyxnQkFBZ0IsQ0FBQyxHQUFZO0lBQ3JDLE9BQU8sR0FBRyxLQUFLLFVBQVUsSUFBSSxHQUFHLEtBQUssUUFBUSxJQUFJLEdBQUcsS0FBSyxNQUFNLElBQUksR0FBRyxLQUFLLGFBQWEsQ0FBQztBQUMxRixDQUFDO0FBRUQsTUFBTSxJQUFJLEdBQUcsSUFBSSxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsT0FBTyxDQUFDLFNBQVMsQ0FBQyxDQUFDLENBQUM7QUFDbkQsTUFBTSxPQUFPLEdBQUcsSUFBSSxDQUFDLEtBQUssQ0FBQyxFQUFFLENBQUMsWUFBWSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsSUFBSSxFQUFFLGNBQWMsQ0FBQyxFQUFFLE1BQU0sQ0FBQyxDQUFDLENBQUM7QUFDckYsTUFBTSxNQUFNLEdBQUcsSUFBQSx1QkFBVSxFQUFDLElBQUksQ0FBQyxDQUFDO0FBRWhDLE1BQU0scUJBQXFCLEdBQUcsT0FBTyxDQUFDLGFBQWEsSUFBSSxDQUFDLENBQUMsUUFBUSxDQUFDLEVBQUUsQ0FBQyxZQUFZLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxJQUFJLEVBQUUsT0FBTyxDQUFDLGFBQWEsQ0FBQyxFQUFFLE1BQU0sQ0FBQyxDQUFDLENBQUM7QUFFbkk7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQWtCRztBQUNILFNBQVMsd0JBQXdCLENBQUMsVUFBb0IsRUFBRSxJQUFZLEVBQUUsWUFBNEMsRUFBRSxJQUFlO0lBQ2xJLDJGQUEyRjtJQUMzRixJQUFJLGdCQUFnQixDQUFDLFlBQVksQ0FBQyxJQUFJLENBQUMsWUFBWSxFQUFFO1FBQ3BELFlBQVksR0FBRyxJQUFJLENBQUMsTUFBTSxDQUFDLENBQUMsQ0FBQyxDQUFDLFdBQVcsRUFBRSxHQUFHLElBQUksQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDLEdBQUcsR0FBRyxHQUFHLENBQUMsWUFBWSxJQUFJLFVBQVUsQ0FBQyxDQUFDO0tBQ2pHO0lBRUQsT0FBTztRQUNOLElBQUksRUFBRSxZQUFZO1FBQ2xCLElBQUksRUFBRSxRQUFRO1FBQ2QsT0FBTyxFQUFFLENBQUMsTUFBTSxFQUFFLE1BQU0sRUFBRSxNQUFNLEVBQUUsTUFBTSxDQUFDO1FBQ3pDLFVBQVU7UUFDVixRQUFRLEVBQUUsbUJBQW1CLEdBQUcsSUFBSSxHQUFHLE9BQU87UUFDOUMsSUFBSTtLQUNKLENBQUM7QUFDSCxDQUFDO0FBRUQ7Ozs7Ozs7Ozs7R0FVRztBQUNILFNBQVMseUJBQXlCLENBQUMsS0FBNEMsRUFBRSxJQUFZO0lBQzVGLE9BQU8sTUFBTSxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxJQUFZLEVBQXNCLEVBQUU7UUFDbEUsTUFBTSxVQUFVLEdBQUcsS0FBSyxDQUFDLElBQUksQ0FBQyxDQUFDO1FBQy9CLE9BQU87WUFDTixJQUFJO1lBQ0osSUFBSSxFQUFFLFFBQVE7WUFDZCxPQUFPLEVBQUUsQ0FBQyxNQUFNLEVBQUUsTUFBTSxFQUFFLE1BQU0sRUFBRSxNQUFNLENBQUM7WUFDekMsVUFBVSxFQUFFLEtBQUssQ0FBQyxPQUFPLENBQUMsVUFBVSxDQUFDLENBQUMsQ0FBQyxDQUFDLFVBQVUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxVQUFVLENBQUM7WUFDakUsUUFBUSxFQUFFLG1CQUFtQixHQUFHLElBQUksR0FBRyxPQUFPO1NBQ3hCLENBQUM7SUFDekIsQ0FBQyxDQUFDLENBQUM7QUFDSixDQUFDO0FBRUQsTUFBTSxFQUFFLGVBQWUsRUFBRSxTQUFTLEVBQUUsR0FBRyxJQUFJLENBQUMsa0JBQWtCLEVBQUUsQ0FBQztBQUVwRCxRQUFBLE1BQU0sR0FBRztJQUNyQixPQUFPLEVBQUUsZUFBZTtJQUN4QixHQUFHLEVBQUUsT0FBTyxDQUFDLGtCQUFrQixDQUFDLENBQUMsQ0FBQyxJQUFJLGVBQWUsSUFBSSxTQUFTLEVBQUUsQ0FBQyxDQUFDLENBQUMsU0FBUztJQUNoRixjQUFjLEVBQUUsT0FBTyxDQUFDLFFBQVE7SUFDaEMsV0FBVyxFQUFFLHVCQUF1QjtJQUNwQyxTQUFTLEVBQUUsbURBQW1EO0lBQzlELFVBQVUsRUFBRSw0QkFBNEI7SUFDeEMsc0JBQXNCLEVBQUUsT0FBTyxDQUFDLHNCQUFzQjtJQUN0RCw2QkFBNkIsRUFBRSxxQ0FBcUM7SUFDcEUsb0JBQW9CLEVBQUUsa0JBQWtCO0lBQ3hDLGtCQUFrQixFQUFFLGtCQUFrQjtJQUN0Qyx5QkFBeUIsRUFBRTtRQUMxQixHQUFHLHlCQUF5QixDQUFDLEVBQUUsZUFBZSxFQUFFLEdBQUcsRUFBRSxlQUFlLEVBQUUsR0FBRyxFQUFFLEVBQUUsR0FBRyxDQUFDO1FBQ2pGLEdBQUcseUJBQXlCLENBQUMsRUFBRSx3QkFBd0IsRUFBRSxDQUFDLGVBQWUsRUFBRSxXQUFXLEVBQUUsV0FBVyxDQUFDLEVBQUUsRUFBRSxRQUFRLENBQUM7UUFDakgsR0FBRyx5QkFBeUIsQ0FBQyxFQUFFLHdCQUF3QixFQUFFLENBQUMsS0FBSyxFQUFFLE1BQU0sRUFBRSxRQUFRLEVBQUUsT0FBTyxFQUFFLEtBQUssRUFBRSxPQUFPLEVBQUUsT0FBTyxDQUFDLEVBQUUsRUFBRSxNQUFNLENBQUM7UUFDL0gsd0JBQXdCLENBQUMsQ0FBQyxLQUFLLEVBQUUsS0FBSyxDQUFDLEVBQUUsS0FBSyxFQUFFLHdCQUF3QixDQUFDO1FBQ3pFLHdCQUF3QixDQUFDLENBQUMsU0FBUyxDQUFDLEVBQUUsT0FBTyxDQUFDO1FBQzlDLHdCQUF3QixDQUFDLENBQUMsUUFBUSxFQUFFLGNBQWMsRUFBRSxLQUFLLEVBQUUsS0FBSyxDQUFDLEVBQUUsUUFBUSxFQUFFLG9CQUFvQixDQUFDO1FBQ2xHLHdCQUF3QixDQUFDLENBQUMsSUFBSSxFQUFFLEtBQUssRUFBRSxLQUFLLEVBQUUsS0FBSyxDQUFDLEVBQUUsS0FBSyxFQUFFLGlCQUFpQixDQUFDO1FBQy9FLHdCQUF3QixDQUFDLENBQUMsSUFBSSxFQUFFLEtBQUssRUFBRSxLQUFLLEVBQUUsS0FBSyxDQUFDLEVBQUUsS0FBSyxFQUFFLGlCQUFpQixDQUFDO1FBQy9FLHdCQUF3QixDQUFDLENBQUMsR0FBRyxDQUFDLEVBQUUsU0FBUyxFQUFFLHlCQUF5QixDQUFDO1FBQ3JFLHdCQUF3QixDQUFDLENBQUMsSUFBSSxDQUFDLEVBQUUsS0FBSyxFQUFFLDJCQUEyQixDQUFDO1FBQ3BFLHdCQUF3QixDQUFDLENBQUMsSUFBSSxFQUFFLEtBQUssQ0FBQyxFQUFFLFFBQVEsRUFBRSxnQkFBZ0IsQ0FBQztRQUNuRSx3QkFBd0IsQ0FBQyxDQUFDLEtBQUssQ0FBQyxFQUFFLEtBQUssRUFBRSxLQUFLLENBQUM7UUFDL0Msd0JBQXdCLENBQUMsQ0FBQyxJQUFJLENBQUMsRUFBRSxJQUFJLEVBQUUsZ0JBQWdCLENBQUM7UUFDeEQsd0JBQXdCLENBQUMsQ0FBQyxLQUFLLEVBQUUsTUFBTSxFQUFFLE9BQU8sQ0FBQyxFQUFFLE1BQU0sQ0FBQztRQUMxRCx3QkFBd0IsQ0FBQyxDQUFDLE1BQU0sQ0FBQyxFQUFFLE1BQU0sQ0FBQztRQUMxQyx3QkFBd0IsQ0FBQyxDQUFDLEtBQUssRUFBRSxNQUFNLENBQUMsRUFBRSxNQUFNLENBQUM7UUFDakQsd0JBQXdCLENBQUMsQ0FBQyxJQUFJLEVBQUUsUUFBUSxFQUFFLFVBQVUsRUFBRSxLQUFLLEVBQUUsS0FBSyxDQUFDLEVBQUUsWUFBWSxFQUFFLE1BQU0sQ0FBQztRQUMxRix3QkFBd0IsQ0FBQyxDQUFDLE1BQU0sQ0FBQyxFQUFFLE1BQU0sQ0FBQztRQUMxQyx3QkFBd0IsQ0FBQyxDQUFDLE1BQU0sQ0FBQyxFQUFFLE1BQU0sQ0FBQztRQUMxQyx3QkFBd0IsQ0FBQyxDQUFDLFVBQVUsRUFBRSxJQUFJLEVBQUUsTUFBTSxFQUFFLE9BQU8sRUFBRSxRQUFRLEVBQUUsT0FBTyxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQUUsTUFBTSxDQUFDLEVBQUUsVUFBVSxDQUFDO1FBQ25ILHdCQUF3QixDQUFDLENBQUMsS0FBSyxDQUFDLEVBQUUsS0FBSyxFQUFFLGFBQWEsQ0FBQztRQUN2RCx3QkFBd0IsQ0FBQyxDQUFDLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxDQUFDLEVBQUUsWUFBWSxFQUFFLFFBQVEsQ0FBQztRQUN6RSx3QkFBd0IsQ0FBQyxDQUFDLElBQUksRUFBRSxLQUFLLENBQUMsRUFBRSxRQUFRLEVBQUUsUUFBUSxDQUFDO1FBQzNELHdCQUF3QixDQUFDLENBQUMsU0FBUyxFQUFFLElBQUksRUFBRSxLQUFLLENBQUMsRUFBRSxNQUFNLEVBQUUsYUFBYSxDQUFDO1FBQ3pFLHdCQUF3QixDQUFDLENBQUMsTUFBTSxFQUFFLE1BQU0sQ0FBQyxFQUFFLE1BQU0sRUFBRSxNQUFNLENBQUM7UUFDMUQsd0JBQXdCLENBQUMsQ0FBQyxLQUFLLENBQUMsRUFBRSxLQUFLLEVBQUUsUUFBUSxDQUFDO1FBQ2xELHdCQUF3QixDQUFDLENBQUMsSUFBSSxDQUFDLEVBQUUsWUFBWSxFQUFFLE1BQU0sQ0FBQztRQUN0RCx3QkFBd0IsQ0FBQyxDQUFDLEtBQUssRUFBRSxLQUFLLENBQUMsRUFBRSxPQUFPLEVBQUUsYUFBYSxDQUFDO1FBQ2hFLHdCQUF3QixDQUFDLENBQUMsS0FBSyxDQUFDLEVBQUUsS0FBSyxFQUFFLGFBQWEsQ0FBQztRQUN2RCx3QkFBd0IsQ0FBQyxDQUFDLE1BQU0sRUFBRSxRQUFRLEVBQUUsS0FBSyxFQUFFLE9BQU8sRUFBRSxLQUFLLEVBQUUsS0FBSyxFQUFFLEtBQUssRUFBRSxLQUFLLEVBQUUsTUFBTSxDQUFDLEVBQUUsS0FBSyxDQUFDO1FBQ3ZHLHdCQUF3QixDQUFDLENBQUMsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLEVBQUUsS0FBSyxDQUFDLEVBQUUsTUFBTSxDQUFDO1FBQ2xFLHdCQUF3QixDQUFDO1lBQ3hCLE1BQU0sRUFBRSxZQUFZLEVBQUUsYUFBYSxFQUFFLGNBQWMsRUFBRSxRQUFRO1lBQzdELFNBQVMsRUFBRSxVQUFVLEVBQUUsVUFBVSxFQUFFLElBQUksRUFBRSxRQUFRLEVBQUUsU0FBUztZQUM1RCxVQUFVLEVBQUUsS0FBSyxFQUFFLFFBQVEsRUFBRSxPQUFPO1NBQ3BDLEVBQUUsT0FBTyxFQUFFLFFBQVEsQ0FBQztRQUNyQixvQ0FBb0M7UUFDcEMsR0FBRyx5QkFBeUIsQ0FBQztZQUM1QixxQkFBcUIsRUFBRSxDQUFDLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxFQUFFLFNBQVMsQ0FBQztZQUN6RCx3QkFBd0IsRUFBRSxnQkFBZ0I7WUFDMUMsMEJBQTBCLEVBQUUsUUFBUTtZQUNwQyx3QkFBd0IsRUFBRSxLQUFLO1lBQy9CLGNBQWMsRUFBRSxPQUFPO1lBQ3ZCLGFBQWEsRUFBRSxNQUFNO1lBQ3JCLFdBQVcsRUFBRSxNQUFNO1lBQ25CLFlBQVksRUFBRSxZQUFZO1lBQzFCLGFBQWEsRUFBRSxRQUFRO1lBQ3ZCLGVBQWUsRUFBRSxRQUFRO1lBQ3pCLFVBQVUsRUFBRSxDQUFDLFVBQVUsRUFBRSxJQUFJLENBQUM7WUFDOUIsWUFBWSxFQUFFLEtBQUs7WUFDbkIsY0FBYyxFQUFFLEtBQUs7WUFDckIsU0FBUyxFQUFFLE9BQU87WUFDbEIsVUFBVSxFQUFFLE1BQU07WUFDbEIsVUFBVSxFQUFFLEtBQUs7WUFDakIsaUJBQWlCLEVBQUUsS0FBSztZQUN4QixvQkFBb0IsRUFBRSxXQUFXO1lBQ2pDLHNCQUFzQixFQUFFLGFBQWE7WUFDckMscUJBQXFCLEVBQUUsSUFBSTtZQUMzQixlQUFlLEVBQUUsR0FBRztZQUNwQixrQkFBa0IsRUFBRSxJQUFJO1lBQ3hCLDRCQUE0QixFQUFFLEtBQUs7WUFDbkMsZ0JBQWdCLEVBQUUsQ0FBQyxLQUFLLEVBQUUsS0FBSyxDQUFDO1lBQ2hDLGdCQUFnQixFQUFFLElBQUk7WUFDdEIsbUJBQW1CLEVBQUUsS0FBSztZQUMxQixXQUFXLEVBQUUsQ0FBQyxLQUFLLEVBQUUsVUFBVSxDQUFDO1lBQ2hDLGNBQWMsRUFBRSxDQUFDLEtBQUssRUFBRSxNQUFNLENBQUM7WUFDL0IsZUFBZSxFQUFFLE1BQU07WUFDdkIsbUJBQW1CLEVBQUUsT0FBTztTQUM1QixFQUFFLFNBQVMsQ0FBQztRQUNiLGlDQUFpQztRQUNqQyx3QkFBd0IsQ0FBQztZQUN4QixlQUFlLEVBQUUsS0FBSyxFQUFFLEtBQUssRUFBRSxLQUFLLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxJQUFJLEVBQUUsS0FBSztZQUN0RSxJQUFJLEVBQUUsS0FBSyxFQUFFLElBQUksRUFBRSxLQUFLLEVBQUUsS0FBSyxFQUFFLElBQUksRUFBRSxZQUFZLEVBQUUsTUFBTSxFQUFFLElBQUksRUFBRSxHQUFHO1NBQ3RFLEVBQUUsU0FBUyxFQUFFLE9BQU8sQ0FBQyxRQUFRLEdBQUcsV0FBVyxDQUFDO1FBQzdDLG9CQUFvQjtRQUNwQix3QkFBd0IsQ0FBQyxFQUFFLEVBQUUsU0FBUyxFQUFFLFFBQVEsRUFBRSxDQUFDLGVBQWUsQ0FBQyxDQUFDO0tBQ3BFO0lBQ0Qsb0JBQW9CLEVBQUUsQ0FBQztZQUN0QixJQUFJLEVBQUUsUUFBUTtZQUNkLElBQUksRUFBRSxPQUFPLENBQUMsUUFBUTtZQUN0QixVQUFVLEVBQUUsQ0FBQyxPQUFPLENBQUMsV0FBVyxDQUFDO1NBQ2pDLENBQUM7SUFDRiwwQkFBMEIsRUFBRSxJQUFJO0lBQ2hDLGFBQWEsRUFBRSxxQkFBcUIsQ0FBQyxDQUFDLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxxQkFBcUIsQ0FBQyxFQUFFLE1BQU0sRUFBRSxNQUFNLEVBQUUsSUFBSSxFQUFFLElBQUksSUFBSSxFQUFFLENBQUMsV0FBVyxFQUFFLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLFNBQVM7SUFDekksbUJBQW1CLEVBQUUsT0FBTyxDQUFDLGVBQWU7SUFDNUMsT0FBTyxFQUFFLDBCQUEwQjtJQUNuQyxLQUFLLEVBQUUsT0FBTyxDQUFDLEdBQUcsQ0FBQyxjQUFjLENBQUM7SUFDbEMsSUFBSSxFQUFFLE9BQU8sQ0FBQyxrQkFBa0IsSUFBSSxTQUFTO0NBQzdDLENBQUM7QUFFRixTQUFTLFdBQVcsQ0FBQyxJQUFZO0lBQ2hDLE9BQU8sR0FBRyxFQUFFO1FBQ1gsTUFBTSxRQUFRLEdBQUcsT0FBTyxDQUFDLHVCQUF1QixDQUFDLENBQUM7UUFDbEQsTUFBTSxJQUFJLEdBQUcsT0FBTyxDQUFDLGtCQUFrQixDQUFzQyxDQUFDO1FBRTlFLE1BQU0sWUFBWSxHQUFHLENBQUMsQ0FBQyxNQUFNLENBQUMsRUFBRSxFQUFFLGNBQU0sRUFBRTtZQUN6QyxRQUFRLEVBQUUsT0FBTyxDQUFDLFFBQVE7WUFDMUIsSUFBSSxFQUFFLElBQUksS0FBSyxPQUFPLENBQUMsQ0FBQyxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUMsSUFBSTtZQUNyQyxjQUFjLEVBQUUsS0FBSztZQUNyQixjQUFjLEVBQUUsSUFBSTtTQUNwQixDQUFDLENBQUM7UUFFSCxPQUFPLEdBQUcsQ0FBQyxHQUFHLENBQUMsY0FBYyxDQUFDO2FBQzVCLElBQUksQ0FBQyxJQUFJLENBQUMsRUFBRSxJQUFJLEVBQUUsT0FBTyxDQUFDLFNBQVMsRUFBRSxDQUFDLENBQUM7YUFDdkMsSUFBSSxDQUFDLFFBQVEsQ0FBQyxZQUFZLENBQUMsQ0FBQzthQUM1QixJQUFJLENBQUMsTUFBTSxDQUFDLENBQUMsSUFBSSxFQUFFLHNCQUFzQixDQUFDLENBQUMsQ0FBQzthQUM1QyxJQUFJLENBQUMsR0FBRyxDQUFDLElBQUksQ0FBQyxpQkFBaUIsQ0FBQyxDQUFDLENBQUM7SUFDckMsQ0FBQyxDQUFDO0FBQ0gsQ0FBQztBQUVELEtBQUssVUFBVSxJQUFJLENBQUMsSUFBSSxHQUFHLE9BQU8sQ0FBQyxJQUFJO0lBQ3RDLE1BQU0sT0FBTyxHQUFHLGVBQWUsQ0FBQztJQUNoQyxNQUFNLFlBQVksR0FBRyxJQUFJLENBQUMsSUFBSSxDQUFDLElBQUksRUFBRSxRQUFRLEVBQUUsVUFBVSxDQUFDLENBQUM7SUFDM0QsTUFBTSxXQUFXLEdBQUcsSUFBSSxDQUFDLElBQUksQ0FBQyxZQUFZLEVBQUUsU0FBUyxDQUFDLENBQUM7SUFDdkQsTUFBTSxVQUFVLEdBQUcsRUFBRSxDQUFDLFVBQVUsQ0FBQyxXQUFXLENBQUMsSUFBSSxFQUFFLENBQUMsWUFBWSxDQUFDLFdBQVcsRUFBRSxNQUFNLENBQUMsS0FBSyxHQUFHLE9BQU8sRUFBRSxDQUFDO0lBRXZHLElBQUksQ0FBQyxVQUFVLEVBQUU7UUFDaEIsTUFBTSxJQUFJLENBQUMsTUFBTSxDQUFDLFlBQVksQ0FBQyxFQUFFLENBQUM7UUFDbEMsTUFBTSxJQUFJLENBQUMsZUFBZSxDQUFDLFdBQVcsQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLENBQUM7S0FDaEQ7QUFDRixDQUFDO0FBRUQsSUFBSSxPQUFPLENBQUMsSUFBSSxLQUFLLE1BQU0sRUFBRTtJQUM1QixJQUFJLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLEtBQUssQ0FBQyxHQUFHLENBQUMsRUFBRTtRQUNqQyxPQUFPLENBQUMsS0FBSyxDQUFDLEdBQUcsQ0FBQyxDQUFDO1FBQ25CLE9BQU8sQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLENBQUM7SUFDakIsQ0FBQyxDQUFDLENBQUM7Q0FDSCJ9 No newline at end of file //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWxlY3Ryb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJlbGVjdHJvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUE7OztnR0FHZ0c7OztBQUVoRyx5QkFBeUI7QUFDekIsNkJBQTZCO0FBQzdCLGdDQUFnQztBQUNoQyxzQ0FBc0M7QUFDdEMsZ0NBQWdDO0FBQ2hDLCtCQUErQjtBQUMvQiw2Q0FBMEM7QUFZMUMsU0FBUyxnQkFBZ0IsQ0FBQyxHQUFZO0lBQ3JDLE9BQU8sR0FBRyxLQUFLLFVBQVUsSUFBSSxHQUFHLEtBQUssUUFBUSxJQUFJLEdBQUcsS0FBSyxNQUFNLElBQUksR0FBRyxLQUFLLGFBQWEsQ0FBQztBQUMxRixDQUFDO0FBRUQsTUFBTSxJQUFJLEdBQUcsSUFBSSxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsT0FBTyxDQUFDLFNBQVMsQ0FBQyxDQUFDLENBQUM7QUFDbkQsTUFBTSxPQUFPLEdBQUcsSUFBSSxDQUFDLEtBQUssQ0FBQyxFQUFFLENBQUMsWUFBWSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsSUFBSSxFQUFFLGNBQWMsQ0FBQyxFQUFFLE1BQU0sQ0FBQyxDQUFDLENBQUM7QUFDckYsTUFBTSxNQUFNLEdBQUcsSUFBQSx1QkFBVSxFQUFDLElBQUksQ0FBQyxDQUFDO0FBRWhDLE1BQU0scUJBQXFCLEdBQUcsT0FBTyxDQUFDLGFBQWEsSUFBSSxDQUFDLENBQUMsUUFBUSxDQUFDLEVBQUUsQ0FBQyxZQUFZLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxJQUFJLEVBQUUsT0FBTyxDQUFDLGFBQWEsQ0FBQyxFQUFFLE1BQU0sQ0FBQyxDQUFDLENBQUM7QUFFbkk7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQWtCRztBQUNILFNBQVMsd0JBQXdCLENBQUMsVUFBb0IsRUFBRSxJQUFZLEVBQUUsWUFBNEMsRUFBRSxJQUFlO0lBQ2xJLDJGQUEyRjtJQUMzRixJQUFJLGdCQUFnQixDQUFDLFlBQVksQ0FBQyxJQUFJLENBQUMsWUFBWSxFQUFFO1FBQ3BELFlBQVksR0FBRyxJQUFJLENBQUMsTUFBTSxDQUFDLENBQUMsQ0FBQyxDQUFDLFdBQVcsRUFBRSxHQUFHLElBQUksQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDLEdBQUcsR0FBRyxHQUFHLENBQUMsWUFBWSxJQUFJLFVBQVUsQ0FBQyxDQUFDO0tBQ2pHO0lBRUQsT0FBTztRQUNOLElBQUksRUFBRSxZQUFZO1FBQ2xCLElBQUksRUFBRSxRQUFRO1FBQ2QsT0FBTyxFQUFFLENBQUMsTUFBTSxFQUFFLE1BQU0sRUFBRSxNQUFNLEVBQUUsTUFBTSxDQUFDO1FBQ3pDLFVBQVU7UUFDVixRQUFRLEVBQUUsbUJBQW1CLEdBQUcsSUFBSSxHQUFHLE9BQU87UUFDOUMsSUFBSTtLQUNKLENBQUM7QUFDSCxDQUFDO0FBRUQ7Ozs7Ozs7Ozs7R0FVRztBQUNILFNBQVMseUJBQXlCLENBQUMsS0FBNEMsRUFBRSxJQUFZO0lBQzVGLE9BQU8sTUFBTSxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxJQUFZLEVBQXNCLEVBQUU7UUFDbEUsTUFBTSxVQUFVLEdBQUcsS0FBSyxDQUFDLElBQUksQ0FBQyxDQUFDO1FBQy9CLE9BQU87WUFDTixJQUFJO1lBQ0osSUFBSSxFQUFFLFFBQVE7WUFDZCxPQUFPLEVBQUUsQ0FBQyxNQUFNLEVBQUUsTUFBTSxFQUFFLE1BQU0sRUFBRSxNQUFNLENBQUM7WUFDekMsVUFBVSxFQUFFLEtBQUssQ0FBQyxPQUFPLENBQUMsVUFBVSxDQUFDLENBQUMsQ0FBQyxDQUFDLFVBQVUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxVQUFVLENBQUM7WUFDakUsUUFBUSxFQUFFLG1CQUFtQixHQUFHLElBQUksR0FBRyxPQUFPO1NBQ3hCLENBQUM7SUFDekIsQ0FBQyxDQUFDLENBQUM7QUFDSixDQUFDO0FBRUQsTUFBTSxFQUFFLGVBQWUsRUFBRSxTQUFTLEVBQUUsR0FBRyxJQUFJLENBQUMsa0JBQWtCLEVBQUUsQ0FBQztBQUVwRCxRQUFBLE1BQU0sR0FBRztJQUNyQixPQUFPLEVBQUUsZUFBZTtJQUN4QixHQUFHLEVBQUUsT0FBTyxDQUFDLGtCQUFrQixDQUFDLENBQUMsQ0FBQyxJQUFJLGVBQWUsSUFBSSxTQUFTLEVBQUUsQ0FBQyxDQUFDLENBQUMsU0FBUztJQUNoRixjQUFjLEVBQUUsT0FBTyxDQUFDLFFBQVE7SUFDaEMsV0FBVyxFQUFFLHVCQUF1QjtJQUNwQyxTQUFTLEVBQUUsbURBQW1EO0lBQzlELFVBQVUsRUFBRSw0QkFBNEI7SUFDeEMsc0JBQXNCLEVBQUUsT0FBTyxDQUFDLHNCQUFzQjtJQUN0RCw2QkFBNkIsRUFBRSxxQ0FBcUM7SUFDcEUsb0JBQW9CLEVBQUUsa0JBQWtCO0lBQ3hDLGtCQUFrQixFQUFFLGtCQUFrQjtJQUN0Qyx5QkFBeUIsRUFBRTtRQUMxQixHQUFHLHlCQUF5QixDQUFDLEVBQUUsZUFBZSxFQUFFLEdBQUcsRUFBRSxlQUFlLEVBQUUsR0FBRyxFQUFFLEVBQUUsR0FBRyxDQUFDO1FBQ2pGLEdBQUcseUJBQXlCLENBQUMsRUFBRSx3QkFBd0IsRUFBRSxDQUFDLGVBQWUsRUFBRSxXQUFXLEVBQUUsV0FBVyxDQUFDLEVBQUUsRUFBRSxRQUFRLENBQUM7UUFDakgsR0FBRyx5QkFBeUIsQ0FBQyxFQUFFLHdCQUF3QixFQUFFLENBQUMsS0FBSyxFQUFFLE1BQU0sRUFBRSxRQUFRLEVBQUUsT0FBTyxFQUFFLEtBQUssRUFBRSxPQUFPLEVBQUUsT0FBTyxDQUFDLEVBQUUsRUFBRSxNQUFNLENBQUM7UUFDL0gsd0JBQXdCLENBQUMsQ0FBQyxLQUFLLEVBQUUsS0FBSyxDQUFDLEVBQUUsS0FBSyxFQUFFLHdCQUF3QixDQUFDO1FBQ3pFLHdCQUF3QixDQUFDLENBQUMsU0FBUyxDQUFDLEVBQUUsT0FBTyxDQUFDO1FBQzlDLHdCQUF3QixDQUFDLENBQUMsUUFBUSxFQUFFLGNBQWMsRUFBRSxLQUFLLEVBQUUsS0FBSyxDQUFDLEVBQUUsUUFBUSxFQUFFLG9CQUFvQixDQUFDO1FBQ2xHLHdCQUF3QixDQUFDLENBQUMsSUFBSSxFQUFFLEtBQUssRUFBRSxLQUFLLEVBQUUsS0FBSyxDQUFDLEVBQUUsS0FBSyxFQUFFLGlCQUFpQixDQUFDO1FBQy9FLHdCQUF3QixDQUFDLENBQUMsSUFBSSxFQUFFLEtBQUssRUFBRSxLQUFLLEVBQUUsS0FBSyxDQUFDLEVBQUUsS0FBSyxFQUFFLGlCQUFpQixDQUFDO1FBQy9FLHdCQUF3QixDQUFDLENBQUMsR0FBRyxDQUFDLEVBQUUsU0FBUyxFQUFFLHlCQUF5QixDQUFDO1FBQ3JFLHdCQUF3QixDQUFDLENBQUMsSUFBSSxDQUFDLEVBQUUsS0FBSyxFQUFFLDJCQUEyQixDQUFDO1FBQ3BFLHdCQUF3QixDQUFDLENBQUMsSUFBSSxFQUFFLEtBQUssQ0FBQyxFQUFFLFFBQVEsRUFBRSxnQkFBZ0IsQ0FBQztRQUNuRSx3QkFBd0IsQ0FBQyxDQUFDLEtBQUssQ0FBQyxFQUFFLEtBQUssRUFBRSxLQUFLLENBQUM7UUFDL0Msd0JBQXdCLENBQUMsQ0FBQyxJQUFJLENBQUMsRUFBRSxJQUFJLEVBQUUsZ0JBQWdCLENBQUM7UUFDeEQsd0JBQXdCLENBQUMsQ0FBQyxLQUFLLEVBQUUsTUFBTSxFQUFFLE9BQU8sQ0FBQyxFQUFFLE1BQU0sQ0FBQztRQUMxRCx3QkFBd0IsQ0FBQyxDQUFDLE1BQU0sQ0FBQyxFQUFFLE1BQU0sQ0FBQztRQUMxQyx3QkFBd0IsQ0FBQyxDQUFDLEtBQUssRUFBRSxNQUFNLENBQUMsRUFBRSxNQUFNLENBQUM7UUFDakQsd0JBQXdCLENBQUMsQ0FBQyxJQUFJLEVBQUUsUUFBUSxFQUFFLFVBQVUsRUFBRSxLQUFLLEVBQUUsS0FBSyxDQUFDLEVBQUUsWUFBWSxFQUFFLE1BQU0sQ0FBQztRQUMxRix3QkFBd0IsQ0FBQyxDQUFDLE1BQU0sQ0FBQyxFQUFFLE1BQU0sQ0FBQztRQUMxQyx3QkFBd0IsQ0FBQyxDQUFDLE1BQU0sQ0FBQyxFQUFFLE1BQU0sQ0FBQztRQUMxQyx3QkFBd0IsQ0FBQyxDQUFDLFVBQVUsRUFBRSxJQUFJLEVBQUUsTUFBTSxFQUFFLE9BQU8sRUFBRSxRQUFRLEVBQUUsT0FBTyxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQUUsTUFBTSxDQUFDLEVBQUUsVUFBVSxDQUFDO1FBQ25ILHdCQUF3QixDQUFDLENBQUMsS0FBSyxDQUFDLEVBQUUsS0FBSyxFQUFFLGFBQWEsQ0FBQztRQUN2RCx3QkFBd0IsQ0FBQyxDQUFDLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxDQUFDLEVBQUUsWUFBWSxFQUFFLFFBQVEsQ0FBQztRQUN6RSx3QkFBd0IsQ0FBQyxDQUFDLElBQUksRUFBRSxLQUFLLENBQUMsRUFBRSxRQUFRLEVBQUUsUUFBUSxDQUFDO1FBQzNELHdCQUF3QixDQUFDLENBQUMsU0FBUyxFQUFFLElBQUksRUFBRSxLQUFLLENBQUMsRUFBRSxNQUFNLEVBQUUsYUFBYSxDQUFDO1FBQ3pFLHdCQUF3QixDQUFDLENBQUMsTUFBTSxFQUFFLE1BQU0sQ0FBQyxFQUFFLE1BQU0sRUFBRSxNQUFNLENBQUM7UUFDMUQsd0JBQXdCLENBQUMsQ0FBQyxLQUFLLENBQUMsRUFBRSxLQUFLLEVBQUUsUUFBUSxDQUFDO1FBQ2xELHdCQUF3QixDQUFDLENBQUMsSUFBSSxDQUFDLEVBQUUsWUFBWSxFQUFFLE1BQU0sQ0FBQztRQUN0RCx3QkFBd0IsQ0FBQyxDQUFDLEtBQUssRUFBRSxLQUFLLENBQUMsRUFBRSxPQUFPLEVBQUUsYUFBYSxDQUFDO1FBQ2hFLHdCQUF3QixDQUFDLENBQUMsS0FBSyxDQUFDLEVBQUUsS0FBSyxFQUFFLGFBQWEsQ0FBQztRQUN2RCx3QkFBd0IsQ0FBQyxDQUFDLE1BQU0sRUFBRSxRQUFRLEVBQUUsS0FBSyxFQUFFLE9BQU8sRUFBRSxLQUFLLEVBQUUsS0FBSyxFQUFFLEtBQUssRUFBRSxLQUFLLEVBQUUsTUFBTSxDQUFDLEVBQUUsS0FBSyxDQUFDO1FBQ3ZHLHdCQUF3QixDQUFDLENBQUMsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLEVBQUUsS0FBSyxDQUFDLEVBQUUsTUFBTSxDQUFDO1FBQ2xFLHdCQUF3QixDQUFDO1lBQ3hCLE1BQU0sRUFBRSxZQUFZLEVBQUUsYUFBYSxFQUFFLGNBQWMsRUFBRSxRQUFRO1lBQzdELFNBQVMsRUFBRSxVQUFVLEVBQUUsVUFBVSxFQUFFLElBQUksRUFBRSxRQUFRLEVBQUUsU0FBUztZQUM1RCxVQUFVLEVBQUUsS0FBSyxFQUFFLFFBQVEsRUFBRSxPQUFPO1NBQ3BDLEVBQUUsT0FBTyxFQUFFLFFBQVEsQ0FBQztRQUNyQixvQ0FBb0M7UUFDcEMsR0FBRyx5QkFBeUIsQ0FBQztZQUM1QixxQkFBcUIsRUFBRSxDQUFDLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxFQUFFLFNBQVMsQ0FBQztZQUN6RCx3QkFBd0IsRUFBRSxnQkFBZ0I7WUFDMUMsMEJBQTBCLEVBQUUsUUFBUTtZQUNwQyx3QkFBd0IsRUFBRSxLQUFLO1lBQy9CLGNBQWMsRUFBRSxPQUFPO1lBQ3ZCLGFBQWEsRUFBRSxNQUFNO1lBQ3JCLFdBQVcsRUFBRSxNQUFNO1lBQ25CLFlBQVksRUFBRSxZQUFZO1lBQzFCLGFBQWEsRUFBRSxRQUFRO1lBQ3ZCLGVBQWUsRUFBRSxRQUFRO1lBQ3pCLFVBQVUsRUFBRSxDQUFDLFVBQVUsRUFBRSxJQUFJLENBQUM7WUFDOUIsWUFBWSxFQUFFLEtBQUs7WUFDbkIsY0FBYyxFQUFFLEtBQUs7WUFDckIsU0FBUyxFQUFFLE9BQU87WUFDbEIsVUFBVSxFQUFFLE1BQU07WUFDbEIsVUFBVSxFQUFFLEtBQUs7WUFDakIsaUJBQWlCLEVBQUUsS0FBSztZQUN4QixvQkFBb0IsRUFBRSxXQUFXO1lBQ2pDLHNCQUFzQixFQUFFLGFBQWE7WUFDckMscUJBQXFCLEVBQUUsSUFBSTtZQUMzQixlQUFlLEVBQUUsR0FBRztZQUNwQixrQkFBa0IsRUFBRSxJQUFJO1lBQ3hCLDRCQUE0QixFQUFFLEtBQUs7WUFDbkMsZ0JBQWdCLEVBQUUsQ0FBQyxLQUFLLEVBQUUsS0FBSyxDQUFDO1lBQ2hDLGdCQUFnQixFQUFFLElBQUk7WUFDdEIsbUJBQW1CLEVBQUUsS0FBSztZQUMxQixXQUFXLEVBQUUsQ0FBQyxLQUFLLEVBQUUsVUFBVSxDQUFDO1lBQ2hDLGNBQWMsRUFBRSxDQUFDLEtBQUssRUFBRSxNQUFNLENBQUM7WUFDL0IsZUFBZSxFQUFFLE1BQU07WUFDdkIsbUJBQW1CLEVBQUUsT0FBTztTQUM1QixFQUFFLFNBQVMsQ0FBQztRQUNiLGlDQUFpQztRQUNqQyx3QkFBd0IsQ0FBQztZQUN4QixlQUFlLEVBQUUsS0FBSyxFQUFFLEtBQUssRUFBRSxLQUFLLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxJQUFJLEVBQUUsS0FBSztZQUN0RSxJQUFJLEVBQUUsS0FBSyxFQUFFLElBQUksRUFBRSxLQUFLLEVBQUUsS0FBSyxFQUFFLElBQUksRUFBRSxZQUFZLEVBQUUsTUFBTSxFQUFFLElBQUksRUFBRSxHQUFHO1NBQ3RFLEVBQUUsU0FBUyxFQUFFLE9BQU8sQ0FBQyxRQUFRLEdBQUcsV0FBVyxDQUFDO1FBQzdDLG9CQUFvQjtRQUNwQix3QkFBd0IsQ0FBQyxFQUFFLEVBQUUsU0FBUyxFQUFFLFFBQVEsRUFBRSxDQUFDLGVBQWUsQ0FBQyxDQUFDO0tBQ3BFO0lBQ0Qsb0JBQW9CLEVBQUUsQ0FBQztZQUN0QixJQUFJLEVBQUUsUUFBUTtZQUNkLElBQUksRUFBRSxPQUFPLENBQUMsUUFBUTtZQUN0QixVQUFVLEVBQUUsQ0FBQyxPQUFPLENBQUMsV0FBVyxDQUFDO1NBQ2pDLENBQUM7SUFDRiwwQkFBMEIsRUFBRSxJQUFJO0lBQ2hDLGFBQWEsRUFBRSxxQkFBcUIsQ0FBQyxDQUFDLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxxQkFBcUIsQ0FBQyxFQUFFLE1BQU0sRUFBRSxNQUFNLEVBQUUsSUFBSSxFQUFFLElBQUksSUFBSSxFQUFFLENBQUMsV0FBVyxFQUFFLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLFNBQVM7SUFDekksbUJBQW1CLEVBQUUsT0FBTyxDQUFDLGVBQWU7SUFDNUMsT0FBTyxFQUFFLDBCQUEwQjtJQUNuQyxLQUFLLEVBQUUsT0FBTyxDQUFDLEdBQUcsQ0FBQyxjQUFjLENBQUM7SUFDbEMsSUFBSSxFQUFFLE9BQU8sQ0FBQyxrQkFBa0IsSUFBSSxTQUFTO0lBQzdDLGdCQUFnQixFQUFFLElBQUk7SUFDdEIsWUFBWSxFQUFFLElBQUksQ0FBQyxJQUFJLENBQUMsSUFBSSxFQUFFLE9BQU8sRUFBRSxXQUFXLEVBQUUsY0FBYyxDQUFDO0NBQ25FLENBQUM7QUFFRixTQUFTLFdBQVcsQ0FBQyxJQUFZO0lBQ2hDLE9BQU8sR0FBRyxFQUFFO1FBQ1gsTUFBTSxRQUFRLEdBQUcsT0FBTyxDQUFDLHVCQUF1QixDQUFDLENBQUM7UUFDbEQsTUFBTSxJQUFJLEdBQUcsT0FBTyxDQUFDLGtCQUFrQixDQUFzQyxDQUFDO1FBRTlFLE1BQU0sWUFBWSxHQUFHLENBQUMsQ0FBQyxNQUFNLENBQUMsRUFBRSxFQUFFLGNBQU0sRUFBRTtZQUN6QyxRQUFRLEVBQUUsT0FBTyxDQUFDLFFBQVE7WUFDMUIsSUFBSSxFQUFFLElBQUksS0FBSyxPQUFPLENBQUMsQ0FBQyxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUMsSUFBSTtZQUNyQyxjQUFjLEVBQUUsS0FBSztZQUNyQixjQUFjLEVBQUUsSUFBSTtTQUNwQixDQUFDLENBQUM7UUFFSCxPQUFPLEdBQUcsQ0FBQyxHQUFHLENBQUMsY0FBYyxDQUFDO2FBQzVCLElBQUksQ0FBQyxJQUFJLENBQUMsRUFBRSxJQUFJLEVBQUUsT0FBTyxDQUFDLFNBQVMsRUFBRSxDQUFDLENBQUM7YUFDdkMsSUFBSSxDQUFDLFFBQVEsQ0FBQyxZQUFZLENBQUMsQ0FBQzthQUM1QixJQUFJLENBQUMsTUFBTSxDQUFDLENBQUMsSUFBSSxFQUFFLHNCQUFzQixDQUFDLENBQUMsQ0FBQzthQUM1QyxJQUFJLENBQUMsR0FBRyxDQUFDLElBQUksQ0FBQyxpQkFBaUIsQ0FBQyxDQUFDLENBQUM7SUFDckMsQ0FBQyxDQUFDO0FBQ0gsQ0FBQztBQUVELEtBQUssVUFBVSxJQUFJLENBQUMsSUFBSSxHQUFHLE9BQU8sQ0FBQyxJQUFJO0lBQ3RDLE1BQU0sT0FBTyxHQUFHLGVBQWUsQ0FBQztJQUNoQyxNQUFNLFlBQVksR0FBRyxJQUFJLENBQUMsSUFBSSxDQUFDLElBQUksRUFBRSxRQUFRLEVBQUUsVUFBVSxDQUFDLENBQUM7SUFDM0QsTUFBTSxXQUFXLEdBQUcsSUFBSSxDQUFDLElBQUksQ0FBQyxZQUFZLEVBQUUsU0FBUyxDQUFDLENBQUM7SUFDdkQsTUFBTSxVQUFVLEdBQUcsRUFBRSxDQUFDLFVBQVUsQ0FBQyxXQUFXLENBQUMsSUFBSSxFQUFFLENBQUMsWUFBWSxDQUFDLFdBQVcsRUFBRSxNQUFNLENBQUMsS0FBSyxHQUFHLE9BQU8sRUFBRSxDQUFDO0lBRXZHLElBQUksQ0FBQyxVQUFVLEVBQUU7UUFDaEIsTUFBTSxJQUFJLENBQUMsTUFBTSxDQUFDLFlBQVksQ0FBQyxFQUFFLENBQUM7UUFDbEMsTUFBTSxJQUFJLENBQUMsZUFBZSxDQUFDLFdBQVcsQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLENBQUM7S0FDaEQ7QUFDRixDQUFDO0FBRUQsSUFBSSxPQUFPLENBQUMsSUFBSSxLQUFLLE1BQU0sRUFBRTtJQUM1QixJQUFJLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLEtBQUssQ0FBQyxHQUFHLENBQUMsRUFBRTtRQUNqQyxPQUFPLENBQUMsS0FBSyxDQUFDLEdBQUcsQ0FBQyxDQUFDO1FBQ25CLE9BQU8sQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLENBQUM7SUFDakIsQ0FBQyxDQUFDLENBQUM7Q0FDSCJ9 No newline at end of file"} {"_id":"q-en-vscode-5c62ffa9c4162af90082f8ebf73df49b620bfa05b86041069058577cd436c878","text":"disturl=\"https://electronjs.org/headers\" target=\"30.5.0\" ms_build_id=\"10198947\" target=\"30.5.1\" ms_build_id=\"10262041\" runtime=\"electron\" build_from_source=\"true\" legacy-peer-deps=\"true\""} {"_id":"q-en-vscode-5c745d55af8ee6a1cdb06062ff02c7d6427a4f8e74d03893514a11cfc47f1683","text":"transform: rotate(-90deg); } .monaco-workbench .part > .title > .title-actions .switch-terminal { .monaco-workbench .part.sidebar > .title > .title-actions .switch-terminal, .monaco-pane-view .pane > .pane-header .monaco-action-bar .switch-terminal { border-width: 1px; border-style: solid; } .part.panel > .title > .title-actions .switch-terminal > .monaco-select-box { border-width: 1px; border-style: solid; } .monaco-workbench .part.sidebar > .title > .title-actions .switch-terminal { display: flex; align-items: center; font-size: 11px;"} {"_id":"q-en-vscode-5d54306ceaedb7c492852eb5319d41c4bf5a5492e3f045bd9f1c109ef9910c5f","text":"}], viewContainer); Registry.as(WorkbenchExtensions.Workbench) .registerWorkbenchContribution(SCMActiveResourceContextKeyController, LifecyclePhase.Restored); Registry.as(WorkbenchExtensions.Workbench) .registerWorkbenchContribution(SCMStatusController, LifecyclePhase.Restored); Registry.as(ConfigurationExtensions.Configuration).registerConfiguration({"} {"_id":"q-en-vscode-5d6adad27b06a14e3020e24eb1c5cccf21371e7db55653d35e63167fdd266b4c","text":"\"cssnano\": \"^6.0.3\", \"debounce\": \"^1.0.0\", \"deemon\": \"^1.8.0\", \"electron\": \"30.5.0\", \"electron\": \"30.5.1\", \"eslint\": \"8.36.0\", \"eslint-plugin-header\": \"3.1.1\", \"eslint-plugin-jsdoc\": \"^46.5.0\","} {"_id":"q-en-vscode-5db0443021811f811583757a4b10d72af597148b6944f524251fca5194c3254d","text":"if (this.profileContentHandlers.size === 1) { return this.profileContentHandlers.values().next().value; } const linkHandlers: { id: string; label: string }[] = []; const fileHandlers: { id: string; label: string }[] = []; for (const [id, profileContentHandler] of this.profileContentHandlers) { if (profileContentHandler.extensionId) { linkHandlers.push({ id, label: profileContentHandler.name }); } else { fileHandlers.push({ id, label: profileContentHandler.name }); } } const options: QuickPickItem[] = []; if (linkHandlers.length) { options.push({ label: localize('link', \"link\"), type: 'separator' }); options.push(...linkHandlers); } if (fileHandlers.length) { options.push({ label: localize('file', \"file\"), type: 'separator' }); options.push(...fileHandlers); for (const [id, profileContentHandler] of this.profileContentHandlers) { options.push({ id, label: profileContentHandler.name, description: profileContentHandler.description }); } const result = await this.quickInputService.pick(options, const result = await this.quickInputService.pick(options.reverse(), { title: localize('select profile content handler', \"Export '{0}' profile as...\", name), hideInput: true"} {"_id":"q-en-vscode-5dc6cd51c57e43a4c187d1ffd74dcff5f325b622530a448da4b23e50fea268e4","text":"if (!document.equalLines(lines)) { return this._proxy.$onVirtualDocumentChange(uri, value); } }) .catch(onUnexpectedError) .finally(() => { if (lastEvent === thisEvent) { lastEvent = undefined; } }); }, onUnexpectedError); } lastEvent = thisEvent; }); } return new Disposable(() => {"} {"_id":"q-en-vscode-5de86772850d79bd864b804f365469c3a34ee7c4414773d68fd6d7e6c9e92dd6","text":"{ \"configuration.validate.enable\": \"Whether php validation is enabled or not.\", \"configuration.validate.executablePath\": \"Points to the php executable.\", \"configuration.builtInCompletions.enable\": \"Enable/disable built-in PHP completions.\", \"configuration.validate.enable\": \"Enable/disable built-in PHP validation.\", \"configuration.validate.executablePath\": \"Points to the PHP executable.\", \"configuration.validate.run\": \"Whether the linter is run on save or on type.\", \"configuration.title\": \"PHP\" } No newline at end of file"} {"_id":"q-en-vscode-5e0ad5ee19b0caffa4f76990bfa03164f9bd71e34c480a63b6dc67359f22a39f","text":"const line = getVisibleLine(event.textEditor); if (typeof line === 'number') { this.updateLine(event.textEditor.document.uri, line); this.setPreviousEditorLine({ uri: event.textEditor.document.uri, line: line }); this.setPreviousTextEditorLine({ uri: event.textEditor.document.uri, line: line }); } } }));"} {"_id":"q-en-vscode-5e110968df8f5772e9af61d743d0d02b58996890b4c07871c21630dd7a753b89","text":"static id: 'editor.action.accessibleViewNext'; constructor() { super({ id: AccessibleViewNextAction.id, id: 'editor.action.accessibleViewNext', precondition: accessibleViewIsShown, keybinding: { primary: KeyMod.Alt | KeyCode.BracketRight,"} {"_id":"q-en-vscode-5e6dc415aabdb8e929d0d4b5b8733cd601c7c23495f09e37b4a1fcd84ac8ca48","text":"} this._accessibleBuffer.tabIndex = -1; this._accessibleBuffer.classList.add('active'); this._xtermElement.classList.add('hide'); if (this._lastContentLength !== fragment.length || this._refreshSelection) { let lineNumber = 1; const lineCount = model?.getLineCount();"} {"_id":"q-en-vscode-5e7845a48bdd640eace8c89645d42c71c5795313d9f5e6b4e4b7067d356ac650","text":"null, this._contextViewService, { // width:FIND_INPUT_AREA_WIDTH, label: NLS_FIND_INPUT_LABEL, placeholder: NLS_FIND_INPUT_\", validation: (value: string): InputBoxMessage | null => {"} {"_id":"q-en-vscode-5eaebdb19a4b96bb4061f8056f7ebb6c6c3dfc4532800b3a0f2fdedabe84f9c4","text":"env: GITHUB_TOKEN: \"$(github-distro-mixin-password)\" displayName: Build server condition: and(succeeded(), ne(variables['VSCODE_ARCH'], 'arm64')) - powershell: | . build/azure-pipelines/win32/exec.ps1"} {"_id":"q-en-vscode-5ed911e77372f1858f7e9649ee443be62086dfbde7c7f017121ed8b930515d67","text":"menuId: this._options?.contextMenu, menuActionOptions: { renderShortTitle: true, ...this._options?.menuOptions }, contextKeyService: this._contextKeyService, onHide: () => this.getElement().classList.toggle('config', false), }); })); }"} {"_id":"q-en-vscode-5f6134348927d80a3bfa969c04c864033978a6881780cc20605f35687cb30c6f","text":"if (!node.hasChildren) { childrenPromise = Promise.resolve(Iterable.empty()); } else { const slowTimeout = timeout(800); const children = this.doGetChildren(node); if (isIterable(children)) { childrenPromise = Promise.resolve(children); } else { const slowTimeout = timeout(800); slowTimeout.then(() => { node.slow = true; this._onDidChangeNodeSlowState.fire(node); }, _ => null); slowTimeout.then(() => { node.slow = true; this._onDidChangeNodeSlowState.fire(node); }, _ => null); childrenPromise = this.doGetChildren(node) .finally(() => slowTimeout.cancel()); childrenPromise = children.finally(() => slowTimeout.cancel()); } } try {"} {"_id":"q-en-vscode-5f9cc0c40c5eb42f65338a0b6ef2e8a525562eadd443d445d0aa61b24cd8aa3d","text":"} } const tocHiddenDuringSearch = this.configurationService.getValue('workbench.settings.settingsSearchTocBehavior') === 'hide'; if (!tocHiddenDuringSearch) { // Sort the settings according to internal order if indexed. if (this.settingsOrderByTocIndex) { filterMatches.sort((a, b) => compareTwoNullableNumbers(a.setting.internalOrder, b.setting.internalOrder)); } return filterMatches; // The search only has filters, so we can sort by the order in the TOC. if (!this._viewState.query) { return filterMatches.sort((a, b) => compareTwoNullableNumbers(a.setting.internalOrder, b.setting.internalOrder)); } // The table of contents is hidden during the search. // The settings could appear in a more haphazard order. // Sort the settings according to their score. // Sort the settings according to their relevancy. // https://github.com/microsoft/vscode/issues/197773 filterMatches.sort((a, b) => { if (a.matchType !== b.matchType) { // Sort by match type if the match types are not the same."} {"_id":"q-en-vscode-5fb333dbaf89d9784206e884e19545e02167add3f34f3b6483f89b176112ec00","text":"*/ .vscode-light .hljs-function, .vscode-light .hljs-params { .vscode-light .hljs-params, .vscode-light .hljs-number, .vscode-light .hljs-class { color: inherit; }"} {"_id":"q-en-vscode-5fd405b6d192c1e29975311fe07dcbb598e67e8e70266d4c9c82362cde77abeb","text":"if [ -n \"$RPROMPT\" ]; then RPROMPT=\"$__vsc_prior_rprompt\" fi __vsc_initialized=\"1\" __vsc_in_command_execution=\"1\" __vsc_command_output_start }"} {"_id":"q-en-vscode-5fd455a9f494222be9e89ab4393943a79be95faa2e2b8a5d525f55cfaad1327a","text":"import * as assert from 'assert'; import { join } from 'path'; import { commands, workspace, window, Uri, ViewColumn } from 'vscode'; import { commands, workspace, window, Uri, ViewColumn, Range, Position } from 'vscode'; suite('commands namespace tests', () => {"} {"_id":"q-en-vscode-6013adcf8831f42a26afe5f9ca7f21fba89a98ea02d01b745af302e0e00d37fc","text":"return candidate; } if (element === document.body) { if (element === this.scrollableElement.getDomNode() || element === document.body) { return null; } } while (element = element.parentElement);"} {"_id":"q-en-vscode-60250ceda0d668145c22f363e118e83d2295618dab6a3ff96116485d6a9519cd","text":"} }, \"node_modules/@xterm/addon-clipboard\": { \"version\": \"0.2.0-beta.39\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-clipboard/-/addon-clipboard-0.2.0-beta.39.tgz\", \"integrity\": \"sha512-PeJZP69FHg2p1NJKLGyqUITahvEexqwYoQAgYheu4d9UBhIdP6D/KWGT8DVAEPeeulXhcr2UXgYWMVQAooTvrw==\", \"version\": \"0.2.0-beta.47\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-clipboard/-/addon-clipboard-0.2.0-beta.47.tgz\", \"integrity\": \"sha512-mJHV1770gwVckj4mgjdxegt4zLL5WGCoJblTqaLbgEF7xOwsJUzvGk38qsZ4ZpdTa2ti76H0pkb1CpZGrXL9qg==\", \"dependencies\": { \"js-base64\": \"^3.7.5\" }, \"peerDependencies\": { \"@xterm/xterm\": \"^5.6.0-beta.56\" \"@xterm/xterm\": \"^5.6.0-beta.64\" } }, \"node_modules/@xterm/addon-image\": { \"version\": \"0.9.0-beta.56\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-image/-/addon-image-0.9.0-beta.56.tgz\", \"integrity\": \"sha512-kwE4ZDlPxXsBk4mnQoqMvSwu9aKQclniIybs90t0L2qGPLcI8/7Akm1i9aXbu8eZF2hoLEPfLC3CZPda+4ioOA==\", \"version\": \"0.9.0-beta.64\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-image/-/addon-image-0.9.0-beta.64.tgz\", \"integrity\": \"sha512-1Aqqytx/z/Khecf5xrO++f/p5EQX4uG87TbbAmE0OQys/JgKMnNggDzqon5bpHboimLfQiFPw716NbTqMphjfw==\", \"peerDependencies\": { \"@xterm/xterm\": \"^5.6.0-beta.56\" \"@xterm/xterm\": \"^5.6.0-beta.64\" } }, \"node_modules/@xterm/addon-search\": { \"version\": \"0.16.0-beta.56\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-search/-/addon-search-0.16.0-beta.56.tgz\", \"integrity\": \"sha512-f8aoldPGssse1UR2N3f94fRUc7K3eulb+F80MFhim4rP+shX3QO9QdEZtwr+JaPEujjnuBM5tQKQDuRQtbwuMQ==\", \"version\": \"0.16.0-beta.64\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-search/-/addon-search-0.16.0-beta.64.tgz\", \"integrity\": \"sha512-vUsvTkEOFJwv8nVtiiGr/vTMeQhu62VkUejY2h1+yZagnVEusGVPU1JYoqBTLu5HM4cFiTGsJYXFI/0apASXYA==\", \"peerDependencies\": { \"@xterm/xterm\": \"^5.6.0-beta.56\" \"@xterm/xterm\": \"^5.6.0-beta.64\" } }, \"node_modules/@xterm/addon-serialize\": { \"version\": \"0.14.0-beta.56\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-serialize/-/addon-serialize-0.14.0-beta.56.tgz\", \"integrity\": \"sha512-VGAYJXFfXuY1Ze8CliT28DoYI74s8fdTI9919C0sgWwtzfAa7W43jJ56g0oKVEM0wO20wfdESapwpQ7enMzrHQ==\", \"version\": \"0.14.0-beta.64\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-serialize/-/addon-serialize-0.14.0-beta.64.tgz\", \"integrity\": \"sha512-0AqVveTV3Pr9Lp+beJYOP5WuRvIrPSDGAK24da7BRGcLIKVq8pok1FdlM9jPeUbkX0DKo6Ortm77qeb2Z+n8+A==\", \"peerDependencies\": { \"@xterm/xterm\": \"^5.6.0-beta.56\" \"@xterm/xterm\": \"^5.6.0-beta.64\" } }, \"node_modules/@xterm/addon-unicode11\": { \"version\": \"0.9.0-beta.56\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-unicode11/-/addon-unicode11-0.9.0-beta.56.tgz\", \"integrity\": \"sha512-oWa8xLWMDKgJboqOT57PaNAWYz+2INW5aUc24E0Nzv+gKXVy+8lRoqy50m3DhsOb1YtDaPVloqvambKBaXSing==\", \"version\": \"0.9.0-beta.64\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-unicode11/-/addon-unicode11-0.9.0-beta.64.tgz\", \"integrity\": \"sha512-3+PKu+DXFq32xlsYfnI058/T8dTY2tQhRpJLP2CNR/jVWk5uBkVO0dBV0Srqj5QOAlAhzzZuS6TbsVRXORptqw==\", \"peerDependencies\": { \"@xterm/xterm\": \"^5.6.0-beta.56\" \"@xterm/xterm\": \"^5.6.0-beta.64\" } }, \"node_modules/@xterm/addon-webgl\": { \"version\": \"0.19.0-beta.56\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-webgl/-/addon-webgl-0.19.0-beta.56.tgz\", \"integrity\": \"sha512-aYNRENPJBb1uoV7QifEwCnbjCXmQD5yQmuxNJab3bOZ68aCSGC/EKc4/4Ov0klkXi8ceF4ZnbNiqAX3jw5L1jg==\", \"version\": \"0.19.0-beta.64\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-webgl/-/addon-webgl-0.19.0-beta.64.tgz\", \"integrity\": \"sha512-cxTkMPAXPQAZnWqahNu7ff9mbJvM1sQqKnZWiFZAHTsZXym4oa3KCB4pjH4didSyYkhkPY/17E8I0UOUpvv0Yw==\", \"peerDependencies\": { \"@xterm/xterm\": \"^5.6.0-beta.56\" \"@xterm/xterm\": \"^5.6.0-beta.64\" } }, \"node_modules/@xterm/xterm\": { \"version\": \"5.6.0-beta.56\", \"resolved\": \"https://registry.npmjs.org/@xterm/xterm/-/xterm-5.6.0-beta.56.tgz\", \"integrity\": \"sha512-gtLrCQNkF1LikB21Bj9JYiBrrXMMvPEZkOIiA7MlXoSd7T7v+GYPumrODB2SBuhPdZ8N66z2rbUOfSRzxGwMtA==\" \"version\": \"5.6.0-beta.64\", \"resolved\": \"https://registry.npmjs.org/@xterm/xterm/-/xterm-5.6.0-beta.64.tgz\", \"integrity\": \"sha512-iSKS6tQTFpoN5y487eptlxkUT0jqK5hrvtFQMLugMcQdn7gCUCiFGa4Z1RdqKYSGvAypka+b9gMKPrKWZ7Q3yQ==\" }, \"node_modules/js-base64\": { \"version\": \"3.7.7\","} {"_id":"q-en-vscode-60621ef8d17f284ce1b6114edc1b7c3b07dad10088364f6f4c2817d7347a7020","text":"this.emit('change'); } private static getUpdateChannel(): string { const channel = settings.manager.getValue('update.channel') || 'default'; return channel === 'none' ? null : env.quality; } private static getUpdateFeedUrl(channel: string): string { if (!channel) { return null; } if (platform.isLinux) { return null; }"} {"_id":"q-en-vscode-6071747971f9d0bbbff3a0c518b2af45726564d5478fc0945bb192cf97b14faa","text":"})); this.prevBtn = this._register(new SimpleButton({ label: NLS_PREVIOUS_MATCH_BTN_LABEL, label: NLS_PREVIOUS_MATCH_BTN_LABEL + (options.previousMatchActionId ? this._getKeybinding(options.previousMatchActionId) : ''), icon: findPreviousMatchIcon, onTrigger: () => { this.find(true);"} {"_id":"q-en-vscode-60c16f84f3254b49b1bbdb91d3d3c82f0904377608ed368ef03278e24eb2b2c7","text":"const previousSelectedRoot = this.storageService.get(DEBUG_SELECTED_ROOT, StorageScope.WORKSPACE); const previousSelectedLaunch = this.launches.find(l => l.uri.toString() === previousSelectedRoot); this.debugConfigurationTypeContext = CONTEXT_DEBUG_CONFIGURATION_TYPE.bindTo(contextKeyService); const storedConfig = this.storageService.get(DEBUG_SELECTED_CONFIG, StorageScope.WORKSPACE); const selectedConfig = typeof storedConfig === 'string' ? JSON.parse(storedConfig) : undefined; if (previousSelectedLaunch && previousSelectedLaunch.getConfigurationNames().length) { this.selectConfiguration(previousSelectedLaunch, this.storageService.get(DEBUG_SELECTED_CONFIG_NAME_KEY, StorageScope.WORKSPACE), selectedConfig); this.selectConfiguration(previousSelectedLaunch, this.storageService.get(DEBUG_SELECTED_CONFIG_NAME_KEY, StorageScope.WORKSPACE)); } else if (this.launches.length > 0) { this.selectConfiguration(undefined, selectedConfig ? selectedConfig.name : undefined, selectedConfig); this.selectConfiguration(undefined); } }"} {"_id":"q-en-vscode-60c92611dd5d212759c50c6ef1234baa6198dd8573a1d284c148d2c52a7bee96","text":"setTimeout(() => { dom.addClass(this._innerDomNode, 'visible'); dom.addClass(this._innerDomNode, 'visible-transition'); this._innerDomNode.setAttribute('aria-hidden', 'false'); }, 0); } public hide(): void { if (this._isVisible) { this._isVisible = false; dom.removeClass(this._innerDomNode, 'visible'); dom.removeClass(this._innerDomNode, 'visible-transition'); this._innerDomNode.setAttribute('aria-hidden', 'true'); // Need to delay toggling visibility until after Transition, then visibility hidden - removes from tabIndex list setTimeout(() => { this._isVisible = false; dom.removeClass(this._innerDomNode, 'visible'); }, 200); } }"} {"_id":"q-en-vscode-60c9a0dc75a8f384010bc6807766438e3f2b3a784f3e199701817e6943c85f18","text":"}); test('Snippets show in inline suggestions even though they are turned off #175190', async function () { const completions: SuggestInlineCompletions = insta.createInstance(SuggestInlineCompletions); const completions: SuggestInlineCompletions = disposables.add(insta.createInstance(SuggestInlineCompletions)); { // unfiltered"} {"_id":"q-en-vscode-60ded0daa0fc72f456ef0d6cf8bc03195fd5c8c1cf7e63e3415573a1e57c85dd","text":"resolved \"https://registry.yarnpkg.com/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz#aa58042711d6e3275dd37dc597e5d31e8c290a44\" integrity sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q== \"@vscode/gulp-electron@^1.35.0\": version \"1.35.0\" resolved \"https://registry.yarnpkg.com/@vscode/gulp-electron/-/gulp-electron-1.35.0.tgz#b66aa307b1edefb0b37988faf29b82ab9974c466\" integrity sha512-FjRdAlfJBflFs28RYBaJ3gK/LHFZ4T34nP/FnKZrwNjWq5ojDC9WiwOMDHaG7wP7AKBcxh267Gz2epghMeO1ng== \"@vscode/gulp-electron@^1.36.0\": version \"1.36.0\" resolved \"https://registry.yarnpkg.com/@vscode/gulp-electron/-/gulp-electron-1.36.0.tgz#b2895c4bafaa0cf2b13042aa654e9fdd1f3a90cd\" integrity sha512-zGNnxN2mccAa0fgyjUn0+HUX4sv4syUfoLQru3/QAQYki1oeqnkPpCXZxhismFmWpXwTwsf5sXeh1AOs8uyU0g== dependencies: \"@electron/get\" \"^2.0.2\" \"@octokit/rest\" \"^18.0.14\""} {"_id":"q-en-vscode-60ee0c7748fbcf8b961b726b544027fbf60631d9a1110fb7218a3d01db2afc08","text":"} } export class FocusActiveGroupAction extends Action { public static ID = 'workbench.action.focusActiveEditorGroup'; public static LABEL = nls.localize('focusActiveEditorGroup', \"Focus Active Editor Group\"); constructor( id: string, label: string, @IWorkbenchEditorService private editorService: IWorkbenchEditorService ) { super(id, label); } public run(): TPromise { const activeEditor = this.editorService.getActiveEditor(); if (activeEditor) { activeEditor.focus(); } return TPromise.as(true); } } export class FocusFirstGroupAction extends Action { public static ID = 'workbench.action.focusFirstEditorGroup';"} {"_id":"q-en-vscode-60f07cec8a1733b9a9d97feea3bc70b952c1523382fa6b3e19f7be11b34cefb4","text":"dom.append(container, this._domNode); this._pickedColorNode = dom.append(this._domNode, $('.picked-color')); dom.append(this._pickedColorNode, $('span.codicon.codicon-color-mode')); this._pickedColorPresentation = dom.append(this._pickedColorNode, document.createElement('span')); this._pickedColorPresentation.classList.add('picked-color-presentation'); const tooltip = localize('clickToToggleColorOptions', \"Click to toggle color options (rgb/hsl/hex)\"); this._pickedColorNode.setAttribute('title', tooltip);"} {"_id":"q-en-vscode-60f81fe8baa3764d2e5af64cce7b4e4ad8be93874b33cd440aa5ca606c69f078","text":"} active(): void { this.elements.main.classList.add('recording'); this.domNode.classList.add('recording'); } hide() { this.elements.main.classList.remove('recording'); this.domNode.classList.remove('recording'); this.editor.removeContentWidget(this); } }"} {"_id":"q-en-vscode-6126fe677ef4a9a5aea26612f8f1ba5618e37d1a9a0366d12637a75a126d77f9","text":"'editor.snippetSuggestions', 'editor.selectionHighlight', 'editor.glyphMargin', 'php.validate.run', 'editor.wordSeparators', 'editor.mouseWheelScrollSensitivity', 'editor.suggestOnTriggerCharacters',"} {"_id":"q-en-vscode-613e749f9e3a8f97432ab8108b54700d023cad008bbd76fdf29bd2f4832f7427","text":"export interface IUserDataProfileContentHandler { readonly name: string; readonly description?: string; readonly extensionId?: string; saveProfile(name: string, content: string, token: CancellationToken): Promise; readProfile(idOrUri: string | URI, token: CancellationToken): Promise;"} {"_id":"q-en-vscode-613f4d5491c35fdb9f3edd1974db3b07573f95156292fcb8da813eda175992ec","text":"return; } // Disable ourselves if there's also a text entry with the same content as our list, // In some browsers, copying from the address bar sets both text/uri-list and text/plain. // Disable ourselves if there's also a text entry with the same http(s) uri as our list, // unless we are explicitly requested. if (uriList.entries.length === 1 && !context?.only?.contains(ResourcePasteOrDropProvider.kind)) { if ( uriList.entries.length === 1 && (uriList.entries[0].uri.scheme === Schemes.http || uriList.entries[0].uri.scheme === Schemes.https) && !context?.only?.contains(ResourcePasteOrDropProvider.kind) ) { const text = await dataTransfer.get(Mime.textPlain)?.asString(); if (token.isCancellationRequested) { return;"} {"_id":"q-en-vscode-6191f936a3a92581608827afa5f6bde4774e8d6df8d64fbaae21179a815fa6a7","text":"const snippets: Promise>[] = []; let i = 0; const renderer = new marked.Renderer(); renderer.code = ({ lang }: Tokens.Code) => { const renderer = new marked.marked.Renderer(); renderer.code = ({ lang }: marked.Tokens.Code) => { i++; const resource = this.options.resource.with({ scheme: Schemas.walkThroughSnippet, fragment: `${i}.${lang}` }); snippets.push(this.textModelResolverService.createModelReference(resource)); return `
`; }; content = marked(content, { async: false, renderer }); const m = new marked.Marked({ renderer }, markedGfmHeadingIdPlugin()); content = m.parse(content, { async: false }); return Promise.all(snippets) .then(refs => new WalkThroughModel(content, refs)); });"} {"_id":"q-en-vscode-61a2ab4c378c431acd21743a932eb2639459a800fa53c26121fda96d6f565aab","text":"try { const userDataProfilesExportState = disposables.add(this.instantiationService.createInstance(UserDataProfileExportState, this.userDataProfileService.currentProfile)); const barrier = new Barrier(); const exportAction = new BarrierAction(barrier, new Action('export', localize('export', \"Export\"), undefined, true, () => { const exportAction = new BarrierAction(barrier, new Action('export', localize('export', \"Export\"), undefined, true, async () => { exportAction.enabled = false; return this.doExportProfile(userDataProfilesExportState); })); const closeAction = new BarrierAction(barrier, new Action('close', localize('close', \"Close\"))); try { await this.doExportProfile(userDataProfilesExportState); } catch (error) { this.notificationService.error(error); throw error; } }), this.notificationService); const closeAction = new BarrierAction(barrier, new Action('close', localize('close', \"Close\")), this.notificationService); await this.showProfilePreviewView(EXPORT_PROFILE_PREVIEW_VIEW, userDataProfilesExportState.profile.name, exportAction, closeAction, true, userDataProfilesExportState); disposables.add(this.userDataProfileService.onDidChangeCurrentProfile(e => barrier.open())); await barrier.wait();"} {"_id":"q-en-vscode-61b040b53e78b62175b44468ea4cf85bd80a13256d57849c96dc4e8a51ed5a27","text":"} })); this._configureForScreenReader(); this._register(this._accessibilityService.onDidChangeScreenReaderOptimized(() => this._configureForScreenReader())); this._register(this._configurationService.onDidChangeConfiguration((e) => { if (e.affectedKeys.has(AccessibilityVerbositySettingId.Chat)) { this._configureForScreenReader(); } })); const editorElement = dom.append(this.element, $('.interactive-result-editor')); this.editor = this._register(scopedInstantiationService.createInstance(CodeEditorWidget, editorElement, { ...getSimpleEditorOptions(),"} {"_id":"q-en-vscode-61d7740e142c48e3824abe4cb100d937cbee359c24ade98c0af8fd9c2ae6a0ac","text":"newValue = 'overviewRuler'; } await this._configurationService.updateValue(TerminalSettingId.ShellIntegrationDecorationsEnabled, newValue); }); })); quickPick.ok = false; quickPick.show(); }"} {"_id":"q-en-vscode-621140be382f288a68fc0faef141d9efce4d89053ba7974f3c2333d7f240b727","text":"return; } // This can happen when focus is in the details-panel and when // arrow keys are pressed to select next/prev items this._setState(State.Open); if (this._state === State.Details) { // This can happen when focus is in the details-panel and when // arrow keys are pressed to select next/prev items this._setState(State.Open); } if (!e.elements.length) { if (this._currentSuggestionDetails) {"} {"_id":"q-en-vscode-623bc039807331f88edaa7da19e33a150d0459153404cf85cbbbb22a748de882","text":"} public static collectResultsFromEvent(event: Event): PPromise { let listener: IDisposable; const promise = new PPromise((c, e, p) => { setTimeout(() => { const listener = event(ev => { listener = event(ev => { if (isSerializedSearchComplete(ev)) { if (isSerializedSearchSuccess(ev)) { c(ev);"} {"_id":"q-en-vscode-6259c7050d259d7b1319c893e8e576e3911a8ee307a6e71761e17657f6a73d8b","text":"export const conflictBorderUnhandledUnfocused = registerColor( 'mergeEditor.conflict.unhandledUnfocused.border', { dark: '#ffa6007a', light: '#ffa6007a', hcDark: '#ffa6007a', hcLight: '#ffa6007a', }, { dark: '#ffa6007a', light: '#ffa600FF', hcDark: '#ffa6007a', hcLight: '#ffa6007a', }, localize('mergeEditor.conflict.unhandledUnfocused.border', 'The border color of unhandled unfocused conflicts.') );"} {"_id":"q-en-vscode-62b3d18304d85150c41055099c59a916994daa3aa301101cfe206feef3ee4750","text":"this.proxy = context.getProxy(ExtHostContext.ExtHostProfileContentHandlers); } async $registerProfileContentHandler(id: string, name: string, extensionId: string): Promise { async $registerProfileContentHandler(id: string, name: string, description: string | undefined, extensionId: string): Promise { this.registeredHandlers.set(id, this.userDataProfileImportExportService.registerProfileContentHandler(id, { name, description, extensionId, saveProfile: async (name: string, content: string, token: CancellationToken) => { const result = await this.proxy.$saveProfile(id, name, content, token);"} {"_id":"q-en-vscode-62b6d6e6443f80ae0d3f00d8833f38399dafa22a7fd4a8a80a6679196f998d8c","text":"registry.registerWorkbenchAction(new SyncActionDescriptor(CloseEditorsInOtherGroupsAction, CloseEditorsInOtherGroupsAction.ID, CloseEditorsInOtherGroupsAction.LABEL), 'View: Close Editors in Other Groups', category); registry.registerWorkbenchAction(new SyncActionDescriptor(SplitEditorAction, SplitEditorAction.ID, SplitEditorAction.LABEL, { primary: KeyMod.CtrlCmd | KeyCode.US_BACKSLASH }), 'View: Split Editor', category); registry.registerWorkbenchAction(new SyncActionDescriptor(NavigateBetweenGroupsAction, NavigateBetweenGroupsAction.ID, NavigateBetweenGroupsAction.LABEL), 'View: Navigate Between Editor Groups', category); registry.registerWorkbenchAction(new SyncActionDescriptor(FocusActiveGroupAction, FocusActiveGroupAction.ID, FocusActiveGroupAction.LABEL), 'View: Focus Active Editor Group', category); registry.registerWorkbenchAction(new SyncActionDescriptor(FocusFirstGroupAction, FocusFirstGroupAction.ID, FocusFirstGroupAction.LABEL, { primary: KeyMod.CtrlCmd | KeyCode.KEY_1 }), 'View: Focus Left Editor Group', category); registry.registerWorkbenchAction(new SyncActionDescriptor(FocusSecondGroupAction, FocusSecondGroupAction.ID, FocusSecondGroupAction.LABEL, { primary: KeyMod.CtrlCmd | KeyCode.KEY_2 }), 'View: Focus Center Editor Group', category); registry.registerWorkbenchAction(new SyncActionDescriptor(FocusThirdGroupAction, FocusThirdGroupAction.ID, FocusThirdGroupAction.LABEL, { primary: KeyMod.CtrlCmd | KeyCode.KEY_3 }), 'View: Focus Right Editor Group', category);"} {"_id":"q-en-vscode-62db887b755888ba2f9e02fa609455f48fa093cd63aa87030c1e24e6905e031b","text":" No newline at end of file No newline at end of file"} {"_id":"q-en-vscode-62f374d8bd6ef8e1eee87fa6ab1fa2ecb4832055c3336267a4cb98a8f4bac848","text":"type, extension: extension.description, entrypoint: notebookContribution.entrypoint, localResourceRoots: notebookContribution.localResourceRoots ?? [], })); } }"} {"_id":"q-en-vscode-62f8586c521014ff63c11338434287c73b842d4f3f94d7ec86079fe6afeac331","text":"\"background\": \"#DDFFDD\", \"foreground\": \"#434343\" } } }, { \"name\": \"JSX: Tags\", \"scope\": [ \"punctuation.definition.tag.js\", \"punctuation.definition.tag.begin.js\", \"punctuation.definition.tag.end.js\" ], \"settings\": { \"foreground\": \"#91B3E0\" } }, { \"name\": \"JSX: InnerText\", \"scope\": \"meta.jsx.children.js\", \"settings\": { \"foreground\": \"#333333ff\" } } ], \"colors\": { \"focusBorder\": \"#A6B39B\","} {"_id":"q-en-vscode-632f92cda0a81a09b64f446ce62ce75e1ae0c535bb20e206d2a48c6a63e20d33","text":"*--------------------------------------------------------------------------------------------*/ import { asArray, coalesce, isNonEmptyArray } from 'vs/base/common/arrays'; import { VSBuffer } from 'vs/base/common/buffer'; import { encodeBase64, VSBuffer } from 'vs/base/common/buffer'; import * as htmlContent from 'vs/base/common/htmlContent'; import { DisposableStore } from 'vs/base/common/lifecycle'; import { ResourceSet } from 'vs/base/common/map';"} {"_id":"q-en-vscode-6333b1d7f41755b5ed0785d740870b0bb0536b38743109af76fa2e839e4b6721","text":"private setViewState(state: IViewState): void { this.viewState = state; this.stylesheet.textContent = ` .monaco-editor .dirty-diff-modified,.monaco-editor .dirty-diff-added{border-left-width:${state.width}px;} .monaco-editor .dirty-diff-modified { background-size: ${state.width}px 4.5px; } .monaco-editor .dirty-diff-modified, .monaco-editor .dirty-diff-added{border-left-width:${state.width}px;} .monaco-editor .dirty-diff-modified, .monaco-editor .dirty-diff-added, .monaco-editor .dirty-diff-deleted { opacity: ${state.visibility === 'always' ? 1 : 0}; }"} {"_id":"q-en-vscode-634710f55da498de7c6ba09b574a6ca0f8bb73a47a5647ab03f05eba0d43537b","text":"return; } if (!this._configurationService.getValue(TerminalSettingId.AccessibleViewFocusOnCommandExecution)) { this._onCommandExecutedShowListener.clear(); this._onDidRunCommand.clear(); return; } else if (this._onCommandExecutedShowListener.value) { } else if (this._onDidRunCommand.value) { return; } const capability = this._instance.capabilities.get(TerminalCapability.CommandDetection)!; this._onCommandExecutedShowListener.value = this._register(capability.onCommandExecuted(() => { this._onDidRunCommand.value = this._register(capability.onCommandExecuted(() => { if (this._instance.hasFocus) { this.show(); }"} {"_id":"q-en-vscode-635435ff4f20ab2d412cca6c69a5152424d7c85412fc0bc6b644cf8b3bace25a","text":"* Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import type * as vscode from 'vscode'; import { createCancelablePromise, firstParallel, timeout } from '../../../base/common/async.js'; import { IDisposable } from '../../../base/common/lifecycle.js'; import * as vscode from 'vscode'; import { createCancelablePromise, disposableTimeout, firstParallel, RunOnceScheduler, timeout } from '../../../base/common/async.js'; import { DisposableStore, IDisposable } from '../../../base/common/lifecycle.js'; import * as platform from '../../../base/common/platform.js'; import * as nls from '../../../nls.js'; import { IExternalTerminalService } from '../../../platform/externalTerminal/common/externalTerminal.js';"} {"_id":"q-en-vscode-6355eb3b6bd2dd9a6306d34eb5bfd460a2592c52594210e2720c571a7df7acbe","text":"import { DisposableStore, MutableDisposable } from 'vs/base/common/lifecycle'; import { extname, isEqual } from 'vs/base/common/resources'; import { URI } from 'vs/base/common/uri'; import { generateUuid } from 'vs/base/common/uuid'; import { ITextResourceConfigurationService } from 'vs/editor/common/services/textResourceConfiguration'; import { localize } from 'vs/nls'; import { IContextKeyService } from 'vs/platform/contextkey/common/contextkey';"} {"_id":"q-en-vscode-63629ed5777eb98c88e1d19505bb432950ac1b1a1e2534e7d7161b09f4fa97d7","text":"return super.getActionViewItem(action, options); } /** * Actions might be of type Action (disposable) or Separator or SubmenuAction, which don't extend Disposable */ private _registerDisposableActions(dropdownAction: IAction, dropdownMenuActions: IAction[]): void { this._disposableStore.clear(); if (dropdownAction instanceof Action) { this._disposableStore.add(dropdownAction); } dropdownMenuActions.filter(a => a instanceof Action).forEach(a => this._disposableStore.add(a)); } private _getDefaultProfileName(): string { let defaultProfileName; try {"} {"_id":"q-en-vscode-638a2a47c6e9f7f826430b2759e19d61c785f0cd84ec5b9c91600d0fad63c417","text":"} canNavigate(): boolean { return this.widget?.index === -1 || (!!this.model && this.model.changes.length > 1); return !this.widget || (this.widget?.index === -1) || (!!this.model && this.model.changes.length > 1); } refresh(): void {"} {"_id":"q-en-vscode-63c0b4dde9d8498cff86f63196582ca7b7cce1e670a6303feab0b12ce9e84aa1","text":"const target = mouseEvent.target; const stopKey = env.isMacintosh ? 'metaKey' : 'ctrlKey'; if (!this.altPressed) { if (target.type === MouseTargetType.GUTTER_GLYPH_MARGIN) { this.editor.updateOptions({ hover: { enabled: true } }); this.gutterIsHovered = true; } else if (this.gutterIsHovered) { this.gutterIsHovered = false; this.updateHoverConfiguration(); } } if (target.type === MouseTargetType.CONTENT_WIDGET && target.detail === DebugHoverWidget.ID && !(mouseEvent.event)[stopKey]) { // mouse moved on top of debug hover widget return; } if (target.type === MouseTargetType.CONTENT_TEXT) { if (target.position && !Position.equals(target.position, this.hoverPosition)) { this.hoverPosition = target.position;"} {"_id":"q-en-vscode-642d1aa095aaf46abfb6dbc931b861660be0e6e88526effc4c8958feae3c9abe","text":"} abstract updateOptions(e: NotebookOptionsChangeEvent): void; updateOptions(e: NotebookOptionsChangeEvent): void { if (this._textEditor && typeof e.readonly === 'boolean') { this._textEditor.updateOptions({ readOnly: e.readonly }); } if (typeof e.readonly === 'boolean') { this._isReadonly = e.readonly; } } abstract getHeight(lineHeight: number): number; abstract onDeselect(): void; abstract layoutChange(change: CellLayoutChangeEvent, source?: string): void;"} {"_id":"q-en-vscode-645a26c6c80a105f7a01fe6280d3df51e992b142697b8e7db33da625edf978ee","text":"return position; } private static _doHitTest(ctx: HitTestContext, request: BareHitTestRequest): HitTestResult { public static doHitTest(ctx: HitTestContext, request: BareHitTestRequest): HitTestResult { let result: HitTestResult = new UnknownHitTestResult(); if (typeof (ctx.viewDomNode.ownerDocument).caretRangeFromPoint === 'function') {"} {"_id":"q-en-vscode-6489fb95441e2746efc1b80f0db5cab33ab3fcff461998084827e9be13d052d9","text":"showInStatusBar: 'never' | 'always' | 'onFirstSessionStart'; internalConsoleOptions: 'neverOpen' | 'openOnSessionStart' | 'openOnFirstSessionStart'; extensionHostDebugAdapter: boolean; enableAllHovers: boolean; } export interface IGlobalConfig {"} {"_id":"q-en-vscode-64c844d5624118189173de521f5ccaa26eb18c80e4e40f40cca346d12f8ed0c8","text":"} if (node.hasAttribute('recentlyScrolled')) { if (lastTimeScrolled && Date.now() - lastTimeScrolled > 300) { if (lastTimeScrolled && Date.now() - lastTimeScrolled > 400) { // it has been a while since we actually scrolled // if scroll velocity increases, it's likely a new scroll event if (!!previousDelta && deltaY < 0 && deltaY < previousDelta - 2) { // if scroll velocity increases significantly, it's likely a new scroll event if (!!previousDelta && deltaY < 0 && deltaY < previousDelta - 8) { clearTimeout(scrollTimeout); scrolledElement?.removeAttribute('recentlyScrolled'); return false; } else if (!!previousDelta && deltaY > 0 && deltaY > previousDelta + 2) { } else if (!!previousDelta && deltaY > 0 && deltaY > previousDelta + 8) { clearTimeout(scrollTimeout); scrolledElement?.removeAttribute('recentlyScrolled'); return false;"} {"_id":"q-en-vscode-64fbaca14f15c3dc0fec02a497e42ea9bb1d2f671cb47476778af57c3d7d5ffb","text":"group: 'navigation', isHiddenByDefault: true, }, keybinding: { keybinding: [{ primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.Enter, mac: { primary: KeyMod.WinCtrl | KeyCode.Enter, }, weight: KeybindingWeight.EditorContrib, when: CONTEXT_IN_CHAT_SESSION } when: ContextKeyExpr.and(CONTEXT_IN_CHAT_SESSION, CONTEXT_ACCESSIBILITY_MODE_ENABLED.negate()), }, { primary: KeyMod.CtrlCmd | KeyCode.Slash, mac: { primary: KeyMod.WinCtrl | KeyCode.Slash }, weight: KeybindingWeight.WorkbenchContrib, when: ContextKeyExpr.and(CONTEXT_IN_CHAT_SESSION, CONTEXT_ACCESSIBILITY_MODE_ENABLED), }] }); }"} {"_id":"q-en-vscode-654916cf12b0cd91faa4b5a4c45f3f1c4e0cc74bedee563a192573b9c4b6f213","text":"@IClipboardService private readonly _clipboardService: IClipboardService, @ISuggestMemoryService private readonly _suggestMemoryService: ISuggestMemoryService, @ICodeEditorService private readonly _editorService: ICodeEditorService, ) { } ) { super(); this._store.add(_languageFeatureService.inlineCompletionsProvider.register('*', this)); } async provideInlineCompletions(model: ITextModel, position: Position, context: InlineCompletionContext, token: CancellationToken): Promise {"} {"_id":"q-en-vscode-6575290cbdc6ba1467ae557f084797296e1e3ae6d20c04f1ed1efa15dfc6a68c","text":"}; function getTarget() { return document.getElementById('_target'); return document.getElementById('_target');; }; const ipcRenderer = require('electron').ipcRenderer;"} {"_id":"q-en-vscode-65db4ab410361e17d9c0a91de4efba1a8910a963e85ee419e526a56aa3ca014d","text":"const isServerless = platform.isWeb && !accessor.get(IWorkbenchEnvironmentService).remoteAuthority; return ` ## Interactive Editor Playground The core editor in VS Code is packed with features. This page highlights a number of them and lets you interactively try them out through the use of a number of embedded editors. For full details on the editor features for VS Code and more head over to our [documentation](command:workbench.action.openDocumentationUrl). The core editor in VS Code is packed with features. This page highlights a number of them and lets you interactively try them out through the use of a number of embedded editors. For full details on the editor features for VS Code and more head over to our [documentation](https://code.visualstudio.com/docs). * [Multi-cursor Editing](#multi-cursor-editing) - block selection, select all occurrences, add additional cursors and more. * [IntelliSense](#intellisense) - get code assistance and parameter suggestions for your code and external modules."} {"_id":"q-en-vscode-65fdfcdcf7f91aeb7fe3a50ebd668835adf939c5d7215b112f5726fd9f9d153e","text":"} } private doGetChildren(node: IAsyncDataTreeNode): Promise> { private doGetChildren(node: IAsyncDataTreeNode): Promise> | Iterable { let result = this.refreshPromises.get(node); if (result) { return result; } result = createCancelablePromise(async () => { const children = await this.dataSource.getChildren(node.element!); const children = this.dataSource.getChildren(node.element!); if (isIterable(children)) { return this.processChildren(children); }); this.refreshPromises.set(node, result); return result.finally(() => { this.refreshPromises.delete(node); }); } else { result = createCancelablePromise(async () => this.processChildren(await children)); this.refreshPromises.set(node, result); return result.finally(() => { this.refreshPromises.delete(node); }); } } private _onDidChangeCollapseState({ node, deep }: ICollapseStateChangeEvent | null, any>): void {"} {"_id":"q-en-vscode-6610a829b552b30a903cadb912da45d958cd6562309a4f3bfff0810554d74b02","text":"const originalHeaderOpen = md.renderer.rules.heading_open; md.renderer.rules.heading_open = (tokens: MarkdownItToken[], idx: number, options, env, self) => { const title = tokens[idx + 1].children!.reduce((acc, t) => acc + t.content, ''); let slug = slugFromHeading(title); let slug = slugify(title); if (slugCounter.has(slug)) { const count = slugCounter.get(slug)!; slugCounter.set(slug, count + 1); slug = slugFromHeading(slug + '-' + (count + 1)); slug = slugify(slug + '-' + (count + 1)); } else { slugCounter.set(slug, 0); }"} {"_id":"q-en-vscode-6648da27e39ef22df8e76478e881f638b904dd14e24b75d79caee310a9bae102","text":"}; } async function main(arch = process.arch) { const version = product.electronRepository ? '22.4.5' : util.getElectronVersion(); const version = product.electronRepository ? '22.4.6' : util.getElectronVersion(); const electronPath = path.join(root, '.build', 'electron'); const versionFile = path.join(electronPath, 'version'); const isUpToDate = fs.existsSync(versionFile) && fs.readFileSync(versionFile, 'utf8') === `${version}`;"} {"_id":"q-en-vscode-665bffc4e7201bdb3cc21fb58b951ea89cdb23089a36baa59e268a76993975ed","text":"import { Action2, registerAction2 } from 'vs/platform/actions/common/actions'; import { ICommandService } from 'vs/platform/commands/common/commands'; import { ServicesAccessor } from 'vs/platform/instantiation/common/instantiation'; import { ILogService } from 'vs/platform/log/common/log'; import { INotificationService } from 'vs/platform/notification/common/notification'; type RunnableCommand = string | { command: string; args: any[] };"} {"_id":"q-en-vscode-6664d490c09daef33d65f1d32e95ab2abef27fec958931c044a280e6ebfd5ff3","text":"\"resolved\": \"https://registry.npmjs.org/semver/-/semver-4.3.6.tgz\" }, \"typescript\": { \"version\": \"2.1.5-insiders.20161229\", \"from\": \"typescript@2.1.5-insiders.20161229\", \"resolved\": \"https://registry.npmjs.org/typescript/-/typescript-2.1.5-insiders.20161229.tgz\" \"version\": \"2.1.5\", \"from\": \"typescript@2.1.5\", \"resolved\": \"https://registry.npmjs.org/typescript/-/typescript-2.1.5.tgz\" }, \"vscode-extension-telemetry\": { \"version\": \"0.0.5\","} {"_id":"q-en-vscode-6678f3ac8b3cf360d1f048cca50726a4c314ed40c58d093c88a2379ebe410e7f","text":"return 99; }; // Assign priority (current > remote > base > color > name) const ref1Priority = getHistoryItemRefPriority(ref1); const ref2Priority = getHistoryItemRefPriority(ref2); // Assign order (current > remote > base > color) const ref1Order = getHistoryItemRefOrder(ref1); const ref2Order = getHistoryItemRefOrder(ref2); if (ref1Priority !== ref2Priority) { return ref1Priority - ref2Priority; } else { return ref1.name.localeCompare(ref2.name); } return ref1Order - ref2Order; }"} {"_id":"q-en-vscode-6685798bf2ec6ac7451bcdd6a2f61d7fcf59b297186528ce77e4c28e5b2d80dc","text":"import { extHostNamedCustomer } from 'vs/workbench/api/common/extHostCustomers'; import { IDisposable } from 'vs/base/common/lifecycle'; import { IExtensionIdWithVersion, IExtensionsStorageSyncService } from 'vs/platform/userDataSync/common/extensionsStorageSync'; import { ILogService } from 'vs/platform/log/common/log'; @extHostNamedCustomer(MainContext.MainThreadStorage) export class MainThreadStorage implements MainThreadStorageShape {"} {"_id":"q-en-vscode-66a9329d1548e62c231b1ec7b62fb473ab59d53083355232cc18fa958837b7e6","text":"import { MANAGE_TRUST_COMMAND_ID, WorkspaceTrustContext } from 'vs/workbench/contrib/workspace/common/workspace'; import { IQuickDiffService } from 'vs/workbench/contrib/scm/common/quickDiff'; import { QuickDiffService } from 'vs/workbench/contrib/scm/common/quickDiffService'; import { getActiveElement } from 'vs/base/browser/dom'; import { getActiveElement, isActiveElement } from 'vs/base/browser/dom'; import { SCMWorkingSetController } from 'vs/workbench/contrib/scm/browser/workingSet'; import { IViewsService } from 'vs/workbench/services/views/common/viewsService'; import { IListService, WorkbenchList } from 'vs/platform/list/browser/listService'; import { isSCMRepository } from 'vs/workbench/contrib/scm/browser/util'; ModesRegistry.registerLanguage({ id: 'scminput',"} {"_id":"q-en-vscode-66bf4a718fbd2f7ff470586f8617e6750724fabdd4172b7b36cbd7965ec1d55a","text":"return this.configurationService.getValue('notebook.diff.ignoreOutputs') || !!(this.mainDocumentTextModel?.transientOptions.transientOutputs); } private get ignoreMetadata() { return this.configurationService.getValue('notebook.diff.ignoreMetadata'); } private _sourceEditorViewState: editorCommon.ICodeEditorViewState | editorCommon.IDiffEditorViewState | null = null; private _outputEditorViewState: editorCommon.ICodeEditorViewState | editorCommon.IDiffEditorViewState | null = null; private _metadataEditorViewState: editorCommon.ICodeEditorViewState | editorCommon.IDiffEditorViewState | null = null;"} {"_id":"q-en-vscode-66eca76a965452ff7917a8415f3e20429664c21c1489a82a52f2ea7357521110","text":"state: getIEditor(activeEditorPane.getControl())?.saveViewState() ?? undefined, }; } } /**"} {"_id":"q-en-vscode-66ff5d445ad129b4664442f83cd7ccda212c080b0d8ba24f8b31beb62a50f0f2","text":"private async pickContinueEditSessionDestination(): Promise { const quickPick = this.quickInputService.createQuickPick(); quickPick.title = localize('continueEditSessionPick.title', 'Continue Edit Session...'); const workspaceContext = this.contextService.getWorkbenchState() === WorkbenchState.FOLDER ? this.contextService.getWorkspace().folders[0].name : this.contextService.getWorkspace().folders.map((folder) => folder.name).join(', '); quickPick.title = localize('continueEditSessionPick.title', \"Continue {0} on\", `'${workspaceContext}'`); quickPick.placeholder = localize('continueEditSessionPick.placeholder', 'Choose how you would like to continue working'); quickPick.items = this.createPickItems();"} {"_id":"q-en-vscode-6709140ce0ea812ca26e15cb981d9609ac3f95c26883e954dc27689b97e016fc","text":"if (compressedNode) { for (let i = 0; i < compressedNode.elements.length; i++) { const id = getId(compressedNode.elements[i].element as T); const element = compressedNode.elements[compressedNode.elements.length - 1].element as T; if (oldSelection.has(id)) { selection.push(compressedNode.elements[compressedNode.elements.length - 1].element as T); // github.com/microsoft/vscode/issues/85938 if (oldSelection.has(id) && selection.indexOf(element) === -1) { selection.push(element); didChangeSelection = true; } if (oldFocus.has(id)) { focus.push(compressedNode.elements[compressedNode.elements.length - 1].element as T); if (oldFocus.has(id) && focus.indexOf(element) === -1) { focus.push(element); didChangeFocus = true; } }"} {"_id":"q-en-vscode-6710494abf54e163a0c9fd0d0b1c517f2c5bc785c477911e6e83752de500a6a5","text":"const outDir = path.join(outputRoot, 'media'); async function build() { fs.copyFileSync( path.join(__dirname, 'node_modules', 'vscode-codicons', 'dist', 'codicon.css'), path.join(outDir, 'codicon.css')); fs.copyFileSync( path.join(__dirname, 'node_modules', 'vscode-codicons', 'dist', 'codicon.ttf'), path.join(outDir, 'codicon.ttf')); await esbuild.build({ entryPoints: [ path.join(srcDir, 'index.ts') ], entryPoints: { 'index': path.join(srcDir, 'index.ts'), 'codicon': path.join(__dirname, 'node_modules', 'vscode-codicons', 'dist', 'codicon.css'), }, loader: { '.ttf': 'dataurl', }, bundle: true, minify: true, sourcemap: false,"} {"_id":"q-en-vscode-677fcebb6f977b4122feba7424bcbc920330ec7016332e3d7231166563723a47","text":"IgnoreBracketedPasteMode = 'terminal.integrated.ignoreBracketedPasteMode', FocusAfterRun = 'terminal.integrated.focusAfterRun', AccessibleViewPreserveCursorPosition = 'terminal.integrated.accessibleViewPreserveCursorPosition', AccessibleViewFocusOnCommandExecution = 'terminal.integrated.accessibleViewFocusOnCommandExecution', // Debug settings that are hidden from user"} {"_id":"q-en-vscode-67989e383db1a590e56b99518727bcca2dd2c58b0ee4aea2d061fde334eb57fd","text":"} } private static _createMouseTarget(ctx: HitTestContext, request: HitTestRequest, domHitTestExecuted: boolean): IMouseTarget { private static _createMouseTarget(ctx: HitTestContext, request: HitTestRequest): IMouseTarget { // console.log(`${domHitTestExecuted ? '=>' : ''}CAME IN REQUEST: ${request}`); // First ensure the request has a target if (request.target === null) { if (domHitTestExecuted) { // Still no target... and we have already executed hit test... return request.fulfillUnknown(); } const hitTestResult = MouseTargetFactory._doHitTest(ctx, request); if (hitTestResult.type === HitTestResultType.Content) { return MouseTargetFactory.createMouseTargetFromHitTestPosition(ctx, request, hitTestResult.spanNode, hitTestResult.position, hitTestResult.injectedText); } return this._createMouseTarget(ctx, request.withTarget(hitTestResult.hitTarget), true); // No target return request.fulfillUnknown(); } // we know for a fact that request.target is not null"} {"_id":"q-en-vscode-679c177f3cd818fe0cff057fb9d6b56edfc71cd9446702f342f88619c7b0065b","text":"} private static _getLineDecorations(editor: IActiveCodeEditor, anchor: HoverAnchor): IModelDecoration[] { if (anchor.type !== HoverAnchorType.Range) { if (anchor.type !== HoverAnchorType.Range && !anchor.supportsMarkerHover) { return []; }"} {"_id":"q-en-vscode-67ac944ba0a66b9f20cb101a0cbb6962a805b489d3b14a6e9890530ffbd67e08","text":"import { compareIgnoreCase } from 'vs/base/common/strings'; import { IExtensionIdentifier, IGalleryExtension, ILocalExtension, getTargetPlatform } from 'vs/platform/extensionManagement/common/extensionManagement'; import { ExtensionIdentifier, IExtension, TargetPlatform } from 'vs/platform/extensions/common/extensions'; import { ExtensionIdentifier, IExtension, TargetPlatform, UNDEFINED_PUBLISHER } from 'vs/platform/extensions/common/extensions'; import { IFileService } from 'vs/platform/files/common/files'; import { isLinux, platform } from 'vs/base/common/platform'; import { URI } from 'vs/base/common/uri';"} {"_id":"q-en-vscode-67bcc4f2cb320aad7a83aafd3f7dec219dd6238bbff5c1c06d47faea3e833f21","text":"import { localize } from 'vs/nls'; import { URI } from 'vs/base/common/uri'; import { IResourceEditorInput, IEditorOptions } from 'vs/platform/editor/common/editor'; import { IEditorPane, IEditorCloseEvent, EditorResourceAccessor, IEditorIdentifier, GroupIdentifier, EditorsOrder, SideBySideEditor, IUntypedEditorInput, isResourceEditorInput, isEditorInput, isSideBySideEditorInput, EditorCloseContext, IEditorPaneSelection, EditorPaneSelectionCompareResult, EditorPaneSelectionChangeReason, isEditorPaneWithSelection, IEditorPaneSelectionChangeEvent, IEditorPaneWithSelection, IEditorWillMoveEvent } from 'vs/workbench/common/editor'; import { IEditorPane, IEditorCloseEvent, EditorResourceAccessor, IEditorIdentifier, GroupIdentifier, EditorsOrder, SideBySideEditor, IUntypedEditorInput, isResourceEditorInput, isEditorInput, isSideBySideEditorInput, EditorCloseContext, IEditorPaneSelection, EditorPaneSelectionCompareResult, EditorPaneSelectionChangeReason, isEditorPaneWithSelection, IEditorPaneSelectionChangeEvent, IEditorPaneWithSelection, IEditorWillMoveEvent, GroupModelChangeKind } from 'vs/workbench/common/editor'; import { EditorInput } from 'vs/workbench/common/editor/editorInput'; import { IEditorService } from 'vs/workbench/services/editor/common/editorService'; import { GoFilter, GoScope, IHistoryService } from 'vs/workbench/services/history/common/history';"} {"_id":"q-en-vscode-67ef2936ac111e7785f8c031aed9680cb874653f91475199190603cade2dbc61","text":"this._terminalTabs = []; this._configHelper = this._instantiationService.createInstance(TerminalConfigHelper); ipc.on('vscode:openFiles', (_event: any, request: IOpenFileRequest) => { // if the request to open files is coming in from the integrated terminal (identified though // the termProgram variable) and we are instructed to wait for editors close, wait for the"} {"_id":"q-en-vscode-68048491f879c2ab25aaaf7460989c3109f728d47cc26bdca19db0a7af655e7a","text":"import { NotebookProviderInfo } from 'vs/workbench/contrib/notebook/common/notebookProvider'; import { NotebookPerfMarks } from 'vs/workbench/contrib/notebook/common/notebookPerformance'; import { IFilesConfigurationService } from 'vs/workbench/services/filesConfiguration/common/filesConfigurationService'; import { IExtensionService } from 'vs/workbench/services/extensions/common/extensions'; import { localize } from 'vs/nls'; import { IEditorService } from 'vs/workbench/services/editor/common/editorService'; export interface NotebookEditorInputOptions { startDirty?: boolean;"} {"_id":"q-en-vscode-686a680c888ec3e38078d02cc68239ca023b189fb2a1d939224895c6a7d6c7fd","text":"} this._textEditor = editor; if (this._isReadonly) { editor.updateOptions({ readOnly: this._isReadonly }); } if (this._editorViewStates) { this._restoreViewState(this._editorViewStates); } else {"} {"_id":"q-en-vscode-687c3217966ad953f746591c6273affe97db45b7bf5e548a744da1fe0a173c44","text":"resolved \"https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.207.tgz#9c3310ebace2952903d05dcaba8abe3a4ed44c01\" integrity sha512-piH7MJDJp4rJCduWbVvmUd59AUne1AFBJ8JaRQvk0KzNTSUnZrVXHCZc+eg+CGE4OujkcLJznhGKD6tuAshj5Q== electron@25.8.1: version \"25.8.1\" resolved \"https://registry.yarnpkg.com/electron/-/electron-25.8.1.tgz#092fab5a833db4d9240d4d6f36218cf7ca954f86\" integrity sha512-GtcP1nMrROZfFg0+mhyj1hamrHvukfF6of2B/pcWxmWkd5FVY1NJib0tlhiorFZRzQN5Z+APLPr7aMolt7i2AQ== electron@25.8.2: version \"25.8.2\" resolved \"https://registry.yarnpkg.com/electron/-/electron-25.8.2.tgz#5e8ea742b68a7d1427bf78902ec40a5b7231a58b\" integrity sha512-AM1ra6b16EQuO1bJtiA8ZiWqqFLLgVfxD56ykiy+EA5C63Hkx8OmIbe+5JAsLiTwRVvBZ4oCAj6wa2qT+iq8ww== dependencies: \"@electron/get\" \"^2.0.0\" \"@types/node\" \"^18.11.18\""} {"_id":"q-en-vscode-68a09a7edff8c52efa6a30468c65ecb54127c2c714f7559700ad961ec157e0af","text":"this.repositoryDisposables.clear(); } } export class SCMActiveResourceContextKeyController implements IWorkbenchContribution { private contextKey: IContextKey; private disposables = new DisposableStore(); private repositoryDisposables = new Set(); constructor( @IContextKeyService readonly contextKeyService: IContextKeyService, @IEditorService private readonly editorService: IEditorService, @ISCMService private readonly scmService: ISCMService, @IUriIdentityService private readonly uriIdentityService: IUriIdentityService ) { this.contextKey = contextKeyService.createKey('scmActiveResourceHasChanges', false); this.scmService.onDidAddRepository(this.onDidAddRepository, this, this.disposables); for (const repository of this.scmService.repositories) { this.onDidAddRepository(repository); } editorService.onDidActiveEditorChange(this.updateContextKey, this, this.disposables); } private onDidAddRepository(repository: ISCMRepository): void { const onDidChange = Event.any(repository.provider.onDidChange, repository.provider.onDidChangeResources); const changeDisposable = onDidChange(() => this.updateContextKey()); const onDidRemove = Event.filter(this.scmService.onDidRemoveRepository, e => e === repository); const removeDisposable = onDidRemove(() => { disposable.dispose(); this.repositoryDisposables.delete(disposable); this.updateContextKey(); }); const disposable = combinedDisposable(changeDisposable, removeDisposable); this.repositoryDisposables.add(disposable); } private updateContextKey(): void { const activeResource = EditorResourceAccessor.getOriginalUri(this.editorService.activeEditor); if (activeResource && activeResource.scheme === Schemas.file) { for (const repository of this.scmService.repositories) { for (const resourceGroup of repository.provider.groups.elements) { if (resourceGroup.elements.find(scmResource => { return this.uriIdentityService.extUri.isEqual(activeResource, scmResource.sourceUri); })) { this.contextKey.set(true); return; } } } } this.contextKey.set(false); } dispose(): void { this.disposables = dispose(this.disposables); dispose(this.repositoryDisposables.values()); this.repositoryDisposables.clear(); } } "} {"_id":"q-en-vscode-68eb65c3ae88568860bc997b7e3e66837d122792d4ab6e4df8576ffa63113fc6","text":" db3e9eb9f47f465bb63d15de486ea1d9274233b24bbe451038bfbaf48f9b0e39 *electron-v25.8.4-darwin-arm64-symbols.zip 5d83e2094a26bfe22e4c80e660ab088ec94ae3cc2d518c6efcac338f48cc0266 *electron-v25.8.4-darwin-arm64.zip 6fdd506328c65a9d8205425a463098210743c9ef79a546738b91a91d56100447 *electron-v25.8.4-darwin-x64-symbols.zip d4015cd251e58ef074d1f7f3e99bfbbe4cd6b690981f376fc642b2de955e8750 *electron-v25.8.4-darwin-x64.zip b46da627829a84cdf84b5570f95e044d38660fb0e58712757e834ff13b43c72d *electron-v25.8.4-linux-arm64-symbols.zip fbb6e06417b1741b94d59a6de5dcf3262bfb3fc98cffbcad475296c42d1cbe94 *electron-v25.8.4-linux-arm64.zip 2569c260b4bb90894c5e63e175d3ee9665525e928d7c70158c6a9d98cb82f6a9 *electron-v25.8.4-linux-armv7l-symbols.zip 6301e6fde3e7c8149a5eca84c3817ba9ad3ffcb72e79318a355f025d7d3f8408 *electron-v25.8.4-linux-armv7l.zip 63580a081a4481eec2773606e9cd50c3468758741f11a14d6c47ab716c064896 *electron-v25.8.4-linux-x64-symbols.zip 0cbbcaf90f3dc79dedec97d073ffe954530316523479c31b11781a141f8a87f6 *electron-v25.8.4-linux-x64.zip 8860faaaabcc15a531733dd164c858a1cc1bffefdbba7ec54f7687db796f93f3 *electron-v25.8.4-win32-arm64-pdb.zip e909628b4c984b3472c58b3897214e59f55ce69bee99229cdf1451a281865176 *electron-v25.8.4-win32-arm64-symbols.zip 1355293a73da3e5d3f06a6c95c81a5124c4f26be2ec1035ccfcfeccd4c766f5d *electron-v25.8.4-win32-arm64.zip fef9e5ec4d146e6b310137140cee2a1172964e7584540088b1bc7fd1df15f1ff *electron-v25.8.4-win32-x64-pdb.zip 1227ec90ae2fb30e01d4c6814af1adae983b78ea832dea0520caaa8a05ac0390 *electron-v25.8.4-win32-x64-symbols.zip 0bbe72439cab1e72dee5fb850fdb1b17ea16fef61aa3dae93c562687737084f1 *electron-v25.8.4-win32-x64.zip 41e5b5392efcb1b47826f20e2f867dac6026dd435b92f50acb58bfae99b96e08 *ffmpeg-v25.8.4-darwin-arm64.zip bad5ed7f10eef768c95a134cbd6754e9c347eb8bfae871e65975afb96cc49b86 *ffmpeg-v25.8.4-darwin-x64.zip bd52d57ff97fb56ac01a3482af905d04f0d4e9c13c53858c6d9f99957eca82da *ffmpeg-v25.8.4-linux-arm64.zip 9b3d09177fa1e63e2a6beecfa70aeec30aeb5c1873ff21128a68051c4e23f95d *ffmpeg-v25.8.4-linux-armv7l.zip edc7b1c9f1a0733f109a2c0375a4e40c5bfe0bf28b7f06dcc76e1ada0aa2f125 *ffmpeg-v25.8.4-linux-x64.zip 84ec373f124f628ce7d8964e000e79cd1448acec05b92417207baecf9b0f039a *ffmpeg-v25.8.4-win32-arm64.zip 7506346ff7a98377eca26464370a7c5a8c44d010d5c46a8357fa107980582fac *ffmpeg-v25.8.4-win32-x64.zip 4a472f48b54e92855ad77606f11a620523f3abe4ee1bc2997a300ae72da4b2f5 *electron-v25.9.1-darwin-arm64-symbols.zip 247daa6c9faf711162dc623832fcb189d3c1ef6a15884084cb45c8da3a037b6b *electron-v25.9.1-darwin-arm64.zip 7d8ec9d3272dbe356deb09b47ccfda30c421b32f7e906f1186ea26f894b22dc1 *electron-v25.9.1-darwin-x64-symbols.zip 35fc99808ea026a21afeca537c218ace398d299fba7ab73d2630be513f1e1617 *electron-v25.9.1-darwin-x64.zip bfcd6ac66f067cfec08b6d18ed80b519e6d70a96d9b1d31dc2cfcf86f4a9af96 *electron-v25.9.1-linux-arm64-symbols.zip 1c8aa3f13ade23858664b687ad334634ccd698ec7d627554d16cbb596ffa7a0f *electron-v25.9.1-linux-arm64.zip dcfb4a1d6b2ceffa7a8d9a60b9de027d006753eae1278f07de907c474e71c270 *electron-v25.9.1-linux-armv7l-symbols.zip f4320f1888354e17595fb6901c03c383f45325bfba5e6e1b91b4200ff696049f *electron-v25.9.1-linux-armv7l.zip 772dd276d328549e0111b93b43d395de51ff46eba550be48c649c386997125a8 *electron-v25.9.1-linux-x64-symbols.zip 35529c411275791abf9aa46f0a2e216b0affa542757583afb438a76047f6b90c *electron-v25.9.1-linux-x64.zip 5b0b4595691da19258ce0b2c09f58ba969987d24ae8160661a715eaadf42c16b *electron-v25.9.1-win32-arm64-pdb.zip 1e67a35b41927962765a8d8cb01ce73e8c28db6453323f2661e63afd8fdf49e8 *electron-v25.9.1-win32-arm64-symbols.zip a378f5fc44e872f05d037c3ca7f03802ed3a9b2611f59741ce933f500557af7c *electron-v25.9.1-win32-arm64.zip b50f8675b12eda5d0717f83179e40b411ba3254f81bd7142821745c00b566560 *electron-v25.9.1-win32-x64-pdb.zip 8ddaa416e51bac1e93c63d1223bec37b6dd78b00c860e5b91912da09af7ff7b5 *electron-v25.9.1-win32-x64-symbols.zip f6762a98193baa9877f443c9414b1f825f99b7cf1094be579d5202b72442b5be *electron-v25.9.1-win32-x64.zip a0c2566efff0a796f751cfc63cddd52d6c4153b35b6ad582bbdd15a2c4317bc9 *ffmpeg-v25.9.1-darwin-arm64.zip b8cd9d93cdf8ebbd3caf68581b6504529b8bf2dea984b6e5f637343ea9d61946 *ffmpeg-v25.9.1-darwin-x64.zip bd52d57ff97fb56ac01a3482af905d04f0d4e9c13c53858c6d9f99957eca82da *ffmpeg-v25.9.1-linux-arm64.zip 9b3d09177fa1e63e2a6beecfa70aeec30aeb5c1873ff21128a68051c4e23f95d *ffmpeg-v25.9.1-linux-armv7l.zip edc7b1c9f1a0733f109a2c0375a4e40c5bfe0bf28b7f06dcc76e1ada0aa2f125 *ffmpeg-v25.9.1-linux-x64.zip 2467f6567356340e8d9872753a3df486555334b7c868c0d12991f80f2353ce1f *ffmpeg-v25.9.1-win32-arm64.zip fe4676a13bf9d6f87353f3496e0fb37cd3db151fcea13dad7610a2835d238062 *ffmpeg-v25.9.1-win32-x64.zip "} {"_id":"q-en-vscode-68fb97de39a5dc1a2a521639f58da97204f8004dbdfbe63471c5276c8e8ac2da","text":"margin: 0px; } .settings-editor > .settings-body .settings-tree-container .setting-item-contents .setting-item-trust-description a:focus .settings-editor > .settings-body .settings-tree-container .setting-item-contents .setting-item-trust-description a:focus, .settings-editor > .settings-body .settings-tree-container .setting-item-contents .setting-item-markdown a:focus { outline: 1px solid -webkit-focus-ring-color; outline-offset: -1px; text-decoration: underline; } .settings-editor > .settings-body .settings-tree-container .setting-item-contents .setting-item-trust-description a:hover .settings-editor > .settings-body .settings-tree-container .setting-item-contents .setting-item-trust-description a:hover, .settings-editor > .settings-body .settings-tree-container .setting-item-contents .setting-item-markdown a:hover { cursor: pointer; text-decoration: underline; }"} {"_id":"q-en-vscode-6906eea19b9dd02ae9a920911301df1777082f777c20af5bac46502ea188d5f6","text":"command: 'git.commit', title: l10n.t('{0} Commit', '$(check)'), tooltip: this.state.isCommitInProgress ? l10n.t('Committing Changes...') : l10n.t('Commit Changes'), arguments: [this.repository.sourceControl, ''] arguments: [this.repository.sourceControl, null] }; }"} {"_id":"q-en-vscode-691a7f2b90f70f8df67cf51cf52d492e30755e522ae9cedf98d4f6df68a48194","text":"adjustWhitespace: !(item.completion.insertTextRules! & CompletionItemInsertTextRule.KeepWhitespace) }); scrollState.restoreRelativeVerticalPositionOfCursor(this.editor); if (!(flags & InsertFlags.NoAfterUndoStop)) { this.editor.pushUndoStop(); }"} {"_id":"q-en-vscode-6980747a2455b05c8d98a6950dff67cd91e53d10657008a245ea8092615c559c","text":"const systemShellUnix = await getSystemShell(OS, env); logService.trace('getUnixShellEnvironment#shell', systemShellUnix); let command = `'${process.execPath}' -p '\"${mark}\" + JSON.stringify(process.env) + \"${mark}\"'`; let shellArgs = ['-ilc']; // handle popular non-POSIX shells const name = path.basename(systemShellUnix); let command: string, shellArgs: Array; if (/^pwsh(-preview)?$/.test(name)) { command = `& ${command}`; // Older versions of PowerShell removes double quotes sometimes so we use \"double single quotes\" which is how // you escape single quotes inside of a single quoted string. command = `& '${process.execPath}' -p '''${mark}'' + JSON.stringify(process.env) + ''${mark}'''`; shellArgs = ['-Login', '-Command']; } else { command = `'${process.execPath}' -p '\"${mark}\" + JSON.stringify(process.env) + \"${mark}\"'`; shellArgs = ['-ilc']; } logService.trace('getUnixShellEnvironment#spawn', JSON.stringify(shellArgs), command);"} {"_id":"q-en-vscode-698f279ca1d15185d03a95bf34451055d60785215852fd07f3067e754c3e411f","text":"const labelService = accessor.get(ILabelService); const uri = part instanceof ChatRequestDynamicVariablePart && part.data.map(d => d.value).find((d): d is URI => d instanceof URI) || undefined; const title = uri ? labelService.getUriLabel(uri, { relative: true }) : ''; const title = uri ? encodeURIComponent(labelService.getUriLabel(uri, { relative: true })) : ''; result += `[${part.text}](${variableRefUrl}${title})`; }"} {"_id":"q-en-vscode-6a01f79c501a8e454ae1e5e4df3aa2f67ad54810e466dbc1e977463261c86cd3","text":"return this.viewDescriptorService.getViewContainersByLocation(this.location); } private onDidPinnedViewContainersStorageValueChange(e: IProfileStorageValueChangeEvent): void { if (this.pinnedViewContainersValue !== this.getStoredPinnedViewContainersValue() /* This checks if current window changed the value or not */) { this._placeholderViewContainersValue = undefined; this._pinnedViewContainersValue = undefined; this._cachedViewContainers = undefined; private updateCompositeBarItemsFromStorage(retainExisting: boolean): void { if (this.pinnedViewContainersValue === this.getStoredPinnedViewContainersValue()) { return; } const newCompositeItems: ICompositeBarItem[] = []; const compositeItems = this.compositeBar.getCompositeBarItems(); this._placeholderViewContainersValue = undefined; this._pinnedViewContainersValue = undefined; this._cachedViewContainers = undefined; for (const cachedViewContainer of this.cachedViewContainers) { newCompositeItems.push({ id: cachedViewContainer.id, name: cachedViewContainer.name, order: cachedViewContainer.order, pinned: cachedViewContainer.pinned, visible: cachedViewContainer.visible && !!this.getViewContainer(cachedViewContainer.id), }); } const newCompositeItems: ICompositeBarItem[] = []; const compositeItems = this.compositeBar.getCompositeBarItems(); for (const viewContainer of this.getViewContainers()) { // Add missing view containers if (!newCompositeItems.some(({ id }) => id === viewContainer.id)) { const index = compositeItems.findIndex(({ id }) => id === viewContainer.id); if (index !== -1) { const compositeItem = compositeItems[index]; newCompositeItems.splice(index, 0, { id: viewContainer.id, name: typeof viewContainer.title === 'string' ? viewContainer.title : viewContainer.title.value, order: compositeItem.order, pinned: compositeItem.pinned, visible: compositeItem.visible, }); } else { newCompositeItems.push({ id: viewContainer.id, name: typeof viewContainer.title === 'string' ? viewContainer.title : viewContainer.title.value, order: viewContainer.order, pinned: true, visible: !this.shouldBeHidden(viewContainer), }); } for (const cachedViewContainer of this.cachedViewContainers) { newCompositeItems.push({ id: cachedViewContainer.id, name: cachedViewContainer.name, order: cachedViewContainer.order, pinned: cachedViewContainer.pinned, visible: cachedViewContainer.visible && !!this.getViewContainer(cachedViewContainer.id), }); } for (const viewContainer of this.getViewContainers()) { // Add missing view containers if (!newCompositeItems.some(({ id }) => id === viewContainer.id)) { const index = compositeItems.findIndex(({ id }) => id === viewContainer.id); if (index !== -1) { const compositeItem = compositeItems[index]; newCompositeItems.splice(index, 0, { id: viewContainer.id, name: typeof viewContainer.title === 'string' ? viewContainer.title : viewContainer.title.value, order: compositeItem.order, pinned: compositeItem.pinned, visible: compositeItem.visible, }); } else { newCompositeItems.push({ id: viewContainer.id, name: typeof viewContainer.title === 'string' ? viewContainer.title : viewContainer.title.value, order: viewContainer.order, pinned: true, visible: !this.shouldBeHidden(viewContainer), }); } } } this.compositeBar.setCompositeBarItems(newCompositeItems); if (retainExisting) { for (const compositeItem of compositeItems) { const newCompositeItem = newCompositeItems.find(({ id }) => id === compositeItem.id); if (!newCompositeItem) { newCompositeItems.push(compositeItem); } } } this.compositeBar.setCompositeBarItems(newCompositeItems); } private saveCachedViewContainers(): void {"} {"_id":"q-en-vscode-6a03823eed66c30650590156a8b56a4b48ca3c725d9f4c9d0b5b5bba16ba0ce7","text":"const result = { primary, secondary, menu }; createAndFillInContextMenuActions(menu, { shouldForwardArgs: true }, result, 'inline'); if (listen) { this._register(menu.onDidChange(() => this._onDidChange.fire(element))); listen.add(menu.onDidChange(() => this._onDidChange.fire(element))); listen.add(menu); } else { menu.dispose(); } return result; } override dispose() { dispose() { this.contextKeyService = undefined; super.dispose(); } }"} {"_id":"q-en-vscode-6a1b9e5750b368eda58ef3c09cc494cc5b75ea0554ec09924e8b37c0a00826ee","text":"import { localize } from 'vs/nls'; import { InstantiationType, registerSingleton } from 'vs/platform/instantiation/common/extensions'; import { IKeybindingService } from 'vs/platform/keybinding/common/keybinding'; import { AccessibilityVerbositySettingId, registerAccessibilityConfiguration } from 'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration'; import { AccessibilityVerbositySettingId, accessibleViewIsShown, registerAccessibilityConfiguration } from 'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration'; import * as strings from 'vs/base/common/strings'; import { IInstantiationService } from 'vs/platform/instantiation/common/instantiation'; import { IWorkbenchContributionsRegistry, Extensions as WorkbenchExtensions } from 'vs/workbench/common/contributions';"} {"_id":"q-en-vscode-6a213aef531340615ecc938c1d188d7f271a0432bc01bcf0da89c63c5c0e60c2","text":"// Write content if it differs if (content && this._currentContent !== content) { this._stickyScrollOverlay.resize(this._stickyScrollOverlay.cols, stickyScrollLineCount); // Clear attrs, reset cursor position, clear right this._stickyScrollOverlay.write('x1b[0mx1b[Hx1b[2J'); this._stickyScrollOverlay.write(content); this._currentContent = content;"} {"_id":"q-en-vscode-6a748e482d7b184e8b2045d626d7da41df15a7a48ea52d6fc5ffe99ede0a87dd","text":"disturl \"https://electronjs.org/headers\" target \"19.0.11\" target \"19.0.12\" runtime \"electron\" build_from_source \"true\""} {"_id":"q-en-vscode-6ac648f9dd1aaa2aafdde895f8e17579daf1a965382295327a96b400655c192f","text":"} // Auxiliary Panel to restore if (this.isVisible(Parts.AUXILIARYBAR_PART)) { const auxiliaryBarVisible = this.isVisible(Parts.AUXILIARYBAR_PART); if (auxiliaryBarVisible || (isNewWindow && activityBarNotDefault)) { const viewContainerToRestore = this.storageService.get(AuxiliaryBarPart.activePanelSettingsKey, StorageScope.WORKSPACE, this.viewDescriptorService.getDefaultViewContainer(ViewContainerLocation.AuxiliaryBar)?.id); if (viewContainerToRestore) { this.state.initialization.views.containerToRestore.auxiliaryBar = viewContainerToRestore; } else { this.stateModel.setRuntimeValue(LayoutStateKeys.AUXILIARYBAR_HIDDEN, true); } if (auxiliaryBarVisible !== !!viewContainerToRestore) { this.stateModel.setRuntimeValue(LayoutStateKeys.AUXILIARYBAR_HIDDEN, !auxiliaryBarVisible); } }"} {"_id":"q-en-vscode-6ad0d7bead61ba79bcb0e04788a0d9ecc8f921c557b0d1701f2c4c4315b5c273","text":"class FileUserDataProfileContentHandler implements IUserDataProfileContentHandler { readonly name = localize('local', \"Local\"); readonly description = localize('file', \"file\"); constructor( @IFileDialogService private readonly fileDialogService: IFileDialogService,"} {"_id":"q-en-vscode-6b0e19f6845d3201f365ff67a90417303fef0d5ff5c5a9c4b8be2359ffe043db","text":"keybinding: { primary: KeyMod.Alt | KeyCode.KeyC, mac: { primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.KeyC }, when: ContextKeyExpr.or(TerminalContextKeys.focusInAny, TerminalContextKeys.findFocus), when: TerminalContextKeys.findVisible, weight: KeybindingWeight.WorkbenchContrib }, precondition: ContextKeyExpr.or(TerminalContextKeys.processSupported, TerminalContextKeys.terminalHasBeenCreated),"} {"_id":"q-en-vscode-6b3e56d89c164b9d74257b6c30673632dbbd66d280556aed5c99fa79aac27a85","text":"constructor() { super({ id: REVEAL_RUNNING_CELL, title: localize('revealRunningCell', \"Go To Running Cell\"), tooltip: localize('revealRunningCell', \"Go To Running Cell\"), title: localize('revealRunningCell', \"Go to Running Cell\"), tooltip: localize('revealRunningCell', \"Go to Running Cell\"), shortTitle: localize('revealRunningCellShort', \"Go To\"), precondition: NOTEBOOK_HAS_RUNNING_CELL, menu: ["} {"_id":"q-en-vscode-6b8ab1790d9537fd36954a17b9b5d9ae177dfdc84336e597c0a21d4e8c73cafa","text":"} .settings-editor > .settings-body .settings-tree-container .setting-item-contents .setting-item-title .setting-item-overrides a.modified-scope { text-decoration: underline; color: var(--vscode-textLink-foreground); text-decoration: var(--text-link-decoration); cursor: pointer; }"} {"_id":"q-en-vscode-6bac8121e5856cb2125b605f631f3c2263094f85b582634f1a87b604457dd724","text":"ignoreIfExists?: boolean; ignoreIfNotExists?: boolean; recursive?: boolean; contents?: Uint8Array; } export const enum FileEditType {"} {"_id":"q-en-vscode-6bb95d0294e5908ee39f5dc0db517d57c052270a350f29ddb3b81c544751d51e","text":"Platform::DarwinARM64 => \"server-darwin-arm64\", Platform::WindowsX64 => \"server-win32-x64\", Platform::WindowsX86 => \"server-win32\", Platform::WindowsARM64 => \"server-win32-x64\", // we don't publish an arm64 server build yet Platform::WindowsARM64 => \"server-win32-arm64\", } .to_owned() }"} {"_id":"q-en-vscode-6c08daa9d042539e50840af151cdd8846ce9369a2a3cbbe925a9684887bb3cd7","text":"{ \"name\": \"code-oss-dev\", \"version\": \"1.91.0\", \"distro\": \"170beceb9849568b8f7159757bc3fc3964af1986\", \"distro\": \"361fc45f5932b161db29080d5b19bc5afb9baae6\", \"author\": { \"name\": \"Microsoft Corporation\" },"} {"_id":"q-en-vscode-6c22480321149d487a3e2fa62fcca12577833e676792dfd1892d7dac45af51cb","text":"import { PositionAffinity } from 'vs/editor/common/model'; import { InjectedText } from 'vs/editor/common/modelLineProjectionData'; import { Mutable } from 'vs/base/common/types'; import { Lazy } from 'vs/base/common/lazy'; const enum HitTestResultType { Unknown,"} {"_id":"q-en-vscode-6c3cd92bcdc164362d02e0faa0f39cb350e48c3e3d42941b9092cbbcef45c2ed","text":"const name = await this.quickInputService.input({ placeHolder: localize('name', \"Profile name\"), title: localize('create new title', \"Create New Profile\"), value: `${profileTemplate.name} ${this.getProfileNameIndex(profileTemplate.name)}`, value: `${profileName} ${this.getProfileNameIndex(profileName)}`, validateInput: async (value: string) => { if (this.userDataProfilesService.profiles.some(p => p.name === value)) { return localize('profileExists', \"Profile with name {0} already exists.\", value);"} {"_id":"q-en-vscode-6c65bb5d12bd64bcfacc1b2c04ea5a6763397d1fa77436e26c1ef69c24a70222","text":"\"scss.lint.emptyRules.desc\": \"Do not use empty rulesets.\", \"scss.lint.float.desc\": \"Avoid using `float`. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes.\", \"scss.lint.fontFaceProperties.desc\": \"`@font-face` rule must define `src` and `font-family` properties.\", \"scss.lint.hexColorLength.desc\": \"Hex colors must consist of three or six hex numbers.\", \"scss.lint.hexColorLength.desc\": \"Hex colors must consist of 3, 4, 6 or 8 hex numbers.\", \"scss.lint.idSelector.desc\": \"Selectors should not contain IDs because these rules are too tightly coupled with the HTML.\", \"scss.lint.ieHack.desc\": \"IE hacks are only necessary when supporting IE7 and older.\", \"scss.lint.important.desc\": \"Avoid using `!important`. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored.\","} {"_id":"q-en-vscode-6c9e2c448f21a061e3f65c4d8dcdeaeb418727ede9bbaa3f31fc6d01986b42b1","text":"constructor( private readonly _editor: ICodeEditor, @IInstantiationService instaService: IInstantiationService, @IContextKeyService contextKeyService: IContextKeyService, ) { this._defaultChatModel = this._store.add(instaService.createInstance(ChatModel, `inlineChatDefaultModel/editorContentWidgetPlaceholder`, undefined)); this._widget = instaService.createInstance( const scopedInstaService = instaService.createChild( new ServiceCollection([ IContextKeyService, this._store.add(contextKeyService.createScoped(this._domNode)) ]) ); this._widget = scopedInstaService.createInstance( ChatWidget, ChatAgentLocation.Editor, { resource: true },"} {"_id":"q-en-vscode-6ca56b52d3015ab899ba3bdd605436015a4d6af8be2c7ca660921873a3302bbf","text":"const matcher = outputMatcher.lineMatcher; const linesToCheck = typeof matcher === 'string' ? 1 : outputMatcher.length || countNewLines(matcher); const lines: string[] = []; let wrappedLines = 1; let match: RegExpMatchArray | null | undefined; if (outputMatcher.anchor === 'bottom') { for (let i = endLine - (outputMatcher.offset || 0); i >= startLine; i--) {"} {"_id":"q-en-vscode-6cb033f23682557b62a2f4c2c87a4eb3a85f030594e93b14756024545ce17df0","text":"} ); this._store.add(this._widget); this._store.add(this._widget.onDidChangeHeight(() => _editor.layoutContentWidget(this))); this._widget.render(this._inputContainer); this._widget.setModel(this._defaultChatModel, {}); this._store.add(this._widget.inputEditor.onDidContentSizeChange(() => _editor.layoutContentWidget(this))); this._domNode.tabIndex = -1; this._domNode.className = 'inline-chat-content-widget interactive-session';"} {"_id":"q-en-vscode-6cc78acbc7d9f4bd45f6de7be2cf84876189b8032b916922f62f46cef0196363","text":"this._layoutCancellationTokenSource = new CancellationTokenSource(); this._modifiedResourceDisposableStore.add(Event.any(this._model.original.notebook.onDidChangeContent, this._model.modified.notebook.onDidChangeContent)(e => { if (this._model !== null) { // If the user has made changes to the notebook whilst in the diff editor, // then do not re-compute the diff of the notebook, // As change will result in re-computing diff and re-building entire diff view. if (this._model !== null && this.editorService.activeEditor !== input) { this._layoutCancellationTokenSource?.dispose(); this._layoutCancellationTokenSource = new CancellationTokenSource(); this.updateLayout(this._layoutCancellationTokenSource.token);"} {"_id":"q-en-vscode-6cd5d36130b67a14f2433026161d4a88f6fc42a8fcb7c8ae035c715ac509b304","text":" { \"registrations\": [ { \"component\": { \"type\": \"git\", \"git\": { \"name\": \"dart-lang/dart-syntax-highlight\", \"repositoryUrl\": \"https://github.com/dart-lang/dart-syntax-highlight\", \"commitHash\": \"65f211722c85e9fdf0aa658d5663e6ccaf2ebe25\" } }, \"licenseDetail\": [ \"Copyright 2020, the Dart project authors.\", \"\", \"Redistribution and use in source and binary forms, with or without\", \"modification, are permitted provided that the following conditions are\", \"met:\", \"\", \" * Redistributions of source code must retain the above copyright\", \" notice, this list of conditions and the following disclaimer.\", \" * Redistributions in binary form must reproduce the above\", \" copyright notice, this list of conditions and the following\", \" disclaimer in the documentation and/or other materials provided\", \" with the distribution.\", \" * Neither the name of Google LLC nor the names of its\", \" contributors may be used to endorse or promote products derived\", \" from this software without specific prior written permission.\", \"\", \"THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\", \"\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\", \"LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\", \"A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\", \"OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\", \"SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\", \"LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\", \"DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\", \"THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\", \"(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\", \"OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\" ], \"license\": \"BSD\", \"version\": \"0.0.0\" } ], \"version\": 1 } "} {"_id":"q-en-vscode-6d023fd56ee44dfd1d266c7d888b01543028949a7d4589e4cc94b0792235e3f2","text":"const text = data.contents.join('n'); const newDocument = new DOMParser().parseFromString(text, 'text/html'); newDocument.querySelectorAll('a').forEach(a => { if (!a.title) { a.title = a.href; } }); // set base-url if applicable if (initData.baseUrl && newDocument.head.getElementsByTagName('base').length === 0) { const baseElement = newDocument.createElement('base');"} {"_id":"q-en-vscode-6d31653df7d9c7561ab3ec7bc5c9719ebf047e9be8b00fb3aa85569dc87acd31","text":"], \"settings\": { \"fontStyle\": \"italic\", \"foreground\": \"#91B3E0\" \"foreground\": \"#8190A0\" } }, {"} {"_id":"q-en-vscode-6d4c2d5466cbb64d7af81a7fbc2399c862bd7e0e5ab98e6fce3a13e51b1ff8a5","text":"} } // check with 'label' if (a.completion.label < b.completion.label) { if (a.textLabel < b.textLabel) { return -1; } else if (a.completion.label > b.completion.label) { } else if (a.textLabel > b.textLabel) { return 1; } // check with 'type'"} {"_id":"q-en-vscode-6d6021584396c24c46f3dfb784671bb4287f6fb5f9dc7592358124d87b3f0cc5","text":".pipe(replace('@@UPDATEURL@@', product.updateUrl || '@@UPDATEURL@@')) .pipe(rename('DEBIAN/postinst')); const all = es.merge(control, postinst, postrm, prerm, desktops, appdata, icon, bash_completion, zsh_completion, code); const all = es.merge(control, postinst, postrm, prerm, desktops, appdata, workspaceMime, icon, bash_completion, zsh_completion, code); return all.pipe(vfs.dest(destination)); };"} {"_id":"q-en-vscode-6d763074919238a03b50562c1642950eafe895f2c112e750398c54ecd500d072","text":"margin-top: 7px; } .monaco-workbench.mac .part > .title > .title-actions .switch-output { .monaco-workbench.mac .part.sidebar > .title > .title-actions .switch-output { border-radius: 4px; } .monaco-workbench .part > .title > .title-actions .switch-output > .monaco-select-box { .monaco-workbench .part.sidebar > .title > .title-actions .switch-output > .monaco-select-box { border: none !important; display: block !important; background-color: unset !important;"} {"_id":"q-en-vscode-6d8c7b9ae9a3bd65d2bffe465f1a528373e709ce4e7015420553a60841b89292","text":"} } const LINK_REGEX = /[([^]]+)](((?:https?://|command:|file:)[^)s]+)(?: (\"|')([^3]+)(3))?)/gi; const LINK_REGEX = /[([^]]+)](((?:https?://|command:|file:)[^)s]+)(?: ([\"'])(.+?)(3))?)/gi; export function parseLinkedText(text: string): LinkedText { const result: LinkedTextNode[] = [];"} {"_id":"q-en-vscode-6d96d8c860f6585bf766acb94546f98c22a96772151d1b7613e7a9b3806102c5","text":"return request.fulfillContentEmpty(new Position(lineCount, maxLineColumn), EMPTY_CONTENT_AFTER_LINES); } if (domHitTestExecuted) { // Check if we are hitting a view-line (can happen in the case of inline decorations on empty lines) // See https://github.com/microsoft/vscode/issues/46942 if (ElementPath.isStrictChildOfViewLines(request.targetPath)) { const lineNumber = ctx.getLineNumberAtVerticalOffset(request.mouseVerticalOffset); if (ctx.viewModel.getLineLength(lineNumber) === 0) { const lineWidth = ctx.getLineWidth(lineNumber); const detail = createEmptyContentDataInLines(request.mouseContentHorizontalOffset - lineWidth); return request.fulfillContentEmpty(new Position(lineNumber, 1), detail); } // Check if we are hitting a view-line (can happen in the case of inline decorations on empty lines) // See https://github.com/microsoft/vscode/issues/46942 if (ElementPath.isStrictChildOfViewLines(request.targetPath)) { const lineNumber = ctx.getLineNumberAtVerticalOffset(request.mouseVerticalOffset); if (ctx.viewModel.getLineLength(lineNumber) === 0) { const lineWidth = ctx.getLineWidth(lineNumber); if (request.mouseContentHorizontalOffset >= lineWidth) { const detail = createEmptyContentDataInLines(request.mouseContentHorizontalOffset - lineWidth); const pos = new Position(lineNumber, ctx.viewModel.getLineMaxColumn(lineNumber)); return request.fulfillContentEmpty(pos, detail); } const detail = createEmptyContentDataInLines(request.mouseContentHorizontalOffset - lineWidth); return request.fulfillContentEmpty(new Position(lineNumber, 1), detail); } // We have already executed hit test... return request.fulfillUnknown(); const lineWidth = ctx.getLineWidth(lineNumber); if (request.mouseContentHorizontalOffset >= lineWidth) { // TODO: This is wrong for RTL const detail = createEmptyContentDataInLines(request.mouseContentHorizontalOffset - lineWidth); const pos = new Position(lineNumber, ctx.viewModel.getLineMaxColumn(lineNumber)); return request.fulfillContentEmpty(pos, detail); } } const hitTestResult = MouseTargetFactory._doHitTest(ctx, request); // Do the hit test (if not already done) const hitTestResult = request.hitTestResult.value; if (hitTestResult.type === HitTestResultType.Content) { return MouseTargetFactory.createMouseTargetFromHitTestPosition(ctx, request, hitTestResult.spanNode, hitTestResult.position, hitTestResult.injectedText); } return this._createMouseTarget(ctx, request.withTarget(hitTestResult.hitTarget), true); // We didn't hit content... if (request.wouldBenefitFromHitTestTargetSwitch) { // We actually hit something different... Give it one last change by trying again with this new target request.switchToHitTestTarget(); return this._createMouseTarget(ctx, request); } // We have tried everything... return request.fulfillUnknown(); } private static _hitTestMinimap(ctx: HitTestContext, request: ResolvedHitTestRequest): IMouseTarget | null {"} {"_id":"q-en-vscode-6dae893191affbf921a097ec4c50471bdc38657be15e3be6ef230a0678163733","text":"* workbench command such as `workbench.action.terminal.runSelectedText` * ```typescript * const terminalRenderer = window.createTerminalRenderer('test'); * terminalRenderer.onInput(data => { * terminalRenderer.onDidAcceptInput(data => { * cosole.log(data); // 'Hello world' * }); * terminalRenderer.terminal.then(t => t.sendText('Hello world')); * ``` */ onInput: Event; onDidAcceptInput: Event; /** * An event which fires when the [maximum dimensions](#TerminalRenderer.maimumDimensions) of"} {"_id":"q-en-vscode-6db6145edb8ef0c622971c7f7b6345ad19529ce59ca55cb04c147b2229766cfc","text":"import { IEditorMemento, IEditorOpenContext, IEditorPane } from 'vs/workbench/common/editor'; import { SuggestEnabledInput } from 'vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput'; import { SettingsTarget, SettingsTargetsWidget } from 'vs/workbench/contrib/preferences/browser/preferencesWidgets'; import { getCommonlyUsedData, tocData } from 'vs/workbench/contrib/preferences/browser/settingsLayout'; import { ITOCEntry, getCommonlyUsedData, tocData } from 'vs/workbench/contrib/preferences/browser/settingsLayout'; import { AbstractSettingRenderer, HeightChangeParams, ISettingLinkClickEvent, resolveConfiguredUntrustedSettings, createTocTreeForExtensionSettings, resolveSettingsTree, SettingsTree, SettingTreeRenderers } from 'vs/workbench/contrib/preferences/browser/settingsTree'; import { ISettingsEditorViewState, parseQuery, SearchResultIdx, SearchResultModel, SettingsTreeElement, SettingsTreeGroupChild, SettingsTreeGroupElement, SettingsTreeModel, SettingsTreeSettingElement } from 'vs/workbench/contrib/preferences/browser/settingsTreeModels'; import { createTOCIterator, TOCTree, TOCTreeModel } from 'vs/workbench/contrib/preferences/browser/tocTree';"} {"_id":"q-en-vscode-6e55aa82940233f77b2843c8bd7b49fa54b01d8aa63cffc14aa777c91b26764e","text":"'...' ]); }); test('Should match non-greedily', () => { assert.deepStrictEqual(parseLinkedText('a [link text 1](http://link.href \"title1\") b [link text 2](http://link.href \"title2\") c').nodes, [ 'a ', { label: 'link text 1', href: 'http://link.href', title: 'title1' }, ' b ', { label: 'link text 2', href: 'http://link.href', title: 'title2' }, ' c', ]); }); });"} {"_id":"q-en-vscode-6e89248c9b11d932d8b2bef1a4495903898dea9af25f257e2488b4d5e3c84e26","text":"private _terminalProfiles: ReadonlyArray = []; get terminalProfiles() { return this._terminalProfiles; } private _quickFixes: Array = []; get quickFixes() { return this._quickFixes; } quickFixes: Promise>; constructor() { terminalsExtPoint.setHandler(contributions => { this.quickFixes = new Promise((r) => terminalsExtPoint.setHandler(contributions => { this._terminalProfiles = contributions.map(c => { return c.value?.profiles?.filter(p => hasValidTerminalIcon(p)).map(e => { return { ...e, extensionIdentifier: c.description.identifier.value }; }) || []; }).flat(); this._quickFixes = (contributions.filter(c => isProposedApiEnabled(c.description, 'terminalQuickFixProvider')).map(c => c.value.quickFixes ? c.value.quickFixes.map(fix => { return { ...fix, extensionIdentifier: c.description.identifier.value }; }) : [])).flat(); }); const quickFixes = (contributions.filter(c => isProposedApiEnabled(c.description, 'terminalQuickFixProvider')).map(c => c.value.quickFixes ? c.value.quickFixes.map(fix => { return { ...fix, extensionIdentifier: c.description.identifier.value }; }) : [])).flat(); r(quickFixes); })); } }"} {"_id":"q-en-vscode-6e922fb7c758ce7f708eb1b8f7a09a0d6da36de881d64d7cac42629a14813d14","text":"new Promise(resolve => setTimeout(() => resolve(''), 2000)) ]); this.treatment = extensions ? JSON.parse(extensions) : { extensions: [] }; try { this.treatment = extensions ? JSON.parse(extensions) : { extensions: [] }; } catch { } this.title = extensionListTitle ?? localize('gettingStarted.featuredTitle', 'Featured'); if (this.treatment) { if (this.treatment?.extensions && Array.isArray(this.treatment.extensions)) { const installed = await this.extensionManagementService.getInstalled(); for (const extension of Object.values(this.treatment.extensions)) { for (const extension of this.treatment.extensions) { if (installed.some(e => ExtensionIdentifier.equals(e.identifier.id, extension))) { this.ignoredExtensions.add(extension); }"} {"_id":"q-en-vscode-6f1c9e75da700ffb3823a9d69dd8ee720ea7cbb42ab06d3c38f1658613ada3b6","text":"assertSelections(editor, new Selection(1, 1, 1, 7), new Selection(2, 5, 2, 11)); editor.trigger('test', 'cut', {}); assertContextKeys(contextKeys, false, false, false); assertContextKeys(contextKeys, true, false, true); assertSelections(editor, new Selection(1, 1, 1, 1), new Selection(2, 5, 2, 5)); editor.trigger('test', 'type', { text: 'abc' }); assertContextKeys(contextKeys, false, false, false); assertContextKeys(contextKeys, true, false, true); ctrl.next(); assertContextKeys(contextKeys, false, false, false);"} {"_id":"q-en-vscode-6f20c66ef5cb406db4c79d422f1436f05ec2c770ae1e188ed2158b69b1bfe674","text":"this._updateState(); // we listen on model and selection changes. usually // both events come in together and this is to prevent // that we don't call _updateState twice. let state: EditorState; let dedupedUpdateState = () => { if (!state || !state.validate(this._editor)) { this._updateState(); state = new EditorState(this._editor, CodeEditorStateFlag.Selection | CodeEditorStateFlag.Value); } }; this._snippetListener = [ this._editor.onDidChangeModelContent(e => { if (e.isFlush) { this.cancel(); } else { setTimeout(dedupedUpdateState, 0); } }), this._editor.onDidChangeCursorSelection(dedupedUpdateState), this._editor.onDidChangeModelContent(e => e.isFlush && this.cancel()), this._editor.onDidChangeModel(() => this.cancel()), this._editor.onDidChangeCursorSelection(() => this._updateState()) ]; }"} {"_id":"q-en-vscode-6f4eaf05b0dd649165b0230e5c5a49af4053fa18c4c7454a18b1271698baf041","text":"configuration.isInitialStartup = false; // since this is a reload configuration.policiesData = this.policyService.serialize(); // set policies data again configuration.editSessionId = this.environmentMainService.editSessionId; // set latest edit session id configuration.profiles = { all: this.userDataProfilesService.profiles, current: this.profile || this.userDataProfilesService.defaultProfile,"} {"_id":"q-en-vscode-6f4fdd35aace20edd41c41858d64e7a9f6ad49d288199d063756d11f59e543e0","text":"import {ActionItem, BaseActionItem, Separator} from 'vs/base/browser/ui/actionbar/actionbar'; import {Scope, IActionBarRegistry, Extensions as ActionBarExtensions, ActionBarContributor} from 'vs/workbench/browser/actionBarRegistry'; import {IEditorInputActionContext, IEditorInputAction, EditorInputActionContributor} from 'vs/workbench/browser/parts/editor/baseEditor'; import {AddToWorkingFiles, FocusWorkingFiles, FocusFilesExplorer, OpenPreviousWorkingFile, OpenNextWorkingFile, CloseAllFilesAction, CloseFileAction, CloseOtherFilesAction, GlobalCompareResourcesAction, GlobalNewFolderAction, RevertFileAction, SaveFilesAction, SaveAllAction, SaveFileAction, keybindingForAction, MoveFileToTrashAction, TriggerRenameFileAction, PasteFileAction, CopyFileAction, SelectResourceForCompareAction, CompareResourcesAction, NewFolderAction, NewFileAction, OpenToSideAction, ShowActiveFileInExplorer} from 'vs/workbench/parts/files/browser/fileActions'; import {AddToWorkingFiles, FocusWorkingFiles, FocusFilesExplorer, OpenPreviousWorkingFile, OpenNextWorkingFile, CloseAllFilesAction, CloseFileAction, CloseOtherFilesAction, GlobalCompareResourcesAction, GlobalNewFileAction, GlobalNewFolderAction, RevertFileAction, SaveFilesAction, SaveAllAction, SaveFileAction, keybindingForAction, MoveFileToTrashAction, TriggerRenameFileAction, PasteFileAction, CopyFileAction, SelectResourceForCompareAction, CompareResourcesAction, NewFolderAction, NewFileAction, OpenToSideAction, ShowActiveFileInExplorer} from 'vs/workbench/parts/files/browser/fileActions'; import {RevertLocalChangesAction, AcceptLocalChangesAction, ConflictResolutionDiffEditorInput} from 'vs/workbench/parts/files/browser/saveErrorHandler'; import {SyncActionDescriptor} from 'vs/platform/actions/common/actions'; import {IWorkbenchActionRegistry, Extensions as ActionExtensions} from 'vs/workbench/common/actionRegistry';"} {"_id":"q-en-vscode-6f62b22af65243150b91cb6592f353db53502234217fde399886040b6bd24c9e","text":"import { ICommandHandlerDescription } from 'vs/platform/commands/common/commands'; import { ExtHostCommands } from 'vs/workbench/api/node/extHostCommands'; import { IWorkspaceSymbolProvider } from 'vs/workbench/parts/search/common/search'; import { IEditorOptions } from 'vs/platform/editor/common/editor'; import { ITextEditorOptions } from 'vs/platform/editor/common/editor'; export class ExtHostApiCommands {"} {"_id":"q-en-vscode-6f7985e953f653fdd8f7f2dc16a8fb8cbc5a29a840a97abd2a9bbf16e70fa81a","text":"id: AccessibilityCommandId.AccessibleViewAcceptInlineCompletion, precondition: ContextKeyExpr.and(accessibleViewIsShown, ContextKeyExpr.equals(accessibleViewCurrentProviderId.key, AccessibleViewProviderId.InlineCompletions)), keybinding: { primary: KeyMod.CtrlCmd | KeyCode.Slash, mac: { primary: KeyMod.WinCtrl | KeyCode.Slash }, primary: KeyMod.CtrlCmd | KeyCode.Enter, mac: { primary: KeyMod.WinCtrl | KeyCode.Enter }, weight: KeybindingWeight.WorkbenchContrib }, icon: Codicon.check,"} {"_id":"q-en-vscode-6f884954ac3bcb613ef50b6d6ddc5b46ba146bf5f073b107ee3480801c162ff7","text":"export class UpdateManager extends events.EventEmitter { private static DEFAULT_UPDATE_CHANNEL = 'stable'; private _state: State; private explicitState: ExplicitState; private _availableUpdate: IUpdate;"} {"_id":"q-en-vscode-6f8b769f1226907868eed795ece16d5823bfb019f99df9e45c0980a86b262ba8","text":"`${process.env['ProgramW6432']}Gitusrbinbash.exe`, `${process.env['ProgramFiles']}Gitbinbash.exe`, `${process.env['ProgramFiles']}Gitusrbinbash.exe`, `${process.env['LocalAppData']}ProgramsGitbinbash.exe`, ] }; const promises: TPromise<[string, string]>[] = [];"} {"_id":"q-en-vscode-6f919b64a49157999cc53f16171647cb72dca962381f60020a98c2e243e4786d","text":"import { IInstantiationService } from 'vs/platform/instantiation/common/instantiation'; import { ILabelService } from 'vs/platform/label/common/label'; import { WorkbenchCompressibleObjectTree, getSelectionKeyboardEvent } from 'vs/platform/list/browser/listService'; import { FastAndSlowPicks, IPickerQuickAccessItem, PickerQuickAccessProvider, Picks, TriggerAction } from 'vs/platform/quickinput/browser/pickerQuickAccess'; import { FastAndSlowPicks, IPickerQuickAccessItem, IPickerQuickAccessSeparator, PickerQuickAccessProvider, Picks, TriggerAction } from 'vs/platform/quickinput/browser/pickerQuickAccess'; import { DefaultQuickAccessFilterValue, IQuickAccessProviderRunOptions } from 'vs/platform/quickinput/common/quickAccess'; import { IKeyMods, IQuickPick, IQuickPickItem, IQuickPickSeparator, QuickInputHideReason } from 'vs/platform/quickinput/common/quickInput'; import { IKeyMods, IQuickPick, IQuickPickItem, QuickInputHideReason } from 'vs/platform/quickinput/common/quickInput'; import { IWorkspaceContextService, IWorkspaceFolder } from 'vs/platform/workspace/common/workspace'; import { IWorkbenchEditorConfiguration } from 'vs/workbench/common/editor'; import { searchDetailsIcon, searchOpenInFileIcon, searchActivityBarIcon } from 'vs/workbench/contrib/search/browser/searchIcons';"} {"_id":"q-en-vscode-6fc80493c139d5674384540db6108212114d0098b9ea88afea63b64e0e6cd2d2","text":".review-widget .body .review-comment .review-comment-contents .comment-reactions .action-item a.action-label.toolbar-toggle-pickReactions { display: none; background-size: 16px; font-size: 16px; width: 26px; height: 16px; background-repeat: no-repeat;"} {"_id":"q-en-vscode-7012d4b583e7aa78a68e061d005407f7108c475695f31b3a1be90b7d03558179","text":"command: 'git.commit', title: l10n.t('{0} Continue', '$(check)'), tooltip: this.state.isCommitInProgress ? l10n.t('Continuing Rebase...') : l10n.t('Continue Rebase'), arguments: [this.repository.sourceControl, ''] arguments: [this.repository.sourceControl, null] }; }"} {"_id":"q-en-vscode-701f70f962a8d01810aea68ab3d841ed74973638abfe8269f43c2ccc67c9522a","text":"import { IChatService } from 'vs/workbench/contrib/chat/common/chatService'; import { setupCustomHover } from 'vs/base/browser/ui/hover/updatableHoverWidget'; import { getDefaultHoverDelegate } from 'vs/base/browser/ui/hover/hoverDelegateFactory'; import { ServiceCollection } from 'vs/platform/instantiation/common/serviceCollection'; export interface InlineChatWidgetViewState {"} {"_id":"q-en-vscode-70e736f4b5b1163173c52590975b76bd067a3d68873eb968b24bb1a56473af16","text":" [ { \"c\": \"// from https://flutter.dev/\", \"t\": \"source.dart comment.line.double-slash.dart\", \"r\": { \"dark_plus\": \"comment: #6A9955\", \"light_plus\": \"comment: #008000\", \"dark_vs\": \"comment: #6A9955\", \"light_vs\": \"comment: #008000\", \"hc_black\": \"comment: #7CA668\" } }, { \"c\": \"import\", \"t\": \"source.dart meta.declaration.dart keyword.other.import.dart\", \"r\": { \"dark_plus\": \"keyword: #569CD6\", \"light_plus\": \"keyword: #0000FF\", \"dark_vs\": \"keyword: #569CD6\", \"light_vs\": \"keyword: #0000FF\", \"hc_black\": \"keyword: #569CD6\" } }, { \"c\": \" \", \"t\": \"source.dart meta.declaration.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \"'package:flutter/material.dart'\", \"t\": \"source.dart meta.declaration.dart string.interpolated.single.dart\", \"r\": { \"dark_plus\": \"string: #CE9178\", \"light_plus\": \"string: #A31515\", \"dark_vs\": \"string: #CE9178\", \"light_vs\": \"string: #A31515\", \"hc_black\": \"string: #CE9178\" } }, { \"c\": \";\", \"t\": \"source.dart meta.declaration.dart punctuation.terminator.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \"void\", \"t\": \"source.dart storage.type.primitive.dart\", \"r\": { \"dark_plus\": \"storage.type: #569CD6\", \"light_plus\": \"storage.type: #0000FF\", \"dark_vs\": \"storage.type: #569CD6\", \"light_vs\": \"storage.type: #0000FF\", \"hc_black\": \"storage.type: #569CD6\" } }, { \"c\": \" \", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \"main\", \"t\": \"source.dart entity.name.function.dart\", \"r\": { \"dark_plus\": \"entity.name.function: #DCDCAA\", \"light_plus\": \"entity.name.function: #795E26\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"entity.name.function: #DCDCAA\" } }, { \"c\": \"() \", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \"async\", \"t\": \"source.dart keyword.control.dart\", \"r\": { \"dark_plus\": \"keyword.control: #C586C0\", \"light_plus\": \"keyword.control: #AF00DB\", \"dark_vs\": \"keyword.control: #569CD6\", \"light_vs\": \"keyword.control: #0000FF\", \"hc_black\": \"keyword.control: #C586C0\" } }, { \"c\": \" {\", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \" \", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \"runApp\", \"t\": \"source.dart entity.name.function.dart\", \"r\": { \"dark_plus\": \"entity.name.function: #DCDCAA\", \"light_plus\": \"entity.name.function: #795E26\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"entity.name.function: #DCDCAA\" } }, { \"c\": \"(\", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \" \", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \"MaterialApp\", \"t\": \"source.dart support.class.dart\", \"r\": { \"dark_plus\": \"support.class: #4EC9B0\", \"light_plus\": \"support.class: #267F99\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"support.class: #4EC9B0\" } }, { \"c\": \"(\", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \" debugShowCheckedModeBanner\", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \":\", \"t\": \"source.dart keyword.operator.ternary.dart\", \"r\": { \"dark_plus\": \"keyword.operator: #D4D4D4\", \"light_plus\": \"keyword.operator: #000000\", \"dark_vs\": \"keyword.operator: #D4D4D4\", \"light_vs\": \"keyword.operator: #000000\", \"hc_black\": \"keyword.operator: #D4D4D4\" } }, { \"c\": \" \", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \"false\", \"t\": \"source.dart constant.language.dart\", \"r\": { \"dark_plus\": \"constant.language: #569CD6\", \"light_plus\": \"constant.language: #0000FF\", \"dark_vs\": \"constant.language: #569CD6\", \"light_vs\": \"constant.language: #0000FF\", \"hc_black\": \"constant.language: #569CD6\" } }, { \"c\": \",\", \"t\": \"source.dart punctuation.comma.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \" home\", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \":\", \"t\": \"source.dart keyword.operator.ternary.dart\", \"r\": { \"dark_plus\": \"keyword.operator: #D4D4D4\", \"light_plus\": \"keyword.operator: #000000\", \"dark_vs\": \"keyword.operator: #D4D4D4\", \"light_vs\": \"keyword.operator: #000000\", \"hc_black\": \"keyword.operator: #D4D4D4\" } }, { \"c\": \" \", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \"Scaffold\", \"t\": \"source.dart support.class.dart\", \"r\": { \"dark_plus\": \"support.class: #4EC9B0\", \"light_plus\": \"support.class: #267F99\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"support.class: #4EC9B0\" } }, { \"c\": \"(\", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \" body\", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \":\", \"t\": \"source.dart keyword.operator.ternary.dart\", \"r\": { \"dark_plus\": \"keyword.operator: #D4D4D4\", \"light_plus\": \"keyword.operator: #000000\", \"dark_vs\": \"keyword.operator: #D4D4D4\", \"light_vs\": \"keyword.operator: #000000\", \"hc_black\": \"keyword.operator: #D4D4D4\" } }, { \"c\": \" \", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \"MyApp\", \"t\": \"source.dart support.class.dart\", \"r\": { \"dark_plus\": \"support.class: #4EC9B0\", \"light_plus\": \"support.class: #267F99\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"support.class: #4EC9B0\" } }, { \"c\": \"()\", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \",\", \"t\": \"source.dart punctuation.comma.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \" )\", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \",\", \"t\": \"source.dart punctuation.comma.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \" )\", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \",\", \"t\": \"source.dart punctuation.comma.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \" )\", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \";\", \"t\": \"source.dart punctuation.terminator.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \"}\", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \"class\", \"t\": \"source.dart keyword.declaration.dart\", \"r\": { \"dark_plus\": \"keyword: #569CD6\", \"light_plus\": \"keyword: #0000FF\", \"dark_vs\": \"keyword: #569CD6\", \"light_vs\": \"keyword: #0000FF\", \"hc_black\": \"keyword: #569CD6\" } }, { \"c\": \" \", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \"MyApp\", \"t\": \"source.dart support.class.dart\", \"r\": { \"dark_plus\": \"support.class: #4EC9B0\", \"light_plus\": \"support.class: #267F99\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"support.class: #4EC9B0\" } }, { \"c\": \" \", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \"extends\", \"t\": \"source.dart keyword.declaration.dart\", \"r\": { \"dark_plus\": \"keyword: #569CD6\", \"light_plus\": \"keyword: #0000FF\", \"dark_vs\": \"keyword: #569CD6\", \"light_vs\": \"keyword: #0000FF\", \"hc_black\": \"keyword: #569CD6\" } }, { \"c\": \" \", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \"StatefulWidget\", \"t\": \"source.dart support.class.dart\", \"r\": { \"dark_plus\": \"support.class: #4EC9B0\", \"light_plus\": \"support.class: #267F99\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"support.class: #4EC9B0\" } }, { \"c\": \" {\", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \" \", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \"@override\", \"t\": \"source.dart storage.type.annotation.dart\", \"r\": { \"dark_plus\": \"storage.type: #569CD6\", \"light_plus\": \"storage.type: #0000FF\", \"dark_vs\": \"storage.type: #569CD6\", \"light_vs\": \"storage.type: #0000FF\", \"hc_black\": \"storage.type: #569CD6\" } }, { \"c\": \" \", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \"_MyAppState\", \"t\": \"source.dart support.class.dart\", \"r\": { \"dark_plus\": \"support.class: #4EC9B0\", \"light_plus\": \"support.class: #267F99\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"support.class: #4EC9B0\" } }, { \"c\": \" \", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \"createState\", \"t\": \"source.dart entity.name.function.dart\", \"r\": { \"dark_plus\": \"entity.name.function: #DCDCAA\", \"light_plus\": \"entity.name.function: #795E26\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"entity.name.function: #DCDCAA\" } }, { \"c\": \"() \", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \"=>\", \"t\": \"source.dart keyword.operator.closure.dart\", \"r\": { \"dark_plus\": \"keyword.operator: #D4D4D4\", \"light_plus\": \"keyword.operator: #000000\", \"dark_vs\": \"keyword.operator: #D4D4D4\", \"light_vs\": \"keyword.operator: #000000\", \"hc_black\": \"keyword.operator: #D4D4D4\" } }, { \"c\": \" \", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \"_MyAppState\", \"t\": \"source.dart support.class.dart\", \"r\": { \"dark_plus\": \"support.class: #4EC9B0\", \"light_plus\": \"support.class: #267F99\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"support.class: #4EC9B0\" } }, { \"c\": \"()\", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \";\", \"t\": \"source.dart punctuation.terminator.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } }, { \"c\": \"}\", \"t\": \"source.dart\", \"r\": { \"dark_plus\": \"default: #D4D4D4\", \"light_plus\": \"default: #000000\", \"dark_vs\": \"default: #D4D4D4\", \"light_vs\": \"default: #000000\", \"hc_black\": \"default: #FFFFFF\" } } ] No newline at end of file"} {"_id":"q-en-vscode-71036551edeebc6fbe261e71a1393d6d480466eb7ad979ce48c98afd1e1925f1","text":"} public get lineNumbers(): number[] { return this._lineNumbers; }"} {"_id":"q-en-vscode-71107b8323477b71858fb2330c485652085fc2f42819e06155941cf37f5f9e7b","text":"this.editor.updateOptions({ padding: { top: defaultCodeblockPadding, bottom: bottomPadding } }); } private _configureForScreenReader(): void { const toolbarElt = this.toolbar.getElement(); if (this._accessibilityService.isScreenReaderOptimized()) { toolbarElt.style.display = 'block'; toolbarElt.ariaLabel = this._configurationService.getValue(AccessibilityVerbositySettingId.Chat) ? localize('chat.codeBlock.toolbarVerbose', 'Toolbar for code block which can be reached via tab') : localize('chat.codeBlock.toolbar', 'Code block toolbar'); } else { toolbarElt.style.display = ''; } } private getEditorOptionsFromConfig(): IEditorOptions { return { wordWrap: this.options.configuration.resultEditor.wordWrap,"} {"_id":"q-en-vscode-712d67bd38f5449d5e33c3e869e3671df590ea7e2fbe4a41fab92c2395c5303a","text":"\"less.lint.emptyRules.desc\": \"Do not use empty rulesets.\", \"less.lint.float.desc\": \"Avoid using `float`. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes.\", \"less.lint.fontFaceProperties.desc\": \"`@font-face` rule must define `src` and `font-family` properties.\", \"less.lint.hexColorLength.desc\": \"Hex colors must consist of three or six hex numbers.\", \"less.lint.hexColorLength.desc\": \"Hex colors must consist of 3, 4, 6 or 8 hex numbers.\", \"less.lint.idSelector.desc\": \"Selectors should not contain IDs because these rules are too tightly coupled with the HTML.\", \"less.lint.ieHack.desc\": \"IE hacks are only necessary when supporting IE7 and older.\", \"less.lint.important.desc\": \"Avoid using `!important`. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored.\","} {"_id":"q-en-vscode-713b21f1b0d5b01d0393d37a2e4f8a759c8fa3e9ae4af96e35256b575ea107ec","text":"disturl \"https://electronjs.org/headers\" target \"19.1.8\" target \"19.1.9\" runtime \"electron\" build_from_source \"true\""} {"_id":"q-en-vscode-7153279aea3b83b6afece0e8dc10e010c990b6a1d3f0e91533d43004f4c54d5b","text":"} } private async getWebiewContents(): Promise { private async getWebviewContents(): Promise { const version = Date.now().toString(); const settings = { isMac: process.platform === 'darwin',"} {"_id":"q-en-vscode-71af163daa5cc8fb54f47219e72f5961a1068afa583ba5f515efe9c42c8aa3d8","text":"logMessage: l.logMessage } ); this.debugService.addBreakpoints(uri.revive(dto.uri), rawbps); this.debugService.addBreakpoints(uri.revive(dto.uri), rawbps, 'extension'); } else if (dto.type === 'function') { this.debugService.addFunctionBreakpoint(dto.functionName, dto.id); }"} {"_id":"q-en-vscode-71c5f8cc2f15435cc42a818234113043b2e3502346fdcc7c986dcab8d0b217cd","text":"currentHistoryItemRemoteRef?: ISCMHistoryItemRef, currentHistoryItemBaseRef?: ISCMHistoryItemRef ): number { const getHistoryItemRefPriority = (ref: ISCMHistoryItemRef) => { const getHistoryItemRefOrder = (ref: ISCMHistoryItemRef) => { if (ref.id === currentHistoryItemRef?.id) { return 1; } else if (ref.id === currentHistoryItemRemoteRef?.id) {"} {"_id":"q-en-vscode-71ceb7935ee3ee0c88ed27d5682ba73727cd126dabf42f5cb922afd57c0b414a","text":"} public unhide() { this.element.style.visibility = 'visible'; this.element.style.visibility = ''; this.updateMarkupDimensions(); }"} {"_id":"q-en-vscode-71eaf260af798934c609f333b60c36059d5f7882f5890f7d5157437c3b3a50de","text":"import { ICommentThreadChangedEvent } from 'vs/workbench/contrib/comments/common/commentModel'; import { CommentMenus } from 'vs/workbench/contrib/comments/browser/commentMenus'; import { ICellRange } from 'vs/workbench/contrib/notebook/common/notebookRange'; import { IWorkbenchLayoutService } from 'vs/workbench/services/layout/browser/layoutService'; export const ICommentService = createDecorator('commentService');"} {"_id":"q-en-vscode-72081c1f6b5805e42468ff72e1eeab5a33176e6ab6185b7d240eed7535100297","text":"} } private _getPicksFromMatches(matches: FileMatch[], limit: number): (IQuickPickSeparator | ITextSearchQuickAccessItem)[] { private _getPicksFromMatches(matches: FileMatch[], limit: number): (IPickerQuickAccessSeparator | ITextSearchQuickAccessItem)[] { matches = matches.sort(searchComparer); const files = matches.length > limit ? matches.slice(0, limit) : matches; const picks: Array = []; const picks: Array = []; for (let fileIndex = 0; fileIndex < matches.length; fileIndex++) { if (fileIndex === limit) {"} {"_id":"q-en-vscode-72669bf5a91b51e04f713fc0cd48e03bf1145cb6c45e6927bd0be43050f19a08","text":"// --- from extension host process $tryShowTextDocument(resource: URI, options: ITextDocumentShowOptions): TPromise { const editorOptions: IEditorOptions = { const editorOptions: ITextEditorOptions = { preserveFocus: options.preserveFocus, pinned: options.pinned pinned: options.pinned, selection: options.selection }; const input = {"} {"_id":"q-en-vscode-72f34ce9c0a3338ac6d862f179978bc77c465c6cb0070c692d4383b7605c7c99","text":"this._labelElement = document.createElement('div'); this._labelElement.classList.add('monaco-button-label'); this._labelElement.tabIndex = -1; this._element.appendChild(this._labelElement); this._descriptionElement = document.createElement('div'); this._descriptionElement.classList.add('monaco-button-description'); this._descriptionElement.tabIndex = -1; this._element.appendChild(this._descriptionElement); }"} {"_id":"q-en-vscode-72fb617cae335f93e27f47552319e0c40aa49bd0b8c133513e79ca713c072aad","text":"list_paragraph begin (^|G)(?=S)(?![*+-]s|[0-9]+.s) (^|G)(?=S)(?![*+->]s|[0-9]+.s) name meta.paragraph.markdown patterns"} {"_id":"q-en-vscode-730ad54788935ec19a437755d9a05537da8ef72dc6c326f8cc6e830b7947d7e8","text":"resetStateMachine:boolean, hasOpenParens:boolean, hasOpenSquareBracket:boolean, hasOpenCurlyBracket:boolean; hasOpenCurlyBracket:boolean, characterClassifier:CharacterClassifier = new CharacterClassifier(); for (i = 1, lineCount = model.getLineCount(); i <= lineCount; i++) { line = model.getLineContent(i);"} {"_id":"q-en-vscode-740736fa59194bde8ee9c7b52b32db832e6846788c416a3a96bdf721417cf03c","text":"const modelVersionNow = model.getAlternativeVersionId(); const { item } = event; // const tasks: Promise[] = []; const cts = new CancellationTokenSource(); // pushing undo stops *before* additional text edits and // *after* the main edit if (!(flags & InsertFlags.NoBeforeUndoStop)) {"} {"_id":"q-en-vscode-7449001da98ae3a76c7ad32eb6a4e2eddb871aad64ca41cd051e94e2b4e8ff23","text":"pick: async () => { // Do a late 'onDebugDynamicConfigurationsName' activation so extensions are not activated too early #108578 await this.adapterManager.activateDebuggers(onDebugDynamicConfigurationsName, type); const disposables = new DisposableStore(); const input = disposables.add(this.quickInputService.createQuickPick()); input.busy = true; input.placeholder = nls.localize('selectConfiguration', \"Select Launch Configuration\"); input.show(); const chosenPromise = new Promise(resolve => { disposables.add(input.onDidAccept(() => resolve(input.activeItems[0]))); disposables.add(input.onDidTriggerItemButton(async (context) => { resolve(undefined); const { launch, config } = context.item; await launch.openConfigFile({ preserveFocus: false, type: config.type, suppressInitialConfigs: true }); // Only Launch have a pin trigger button await (launch as Launch).writeConfiguration(config); await this.selectConfiguration(launch, config.name); this.removeRecentDynamicConfigurations(config.name, config.type); })); }); const token = new CancellationTokenSource(); const picks: Promise[] = [];"} {"_id":"q-en-vscode-744ebe4bf77b601b91d6c389b46887de3de2cbb5ab571106cf4553a914a3832f","text":"\"git\": { \"name\": \"electron\", \"repositoryUrl\": \"https://github.com/electron/electron\", \"commitHash\": \"a5cafd174d2027529d0b251e5b8e58da2b364e5b\" \"commitHash\": \"b05ccd812e3bb3de5b1546a313e298961653e942\" } }, \"isOnlyProductionDependency\": true, \"license\": \"MIT\", \"version\": \"19.0.11\" \"version\": \"19.0.12\" }, { \"component\": {"} {"_id":"q-en-vscode-745946dcaabc271b65839bb1008bce48d89710ab24066435b25df9db68f87037","text":"|| installedExtension.preRelease !== e.preRelease // Install if the extension pre-release preference has changed ) { if (await this.extensionManagementService.canInstall(extension)) { this.logService.trace(`${syncResourceLogLabel}: Installing extension...`, e.identifier.id, extension.version); await this.extensionManagementService.installFromGallery(extension, { isMachineScoped: false, donotIncludePackAndDependencies: true, installPreReleaseVersion: e.preRelease, profileLocation: profile.extensionsResource } /* set isMachineScoped value to prevent install and sync dialog in web */); this.logService.info(`${syncResourceLogLabel}: Installed extension.`, e.identifier.id, extension.version); removeFromSkipped.push(extension.identifier); extensionsToInstall.push([e, extension]); } else { this.logService.info(`${syncResourceLogLabel}: Skipped synchronizing extension because it cannot be installed.`, extension.displayName || extension.identifier.id); addToSkipped.push(e);"} {"_id":"q-en-vscode-74c90d0ef01f0b8f973a14784800e361809d9a2a5828fbb543a17dde48cbb677","text":"} const cell = new MarkupCell(init.cellId, init.mime, init.content, top, init.metadata); cell.element.style.visibility = visible ? 'visible' : 'hidden'; cell.element.style.visibility = visible ? '' : 'hidden'; this._markupCells.set(init.cellId, cell); await cell.ready;"} {"_id":"q-en-vscode-74c9ed809d227daa564f720767a2e0760418d1373b1fd783a0282624e580ea58","text":"dispose: () => combinedDisposable(disposables).dispose() }; const cacheKey = descriptor.resource.toString(); const cacheKey = `${descriptor.resource.toString()}:${descriptor.etag}`; let ctrlPressed = false; let altPressed = false;"} {"_id":"q-en-vscode-74e953b18d5893be0c73785c1999d7125ed3f28bea31ef282ec725af330e2be7","text":"import { filter } from 'vs/base/common/objects'; import { assertType } from 'vs/base/common/types'; import { URI } from 'vs/base/common/uri'; import { localize } from 'vs/nls'; import { IRevertOptions, ISaveOptions, IUntypedEditorInput } from 'vs/workbench/common/editor'; import { EditorModel } from 'vs/workbench/common/editor/editorModel'; import { NotebookTextModel } from 'vs/workbench/contrib/notebook/common/model/notebookTextModel'; import { ICellDto2, INotebookEditorModel, INotebookLoadOptions, IResolvedNotebookEditorModel, NotebookCellsChangeType, NotebookData } from 'vs/workbench/contrib/notebook/common/notebookCommon'; import { INotebookSerializer, INotebookService, SimpleNotebookProviderInfo } from 'vs/workbench/contrib/notebook/common/notebookService'; import { IExtensionService } from 'vs/workbench/services/extensions/common/extensions'; import { IFilesConfigurationService } from 'vs/workbench/services/filesConfiguration/common/filesConfigurationService'; import { ILifecycleService } from 'vs/workbench/services/lifecycle/common/lifecycle'; import { IFileWorkingCopyManager } from 'vs/workbench/services/workingCopy/common/fileWorkingCopyManager';"} {"_id":"q-en-vscode-7509d2e9c74abfffe9254e1d88b5e80edac1f30453ed14f82ebf89976bc03bf6","text":"} let index: number; if (this.editor.hasModel() && (typeof lineNumber === 'number')) { if (this.editor.hasModel() && (typeof lineNumber === 'number' || !this.widget.provider)) { index = this.model.findNextClosestChange(typeof lineNumber === 'number' ? lineNumber : this.editor.getPosition().lineNumber, true, this.widget.provider); } else { const providerChanges: number[] = this.model.mapChanges.get(this.widget.provider) ?? this.model.mapChanges.values().next().value;"} {"_id":"q-en-vscode-7522fdd827b8d701d522bc4f75b84b3705ae25b70340d92236ea84432bfc1976","text":"**/extensions/markdown-language-features/notebook-out/** **/extensions/typescript-basics/test/colorize-fixtures/** **/extensions/**/dist/** **/extensions/typescript-language-features/test-workspace/** "} {"_id":"q-en-vscode-7529d129cec7c1f825c4c240ac94e9963999a235ceb902dcddd43686eeac1a70","text":"updateOptions(newOptions: Partial) { this._options = { ...this._options, ...newOptions }; this._viewCells.forEach(cell => cell.updateOptions({ readonly: this._options.isReadOnly })); this._onDidChangeOptions.fire(); }"} {"_id":"q-en-vscode-755cf6674f3cc23b4410d1a825d0422d10850187d5dce265146d097e8f5e00cb","text":"dropdownActions.push(new SubmenuAction('split.profile', localize('splitTerminal', 'Split Terminal'), submenuActions)); dropdownActions.push(new Separator()); } for (const [, configureActions] of dropdownMenu.getActions()) { for (const action of configureActions) { // make sure the action is a MenuItemAction if ('alt' in action) { dropdownActions.push(action); } } } const actions = dropdownMenu.getActions(); dropdownActions.push(...Separator.join(...actions.map(a => a[1]))); const defaultSubmenuProfileAction = submenuActions.find(d => d.label.endsWith('(Default)')); if (defaultSubmenuProfileAction) {"} {"_id":"q-en-vscode-757fa9d03c09e382577f3b5392eb61e4d6e3b21d44730d93961e44871590d09d","text":"\"@vscode/vscode-languagedetection\": \"1.0.21\", \"@vscode/windows-process-tree\": \"^0.6.0\", \"@vscode/windows-registry\": \"^1.1.0\", \"@xterm/addon-clipboard\": \"0.2.0-beta.39\", \"@xterm/addon-image\": \"0.9.0-beta.56\", \"@xterm/addon-search\": \"0.16.0-beta.56\", \"@xterm/addon-serialize\": \"0.14.0-beta.56\", \"@xterm/addon-unicode11\": \"0.9.0-beta.56\", \"@xterm/addon-webgl\": \"0.19.0-beta.56\", \"@xterm/headless\": \"5.6.0-beta.56\", \"@xterm/xterm\": \"5.6.0-beta.56\", \"@xterm/addon-clipboard\": \"^0.2.0-beta.47\", \"@xterm/addon-image\": \"^0.9.0-beta.64\", \"@xterm/addon-search\": \"^0.16.0-beta.64\", \"@xterm/addon-serialize\": \"^0.14.0-beta.64\", \"@xterm/addon-unicode11\": \"^0.9.0-beta.64\", \"@xterm/addon-webgl\": \"^0.19.0-beta.64\", \"@xterm/headless\": \"^5.6.0-beta.64\", \"@xterm/xterm\": \"^5.6.0-beta.64\", \"cookie\": \"^0.4.0\", \"http-proxy-agent\": \"^7.0.0\", \"https-proxy-agent\": \"^7.0.2\","} {"_id":"q-en-vscode-758d24495668dfeba652e2de11c1c07f996f068a1330018871830defcb67d828","text":"readonly allowEditorOverflow = true; private readonly domNode = document.createElement('div'); private readonly elements = h('.editor-dictation-widget@main', [h('span@mic')]); constructor(private readonly editor: ICodeEditor) { constructor(private readonly editor: ICodeEditor, keybindingService: IKeybindingService) { super(); this.domNode.appendChild(this.elements.root); this.domNode.style.zIndex = '1000'; reset(this.elements.mic, renderIcon(Codicon.micFilled)); const actionBar = this._register(new ActionBar(this.domNode)); const stopActionKeybinding = keybindingService.lookupKeybinding(EditorDictationStopAction.ID)?.getLabel(); actionBar.push(toAction({ id: EditorDictationStopAction.ID, label: stopActionKeybinding ? localize('stopDictationShort1', \"Stop Dictation ({0})\", stopActionKeybinding) : localize('stopDictationShort2', \"Stop Dictation\"), class: ThemeIcon.asClassName(Codicon.micFilled), run: () => EditorDictation.get(editor)?.stop() }), { icon: true, label: false, keybinding: stopActionKeybinding }); this.domNode.classList.add('editor-dictation-widget'); this.domNode.appendChild(actionBar.domNode); } getId(): string {"} {"_id":"q-en-vscode-75a5d10aea0aebd35edde474677a85d9b6c66c4614a7edd82f5b14c363bf87bc","text":"setTimeout(() => { dom.addClass(this._innerDomNode, 'visible'); dom.addClass(this._innerDomNode, 'visible-transition'); this._innerDomNode.setAttribute('aria-hidden', 'false'); setTimeout(() => { this._findInput.select();"} {"_id":"q-en-vscode-75e1ea39322d5831c5832644e446cf0fbe40e437af0a7ac81f17ea95300554b7","text":"} rawUpdate(data: IRawModelUpdate): void { const threadIds: number[] = []; data.threads.forEach(thread => { threadIds.push(thread.id); if (!this.threads.has(thread.id)) { // A new thread came in, initialize it. this.threads.set(thread.id, new Thread(this, thread.name, thread.id));"} {"_id":"q-en-vscode-75ecf6fcd74bc4285a0d294a9c6a5d717ff6af9fdbcb261d8b76aa52ec5a2d3b","text":"} } private notifyOnAppRootEditors(appRootUri: URI): void { const resourceUri = EditorResourceAccessor.getOriginalUri(this.editorService.activeEditor, { supportSideBySide: SideBySideEditor.BOTH }); const isResourceAppRootedFn = (uri: URI): boolean => this.uriIdentityService.extUri.isEqualOrParent(uri, appRootUri); let isResourceAppRooted = false; if (URI.isUri(resourceUri)) { if (isResourceAppRootedFn(resourceUri)) { isResourceAppRooted = true; } } else if (resourceUri) { if (resourceUri.primary && isResourceAppRootedFn(resourceUri.primary)) { isResourceAppRooted = true; } else if (resourceUri.secondary && isResourceAppRootedFn(resourceUri.secondary)) { isResourceAppRooted = true; } } // It is dangerous to edit files in the installation directory of Code because // an update will remove all files and replace them with the new version. // As such, we notify the user whenever an editor opens that is located somewhere // in the installation directory. // https://github.com/microsoft/vscode/issues/138815 if (isResourceAppRooted) { this.notificationService.prompt( Severity.Warning, localize('notifyOnAppRootEditors', \"Files within the installation folder of '{0}' ({1}) will be OVERWRITTEN or DELETED IRREVERSIBLY without warning during a future update.\", this.productService.nameShort, this.environmentService.appRoot), [{ label: localize('understood', 'Understood'), run: async () => { // Nothing to do } }], { neverShowAgain: { id: 'window.notifyOnAppRootEditors', isSecondary: true }, sticky: true } ); } } private onAddFoldersRequest(request: IAddFoldersRequest): void { // Buffer all pending requests"} {"_id":"q-en-vscode-76164d564452e4898c7733ec91954fcbdc5ada110a9108b1c83944ed2a4e4c06","text":"import { IStorageService, StorageScope, StorageTarget } from '../../../../platform/storage/common/storage.js'; import { INotificationService } from '../../../../platform/notification/common/notification.js'; import { IExtensionService } from '../../../services/extensions/common/extensions.js'; import { groupBy as groupBy2 } from '../../../../base/common/collections.js'; const PICK_REPOSITORY_ACTION_ID = 'workbench.scm.action.graph.pickRepository'; const PICK_HISTORY_ITEM_REFS_ACTION_ID = 'workbench.scm.action.graph.pickHistoryItemRefs';"} {"_id":"q-en-vscode-767a4e80c5ad17eb1c029748bd0de7e34f953fedb2956cf9f44bd5ea8953f46a","text":"if (exitCode) { this._xterm.writeln(exitCodeMessage); } let message = typeof this._shellLaunchConfig.waitOnExit === 'string' ? this._shellLaunchConfig.waitOnExit : nls.localize('terminal.integrated.waitOnExit', 'Press any key to close the terminal'); // Bold the message and add an extra new line to make it stand out from the rest of the output message = `nx1b[1m${message}x1b[0m`; this._xterm.writeln(message); if (typeof this._shellLaunchConfig.waitOnExit === 'string') { let message = this._shellLaunchConfig.waitOnExit; // Bold the message and add an extra new line to make it stand out from the rest of the output message = `nx1b[1m${message}x1b[0m`; this._xterm.writeln(message); } // Disable all input if the terminal is exiting and listen for next keypress this._xterm.setOption('disableStdin', true); if (this._xterm.textarea) {"} {"_id":"q-en-vscode-76871576a9c19041c0a727900bc595271e6870126a462c6a698f70fc5abef187","text":".monaco-editor .view-ruler { position: absolute; top: 0; --box-shadow-color: rgba(0, 0, 0, 0); box-shadow: 1px 0 0 0 var(--box-shadow-color) inset; } No newline at end of file"} {"_id":"q-en-vscode-768b85b8ff0ef5ab5a477c8905ef14e88d472e2cf57c5beddd131b12590ab010","text":"cursor: pointer; color: white; flex: 1; white-space: nowrap; overflow: hidden; } .colorpicker-header .picked-color .picked-color-presentation { white-space: nowrap; margin-left: 5px; margin-right: 5px; } .colorpicker-header .picked-color .codicon { color: inherit; font-size: 14px; position: absolute; left: 8px; } .colorpicker-header .picked-color.light {"} {"_id":"q-en-vscode-76be54b772164511ccee98976bde576264b32365a840ac5f85fe58490a50919d","text":"override updateOptions(options: IWorkbenchListOptionsUpdate): void { super.updateOptions(options); this.updateStyles(options.overrideStyles); if (options.overrideStyles !== undefined) { this.updateStyles(options.overrideStyles); } if (options.multipleSelectionSupport !== undefined) { this.listSupportsMultiSelect.set(!!options.multipleSelectionSupport);"} {"_id":"q-en-vscode-76c49df4cd71872f06b53ca6b3d3753f63f78d89a41d069eeaa4ff24ccae7794","text":"markdownDescription: localize('terminal.integrated.accessibleViewPreserveCursorPosition', \"Preserve the cursor position on reopen of the terminal's accessible view rather than setting it to the bottom of the buffer.\"), type: 'boolean', default: false } }, [TerminalSettingId.AccessibleViewFocusOnCommandExecution]: { markdownDescription: localize('terminal.integrated.accessibleViewFocusOnCommandExecution', \"Focus the terminal accessible view when a command is executed.\"), type: 'boolean', default: false }, } };"} {"_id":"q-en-vscode-76dda93148d9fd48e3e2bbfb5cac2cedd5243df9638b00b99213654448e5d5a4","text":"import { IQuickPickSeparator } from 'vs/platform/quickinput/common/quickInput'; import { IViewsService } from 'vs/workbench/common/views'; import { DEBUG_CONSOLE_QUICK_ACCESS_PREFIX, SELECT_AND_START_ID } from 'vs/workbench/contrib/debug/browser/debugCommands'; import { getStateLabel, IDebugService, IDebugSession, REPL_VIEW_ID } from 'vs/workbench/contrib/debug/common/debug'; import { IDebugService, IDebugSession, REPL_VIEW_ID } from 'vs/workbench/contrib/debug/common/debug'; export class DebugConsoleQuickAccess extends PickerQuickAccessProvider {"} {"_id":"q-en-vscode-76f31a997872f054898f43a83bca8df7d0a94fdfa27472fd82bcf126e0adebc0","text":"}; } function slugFromHeading(heading: string): string { function addLinkRenderer(md: MarkdownIt): void { const original = md.renderer.rules.link_open; md.renderer.rules.link_open = (tokens: MarkdownItToken[], idx: number, options, env, self) => { const token = tokens[idx]; const href = token.attrGet('href'); if (typeof href === 'string' && href.startsWith('#')) { token.attrSet('href', '#' + slugify(href.slice(1))); } if (original) { return original(tokens, idx, options, env, self); } else { return self.renderToken(tokens, idx, options); } }; } function slugify(text: string): string { const slugifiedHeading = encodeURI( heading.trim() text.trim() .toLowerCase() .replace(/s+/g, '-') // Replace whitespace with - // allow-any-unicode-next-line"} {"_id":"q-en-vscode-770adf3916dbf851dcc8531b320bedd3c165fa10a0569d81bbea73a1f9e43d15","text":"); } async cloneRepository(url?: string, parentPath?: string, options: { recursive?: boolean } = {}): Promise { async cloneRepository(url?: string, parentPath?: string, options: { recursive?: boolean; ref?: string } = {}): Promise { if (!url || typeof url !== 'string') { url = await pickRemoteSource({ providerLabel: provider => localize('clonefrom', \"Clone from {0}\", provider.name),"} {"_id":"q-en-vscode-7711835dd874d8bf309bb345d07f755c3f852d0c7ad866c3f5b3f97ed21cbabc","text":"const NOTEBOOK_FIND_IN_CODE_INPUT = nls.localize('notebook.find.filter.findInCodeInput', \"Code Cell Source\"); const NOTEBOOK_FIND_IN_CODE_OUTPUT = nls.localize('notebook.find.filter.findInCodeOutput', \"Code Cell Output\"); const NOTEBOOK_FIND_WIDGET_INITIAL_WIDTH = 318; const NOTEBOOK_FIND_WIDGET_INITIAL_WIDTH = 419; const NOTEBOOK_FIND_WIDGET_INITIAL_HORIZONTAL_PADDING = 4; class NotebookFindFilterActionViewItem extends DropdownMenuActionViewItem { constructor(readonly filters: NotebookFindFilters, action: IAction, options: IActionViewItemOptions, actionRunner: IActionRunner, @IContextMenuService contextMenuService: IContextMenuService) {"} {"_id":"q-en-vscode-7785660edffc88c159e880a9162b00070b87d4cffd654f66a52139fd743f9261","text":"export const USER_DATA_SYNC_SCHEME = 'vscode-userdata-sync'; export const PREVIEW_DIR_NAME = 'preview'; export const EXTENSIONS_SYNC_CONTEXT_KEY = 'extensionsSync'; "} {"_id":"q-en-vscode-77a6a004b88bdb1ffc00c47ab82190410ed33512261ff1fb7e42f58b71dede88","text":"} } function getReportIssueArgsForError(error: TypeScriptServerError): { issueTitle: string, issueBody: string } | undefined { function getReportIssueArgsForError(error: TypeScriptServerError): { extensionId: string, issueTitle: string, issueBody: string } | undefined { if (!error.serverStack || !error.serverMessage) { return undefined; }"} {"_id":"q-en-vscode-77d5dcf1487bac0db3acd09d6dc62fdc0acbc1ab2ed7e6c8428db00b4d8b0f96","text":"async updateLocalExtensions(added: ISyncExtension[], removed: IExtensionIdentifier[], updated: ISyncExtension[], skippedExtensions: ISyncExtension[], profile: IUserDataProfile): Promise { const syncResourceLogLabel = getSyncResourceLogLabel(SyncResource.Extensions, profile); return this.withProfileScopedServices(profile, async (extensionEnablementService, extensionStorageService) => { const removeFromSkipped: IExtensionIdentifier[] = []; const addToSkipped: ISyncExtension[] = []; const installedExtensions = await this.extensionManagementService.getInstalled(undefined, profile.extensionsResource); if (removed.length) { const extensionsToRemove = installedExtensions.filter(({ identifier, isBuiltin }) => !isBuiltin && removed.some(r => areSameExtensions(identifier, r))); await Promises.settled(extensionsToRemove.map(async extensionToRemove => { this.logService.trace(`${syncResourceLogLabel}: Uninstalling local extension...`, extensionToRemove.identifier.id); await this.extensionManagementService.uninstall(extensionToRemove, { donotIncludePack: true, donotCheckDependents: true, profileLocation: profile.extensionsResource }); this.logService.info(`${syncResourceLogLabel}: Uninstalled local extension.`, extensionToRemove.identifier.id); removeFromSkipped.push(extensionToRemove.identifier); })); } const extensionsToInstall: [ISyncExtension, IGalleryExtension][] = []; const removeFromSkipped: IExtensionIdentifier[] = []; const addToSkipped: ISyncExtension[] = []; const installedExtensions = await this.extensionManagementService.getInstalled(undefined, profile.extensionsResource); if (added.length || updated.length) { // 1. Sync extensions state first so that the storage is flushed and updated in all opened windows if (added.length || updated.length) { await this.withProfileScopedServices(profile, async (extensionEnablementService, extensionStorageService) => { await Promises.settled([...added, ...updated].map(async e => { const installedExtension = installedExtensions.find(installed => areSameExtensions(installed.identifier, e.identifier));"} {"_id":"q-en-vscode-781cf0a749ad69e2b6370c285acd9cba04c6da780a55b72a71d7dff2878e9ded","text":"id: 'editor.action.toggleScreenReaderAccessibilityMode', title: { value: nls.localize('toggleScreenReaderMode', \"Toggle Screen Reader Accessibility Mode\"), original: 'Toggle Screen Reader Accessibility Mode' }, f1: true, keybinding: { primary: KeyMod.CtrlCmd | KeyCode.KeyE, weight: KeybindingWeight.WorkbenchContrib + 10, when: accessibilityHelpIsShown } }); }"} {"_id":"q-en-vscode-7823f31d01c73d67cce50bf6ad70bd00cdef60c7524b2977722489e432306964","text":"override async revealRangeInCenterIfOutsideViewportAsync() { } override async layoutNotebookCell() { } override async removeInset() { } override async focusNotebookCell() { } override async focusNotebookCell(cell: ICellViewModel, focusItem: 'editor' | 'container' | 'output') { cell.focusMode = focusItem === 'editor' ? CellFocusMode.Editor : focusItem === 'output' ? CellFocusMode.Output : CellFocusMode.Container; } override cellAt(index: number) { return viewModel.cellAt(index)!; } override getCellIndex(cell: ICellViewModel) { return viewModel.getCellIndex(cell); } override getCellsInRange(range?: ICellRange) { return viewModel.getCellsInRange(range); }"} {"_id":"q-en-vscode-789b06a3c7cc2f05d12fdee8b1d000cbee3b575a0e12f39fdbaef2e5cd036490","text":"CannotEndIn = 2 } var getCharacterClasses = (function() { var FORCE_TERMINATION_CHARACTERS = ' t<>'\"'; var CANNOT_END_WITH_CHARACTERS = '.,;'; var _cachedResult: CharacterClass[] = null; var findLargestCharCode = (str:string):number => { var r = 0; for (var i = 0, len = str.length; i < len; i++) { r = Math.max(r, str.charCodeAt(i)); let _openParens = '('.charCodeAt(0); let _closeParens = ')'.charCodeAt(0); let _openSquareBracket = '['.charCodeAt(0); let _closeSquareBracket = ']'.charCodeAt(0); let _openCurlyBracket = '{'.charCodeAt(0); let _closeCurlyBracket = '}'.charCodeAt(0); class CharacterClassifier { /** * Maintain a compact (fully initialized ASCII map for quickly classifying ASCII characters - used more often in code). */ private _asciiMap: CharacterClass[]; /** * The entire map (sparse array). */ private _map: CharacterClass[]; constructor() { var FORCE_TERMINATION_CHARACTERS = ' t<>'\"、。。、,.:;?!@#$%&*‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…'; var CANNOT_END_WITH_CHARACTERS = '.,;'; this._asciiMap = []; for (let i = 0; i < 256; i++) { this._asciiMap[i] = CharacterClass.None; } return r; }; var set = (str:string, toWhat:CharacterClass): void => { for (var i = 0, len = str.length; i < len; i++) { _cachedResult[str.charCodeAt(i)] = toWhat; this._map = []; for (let i = 0; i < FORCE_TERMINATION_CHARACTERS.length; i++) { this._set(FORCE_TERMINATION_CHARACTERS.charCodeAt(i), CharacterClass.ForceTermination); } }; return function(): CharacterClass[] { if (_cachedResult === null) { // Find cachedResult size var largestCharCode = Math.max( findLargestCharCode(FORCE_TERMINATION_CHARACTERS), findLargestCharCode(CANNOT_END_WITH_CHARACTERS) ); // Initialize cachedResult _cachedResult = []; for (var i = 0; i < largestCharCode; i++) { _cachedResult[i] = CharacterClass.None; } // Fill in cachedResult set(FORCE_TERMINATION_CHARACTERS, CharacterClass.ForceTermination); set(CANNOT_END_WITH_CHARACTERS, CharacterClass.CannotEndIn); for (let i = 0; i < CANNOT_END_WITH_CHARACTERS.length; i++) { this._set(CANNOT_END_WITH_CHARACTERS.charCodeAt(i), CharacterClass.CannotEndIn); } } private _set(charCode:number, charClass:CharacterClass): void { if (charCode < 256) { this._asciiMap[charCode] = charClass; } this._map[charCode] = charClass; } return _cachedResult; }; })(); public classify(charCode:number): CharacterClass { if (charCode < 256) { return this._asciiMap[charCode]; } let _openParens = '('.charCodeAt(0); let _closeParens = ')'.charCodeAt(0); let _openSquareBracket = '['.charCodeAt(0); let _closeSquareBracket = ']'.charCodeAt(0); let _openCurlyBracket = '{'.charCodeAt(0); let _closeCurlyBracket = '}'.charCodeAt(0); let charClass = this._map[charCode]; if (charClass) { return charClass; } return CharacterClass.None; } } class LinkComputer {"} {"_id":"q-en-vscode-78e8d0f8fc00ef6a5c0919a5a9d78553169ea0ce144e95bc313568ef20247c2c","text":"return TerminalInstance._lastKnownCanvasDimensions; } set shutdownPersistentProcessId(shutdownPersistentProcessId: number | undefined) { this._shutdownPersistentProcessId = shutdownPersistentProcessId; } get persistentProcessId(): number | undefined { return this._processManager.persistentProcessId ?? this._shutdownPersistentProcessId; } get shouldPersist(): boolean { return (this._processManager.shouldPersist || this._shutdownPersistentProcessId !== undefined) && !this.shellLaunchConfig.isTransient && (!this.reconnectionProperties || this._configurationService.getValue(TaskSettingId.Reconnection) === true); } get persistentProcessId(): number | undefined { return this._processManager.persistentProcessId; } get shouldPersist(): boolean { return this._processManager.shouldPersist && !this.shellLaunchConfig.isTransient && (!this.reconnectionProperties || this._configurationService.getValue(TaskSettingId.Reconnection) === true); } /** * Create xterm.js instance and attach data listeners."} {"_id":"q-en-vscode-78f930f63ac831255e6112e8da12c3284f957872b0f49dad5cce6274282ffb06","text":" /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { Disposable, IDisposable } from 'vs/base/common/lifecycle'; import { isDiffEditor } from 'vs/editor/browser/editorBrowser'; import { localize } from 'vs/nls'; import { IAccessibilityService } from 'vs/platform/accessibility/common/accessibility'; import { IConfigurationService } from 'vs/platform/configuration/common/configuration'; import { IWorkbenchContribution } from 'vs/workbench/common/contributions'; import { IEditorService } from 'vs/workbench/services/editor/common/editorService'; import { Event } from 'vs/base/common/event'; import { AccessibilityVerbositySettingId } from 'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration'; export class DiffEditorActiveAnnouncementContribution extends Disposable implements IWorkbenchContribution { static readonly ID = 'workbench.contrib.diffEditorActiveAnnouncement'; private _onDidActiveEditorChangeListener?: IDisposable; constructor( @IEditorService private readonly _editorService: IEditorService, @IAccessibilityService private readonly _accessibilityService: IAccessibilityService, @IConfigurationService private readonly _configurationService: IConfigurationService ) { super(); this._register(Event.runAndSubscribe(_accessibilityService.onDidChangeScreenReaderOptimized, () => this._updateListener())); this._register(_configurationService.onDidChangeConfiguration(e => { if (e.affectsConfiguration(AccessibilityVerbositySettingId.DiffEditorActive)) { this._updateListener(); } })); } private _updateListener(): void { const announcementEnabled = this._configurationService.getValue(AccessibilityVerbositySettingId.DiffEditorActive); const screenReaderOptimized = this._accessibilityService.isScreenReaderOptimized(); if (!announcementEnabled || !screenReaderOptimized) { this._onDidActiveEditorChangeListener?.dispose(); this._onDidActiveEditorChangeListener = undefined; return; } if (this._onDidActiveEditorChangeListener) { return; } this._onDidActiveEditorChangeListener = this._register(this._editorService.onDidActiveEditorChange(() => { if (isDiffEditor(this._editorService.activeTextEditorControl)) { this._accessibilityService.alert(localize('openDiffEditorAnnouncement', \"Diff editor\")); } })); } } "} {"_id":"q-en-vscode-791473a924e1aa98766f9ff8908aaf60a70539d783bffd74e373f99858aa94cc","text":"configHelper: ITerminalConfigHelper, shellLaunchConfig: IShellLaunchConfig ): ITerminalInstance { const newTerminalSize = ((this._panelPosition === Position.BOTTOM ? this._container.clientWidth : this._container.clientHeight) / (this._terminalInstances.length + 1)); if (newTerminalSize < TERMINAL_MIN_USEFUL_SIZE) { return undefined; } const instance = this._terminalService.createInstance( terminalFocusContextKey, configHelper,"} {"_id":"q-en-vscode-79716816f0e5221ea7a0b5a50df15b06165fd4f3029b7211d6458c55d6ced4a5","text":"*--------------------------------------------------------------------------------------------*/ .accessible-view { position: relative; position: absolute; background-color: var(--vscode-editorWidget-background); color: var(--vscode-editorWidget-foreground); box-shadow: 0 2px 8px var(--vscode-widget-shadow); border: 2px solid var(--vscode-contrastActiveBorder); border: 2px solid var(--vscode-focusBorder); }"} {"_id":"q-en-vscode-79ff9fb88c358f4b51c43ca09611f7897fb44d630f0782dfa975e7ee615692a4","text":"// Use the repository real path const repoPathRealPath = await fs.promises.realpath(repoPath, { encoding: 'utf8' }); const openRepositoryRealPath = this.openRepositories .find(r => pathEquals(r.repository.rootRealPath ?? '', repoPathRealPath)); .find(r => pathEquals(r.repository.rootRealPath ?? r.repository.root, repoPathRealPath)); return openRepositoryRealPath?.repository; } catch (err) {"} {"_id":"q-en-vscode-7a4d6fe1a45ee89ac282f85f38ff539ad5be67982b685a72b34ce781b05bb85e","text":"createPreferencesEditorModel(uri: URI): TPromise>; openRawDefaultSettings(): TPromise; openRawUserSettings(): TPromise; openSettings(): TPromise; openSettings2(): TPromise; openGlobalSettings(options?: IEditorOptions, position?: Position): TPromise;"} {"_id":"q-en-vscode-7a6e8d1d3b1f446b71a4e5d6d36d88a7c7b0dc5c5dd96d530e5a8480f37a1e7b","text":"import { webFrame } from 'electron'; import { assign } from 'vs/base/common/objects'; import { IWorkbenchIssueService } from 'vs/workbench/contrib/issue/electron-browser/issue'; import { ExtensionType } from 'vs/platform/extensions/common/extensions'; import { IWorkbenchEnvironmentService } from 'vs/workbench/services/environment/common/environmentService'; import { INativeWorkbenchEnvironmentService } from 'vs/workbench/services/environment/electron-browser/environmentService'; import { ExtensionType } from 'vs/platform/extensions/common/extensions'; export class WorkbenchIssueService implements IWorkbenchIssueService { _serviceBrand: undefined;"} {"_id":"q-en-vscode-7a71833dd2b34c6ed8f1d11b95d06dd944e0e228e456e9c91ebdbaa8460250c2","text":"box-sizing: border-box; height: 100%; width: 100%; padding-right: 22px; } .monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .header > .type {"} {"_id":"q-en-vscode-7aa3d938088b297be1b2aeb719911b70aae5c1ccccd4322f4be8a491b6522f05","text":"'editor.trimAutoWhitespace', 'editor.folding', 'workbench.editor.enablePreviewFromQuickOpen', 'php.builtInCompletions.enable', 'php.validate.enable', 'php.validate.run', 'editor.parameterHints', ];"} {"_id":"q-en-vscode-7aa3d9adf11077640a807974d7d43fb0c73bc0b5ff0801ab37bd7ab0565e63eb","text":"italic: register('italic', 0xeb0d), jersey: register('jersey', 0xeb0e), json: register('json', 0xeb0f), bracket: register('bracket', 0xeb0f), kebabVertical: register('kebab-vertical', 0xeb10), key: register('key', 0xeb11), law: register('law', 0xeb12),"} {"_id":"q-en-vscode-7b395e0326203e3261dd23957204716bcaf7e2171f4de37c511118e113e63d70","text":"if (editorGutterModifiedBackgroundColor) { collector.addRule(` .monaco-editor .dirty-diff-modified { background-size: 3px 4.5px; background-repeat-x: no-repeat; background-image: linear-gradient(${linearGradient}); transition: opacity 0.5s;"} {"_id":"q-en-vscode-7b7774ff54b5b6b7dfd7c3a20c640a58a51ed98f83324fee43e73822f41b82b4","text":"result = result || MouseTargetFactory._hitTestMargin(ctx, resolvedRequest); result = result || MouseTargetFactory._hitTestViewCursor(ctx, resolvedRequest); result = result || MouseTargetFactory._hitTestTextArea(ctx, resolvedRequest); result = result || MouseTargetFactory._hitTestViewLines(ctx, resolvedRequest, domHitTestExecuted); result = result || MouseTargetFactory._hitTestViewLines(ctx, resolvedRequest); result = result || MouseTargetFactory._hitTestScrollbar(ctx, resolvedRequest); return (result || request.fulfillUnknown());"} {"_id":"q-en-vscode-7b894df475f2018c82a35045e8555d071f0b9a2e69f519031339c5373e5b1553","text":"/** * An optional validation message indicating a problem with the current input value. */ validationMessage: string | undefined; validationMessage: string | InputBoxValidationMessage | undefined; } /**"} {"_id":"q-en-vscode-7bc35a14771dc0a5c7f7f2f12f91692555081c8249f2925c10b502f9a0add199","text":"store.add(this.registerDefaultParticipantView(providerDescriptor)); } if (providerDescriptor.when && !isProposedApiEnabled(extension.description, 'chatParticipantAdditions')) { this.logService.error(`Extension '${extension.description.identifier.value}' CANNOT use API proposal: chatParticipantAdditions.`); continue; } store.add(this._chatAgentService.registerAgent( providerDescriptor.id, {"} {"_id":"q-en-vscode-7bc51ed06c3f6cd9e5035cd6b5ff9401b265c04f377db1f5cbe4fcdf3a61cfdc","text":"rows: number; data: string; } const enum Constants { /** * Writing large amounts of data can be corrupted for some reason, after looking into this is * appears to be a race condition around writing to the FD which may be based on how powerful * the hardware is. The workaround for this is to space out when large amounts of data is being * written to the terminal. See https://github.com/microsoft/vscode/issues/38137 */ WriteMaxChunkSize = 50, } /** * Splits incoming pty data into chunks to try prevent data corruption that could occur when pasting * large amounts of data. */ export function chunkInput(data: string): string[] { const chunks: string[] = []; let nextChunkStartIndex = 0; for (let i = 0; i < data.length - 1; i++) { if ( // If the max chunk size is reached i - nextChunkStartIndex + 1 >= Constants.WriteMaxChunkSize || // If the next character is ESC, send the pending data to avoid splitting the escape // sequence. data[i + 1] === 'x1b' ) { chunks.push(data.substring(nextChunkStartIndex, i + 1)); nextChunkStartIndex = i + 1; // Skip the next character as the chunk would be a single character i++; } } // Push final chunk if (nextChunkStartIndex !== data.length) { chunks.push(data.substring(nextChunkStartIndex)); } return chunks; } "} {"_id":"q-en-vscode-7bcd1e6d2aaf890904b4509705d265ca58a5fd80b2a85c3007b931dda555328c","text":"'description': nls.localize('zoomLevel', \"Adjust the zoom level of the window. The original size is 0 and each increment above or below represents zooming 20% larger or smaller.\") } } }); // Configuration: Update configurationRegistry.registerConfiguration({ 'id': 'update', 'order': 10, 'title': nls.localize('updateConfigurationTitle', \"Update configuration\"), 'type': 'object', 'properties': { 'update.channel': { 'type': 'string', 'enum': ['none', 'default'], 'default': 'default', 'description': nls.localize('updateChannel', \"Configure the update channel to receive updates from. Requires a restart after change.\") } } }); No newline at end of file"} {"_id":"q-en-vscode-7bcf7143450b268cde95fd25e99dfd6f41ca07823aeb0cb6295351abf15c4e3c","text":"*/ static parse(value: string, _strict: boolean = false): URI { const match = _regexp.exec(value); if (!match) { return new _URI(_empty, _empty, _empty, _empty, _empty); if (match) { return new _URI( match[2] || _empty, decodeURIComponent(match[4] || _empty), decodeURIComponent(match[5] || _empty), decodeURIComponent(match[7] || _empty), decodeURIComponent(match[9] || _empty), _strict ); } return new _URI( match[2] || _empty, decodeURIComponent(match[4] || _empty), decodeURIComponent(match[5] || _empty), decodeURIComponent(match[7] || _empty), decodeURIComponent(match[9] || _empty), _strict ); return new _URI(_empty, _empty, _empty, _empty, _empty); } /**"} {"_id":"q-en-vscode-7bfedaf425972389e664d5cf04619fdefe0de72efe8871b1fbbd42f313c3d4fd","text":"id: TerminalCommandId.ConfigureTerminalSettings, title: localize('workbench.action.terminal.openSettings', \"Configure Terminal Settings\") }, group: TerminalTabContextMenuGroup.Configure group: '3_configure' } }, { id: MenuId.TerminalNewDropdownContext, item: { command: { id: 'workbench.action.tasks.runTask', title: localize('workbench.action.tasks.runTask', \"Run Task...\") }, when: TaskExecutionSupportedContext, group: '4_tasks', order: 1 }, }, { id: MenuId.TerminalNewDropdownContext, item: { command: { id: 'workbench.action.tasks.configureTaskRunner', title: localize('workbench.action.tasks.configureTaskRunner', \"Configure Tasks...\") }, when: TaskExecutionSupportedContext, group: '4_tasks', order: 2 }, } ] );"} {"_id":"q-en-vscode-7c1103ca92d7cdfbf52d244fd3e0375beaf291c514ad6eefd05ea9c8c5769a68","text":"this.telemetryService.publicLog2('uri_invoked/install_extension/accept', { extensionId: extensionIdentifier.id }); try { await this.progressService.withProgress({ extension = await this.progressService.withProgress({ location: ProgressLocation.Notification, title: localize('Installing', \"Installing Extension '{0}'...\", galleryExtension.displayName || galleryExtension.name) }, () => this.extensionManagementService.installFromGallery(galleryExtension!)); this.notificationService.prompt( Severity.Info, localize('reload', \"Would you like to reload the window and open the URL '{0}'?\", uri.toString()), [{ label: localize('Reload', \"Reload Window and Open\"), run: async () => { this.telemetryService.publicLog2('uri_invoked/install_extension/reload', { extensionId: extensionIdentifier.id }); await this.reloadAndHandle(uri); } }], { sticky: true } ); } catch (error) { this.notificationService.error(error); return; } } // Extension is installed but not enabled if (!this.extensionEnablementService.isEnabled(extension)) { this.telemetryService.publicLog2('uri_invoked/enable_extension/start', { extensionId: extensionIdentifier.id }); const result = await this.dialogService.confirm({ message: localize('enableAndHandle', \"Extension '{0}' is disabled. Would you like to enable the extension and open the URL?\", extension.manifest.displayName || extension.manifest.name), detail: `${extension.manifest.displayName || extension.manifest.name} (${extensionIdentifier.id}) wants to open a URL:nn${uri.toString()}`, primaryButton: localize('enableAndReload', \"&&Enable and Open\"), type: 'question' }); if (!result.confirmed) { this.telemetryService.publicLog2('uri_invoked/enable_extension/cancel', { extensionId: extensionIdentifier.id }); return; } this.telemetryService.publicLog2('uri_invoked/enable_extension/accept', { extensionId: extensionIdentifier.id }); await this.extensionEnablementService.setEnablement([extension], EnablementState.EnabledGlobally); } if (this.extensionService.canAddExtension(toExtensionDescription(extension))) { await this.waitUntilExtensionIsAdded(extensionIdentifier); await this.handleURL(uri, { ...options, trusted: true }); } /* Extension cannot be added and require window reload */ else { this.telemetryService.publicLog2('uri_invoked/activate_extension/start', { extensionId: extensionIdentifier.id }); const result = await this.dialogService.confirm({ message: localize('reloadAndHandle', \"Extension '{0}' is not loaded. Would you like to reload the window to load the extension and open the URL?\", extension.manifest.displayName || extension.manifest.name), detail: `${extension.manifest.displayName || extension.manifest.name} (${extensionIdentifier.id}) wants to open a URL:nn${uri.toString()}`, primaryButton: localize('reloadAndOpen', \"&&Reload Window and Open\"), type: 'question' }); if (!result.confirmed) { this.telemetryService.publicLog2('uri_invoked/activate_extension/cancel', { extensionId: extensionIdentifier.id }); return; } this.telemetryService.publicLog2('uri_invoked/activate_extension/accept', { extensionId: extensionIdentifier.id }); this.storageService.store(URL_TO_HANDLE, JSON.stringify(uri.toJSON()), StorageScope.WORKSPACE, StorageTarget.MACHINE); await this.hostService.reload(); } } private async reloadAndHandle(url: URI): Promise { this.storageService.store(URL_TO_HANDLE, JSON.stringify(url.toJSON()), StorageScope.WORKSPACE, StorageTarget.MACHINE); await this.hostService.reload(); private async waitUntilExtensionIsAdded(extensionId: IExtensionIdentifier): Promise { if (!(await this.extensionService.getExtension(extensionId.id))) { await new Promise((c, e) => { const disposable = this.extensionService.onDidChangeExtensions(async () => { try { if (await this.extensionService.getExtension(extensionId.id)) { disposable.dispose(); c(); } } catch (error) { e(error); } }); }); } } // forget about all uris buffered more than 5 minutes ago"} {"_id":"q-en-vscode-7c2b1cc9b534828652f56b4f60a27f10438e8f55edbb935a8d19cd9229756852","text":"this.contextKeyService = service; } private getActions(menuId: MenuId, element: ITreeItem, listen: boolean = false): { menu?: IMenu; primary: IAction[]; secondary: IAction[] } { private getActions(menuId: MenuId, element: ITreeItem, listen?: DisposableStore): { menu?: IMenu; primary: IAction[]; secondary: IAction[] } { if (!this.contextKeyService) { return { primary: [], secondary: [] }; }"} {"_id":"q-en-vscode-7c374c9b0ecb00fdbaed01c46d43401f148dd0fa209f3818088f1d11dffebc31","text":"} const instance = tab.split(this._terminalFocusContextKey, this.configHelper, shellLaunchConfig); this._initInstanceListeners(instance); this._onInstancesChanged.fire(); if (instance) { this._initInstanceListeners(instance); this._onInstancesChanged.fire(); this._terminalTabs.forEach((t, i) => t.setVisible(i === this._activeTabIndex)); this._terminalTabs.forEach((t, i) => t.setVisible(i === this._activeTabIndex)); } else { this._showNotEnoughSpaceToast(); } } protected _initInstanceListeners(instance: ITerminalInstance): void {"} {"_id":"q-en-vscode-7cb974a98a85be81c5d1d66ad50e598eea21e64edeebd07ac88edfd1514ea873","text":"import { IWorkbenchContributionsRegistry, Extensions as WorkbenchExtensions, IWorkbenchContribution } from 'vs/workbench/common/contributions'; import { Registry } from 'vs/platform/registry/common/platform'; import { LifecyclePhase } from 'vs/workbench/services/lifecycle/common/lifecycle'; import { Action2, IAction2Options, registerAction2 } from 'vs/platform/actions/common/actions'; import { Action2, IAction2Options, MenuRegistry, registerAction2 } from 'vs/platform/actions/common/actions'; import { ServicesAccessor } from 'vs/editor/browser/editorExtensions'; import { localize } from 'vs/nls'; import { IEditSessionsWorkbenchService, Change, ChangeType, Folder, EditSession, FileType, EDIT_SESSION_SYNC_CATEGORY, EDIT_SESSIONS_CONTAINER_ID, EditSessionSchemaVersion, IEditSessionsLogService, EDIT_SESSIONS_VIEW_ICON, EDIT_SESSIONS_TITLE, EDIT_SESSIONS_SHOW_VIEW, EDIT_SESSIONS_SIGNED_IN, EDIT_SESSIONS_DATA_VIEW_ID, decodeEditSessionFileContent } from 'vs/workbench/contrib/editSessions/common/editSessions'; import { ISCMRepository, ISCMService } from 'vs/workbench/contrib/scm/common/scm'; import { IFileService } from 'vs/platform/files/common/files'; import { IWorkspaceContextService } from 'vs/platform/workspace/common/workspace'; import { IWorkspaceContextService, WorkbenchState } from 'vs/platform/workspace/common/workspace'; import { URI } from 'vs/base/common/uri'; import { joinPath, relativePath } from 'vs/base/common/resources'; import { encodeBase64 } from 'vs/base/common/buffer';"} {"_id":"q-en-vscode-7cd90436a91c7148a0957f15e6dec2ac8c0e31c5d46127712af449e7bcaa154c","text":"css += `.monaco-workbench .panel.integrated-terminal .terminal-outer-container { background-color: ${bgColor}; }`; } const fgColor = theme.getColor(TERMINAL_FOREGROUND_COLOR); if (bgColor) { if (fgColor) { css += `.monaco-workbench .panel.integrated-terminal .xterm { color: ${fgColor}; }`; }"} {"_id":"q-en-vscode-7d190665ec62f3397916afaad59065f435bdbc262d66368d5e246320ca17647b","text":"} public set scrollTop(scrollTop: number) { const horizontalScrollHeight = this.horizontalScrolling ? 10 : 0; this.scrollableElement.setScrollDimensions({ scrollHeight: this.getContentHeight() scrollHeight: this.getContentHeight() + horizontalScrollHeight }); this.scrollableElement.setScrollPosition({ scrollTop: scrollTop"} {"_id":"q-en-vscode-7d2f4cf535e1e6895567cf82b19e398ac556bce0ee737c69347637ed60932c26","text":"function fish_mode_prompt __vsc_fish_prompt_start __vsc_fish_mode_prompt __vsc_fish_cmd_start end function fish_prompt __vsc_fish_prompt __vsc_fish_cmd_start end else # No fish_mode_prompt, so put everything in fish_prompt."} {"_id":"q-en-vscode-7d3768d147f02f8fe7021a5510e936e0994e773487d69a7fe70de0ad8d148343","text":"import { SnippetController2 } from 'vs/editor/contrib/snippet/snippetController2'; import { IMenuService, IMenu } from 'vs/platform/actions/common/actions'; import { createTextModel } from 'vs/editor/test/common/editorTestUtils'; import { Range } from 'vs/editor/common/core/range'; import { timeout } from 'vs/base/common/async'; suite('SuggestController', function () {"} {"_id":"q-en-vscode-7d3be39458e670d8f86779e56ea68af2c48c0382ffd54680c8566caf5a4e2a1a","text":"// enable signing of commits if configurated opts.signCommit = enableCommitSigning; if (config.get('alwaysSignOff')) { opts.signoff = true; } if ( // no changes (noStagedChanges && noUnstagedChanges)"} {"_id":"q-en-vscode-7d5486742b84c6cf7d9dab530700e8c415ee94c0ac6605f0411a7ab909b5b046","text":"} export interface MainThreadProfileContentHandlersShape { $registerProfileContentHandler(id: string, name: string, extensionId: string): Promise; $registerProfileContentHandler(id: string, name: string, description: string | undefined, extensionId: string): Promise; $unregisterProfileContentHandler(id: string): Promise; }"} {"_id":"q-en-vscode-7d5a6d677a597f26ba3de1af17615dde3004840d74c5d4d0428242ec2e355a44","text":"}, \"dependencies\": { \"@vscode/extension-telemetry\": \"0.5.1\", \"vscode-languageclient\": \"^8.0.1\", \"vscode-languageclient\": \"^8.0.2-next.4\", \"vscode-nls\": \"^5.0.1\", \"vscode-uri\": \"^3.0.3\" },"} {"_id":"q-en-vscode-7e0d08687b42426a73268ad23fa3746e3e66a747214bb88d8d6fd726e9d6e324","text":"viewState: ISettingsEditorViewState, settingsOrderByTocIndex: Map | null, isWorkspaceTrusted: boolean, @IWorkbenchConfigurationService private readonly configurationService: IWorkbenchConfigurationService, @IWorkbenchConfigurationService configurationService: IWorkbenchConfigurationService, @IWorkbenchEnvironmentService private readonly environmentService: IWorkbenchEnvironmentService, @ILanguageService languageService: ILanguageService, @IUserDataProfileService userDataProfileService: IUserDataProfileService,"} {"_id":"q-en-vscode-7e37cb09ea19c4e88aa358824579d6ed1dbeaf72b86ab7c9d98e8dc7bfdc10dc","text":"import { EditorOption } from 'vs/editor/common/config/editorOptions'; import * as platform from 'vs/base/common/platform'; import { MenuRegistry } from 'vs/platform/actions/common/actions'; import { CancellationTokenSource } from 'vs/base/common/cancellation'; // sticky suggest widget which doesn't disappear on focus out and such let _sticky = false;"} {"_id":"q-en-vscode-7e50e698dfbd36268089c6c8a95e3332ea217a88cfe24ed8425eb3248a627032","text":"if (highlights) { return { label, description: getStateLabel(session.state), highlights: { label: highlights }, accept: (keyMod, event) => { this._debugService.focusStackFrame(undefined, undefined, session, { explicit: true });"} {"_id":"q-en-vscode-7ee7f4e1dfdccf04e3350713fc52b799b7cae72801606432b0725d631dc6f067","text":"private _shouldFocus: boolean; private _colorPicker: ColorPickerWidget | null; private _renderDisposable: IDisposable | null; private _preferBelow: boolean; constructor( editor: ICodeEditor,"} {"_id":"q-en-vscode-7f85db6ed1873901dca3c5d107afef10fa63522d881c4a641c263fc4f772fb3b","text":"import { ICommandService } from 'vs/platform/commands/common/commands'; import { ContextKeyExpr, ContextKeyExpression, IContextKeyService, RawContextKey } from 'vs/platform/contextkey/common/contextkey'; import { Disposable } from 'vs/base/common/lifecycle'; import { IUserDataSyncEnablementService } from 'vs/platform/userDataSync/common/userDataSync'; import { EXTENSIONS_SYNC_CONTEXT_KEY, IUserDataSyncEnablementService } from 'vs/platform/userDataSync/common/userDataSync'; import { IExtensionDescription } from 'vs/platform/extensions/common/extensions'; import { URI } from 'vs/base/common/uri'; import { joinPath } from 'vs/base/common/resources';"} {"_id":"q-en-vscode-7f9bbe0902e57d9de82194efe375ae7f2e0beb8d2a5032ff09a3c0aa6a2bbedd","text":"} // Save selection const selection = this.widget?.getSelection(); const selection = new Set(); for (const marker of this.widget.getSelection()) { if (marker instanceof ResourceMarkers) { marker.markers.forEach(m => selection.add(m)); } else if (marker instanceof Marker || marker instanceof MarkerTableItem) { selection.add(marker); } } // Save focus const focus = new Set(); for (const marker of this.widget.getFocus()) { if (marker instanceof Marker || marker instanceof MarkerTableItem) { focus.add(marker); } } // Create new widget this.createWidget(this.widgetContainer); this.refreshPanel(); // Restore selection if (selection && selection.length > 0 && (selection[0] instanceof Marker || selection[0] instanceof MarkerTableItem)) { if (selection.size > 0) { this.widget.setMarkerSelection(Array.from(selection), Array.from(focus)); this.widget.domFocus(); this.widget.setMarkerSelection(selection[0]); } }"} {"_id":"q-en-vscode-7fe40747a79b3b79c5ad062f45b5b9ccc9c5feebd7fa085dc5740949c5882417","text":"iconClass: ThemeIcon.asClassName(searchOpenInFileIcon), tooltip: localize('QuickSearchOpenInFile', \"Open File\") }], trigger: async (): Promise => { await this.handleAccept(fileMatch, {}); return TriggerAction.CLOSE_PICKER; }, }); const results: Match[] = fileMatch.matches() ?? [];"} {"_id":"q-en-vscode-7ff94d46e10d69a829cc68782cccbeca74cb02b830a5a14913667c7e8ba9b488","text":"\"filenames\": [ \"git-rebase-todo\" ], \"filenamePatterns\": [ \"**/rebase-merge/done\" ], \"configuration\": \"./languages/git-rebase.language-configuration.json\" }, {"} {"_id":"q-en-vscode-80316b75a33907b3ca707dc05e8d9770c3e8ae5fe871e6f39c63789d2784747f","text":"const href = a.getAttribute('data-href'); if (href) { if (href.startsWith(variableRefUrl)) { const title = href.slice(variableRefUrl.length); const title = decodeURIComponent(href.slice(variableRefUrl.length)); a.parentElement!.replaceChild( renderResourceWidget(a.textContent!, title), a);"} {"_id":"q-en-vscode-8033abe2e6eb320d8af233b98cb6b390f0d405b38e0d6860fb07164c715bb4be","text":"const content = model.main; if (!input.resource.path.endsWith('.md')) { safeInnerHtml(this.content, content); safeInnerHtml(this.content, content, { ALLOW_UNKNOWN_PROTOCOLS: true }); this.updateSizeClasses(); this.decorateContent();"} {"_id":"q-en-vscode-803d7b70f8f4561ef739bce61e460340526f52db634c32ee5750516546babb64","text":" breakpoint-unverified No newline at end of file breakpoint-unverified No newline at end of file"} {"_id":"q-en-vscode-806d91dfafde379b7f881d9234f0ce7a6f2b40c1835367095a8e9f08dc10bf4a","text":"}); } exports.config = { version: product.electronRepository ? '22.4.5' : util.getElectronVersion(), version: product.electronRepository ? '22.4.6' : util.getElectronVersion(), productAppName: product.nameLong, companyName: 'Microsoft Corporation', copyright: 'Copyright (C) 2023 Microsoft. All rights reserved',"} {"_id":"q-en-vscode-807260ee9e643aac94bd0f7109b6aa3c31e16666a7cc6b9c62c4d638acf63546","text":"resolved \"https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.207.tgz#9c3310ebace2952903d05dcaba8abe3a4ed44c01\" integrity sha512-piH7MJDJp4rJCduWbVvmUd59AUne1AFBJ8JaRQvk0KzNTSUnZrVXHCZc+eg+CGE4OujkcLJznhGKD6tuAshj5Q== electron@22.3.5: version \"22.3.5\" resolved \"https://registry.yarnpkg.com/electron/-/electron-22.3.5.tgz#a53a318cbb25a44914dfedd30a9ad6120632197f\" integrity sha512-CTdnoTbO3sDiMv47TX3ZO640Ca57v1qpiqGChFF8oZbtfHuQjTPPaE4hsoynf22wwnBiyJNL41DpB/pfp9USnA== electron@22.3.6: version \"22.3.6\" resolved \"https://registry.yarnpkg.com/electron/-/electron-22.3.6.tgz#ab79a2da20e83b02ec9cbb22a4069468e6949b4f\" integrity sha512-/1/DivFHH5AWa/uOuqpkeg12/jjicjkBU8kYv70oeqRFwXzoyuJhgwlzER4jZXnbGjF5Nxz9900oXq/QzAViAw== dependencies: \"@electron/get\" \"^2.0.0\" \"@types/node\" \"^16.11.26\""} {"_id":"q-en-vscode-8087ab112526933d12be3e8682872a4e648eeb243deed5444a73db3125d4d555","text":"accessibleViewService.show({ verbositySettingKey: AccessibilityVerbositySettingId.Chat, provideContent(): string { return responseContent; }, provideContent(): string { return responseContent!; }, onClose() { verifiedWidget.reveal(focusedItem); if (chatInputFocused) {"} {"_id":"q-en-vscode-810b66960388b40e0521ae85fe0f55d0bb60b3fcc9519a82c32ef60ceac6c962","text":"} class BarrierAction extends Action { constructor(barrier: Barrier, action: Action) { constructor(barrier: Barrier, action: Action, notificationService: INotificationService) { super(action.id, action.label, action.class, action.enabled, async () => { await action.run(); try { await action.run(); } catch (error) { notificationService.error(error); throw error; } barrier.open(); }); }"} {"_id":"q-en-vscode-8145aaad888a0d860f0290500b59210df113a6863253e8b1aebf9dc03719f364","text":"} return this.addExtensionToWorkspaceConfig(workspaceConfig, extensionId, shouldRecommend).then(() => { this.notificationService.info(localize('AddToWorkspaceUnwantedRecommendations.success', 'The extension was successfully added to this workspace's unwanted recommendations.')); this.notificationService.prompt(Severity.Info, localize('AddToWorkspaceUnwantedRecommendations.success', 'The extension was successfully added to this workspace's unwanted recommendations.'), [{ label: localize('viewChanges', \"View Changes\"), run: () => this.openWorkspaceConfigurationFile(workspaceConfig) }]); }, err => { this.notificationService.error(localize('AddToWorkspaceRecommendations.failure', 'Failed to write. {0}', err)); });"} {"_id":"q-en-vscode-814634e8b059b10d0f8dea7b716403087694c3d783ec8e4bfa871c15ed434ffa","text":"i = wrappedLineStart; lines.unshift(getXtermLineContent(buffer, wrappedLineStart, wrappedLineEnd, cols)); if (!match) { match = lines.join('n').match(matcher); wrappedLines++; match = lines[0].match(matcher); } if (wrappedLines >= linesToCheck) { if (lines.length >= linesToCheck) { break; } }"} {"_id":"q-en-vscode-814cd5e3aae5450befbf9aa70229500b4af5ba3e853e0d42bf054a306c387d17","text":"ensureNoDisposablesAreLeakedInTestSuite(); let config: TestConfigurationService; setup(() => { testDisposables = new DisposableStore(); instantiationService = setupInstantiationService(testDisposables); const config = new TestConfigurationService({ config = new TestConfigurationService({ [NotebookSetting.anchorToFocusedCell]: 'auto' }); instantiationService.stub(IConfigurationService, config); });"} {"_id":"q-en-vscode-81cd26392cdaef696033215924cf0723d44eed4e9c6c75605e7be6ea8da293c2","text":"break; } // HACK: In order to support both links containing [ and ] characters as well as the // `[, ]` pattern, we need to detect the part after the comma and fix // up the link here as before that will be matched as a regular file path. if (link.match(/[d+,$/)) { const partialText = text.slice(rex.lastIndex); const suffixMatch = partialText.match(/^ d+]/); if (suffixMatch) { link += suffixMatch[0]; } } // Adjust the link range to exclude a/ and b/ if it looks like a git diff if ( // --- a/foo/bar"} {"_id":"q-en-vscode-81d4f07e0edf423490d7a3f5b7e2cd2ebd873a73e16857e659aae632c1e5f64d","text":" breakpoint-function-unverified No newline at end of file breakpoint-function-unverified No newline at end of file"} {"_id":"q-en-vscode-821634ed51cc8dbe705d3873a143f880c91132a17922bcf7b217537b4a46daa9","text":"test('TerminalRenderer.write should fire Terminal.onData', (done) => { const reg1 = window.onDidOpenTerminal(terminal => { reg1.dispose(); const reg2 = terminal.onData(data => { const reg2 = terminal.onDidWriteData(data => { assert.equal(data, 'bar'); reg2.dispose(); const reg3 = window.onDidCloseTerminal(() => {"} {"_id":"q-en-vscode-8258c09465ea8e5c4eed86b53edf5567aff0faa85d7f29cbe88ed1758cc931cf","text":"0 : this.viewContext.notebookOptions.getLayoutConfiguration().markdownFoldHintHeight; } updateOptions(e: NotebookOptionsChangeEvent) { override updateOptions(e: NotebookOptionsChangeEvent) { super.updateOptions(e); if (e.cellStatusBarVisibility || e.insertToolbarPosition || e.cellToolbarLocation) { this._updateTotalHeight(this._computeTotalHeight()); }"} {"_id":"q-en-vscode-82ac378092e00fbd4a6026945f111960bdebec5cab29e963dbdfd3f8e2a6796f","text":"anyOf: [ { type: 'boolean', description: nls.localize('fontLigatures', \"Enables/Disables font ligatures.\"), description: nls.localize('fontLigatures', \"Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.\"), }, { type: 'string', description: nls.localize('fontFeatureSettings', \"Explicit font-feature-settings.\") description: nls.localize('fontFeatureSettings', \"Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.\") } ], description: nls.localize('fontLigaturesGeneral', \"Configures font ligatures or font features.\"), description: nls.localize('fontLigaturesGeneral', \"Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property.\"), default: false } );"} {"_id":"q-en-vscode-82edade800b27478b36935307c95fd08b90c98821279f3cf9bf2fe464552db07","text":"*/ showConstructors?: boolean; /** * Show deprecated-suggestions. */ showDeprecated?: boolean; /** * Show field-suggestions. */ showFields?: boolean;"} {"_id":"q-en-vscode-831395b627add55b302823ead26aa6f87b6d07bdb53b3480f93b9c8a3c3786d2","text":"} export class SuggestInlineCompletions implements InlineCompletionsProvider { export class SuggestInlineCompletions extends Disposable implements InlineCompletionsProvider { private _lastResult?: InlineCompletionResults;"} {"_id":"q-en-vscode-83916f7f3376c17d3be9987e500008c258662ea81b67fcd977bfa664bb089f79","text":"\"terminal.ansiBrightMagenta\": \"#6c71c4\", \"terminal.ansiBrightCyan\": \"#93a1a1\", \"terminal.ansiBrightWhite\": \"#fdf6e3\", // Set terminal background explicitly, otherwise selection becomes invisible when the // terminal is in the side bar \"terminal.background\": \"#FDF6E3\", // Interactive Playground \"walkThrough.embeddedEditorBackground\": \"#00000014\" },"} {"_id":"q-en-vscode-83b2fbce767f0ed84787a0476d58453537c89724105ea967eeb410c4949e2a08","text":".filter((renderableMatch): renderableMatch is URI => (renderableMatch !== null)); } export function findInFilesCommand(accessor: ServicesAccessor, args: IFindInFilesArgs = {}) { export async function findInFilesCommand(accessor: ServicesAccessor, _args: IFindInFilesArgs = {}) { const searchConfig = accessor.get(IConfigurationService).getValue().search; const viewsService = accessor.get(IViewsService); const args: IFindInFilesArgs = {}; if (Object.keys(_args).length !== 0) { // resolve variables in the same way as in // https://github.com/microsoft/vscode/blob/8b76efe9d317d50cb5b57a7658e09ce6ebffaf36/src/vs/workbench/contrib/searchEditor/browser/searchEditorActions.ts#L152-L158 const configurationResolverService = accessor.get(IConfigurationResolverService); const historyService = accessor.get(IHistoryService); const workspaceContextService = accessor.get(IWorkspaceContextService); const activeWorkspaceRootUri = historyService.getLastActiveWorkspaceRoot(Schemas.file); const lastActiveWorkspaceRoot = activeWorkspaceRootUri ? withNullAsUndefined(workspaceContextService.getWorkspaceFolder(activeWorkspaceRootUri)) : undefined; for (const entry of Object.entries(_args)) { const name = entry[0]; const value = entry[1]; if (value !== undefined) { (args as any)[name as any] = (typeof value === 'string') ? await configurationResolverService.resolveAsync(lastActiveWorkspaceRoot, value) : value; } } } const mode = searchConfig.mode; if (mode === 'view') { const viewsService = accessor.get(IViewsService); openSearchView(viewsService, false).then(openedView => { if (openedView) { const searchAndReplaceWidget = openedView.searchAndReplaceWidget;"} {"_id":"q-en-vscode-83cae39bb09e9a2403c86905682682a3828eb127781180f2166ad8cbaf65d959","text":"export interface IAccessibleViewService { readonly _serviceBrand: undefined; show(provider: IAccessibleContentProvider): void; showAccessibleViewHelp(): void; next(): void; previous(): void; goToSymbol(): void;"} {"_id":"q-en-vscode-84216db99b4efe2fa1c282ff8cc9a33eba973285f7a6c66c3720769d020c3702","text":"super.render(container); addClass(container, 'switch-terminal'); this._register(attachStylerCallback(this.themeService, { selectBorder }, colors => { container.style.border = colors.selectBorder ? `1px solid ${colors.selectBorder}` : ''; container.style.borderColor = colors.selectBorder ? `${colors.selectBorder}` : ''; })); }"} {"_id":"q-en-vscode-84668f765bcd80e53ac0208e5acd1c0f8513993be81087401754fc0809362907","text":"// The comments in the regex below use real strings/numbers for better readability, here's // the legend: // - Path = foo // - Row = 339 // - Col = 12 // - Path = foo // - Row = 339 // - Col = 12 // - RowEnd = 341 // - ColEnd = 14 // // These all support single quote ' in the place of \" and [] in the place of () const lineAndColumnRegexClauses = ["} {"_id":"q-en-vscode-84ef080a3d91c474d5ffc8194f777ad05d850c6adcb043933f06387aa67bae2f","text":"} if (statWithoutTrailing && statWithoutTrailing.isDirectory) { this.badPath = undefined; // At this point we know it's a directory and can add the trailing path separator if (!this.endsWithSlash(inputUriDirname.path)) { inputUriDirname = resources.addTrailingPathSeparator(inputUriDirname); } inputUriDirname = this.tryAddTrailingSeparatorToDirectory(inputUriDirname, statWithoutTrailing); return await this.updateItems(inputUriDirname, false, resources.basename(valueUri)) ? UpdateResult.UpdatedWithTrailing : UpdateResult.Updated; } }"} {"_id":"q-en-vscode-84fc9e81451427a08e65a0191e314fb1da6bfe4c220b30a02971bc5adb9ac1f4","text":"this._storageListener = this._storageService.onDidChangeValue(e => { const shared = e.scope === StorageScope.GLOBAL; if (shared && this._sharedStorageKeysToWatch.has(e.key)) { try { this._proxy.$acceptValue(shared, e.key, this._getValue(shared, e.key)); } catch (error) { // ignore parsing errors that can happen } this._proxy.$acceptValue(shared, e.key, this._getValue(shared, e.key)); } }); }"} {"_id":"q-en-vscode-8541648b3556ebea89455857461102b0fa4e6336bc86cbc2e876190d93829a4b","text":" { \"information_for_contributors\": [ \"This file has been converted from https://github.com/dart-lang/dart-syntax-highlight/blob/master/grammars/dart.json\", \"If you want to provide a fix or improvement, please create a pull request against the original repository.\", \"Once accepted there, we are happy to receive an update request.\" ], \"version\": \"https://github.com/dart-lang/dart-syntax-highlight/commit/65f211722c85e9fdf0aa658d5663e6ccaf2ebe25\", \"name\": \"Dart\", \"scopeName\": \"source.dart\", \"patterns\": [ { \"name\": \"meta.preprocessor.script.dart\", \"match\": \"^(#!.*)$\" }, { \"name\": \"meta.declaration.dart\", \"begin\": \"^w*b(library|import|part of|part|export)b\", \"beginCaptures\": { \"0\": { \"name\": \"keyword.other.import.dart\" } }, \"end\": \";\", \"endCaptures\": { \"0\": { \"name\": \"punctuation.terminator.dart\" } }, \"patterns\": [ { \"include\": \"#strings\" }, { \"include\": \"#comments\" }, { \"name\": \"keyword.other.import.dart\", \"match\": \"b(as|show|hide)b\" } ] }, { \"include\": \"#comments\" }, { \"include\": \"#punctuation\" }, { \"include\": \"#annotations\" }, { \"include\": \"#keywords\" }, { \"include\": \"#constants-and-special-vars\" }, { \"include\": \"#strings\" } ], \"repository\": { \"dartdoc\": { \"patterns\": [ { \"match\": \"([.*?])\", \"captures\": { \"0\": { \"name\": \"variable.name.source.dart\" } } }, { \"match\": \"^ {4,}(?![ *]).*\", \"captures\": { \"0\": { \"name\": \"variable.name.source.dart\" } } }, { \"contentName\": \"variable.other.source.dart\", \"begin\": \"```.*?$\", \"end\": \"```\" }, { \"match\": \"(`.*?`)\", \"captures\": { \"0\": { \"name\": \"variable.other.source.dart\" } } }, { \"match\": \"(`.*?`)\", \"captures\": { \"0\": { \"name\": \"variable.other.source.dart\" } } }, { \"match\": \"(* (( ).*))$\", \"captures\": { \"2\": { \"name\": \"variable.other.source.dart\" } } }, { \"match\": \"(* .*)$\" } ] }, \"comments\": { \"patterns\": [ { \"name\": \"comment.block.empty.dart\", \"match\": \"/**/\", \"captures\": { \"0\": { \"name\": \"punctuation.definition.comment.dart\" } } }, { \"include\": \"#comments-doc-oldschool\" }, { \"include\": \"#comments-doc\" }, { \"include\": \"#comments-inline\" } ] }, \"comments-doc-oldschool\": { \"patterns\": [ { \"name\": \"comment.block.documentation.dart\", \"begin\": \"/**\", \"end\": \"*/\", \"patterns\": [ { \"include\": \"#comments-doc-oldschool\" }, { \"include\": \"#comments-block\" }, { \"include\": \"#dartdoc\" } ] } ] }, \"comments-doc\": { \"patterns\": [ { \"name\": \"comment.block.documentation.dart\", \"begin\": \"///\", \"while\": \"^s*///\", \"patterns\": [ { \"include\": \"#dartdoc\" } ] } ] }, \"comments-inline\": { \"patterns\": [ { \"include\": \"#comments-block\" }, { \"match\": \"((//).*)$\", \"captures\": { \"1\": { \"name\": \"comment.line.double-slash.dart\" } } } ] }, \"comments-block\": { \"patterns\": [ { \"name\": \"comment.block.dart\", \"begin\": \"/*\", \"end\": \"*/\", \"patterns\": [ { \"include\": \"#comments-block\" } ] } ] }, \"annotations\": { \"patterns\": [ { \"name\": \"storage.type.annotation.dart\", \"match\": \"@[a-zA-Z]+\" } ] }, \"constants-and-special-vars\": { \"patterns\": [ { \"name\": \"constant.language.dart\", \"match\": \"(?)\", \"captures\": { \"1\": { \"name\": \"entity.name.function.dart\" } } } ] }, \"keywords\": { \"patterns\": [ { \"name\": \"keyword.cast.dart\", \"match\": \"(?>>?|~|^|||&)\" }, { \"name\": \"keyword.operator.assignment.bitwise.dart\", \"match\": \"((&|^|||<<|>>>?)=)\" }, { \"name\": \"keyword.operator.closure.dart\", \"match\": \"(=>)\" }, { \"name\": \"keyword.operator.comparison.dart\", \"match\": \"(==|!=|<=?|>=?)\" }, { \"name\": \"keyword.operator.assignment.arithmetic.dart\", \"match\": \"(([+*/%-]|~)=)\" }, { \"name\": \"keyword.operator.assignment.dart\", \"match\": \"(=)\" }, { \"name\": \"keyword.operator.increment-decrement.dart\", \"match\": \"(--|++)\" }, { \"name\": \"keyword.operator.arithmetic.dart\", \"match\": \"(-|+|*|/|~/|%)\" }, { \"name\": \"keyword.operator.logical.dart\", \"match\": \"(!|&&|||)\" }, { \"name\": \"storage.modifier.dart\", \"match\": \"(? No newline at end of file"} {"_id":"q-en-vscode-85d6ab755ac40dc0adf9a9b07d4dba3c7165c03bd13ef2c3e28b7a238a348b85","text":"graphLine: register('graph-line', 0xebe2), graphScatter: register('graph-scatter', 0xebe3), pieChart: register('pie-chart', 0xebe4), bracket: register('bracket', 0xebe4), bracketDot: register('bracket-dot', 0xebe5), bracketError: register('bracket-error', 0xebe6), lockSmall: register('lock-small', 0xebe7),"} {"_id":"q-en-vscode-85ea19c5e97ca8946d67338748a7480381db1f96d25ebdb3bf2097bdd91793f4","text":"const handleTitleClickOrTouch = (e: MouseEvent | GestureEvent): void => { let target: HTMLElement; if (e instanceof MouseEvent) { if (e.button !== 0) { return undefined; // only for left mouse click if (e.button !== 0 || (isMacintosh && e.ctrlKey)) { return undefined; // only for left mouse click (ctrl+click on macos is right-click) } target = e.target as HTMLElement;"} {"_id":"q-en-vscode-863146e33d357a070a8cfe7eb0088253362f4d5dc93f1ff20bb1ecf5f44541b5","text":"import { IInstantiationService } from 'vs/platform/instantiation/common/instantiation'; import { IShellLaunchConfig, TerminalExitReason, TerminalLocation, TerminalSettingId } from 'vs/platform/terminal/common/terminal'; import { IEditorGroup } from 'vs/workbench/services/editor/common/editorGroupsService'; import { ILifecycleService } from 'vs/workbench/services/lifecycle/common/lifecycle'; import { ILifecycleService, ShutdownReason, WillShutdownEvent } from 'vs/workbench/services/lifecycle/common/lifecycle'; import { ConfirmOnKill } from 'vs/workbench/contrib/terminal/common/terminal'; import { IContextKey, IContextKeyService } from 'vs/platform/contextkey/common/contextkey'; import { IConfigurationService } from 'vs/platform/configuration/common/configuration';"} {"_id":"q-en-vscode-86529db48f593d3f755dc64d4f53ac76b1575d1062f88e93765380fb32ca10c3","text":"...this.createExtHostOutputChannel(name, channelPromise), trace(value: string, ...args: any[]): void { validate(); channelPromise.then(channel => channel.info(value, ...args)); channelPromise.then(channel => channel.trace(value, ...args)); }, debug(value: string, ...args: any[]): void { validate();"} {"_id":"q-en-vscode-8669a7113e595ea23dd29843db3dc4fc7940408b1aace54435a7859328864a8e","text":"\"cssnano\": \"^4.1.11\", \"debounce\": \"^1.0.0\", \"deemon\": \"^1.8.0\", \"electron\": \"19.1.8\", \"electron\": \"19.1.9\", \"eslint\": \"8.7.0\", \"eslint-plugin-header\": \"3.1.1\", \"eslint-plugin-jsdoc\": \"^39.3.2\","} {"_id":"q-en-vscode-87237dbc50025ae1e8175ad87e0e9562a0d3ba26681cf7a9611420db06e94e6c","text":"}, 'workbench.editor.enablePreviewFromQuickOpen': { 'type': 'boolean', 'markdownDescription': localize('enablePreviewFromQuickOpen', \"Controls whether editors opened from Quick Open show as preview editors. Preview editors do not stay open, and are reused until explicitly set to be kept open (via double click or editing). This value is ignored when `#workbench.editor.enablePreview#` is disabled.\"), 'markdownDescription': localize('enablePreviewFromQuickOpen', \"Controls whether editors opened from Quick Open show as preview editors. Preview editors do not stay open, and are reused until explicitly set to be kept open (via double click or editing). When enabled, hold Ctrl before selection to open an editor as a non-preview. This value is ignored when `#workbench.editor.enablePreview#` is disabled.\"), 'default': false }, 'workbench.editor.enablePreviewFromCodeNavigation': {"} {"_id":"q-en-vscode-875732e2ac4d09b910147be3ea1172442e5b5c6527b68adcda5032af006a34bb","text":"} } catch (error) { addToSkipped.push(e); if (error instanceof ExtensionManagementError && [ExtensionManagementErrorCode.Incompatible, ExtensionManagementErrorCode.IncompatiblePreRelease, ExtensionManagementErrorCode.IncompatibleTargetPlatform].includes(error.code)) { this.logService.info(`${syncResourceLogLabel}: Skipped synchronizing extension because the compatible extension is not found.`, extension.displayName || extension.identifier.id); } else { this.logService.error(error); this.logService.info(`${syncResourceLogLabel}: Skipped synchronizing extension`, extension.displayName || extension.identifier.id); } this.logService.error(error); this.logService.info(`${syncResourceLogLabel}: Skipped synchronizing extension`, extension.displayName || extension.identifier.id); } } else { addToSkipped.push(e); this.logService.info(`${syncResourceLogLabel}: Skipped synchronizing extension because the extension is not found.`, e.identifier.id); } })); } }); } const newSkippedExtensions: ISyncExtension[] = []; for (const skippedExtension of skippedExtensions) { if (!removeFromSkipped.some(e => areSameExtensions(e, skippedExtension.identifier))) { newSkippedExtensions.push(skippedExtension); // 2. Next uninstall the removed extensions if (removed.length) { const extensionsToRemove = installedExtensions.filter(({ identifier, isBuiltin }) => !isBuiltin && removed.some(r => areSameExtensions(identifier, r))); await Promises.settled(extensionsToRemove.map(async extensionToRemove => { this.logService.trace(`${syncResourceLogLabel}: Uninstalling local extension...`, extensionToRemove.identifier.id); await this.extensionManagementService.uninstall(extensionToRemove, { donotIncludePack: true, donotCheckDependents: true, profileLocation: profile.extensionsResource }); this.logService.info(`${syncResourceLogLabel}: Uninstalled local extension.`, extensionToRemove.identifier.id); removeFromSkipped.push(extensionToRemove.identifier); })); } // 3. Install extensions at the end for (const [e, extension] of extensionsToInstall) { try { this.logService.trace(`${syncResourceLogLabel}: Installing extension...`, extension.identifier.id, extension.version); await this.extensionManagementService.installFromGallery(extension, { isMachineScoped: false/* set isMachineScoped value to prevent install and sync dialog in web */, donotIncludePackAndDependencies: true, installPreReleaseVersion: e.preRelease, profileLocation: profile.extensionsResource, context: { [EXTENSIONS_SYNC_CONTEXT_KEY]: true } }); this.logService.info(`${syncResourceLogLabel}: Installed extension.`, extension.identifier.id, extension.version); removeFromSkipped.push(extension.identifier); } catch (error) { addToSkipped.push(e); if (error instanceof ExtensionManagementError && [ExtensionManagementErrorCode.Incompatible, ExtensionManagementErrorCode.IncompatiblePreRelease, ExtensionManagementErrorCode.IncompatibleTargetPlatform].includes(error.code)) { this.logService.info(`${syncResourceLogLabel}: Skipped synchronizing extension because the compatible extension is not found.`, extension.displayName || extension.identifier.id); } else { this.logService.error(error); this.logService.info(`${syncResourceLogLabel}: Skipped synchronizing extension`, extension.displayName || extension.identifier.id); } } for (const skippedExtension of addToSkipped) { if (!newSkippedExtensions.some(e => areSameExtensions(e.identifier, skippedExtension.identifier))) { newSkippedExtensions.push(skippedExtension); } } const newSkippedExtensions: ISyncExtension[] = []; for (const skippedExtension of skippedExtensions) { if (!removeFromSkipped.some(e => areSameExtensions(e, skippedExtension.identifier))) { newSkippedExtensions.push(skippedExtension); } return newSkippedExtensions; }); } for (const skippedExtension of addToSkipped) { if (!newSkippedExtensions.some(e => areSameExtensions(e.identifier, skippedExtension.identifier))) { newSkippedExtensions.push(skippedExtension); } } return newSkippedExtensions; } private updateExtensionState(state: IStringDictionary, extension: ILocalExtension | IGalleryExtension, version: string | undefined, extensionStorageService: IExtensionStorageService): void {"} {"_id":"q-en-vscode-876a58cef9efde49d1a8f3ffad67f0a97d1a8dc654765ab2eb2cac91c3845237","text":"import { DisposableStore, dispose, IDisposable } from 'vs/base/common/lifecycle'; import { ScrollEvent } from 'vs/base/common/scrollable'; import { IThemable } from 'vs/base/common/styler'; import { isIterable } from 'vs/base/common/types'; interface IAsyncDataTreeNode { element: TInput | T;"} {"_id":"q-en-vscode-87bf17e73e619b528c5bd86e96e40f22e633fd04a4fd8d2d3a2a96411ed8953a","text":"}); } private static _createItemKindFilter(editor: ICodeEditor): Set { private static _createSuggestFilter(editor: ICodeEditor): { itemKind: Set; showDeprecated: boolean } { // kind filter and snippet sort rules const result = new Set();"} {"_id":"q-en-vscode-88121a2c1fe1fc145d65e5f80c58125b5718b5135867ac5c2c44a34ead913014","text":"assertSelections(editor, new Selection(1, 22, 1, 22)); }); test('A little confusing visual effect of highlighting for snippet tabstop #43270', async function () { test('User defined snippet tab stops ignored #72862', function () { const ctrl = new SnippetController2(editor, logService, contextKeys); model.setValue(''); editor.setSelection(new Selection(1, 1, 1, 1)); ctrl.insert('background-color: ${1:fff};$0'); assertSelections(editor, new Selection(1, 19, 1, 22)); editor.setSelection(new Selection(1, 22, 1, 22)); ctrl.insert('export default $1'); assertContextKeys(contextKeys, true, false, true); editor.trigger('', 'deleteRight', null); assert.equal(model.getValue(), 'background-color: fff'); await timeout(0); // this depends on re-scheduling of events... assertContextKeys(contextKeys, false, false, false); }); });"} {"_id":"q-en-vscode-8826d249c631cd8859861764efb474dd53fc5eaf4c37fecc0416808c804b80cb","text":"if (!model) { return false; } if (model.uri.scheme === 'output') { // in output editor return false; } if (editor.getOption(EditorOption.inDiffEditor)) { // this editor belongs to a diff editor for (const diffEditor of codeEditorService.listDiffEditors()) {"} {"_id":"q-en-vscode-88291094bfed64132a061ca07215371e4442074f71b67f2e2b58a9cdb4c3aae9","text":"'libdrm2 (>= 2.4.38)', 'libexpat1 (>= 2.0.1)', 'libgbm1 (>= 8.1~0)', 'libgcc-s1 (>= 3.0)', 'libgcc-s1 (>= 3.5)', 'libglib2.0-0 (>= 2.16.0)', 'libglib2.0-0 (>= 2.39.4)', 'libgtk-3-0 (>= 3.9.10)',"} {"_id":"q-en-vscode-88641ef816d74d8e72a2f985b0c95f1a1a16a8b764c869b7954e59d336d37b27","text":"# means the user re-exported the PS1 so we should re-wrap it if [[ \"$__vsc_custom_PS1\" == \"\" || \"$__vsc_custom_PS1\" != \"$PS1\" ]]; then __vsc_original_PS1=$PS1 __vsc_custom_PS1=\"[$(__vsc_prompt_start)]$PREFIX$__vsc_original_PS1[$(__vsc_prompt_end)]\" __vsc_custom_PS1=\"[$(__vsc_prompt_start)]$__vsc_original_PS1[$(__vsc_prompt_end)]\" PS1=\"$__vsc_custom_PS1\" fi if [[ \"$__vsc_custom_PS2\" == \"\" || \"$__vsc_custom_PS2\" != \"$PS2\" ]]; then"} {"_id":"q-en-vscode-886e9f7c196e8af6e27ed859930872f473fff1f9eff16031ae066c3b1ade8ad8","text":"registry.registerWorkbenchAction(new SyncActionDescriptor(SaveAllAction, SaveAllAction.ID, SaveAllAction.LABEL), category, ['save', 'all', 'files']); registry.registerWorkbenchAction(new SyncActionDescriptor(SaveFilesAction, SaveFilesAction.ID, null /* only for programmatic trigger */)); registry.registerWorkbenchAction(new SyncActionDescriptor(RevertFileAction, RevertFileAction.ID, RevertFileAction.LABEL), category, ['revert', 'file']); registry.registerWorkbenchAction(new SyncActionDescriptor(GlobalNewFileAction, GlobalNewFileAction.ID, GlobalNewFileAction.LABEL), category, ['new', 'file']); registry.registerWorkbenchAction(new SyncActionDescriptor(GlobalNewFolderAction, GlobalNewFolderAction.ID, GlobalNewFolderAction.LABEL), category, ['new', 'folder']); registry.registerWorkbenchAction(new SyncActionDescriptor(GlobalCompareResourcesAction, GlobalCompareResourcesAction.ID, GlobalCompareResourcesAction.LABEL), category, ['compare', 'files']); registry.registerWorkbenchAction(new SyncActionDescriptor(CloseFileAction, CloseFileAction.ID, CloseFileAction.LABEL, { primary: KeyMod.chord(KeyMod.CtrlCmd | KeyCode.KEY_K, KeyCode.KEY_W) }), category, ['close', 'file']);"} {"_id":"q-en-vscode-886ee8b7645e9504c7ba8a2a33c9e2b42d305ab2cf13a53758feabc41dc856b8","text":"} } class TreeMenus extends Disposable implements IDisposable { class TreeMenus implements IDisposable { private contextKeyService: IContextKeyService | undefined; private _onDidChange = new Emitter(); public readonly onDidChange = this._onDidChange.event;"} {"_id":"q-en-vscode-88b26dcf7b198661b75d93e83142c270272494ca18caf31c6dbb1028acaa7fc4","text":"} private _layout(): void { const windowWidth = window.innerWidth; const width = windowWidth * DIMENSION_DEFAULT.WIDTH; this._editorWidget.layout({ width, height: this._editorWidget.getContentHeight() }); const left = Math.round((windowWidth - width) / 2); this._editorContainer.style.left = `${left}px`; this._editorWidget.layout({ width: DIMENSION_DEFAULT.WIDTH, height: this._editorWidget.getContentHeight() }); } private async _getTextModel(resource: URI): Promise {"} {"_id":"q-en-vscode-88d9eb86fbfcdafe87b74c57b49f074ed4bcc385d0f7262160d984f62b83cafd","text":"super.render(container); addClass(container, 'switch-output'); this._register(attachStylerCallback(this.themeService, { selectBorder }, colors => { container.style.border = colors.selectBorder ? `1px solid ${colors.selectBorder}` : ''; container.style.borderColor = colors.selectBorder ? `${colors.selectBorder}` : ''; })); }"} {"_id":"q-en-vscode-88e20d162e8e69e383c008cadaea792d35ead8d24be67ed1439f0f87d0636be9","text":" /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import * as assert from 'assert'; import { ContentHoverController } from 'vs/editor/contrib/hover/browser/contentHover'; import { Range } from 'vs/editor/common/core/range'; import { Position } from 'vs/editor/common/core/position'; import { IHoverPart } from 'vs/editor/contrib/hover/browser/hoverTypes'; suite('Content Hover', () => { test('issue #151235: Gitlens hover shows up in the wrong place', () => { const actual = ContentHoverController.computeHoverRanges( new Range(5, 5, 5, 5), [{ range: new Range(4, 1, 5, 6) }] ); assert.deepStrictEqual( actual, { showAtPosition: new Position(5, 5), showAtRange: new Range(5, 5, 5, 5), highlightRange: new Range(4, 1, 5, 6) } ); }); }); "} {"_id":"q-en-vscode-8908af3ffefa3516e4ecc0ef61c859a086fe8e1b9177b33009adff14ce4fa83a","text":" a010e3d6e90e3ae1d7df517044510db0419500c25b0243ac371b2cdc34264fe5 *chromedriver-v30.5.0-darwin-arm64.zip bb5444359e6214a393ab2b9ee6d096e4202fd32050c05bc0868d3f220501efb9 *chromedriver-v30.5.0-darwin-x64.zip bb02fee91d901cd2ff24200c6488691330d946277cb8fbd5681eb7fe04d6b70a *chromedriver-v30.5.0-linux-arm64.zip 3337363abe08a74d30c0a4eb990c35c97bb5692e1c28afd2ab732ac9c51fcf10 *chromedriver-v30.5.0-linux-armv7l.zip bb9c1b5b11712b52e7cbdbf38aa6f180bd4acc9866a3c9a023d443ac93a1bfd3 *chromedriver-v30.5.0-linux-x64.zip c81eec95055c6fc553cddcbe405ce6a4aa9b2e397f65f551ce8a69772dacc80e *chromedriver-v30.5.0-mas-arm64.zip cce049c0bcaeeb82656971363cf2dcce9eae38cbbee558a5204085cac2b700fa *chromedriver-v30.5.0-mas-x64.zip 474cee6b6ab8d8ff4d5beb834981b694aedfa6434e89c77391fb50fd9940421f *chromedriver-v30.5.0-win32-arm64.zip e841d999d224c6562422657a669b1e807f9e1fd99fbfdad9275e86637ee77a2b *chromedriver-v30.5.0-win32-ia32.zip 3e62f30a511ae9058a4e665e56613b7412af1640e15e9b0cbf7237fa0fa5ac1b *chromedriver-v30.5.0-win32-x64.zip 928586b78c1b59cdeab32542c0dcc7763a3eacaa2b21f3fcb6345af522e2600a *electron-api.json 12f0d3689ac7be36b312ef81cffb99ac2ed35eecd6650aefc691085317942bce *electron-v30.5.0-darwin-arm64-dsym-snapshot.zip 84eb4590e500f85ec854fed4e2ea479c118b075a546e3398ac95d093cdd4f49c *electron-v30.5.0-darwin-arm64-dsym.zip bac4837a937f620ae3f6290bb2e2c0d29f051d10b968e3e247751b727ceaf3d3 *electron-v30.5.0-darwin-arm64-symbols.zip 1715379e74d5c5983cf74059eae174cc59bb48ef774d32d6a23fa2e52ae8f8da *electron-v30.5.0-darwin-arm64.zip f1849de448bd973118572dd0e70ea6f8b862e0ed09879323a872f4d4d8c84ff0 *electron-v30.5.0-darwin-x64-dsym-snapshot.zip 1d2677b2b01cda73480d87a02dfbf8ef3b39c0d9c7f785b88edc0bbb9ded0bf4 *electron-v30.5.0-darwin-x64-dsym.zip 34592256b3d940fb6828edcb23cd0f241605dbaa9423d429aa2472143a6c908f *electron-v30.5.0-darwin-x64-symbols.zip 135aaa5c7b9cbd6128a6fb43df522d9bc4894c6ceb115e1db5caa2b2e2f2c9f4 *electron-v30.5.0-darwin-x64.zip 7115b03c3aed17f5d9b1b134f7daf3ffb838f5180f4223358acf3061cf7e8eea *electron-v30.5.0-linux-arm64-debug.zip 75c9532cf91c468dd37c2c961d1e7dbce133f8fe3565cc391f5eea66ae843b4f *electron-v30.5.0-linux-arm64-symbols.zip a3857bdf84379d8a4984955368b3940df9b1b1d098ed6c6120d34cde950e41c6 *electron-v30.5.0-linux-arm64.zip 7115b03c3aed17f5d9b1b134f7daf3ffb838f5180f4223358acf3061cf7e8eea *electron-v30.5.0-linux-armv7l-debug.zip 6de5b4aee19b2da78444cca76d35a3a20d72252dd9e31055ab96c727629007be *electron-v30.5.0-linux-armv7l-symbols.zip ba4cad948732d39242d934dade317785ea8239fed6175fe143f7ad747c8524d9 *electron-v30.5.0-linux-armv7l.zip 2b447d516777af53809ee80820a7c93e704ebaa3b253e7d5b4ecf5f104f2b855 *electron-v30.5.0-linux-x64-debug.zip 9abc7246ab2e29424700ff30c03a72d9f8508d7819ea5d924a606b4ee16e74fd *electron-v30.5.0-linux-x64-symbols.zip 167d48e0c6b9714d3e1bcf66cc37f81a886694038e12c754866db313c1c7c90e *electron-v30.5.0-linux-x64.zip 5aef36099d1fd316c6593bcf9895641fe79e97d3e2191a6c00e63a033e9d628b *electron-v30.5.0-mas-arm64-dsym-snapshot.zip cafae0c4d8b00424a7edf1234587a4a5f49ed209c649a5773131eb805790fdc4 *electron-v30.5.0-mas-arm64-dsym.zip c859b5d4e0fb117e6666db858878efbe77e9cf835125ba69b68099ad3d8975c0 *electron-v30.5.0-mas-arm64-symbols.zip 7458cd6f830640fcfbf262bf207113ff7a4ff62951f3ee2f24075059b141821b *electron-v30.5.0-mas-arm64.zip 894697a4588bcac62565c5416f43e3ea96efe65436c660c0473e382d6ff7075d *electron-v30.5.0-mas-x64-dsym-snapshot.zip 37ef7ac94c20a30be8a53346fb2949429e3adbd5485e9c7cd440b821bd8e3a49 *electron-v30.5.0-mas-x64-dsym.zip b18452e34e0569adc647ebf749712bbe1c7ac60d63624015607f1eb4d3d8f3f6 *electron-v30.5.0-mas-x64-symbols.zip 3fbff016735efd6313be0fcfcbf1856d1e0b25329c9219e7da3fa3585f075f04 *electron-v30.5.0-mas-x64.zip fdf4e69f7601dbe12eb09cca968ff261e3efc8c718f5a74f5805108420abb7b8 *electron-v30.5.0-win32-arm64-pdb.zip e0ce8ed7dc7cb633ed2fcd8f9d2a28dfbd180235b4e2f20747a12eaf397b8808 *electron-v30.5.0-win32-arm64-symbols.zip 7351fa5cb892853a7d4b67d8858d0f9cc6506c554a2e42c9ad7e8d5e29ae2743 *electron-v30.5.0-win32-arm64-toolchain-profile.zip 61ea193db53d4f5ae95a758b53fbd8675e9b87d5e8c97549ce716eb7830f71a3 *electron-v30.5.0-win32-arm64.zip 3f3133f4db5384a10611f778b3e4d8f759d88d0f93fc1226066bd2324805cef2 *electron-v30.5.0-win32-ia32-pdb.zip 206f84d0a1a4096e793e4152609792fbd6e118d9b3fe96db40b22c6c83f822f8 *electron-v30.5.0-win32-ia32-symbols.zip 7351fa5cb892853a7d4b67d8858d0f9cc6506c554a2e42c9ad7e8d5e29ae2743 *electron-v30.5.0-win32-ia32-toolchain-profile.zip 8ab671665fad3eb50c0ba79201944dc6a1cc08dd1ec89a5aa458415671307178 *electron-v30.5.0-win32-ia32.zip adc776f542ae6c8f2030a99a0eb4c55857d065708620d52119cc067c264cc08a *electron-v30.5.0-win32-x64-pdb.zip b1fa7b22af5e31f49278ece5cb60d1ce310547db154802c74baa30264b9aaf69 *electron-v30.5.0-win32-x64-symbols.zip 7351fa5cb892853a7d4b67d8858d0f9cc6506c554a2e42c9ad7e8d5e29ae2743 *electron-v30.5.0-win32-x64-toolchain-profile.zip 2b9007396722c03d6b064e7f277b502990bc2a060066ed202dea4f4ede77a820 *electron-v30.5.0-win32-x64.zip 4acb73a8e98f769c14910e6a16f7902e1281291ecec0c80598ce07bf97878238 *electron.d.ts dded5f95e489ec68829ba2ea2f851601ecc30e534c5fb16c9bee97c196e6eba0 *ffmpeg-v30.5.0-darwin-arm64.zip 3b26980535e45e6fd23b34f464f85263edf434e749722bec70f07a5538dadaf3 *ffmpeg-v30.5.0-darwin-x64.zip 93f433080429f0edffb838a1655c4faacdb49efae24acf97b35c9eccd87abc63 *ffmpeg-v30.5.0-linux-arm64.zip 4f7583513d48b48c44a2cbc4430cbc9a33d8f9728622166db688e3de61190821 *ffmpeg-v30.5.0-linux-armv7l.zip 42aa45bcfebac623904082fbe74a94a9d115237118493baa9845bb4ed63a1ffe *ffmpeg-v30.5.0-linux-x64.zip dded5f95e489ec68829ba2ea2f851601ecc30e534c5fb16c9bee97c196e6eba0 *ffmpeg-v30.5.0-mas-arm64.zip 3b26980535e45e6fd23b34f464f85263edf434e749722bec70f07a5538dadaf3 *ffmpeg-v30.5.0-mas-x64.zip 418ac6118a1d0f4fe245bfd3f7db59293629db0c81ad4dcf27a15197c49b0835 *ffmpeg-v30.5.0-win32-arm64.zip c5980cb28dcef56e7674c754b8863c9b5e67ecdb6684f71e32d10a335b92c5fb *ffmpeg-v30.5.0-win32-ia32.zip 7dffa8b18aa0a7941a2d03d8ac393b865a39dd93ad408e9efdd8e51061798c12 *ffmpeg-v30.5.0-win32-x64.zip 2abc27d8460ca60a336767634ab608b9c5450d0ac9720a6fbbdd9e83f837163d *hunspell_dictionaries.zip 7d3254bf7242ea858cadc17686c2ba1c2b7239e00628c8ae260373e9e35617b2 *libcxx-objects-v30.5.0-linux-arm64.zip 94cc5ba1b3fe4e1db1b4f0ce4140cc3cdf42d54d6e8150d4c1dc98508f7cdad2 *libcxx-objects-v30.5.0-linux-armv7l.zip 21193d743044c1f3052d69efaf11fc1475e5d27f014d0f701127e6da1501bee3 *libcxx-objects-v30.5.0-linux-x64.zip 24ec523a5a5bac709f0df9bb198f52fa786be4b6c828a7cf0117012ffa28f1ce *libcxx_headers.zip 3de7da4462c7690f75680aecac8fddedc4b998d0da769136d8eff2932b36004e *chromedriver-v30.5.1-darwin-arm64.zip d89b89f7c2ba45cb10df7fc23722bacf6f77e13002c42648762cd18ae3fa9182 *chromedriver-v30.5.1-darwin-x64.zip 3722d46929fd2c7b33c17d37464a08150e60d9269053eb67195795254fb5e947 *chromedriver-v30.5.1-linux-arm64.zip a786d51f834c24b768bd415bf9a2fc5c1d9abdf9dc0b1a091bf9a8ff101becfe *chromedriver-v30.5.1-linux-armv7l.zip 688e4da8dbcb7dbfacab6f29341d96736e6d06e4c8029835b83ef30b69885b01 *chromedriver-v30.5.1-linux-x64.zip 786a7c2659ad97d5a09866b9aafd55edc015cb17a87bd8d72aa5925f2bfcf55a *chromedriver-v30.5.1-mas-arm64.zip 398759d1dc02fc4928d48ff0f8fbade8811347e1a51d1cedcb2ba9350fbed04d *chromedriver-v30.5.1-mas-x64.zip 65766f1270d1876e2a81acfb4b1130dc4a41eb7165842afa8f41ea438bf2fecb *chromedriver-v30.5.1-win32-arm64.zip ca9fe0abd1032ebd51497049cb1bb2ae1dd9592697b278f6b1ee2a1a25148891 *chromedriver-v30.5.1-win32-ia32.zip b6b6ea2202e0139ea436288add736d19078bfb190fc0b22937283927f3024bb9 *chromedriver-v30.5.1-win32-x64.zip 50e8b2d59916bc180873324fdbeb8227dbb8b2375cc936e58b7c9885fb23376d *electron-api.json 595db4fa3f755432bf59cbbaf591ee44b576e15952d014d83d3748646b2e338c *electron-v30.5.1-darwin-arm64-dsym-snapshot.zip c1beb80553f3c9575e638625ce0ffbfdb87b6f8b23799eb132954b2bb74a9a2f *electron-v30.5.1-darwin-arm64-dsym.zip cba315d6d6f607a2ee6cfc437b46f92da88daded86f0130d85129adb4742bc48 *electron-v30.5.1-darwin-arm64-symbols.zip d312544ea29844cf328b44b9dbde12f4fdced90cb442dfca6df36c098dbb6e7a *electron-v30.5.1-darwin-arm64.zip fd24d585d28909c082d703db3fcc5ffa0b55e1077ff320e25ed510f36e6a3761 *electron-v30.5.1-darwin-x64-dsym-snapshot.zip 4d1a2adea4b98c4d0b03c6561fca146aab102d636d359e48ce418c465df891ae *electron-v30.5.1-darwin-x64-dsym.zip d9065eaf659f4c3e8a75f5453ceb65269763b2e57110bdcc01904b9a1e33a62c *electron-v30.5.1-darwin-x64-symbols.zip faf9dcc20d525607ea205f2f6a1dfe3270f6268aa439bb0ba5646c7e4fbbd842 *electron-v30.5.1-darwin-x64.zip b85dba1cdb49591542dcecff3e710f29b81285569c8c5db8c1181c3ed818ba44 *electron-v30.5.1-linux-arm64-debug.zip 5e97cc105282783d1c20d8e8dd4ca1134342839235288840cb50f314ca7a6ede *electron-v30.5.1-linux-arm64-symbols.zip eb31470c0d7cd6e23e7ce0d89cc93a2356c9dac8bcc997e335353b8aa995afa0 *electron-v30.5.1-linux-arm64.zip b85dba1cdb49591542dcecff3e710f29b81285569c8c5db8c1181c3ed818ba44 *electron-v30.5.1-linux-armv7l-debug.zip 137548cd73cd648107f6e01c777e411838173309848a492b42825857cec7d110 *electron-v30.5.1-linux-armv7l-symbols.zip 224bd46983e503101c756c72d10b195f14712a7a56438718acb126017dd04edf *electron-v30.5.1-linux-armv7l.zip 1f87fadebc444c9c0de43f52972a3f61af83ca0594c3de368f7579ce613fcb60 *electron-v30.5.1-linux-x64-debug.zip aae78654f599a68310bdbdc0e3de8db644320ef44e58a5c6e5c693dff5cd1970 *electron-v30.5.1-linux-x64-symbols.zip ec4707783d39e86005f42899e30ae59e50dd5d9c7f28531ed494eb43f2361403 *electron-v30.5.1-linux-x64.zip c61f3121e52fd29987814b7805b597ef3fc78b2ce891eba5e3fc6bbe14128f23 *electron-v30.5.1-mas-arm64-dsym-snapshot.zip f934e55ef6c986d3ec56626b2605fed16030efc45efcd8b05afa9322d625ec56 *electron-v30.5.1-mas-arm64-dsym.zip 3cc36e99f2cd59d7cb2f47b52d19609c2a2358f6ddde35fd832872abe241cc8d *electron-v30.5.1-mas-arm64-symbols.zip c5085ab1fb74dfa4a4e463dcb688989bc63baf44007419fd96db4e7c974fb6db *electron-v30.5.1-mas-arm64.zip 47102b6dcd5892de734be2b48e40bbbdbc5e0a228bf5fec33071661d2724d946 *electron-v30.5.1-mas-x64-dsym-snapshot.zip 607091ddfd313ed27bb5a0acb6fa58b0d65cb87e6c6ce9b373949b4b152476d8 *electron-v30.5.1-mas-x64-dsym.zip ac49568635d41e1075bca39c97aca1f2fcede702f721ddce5d80f18cc2dd1067 *electron-v30.5.1-mas-x64-symbols.zip 3746bc4ba32ab9c11398a393d54ba81733088729ae7cef4e5dccf1e64dc82b0a *electron-v30.5.1-mas-x64.zip 930ad941c8bc0aa5e4e3457b235f104846939974d71bde5b42a8980de2d4a35d *electron-v30.5.1-win32-arm64-pdb.zip 11c1252547b381ab6e40cc032ee60c5209dee9ea1102d1b47ad3fcd4da03049f *electron-v30.5.1-win32-arm64-symbols.zip 7351fa5cb892853a7d4b67d8858d0f9cc6506c554a2e42c9ad7e8d5e29ae2743 *electron-v30.5.1-win32-arm64-toolchain-profile.zip f18baa98ba9c04b346fda9f40fc3150a57b539d0cd510971a073983f78e0a20c *electron-v30.5.1-win32-arm64.zip b03c7297dc61aa234ab2273c419d9ae064e52c2c0c3dd56f09135f81964630b5 *electron-v30.5.1-win32-ia32-pdb.zip 8fc570c7f4d97eb6b745fb4af5932311d1da57058da8f39a3d97d6e099cd6982 *electron-v30.5.1-win32-ia32-symbols.zip 7351fa5cb892853a7d4b67d8858d0f9cc6506c554a2e42c9ad7e8d5e29ae2743 *electron-v30.5.1-win32-ia32-toolchain-profile.zip 20845163bf9d5a4ead03c5f0280c9bae71f0ab1fc03362f3406ed12620e4d9cd *electron-v30.5.1-win32-ia32.zip 019f3ae97a69dc837d89c44d25e0e5dadc88564b74202c5a3524fc6ab59490bc *electron-v30.5.1-win32-x64-pdb.zip 2eb4889fe275e5ea42cf6f51821bcceb833d5714aa1b45ad7915495afb447e94 *electron-v30.5.1-win32-x64-symbols.zip 7351fa5cb892853a7d4b67d8858d0f9cc6506c554a2e42c9ad7e8d5e29ae2743 *electron-v30.5.1-win32-x64-toolchain-profile.zip 443119bb559fc2ca297a57cf79f2bce532e853ada070c1e71460c9657c13b4b3 *electron-v30.5.1-win32-x64.zip deecdc1f3f5ea9548ef73774f412c7af489afeb7dca1c394b5add10e929aff42 *electron.d.ts 14319b51118a5c94e108731f6b5c4e701c700212e790198ba22242eb9674a334 *ffmpeg-v30.5.1-darwin-arm64.zip bfd5110457438fa8b113a8806db45f30b8975304d95e5efb1b71b0f5e46757fe *ffmpeg-v30.5.1-darwin-x64.zip 44ebf3185fc24404647da0c1f9e496effefd32ff3dbc2499c022164b919d06ed *ffmpeg-v30.5.1-linux-arm64.zip 4f7583513d48b48c44a2cbc4430cbc9a33d8f9728622166db688e3de61190821 *ffmpeg-v30.5.1-linux-armv7l.zip 154900e5db5810f63e38fd4551cfff3d88d6eac39226e06e12e1e43558d360a4 *ffmpeg-v30.5.1-linux-x64.zip 14319b51118a5c94e108731f6b5c4e701c700212e790198ba22242eb9674a334 *ffmpeg-v30.5.1-mas-arm64.zip bfd5110457438fa8b113a8806db45f30b8975304d95e5efb1b71b0f5e46757fe *ffmpeg-v30.5.1-mas-x64.zip f2169c4b6b9f073c20652953599f2453947936e851ff25c9f2719e7d889faea3 *ffmpeg-v30.5.1-win32-arm64.zip 90745f1422ae0431b295cb5d27ff03e69c890f3572ef6c4655774b892419e94f *ffmpeg-v30.5.1-win32-ia32.zip 567fe8952f17b224d4492980af741b470e86b31d58e7c6a9262258eeae490122 *ffmpeg-v30.5.1-win32-x64.zip 8bbbadb52a19f074d9f8bd533891e2bacbe4813101ae6c344cfc88e28b1429a3 *hunspell_dictionaries.zip 61137508aee6837c70a2ead2e31dd106d753ec5fac01b49e7e8701be0e09e7aa *libcxx-objects-v30.5.1-linux-arm64.zip 3c285f012f256f767e777550a1f18054cfcffc4e13ad6fa4e4e90dd58ec22069 *libcxx-objects-v30.5.1-linux-armv7l.zip 9b96b53c8dfbc70a0f617f78dde89a1e8510ae2261bcddfbf7c12c61eb5a3d73 *libcxx-objects-v30.5.1-linux-x64.zip 1b5cbe24d6356a388e166bff60d7452583019ea7dec85f593c552eb287346f43 *libcxx_headers.zip eae200a0d1fd0d4b881358bdef600111891c75ecc4db679b680b0cbaf87ecfc3 *libcxxabi_headers.zip cdd3c02c5998ae39eda53af1627a7f069db29dc13b0287bcfba6197bd9a1f52e *mksnapshot-v30.5.0-darwin-arm64.zip 4212dc901cdaa3e65a905a69c246efe8012318ad9e4141b0e1508f7befadc615 *mksnapshot-v30.5.0-darwin-x64.zip 41ba980d159d59705187fc9a383014cb68a642044c8c39c68f9396bab4fda168 *mksnapshot-v30.5.0-linux-arm64-x64.zip fa2b974e8016ab576c23262c89aa910208542ecec3a2d4344df3f79a0bbb0b30 *mksnapshot-v30.5.0-linux-armv7l-x64.zip cdb205f80890cccc0e3c23bbe8bfa4777171b989f10c532ff488c5a4657a9cf2 *mksnapshot-v30.5.0-linux-x64.zip be468e8c0a3175541e1234d66b50db2932434e77a22d6a6ad3649f36c530aff1 *mksnapshot-v30.5.0-mas-arm64.zip f0bb8d110295ccc0cd0938a63f6a372cf6e80dd511cc1309fd4a7a1bde23dce2 *mksnapshot-v30.5.0-mas-x64.zip 65ed62069016fa0ae0928d394c55678fa530978d1d7fa74a8b02b6b09d7a6e50 *mksnapshot-v30.5.0-win32-arm64-x64.zip 918bf0cc88f4830af21bc7621fde1e32df8869751d898af0ad34e19c63f677a7 *mksnapshot-v30.5.0-win32-ia32.zip 6d6badd9e8ea6df7531e3c1533939686e78c33983cf24e9c98357c2a6d7e6206 *mksnapshot-v30.5.0-win32-x64.zip ed1f7463b5869acf57dd388208918652182b049b2846f572d52ed47e7c091d54 *mksnapshot-v30.5.1-darwin-arm64.zip bc80de1f29b869cdb2676d2dc08cbb4bd6228a6825b1b0bfc13acee0b070ac3e *mksnapshot-v30.5.1-darwin-x64.zip 5e526ca4f4250a9b9b040d6eb60f1d2b8db974ab68c27e46198f4bf8dc1ef347 *mksnapshot-v30.5.1-linux-arm64-x64.zip c40ca2a45cc9ab4e1668f063860ba243baef8c192a253638e4c93aaccb0ef8da *mksnapshot-v30.5.1-linux-armv7l-x64.zip a3134e0b0980547167dd3ca2f17dd2f40a7db697ab563ba6257534f9ad0d256d *mksnapshot-v30.5.1-linux-x64.zip 82776eafcb3e4d053e275ad50d84151f41a651986baacda20c6ed722854cb8fb *mksnapshot-v30.5.1-mas-arm64.zip 9d6d95d4cb121a29fd68d64557edd8c9859345ac37d0645de8aff518391755ed *mksnapshot-v30.5.1-mas-x64.zip 94b9ce6cb40ae001962b77525d12483c3458776066a69a4e714b327bab1decfc *mksnapshot-v30.5.1-win32-arm64-x64.zip 4d89d06c2e85b25d52bb64f48258ad5d05b98ac21697ae9c49ccd19bad9d7d94 *mksnapshot-v30.5.1-win32-ia32.zip ccfd322bafde0485a0ac6b0acc3669c7b08f30003a1c2e044eebc1bf02289de3 *mksnapshot-v30.5.1-win32-x64.zip "} {"_id":"q-en-vscode-8927ab4b2aeb050cb4e2816ed6df9156dae9e376218e1ec0f70adaf9a095fcf1","text":"j:number, lastIncludedCharIndex:number, len:number, characterClasses = getCharacterClasses(), characterClassesLength = characterClasses.length, linkBeginIndex:number, state:number, ch:string,"} {"_id":"q-en-vscode-89a44fc4b792e3519bea8551118252dd5c2e13353551ac47b8592f978a73a1fa","text":"})); this.nextBtn = this._register(new SimpleButton({ label: NLS_NEXT_MATCH_BTN_LABEL, label: NLS_NEXT_MATCH_BTN_LABEL + (options.nextMatchActionId ? this._getKeybinding(options.nextMatchActionId) : ''), icon: findNextMatchIcon, onTrigger: () => { this.find(false);"} {"_id":"q-en-vscode-8a457651e2e64d925439b6772a53100c8028ca1bacce2c8a9c573a956baf0c8b","text":"content.push(`.monaco-list${suffix}:not(.drop-target):not(.dragging) .monaco-list-row:hover:not(.selected):not(.focused) { color: ${styles.listHoverForeground}; }`); } if (styles.listSelectionOutline) { content.push(`.monaco-list${suffix} .monaco-list-row.selected { outline: 1px dotted ${styles.listSelectionOutline}; outline-offset: -1px; }`); /** * Outlines */ const focusAndSelectionOutline = asCssValueWithDefault(styles.listFocusAndSelectionOutline, asCssValueWithDefault(styles.listSelectionOutline, styles.listFocusOutline ?? '')); if (focusAndSelectionOutline) { // default: listFocusOutline content.push(`.monaco-list${suffix}:focus .monaco-list-row.focused.selected { outline: 1px solid ${focusAndSelectionOutline}; outline-offset: -1px;}`); } if (styles.listFocusOutline) { if (styles.listFocusOutline) { // default: set content.push(` .monaco-drag-image, .monaco-list${suffix}:focus .monaco-list-row.focused { outline: 1px solid ${styles.listFocusOutline}; outline-offset: -1px; }"} {"_id":"q-en-vscode-8a473f16b8dce149c35fb1c19012cd0a555ed7f5f5fed29e70441a8fe10ad698","text":"// Don't dispose editor when instance is torn down on shutdown to avoid extra work and so // the editor/tabs don't disappear this._lifecycleService.onWillShutdown(() => { this._lifecycleService.onWillShutdown((e: WillShutdownEvent) => { this._isShuttingDown = true; dispose(disposeListeners); // Don't touch processes if the shutdown was a result of reload as they will be reattached const shouldPersistTerminals = this._configurationService.getValue(TerminalSettingId.EnablePersistentSessions) && e.reason === ShutdownReason.RELOAD; if (shouldPersistTerminals) { instance.detachProcessAndDispose(TerminalExitReason.Shutdown); } else { instance.dispose(TerminalExitReason.Shutdown); } }); }"} {"_id":"q-en-vscode-8a9b9de979d3e6f0c18924ff9dc8d387ab967f59c572387a3270d28145ba9472","text":"return c; } clientSnippetSupport = getClientCapability('textDocument.completion.completionItem.snippetSupport', false); dynamicFormatterRegistration = getClientCapability('textDocument.rangeFormatting.dynamicRegistration', false) && (typeof initializationOptions.provideFormatter !== 'boolean'); foldingRangeLimitDefault = getClientCapability('textDocument.foldingRange.rangeLimit', Number.MAX_VALUE); hierarchicalDocumentSymbolSupport = getClientCapability('textDocument.documentSymbol.hierarchicalDocumentSymbolSupport', false); formatterMaxNumberOfEdits = initializationOptions.customCapabilities?.rangeFormatting?.editLimit || Number.MAX_VALUE; const pullDiagnosticSupport = getClientCapability('textDocument.diagnostic', undefined); if (pullDiagnosticSupport === undefined) { const supportsDiagnosticPull = getClientCapability('textDocument.diagnostic', undefined); if (supportsDiagnosticPull === undefined) { diagnosticsSupport = registerDiagnosticsPushSupport(documents, connection, runtime, validateTextDocument); } else { diagnosticsSupport = registerDiagnosticsPullSupport(documents, connection, runtime, validateTextDocument); } const capabilities: ServerCapabilities = { textDocumentSync: TextDocumentSyncKind.Incremental, completionProvider: clientSnippetSupport ? {"} {"_id":"q-en-vscode-8aa079082b30b4866da43fbb7a88ca443950b08cc20f2f42fe3d39e88ef43b77","text":"import { ICodeEditor } from 'vs/editor/browser/editorBrowser'; import { NullLogService } from 'vs/platform/log/common/log'; import { Handler } from 'vs/editor/common/editorCommon'; import { timeout } from 'vs/base/common/async'; suite('SnippetController2', function () {"} {"_id":"q-en-vscode-8af7d9013e6b6bd7335d3c4041c1d4bc54dd7fbbd0edef4edfd74580450540db","text":"import { ITerminalInstance, IXtermTerminal } from 'vs/workbench/contrib/terminal/browser/terminal'; import { TerminalCommandId } from 'vs/workbench/contrib/terminal/common/terminal'; import type { Terminal } from '@xterm/xterm'; import { IConfigurationService } from 'vs/platform/configuration/common/configuration'; export const enum ClassName { Active = 'active',"} {"_id":"q-en-vscode-8b0fe39208edbf861cd1bd6bf0e2677675d54954814699f0eeebbf2dde6c8802","text":"res = path.substr(0, pos); } res += encodeTable[code]; } else { if (res !== undefined) { res += path[pos]; } } else if (res !== undefined) { res += path[pos]; } } return res !== undefined ? res : path;"} {"_id":"q-en-vscode-8b21748b64aa874b78f0114b2a58ed3388bf1dc87c47d04ccba13cda07fab695","text":"default: 'openOnFirstSessionStart', description: nls.localize('openDebug', \"Controls whether debug view should be open on debugging session start.\") }, 'debug.enableAllHovers': { type: 'boolean', description: nls.localize({ comment: ['This is the description for a setting'], key: 'enableAllHovers' }, \"Controls if the non debug hovers should be enabled while debugging. If true the hover providers will be called to provide a hover. Regular hovers will not be shown even if this setting is true.\"), default: false }, 'launch': { type: 'object', description: nls.localize({ comment: ['This is the description for a setting'], key: 'launch' }, \"Global debug launch configuration. Should be used as an alternative to 'launch.json' that is shared across workspaces\"),"} {"_id":"q-en-vscode-8b9a795c70560721565ca0ca9eae8587a1fec3b9bb00b384895dc1c77e49223f","text":"class TestTerminalContributionService implements ITerminalContributionService { _serviceBrand: undefined; terminalProfiles: readonly IExtensionTerminalProfile[] = []; quickFixes: ITerminalCommandSelector[] = []; quickFixes: Promise = new Promise((r) => { r([]); }); setProfiles(profiles: IExtensionTerminalProfile[]): void { this.terminalProfiles = profiles; }"} {"_id":"q-en-vscode-8b9b8ad74838fc01b8f44480dad51cdc8b065aaee82b60a2e8bdbfdd2e93d1bc","text":"this._isChangingDecorations = false; this._shouldFocus = false; this._colorPicker = null; this._preferBelow = this._editor.getOption(EditorOption.hover).below; this._hoverOperation = new HoverOperation( this._computer,"} {"_id":"q-en-vscode-8bb14c2892a8441e8eb3779bf348d9882643ad376a6da5c7700d90b349fe59a9","text":"MoveToEditorInstance = 'workbench.action.terminal.moveToEditorInstance', MoveToTerminalPanel = 'workbench.action.terminal.moveToTerminalPanel', SetDimensions = 'workbench.action.terminal.setDimensions', ClearCommandHistory = 'workbench.action.terminal.clearCommandHistory', ClearPreviousSessionHistory = 'workbench.action.terminal.clearPreviousSessionHistory', WriteDataToTerminal = 'workbench.action.terminal.writeDataToTerminal', ShowTextureAtlas = 'workbench.action.terminal.showTextureAtlas', ShowTerminalAccessibilityHelp = 'workbench.action.terminal.showAccessibilityHelp',"} {"_id":"q-en-vscode-8bde806856c2e8e14f905a5950b37218b3d623c4f5fc29eb91f5b5216807c4d4","text":"background-color: var(--vscode-inlineChat-regionHighlight); } .monaco-workbench .inline-chat-slash-command { .monaco-workbench .interactive-session .interactive-input-and-execute-toolbar .monaco-editor .inline-chat-slash-command { background-color: var(--vscode-chat-slashCommandBackground); color: var(--vscode-chat-slashCommandForeground); color: var(--vscode-chat-slashCommandForeground); /* Overrides the foreground color rule in chat.css */ border-radius: 4px; padding: 1px; }"} {"_id":"q-en-vscode-8be02a8aa983759d5aabb9b302098d3a168da094000347bf39063d5aca9fc03f","text":"break; } } characterBounds.push(new DOMRect(parentBounds.left + contentLeft + left, top, width, lineHeight)); characterBounds.push(new DOMRect(parentBounds.left + contentLeft + left - editorScrollLeft, top, width, lineHeight)); } this._editContext.updateCharacterBounds(e.rangeStart, characterBounds); }"} {"_id":"q-en-vscode-8c7a8de22c8cbed76d6ee34ddd6e411490295616a6603f98ebd18f6dc78ba3d2","text":"readonly shortStats?: boolean; readonly author?: string; readonly refNames?: string[]; readonly maxParents?: number; } export interface CommitOptions {"} {"_id":"q-en-vscode-8ca6087775aa46c42e6cc0338fbb60a979271a69ee2a651b55545a2ef910f131","text":"override updateOptions(options: IWorkbenchDataTreeOptionsUpdate = {}): void { super.updateOptions(options); if (options.overrideStyles) { if (options.overrideStyles !== undefined) { this.internals.updateStyleOverrides(options.overrideStyles); }"} {"_id":"q-en-vscode-8d4678dfbf828dd0d4d6dbc067851986bdc482452e1ba4540297cc35218d66d4","text":"await this._stageChanges(textEditor, [changes[index]]); const firstStagedLine = changes[index].modifiedStartLineNumber - 1; const firstStagedLine = changes[index].modifiedStartLineNumber; textEditor.selections = [new Selection(firstStagedLine, 0, firstStagedLine, 0)]; }"} {"_id":"q-en-vscode-8d566adb0e4c22b101dc4e42d7a6d15455b2a922cde55206a22b95e9501ee8cb","text":"} const config = workspace.getConfiguration('git', Uri.file(this.repository.root)); const fetchBeforeCheckout = config.get('fetchBeforeCheckout', false) === true; const pullBeforeCheckout = config.get('pullBeforeCheckout', false) === true; if (fetchBeforeCheckout) { if (pullBeforeCheckout) { await this.repository.fastForwardBranch(this.ref.name!); }"} {"_id":"q-en-vscode-8d607363ac191aba4b63fc3a8a5a0d88c1a8189b46758561e64b24013f2f275b","text":"export function keybindingForAction(id: string): Keybinding { switch (id) { case GlobalNewFileAction.ID: case GlobalNewUntitledFileAction.ID: return new Keybinding(KeyMod.CtrlCmd | KeyCode.KEY_N); case TriggerRenameFileAction.ID: return new Keybinding(isMacintosh ? KeyCode.Enter : KeyCode.F2);"} {"_id":"q-en-vscode-8d96c38fa3550fd30a07e138f3f062a1385049f8046097409d31c3b3fef016f7","text":"} .merge-editor-block:not(.handled):not(.focused) { border: 1px dashed var(--vscode-mergeEditor-conflict-unhandledUnfocused-border); border: 1px solid var(--vscode-mergeEditor-conflict-unhandledUnfocused-border); } .merge-editor-block:not(.handled).focused { border: 1px dashed var(--vscode-mergeEditor-conflict-unhandledFocused-border); border: 1px solid var(--vscode-mergeEditor-conflict-unhandledFocused-border); } .merge-editor-block.handled:not(.focused) {"} {"_id":"q-en-vscode-8dceab12e5594d7e16a855df9b90b3408d09172a728371b19fe3a4f1f7a5ddf3","text":"collapseByDefault: true, expandOnlyOnTwistieClick: true, multipleSelectionSupport: false, showNotFoundMessage: false } ); }"} {"_id":"q-en-vscode-8dd816f7cd6f904107129a33c509cc073c7aaa261b042f7c59dc05f9121cb67a","text":"return this.sendAllBreakpoints(); } addBreakpoints(uri: uri, rawBreakpoints: IBreakpointData[]): TPromise { addBreakpoints(uri: uri, rawBreakpoints: IBreakpointData[], context: string): TPromise { const breakpoints = this.model.addBreakpoints(uri, rawBreakpoints); breakpoints.forEach(bp => aria.status(nls.localize('breakpointAdded', \"Added breakpoint, line {0}, file {1}\", bp.lineNumber, uri.fsPath))); breakpoints.forEach(bp => this.telemetryDebugAddBreakpoint(bp, context)); return this.sendBreakpoints(uri).then(() => breakpoints); }"} {"_id":"q-en-vscode-8e112434be7c2a9627023666fa706d7f1791048c49d458f067d13b52dcaf5094","text":"export const listInactiveFocusOutline = registerColor('list.inactiveFocusOutline', { dark: null, light: null, hc: null }, nls.localize('listInactiveFocusOutline', \"List/Tree outline color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.\")); export const listHoverBackground = registerColor('list.hoverBackground', { dark: '#2A2D2E', light: '#F0F0F0', hc: null }, nls.localize('listHoverBackground', \"List/Tree background when hovering over items using the mouse.\")); export const listHoverForeground = registerColor('list.hoverForeground', { dark: null, light: null, hc: null }, nls.localize('listHoverForeground', \"List/Tree foreground when hovering over items using the mouse.\")); export const listDropBackground = registerColor('list.dropBackground', { dark: listFocusBackground, light: listFocusBackground, hc: null }, nls.localize('listDropBackground', \"List/Tree drag and drop background when moving items around using the mouse.\")); export const listDropBackground = registerColor('list.dropBackground', { dark: '#062F4A', light: '#D6EBFF', hc: null }, nls.localize('listDropBackground', \"List/Tree drag and drop background when moving items around using the mouse.\")); export const listHighlightForeground = registerColor('list.highlightForeground', { dark: '#0097fb', light: '#0066BF', hc: focusBorder }, nls.localize('highlight', 'List/Tree foreground color of the match highlights when searching inside the list/tree.')); export const listInvalidItemForeground = registerColor('list.invalidItemForeground', { dark: '#B89500', light: '#B89500', hc: '#B89500' }, nls.localize('invalidItemForeground', 'List/Tree foreground color for invalid items, for example an unresolved root in explorer.')); export const listErrorForeground = registerColor('list.errorForeground', { dark: '#F88070', light: '#B01011', hc: null }, nls.localize('listErrorForeground', 'Foreground color of list items containing errors.'));"} {"_id":"q-en-vscode-8e6bc069767c4868124317abe13648b297b55bb06aca83aac61b34d8761467fc","text":"\"@vscode/windows-mutex\": \"^0.5.0\", \"@vscode/windows-process-tree\": \"^0.6.0\", \"@vscode/windows-registry\": \"^1.1.0\", \"@xterm/addon-clipboard\": \"0.2.0-beta.39\", \"@xterm/addon-image\": \"0.9.0-beta.56\", \"@xterm/addon-search\": \"0.16.0-beta.56\", \"@xterm/addon-serialize\": \"0.14.0-beta.56\", \"@xterm/addon-unicode11\": \"0.9.0-beta.56\", \"@xterm/addon-webgl\": \"0.19.0-beta.56\", \"@xterm/headless\": \"5.6.0-beta.56\", \"@xterm/xterm\": \"5.6.0-beta.56\", \"@xterm/addon-clipboard\": \"^0.2.0-beta.47\", \"@xterm/addon-image\": \"^0.9.0-beta.64\", \"@xterm/addon-search\": \"^0.16.0-beta.64\", \"@xterm/addon-serialize\": \"^0.14.0-beta.64\", \"@xterm/addon-unicode11\": \"^0.9.0-beta.64\", \"@xterm/addon-webgl\": \"^0.19.0-beta.64\", \"@xterm/headless\": \"^5.6.0-beta.64\", \"@xterm/xterm\": \"^5.6.0-beta.64\", \"http-proxy-agent\": \"^7.0.0\", \"https-proxy-agent\": \"^7.0.2\", \"jschardet\": \"3.1.3\","} {"_id":"q-en-vscode-8ea6a65678a84a371617c89c5853c00a86eb943432bd71ef73740ce1a12ffdf7","text":"import { ContextScopedFindInput } from 'vs/platform/history/browser/contextScopedHistoryWidget'; import { widgetClose } from 'vs/platform/theme/common/iconRegistry'; import * as strings from 'vs/base/common/strings'; import { TerminalCommandId } from 'vs/workbench/contrib/terminal/common/terminal'; import { IKeybindingService } from 'vs/platform/keybinding/common/keybinding'; import { showHistoryKeybindingHint } from 'vs/platform/history/browser/historyWidgetKeybindingHint'; import { status } from 'vs/base/browser/ui/aria/aria';"} {"_id":"q-en-vscode-8eb64ed82129ce3c0c6501186365616cc1b2224ecaf5db17dae4a435256897dc","text":"import { IKeybindingService } from 'vs/platform/keybinding/common/keybinding'; import { AccessibilityVerbositySettingId, accessibilityHelpIsShown, accessibleViewIsShown } from 'vs/workbench/contrib/accessibility/browser/accessibilityConfiguration'; import { ILayoutService } from 'vs/platform/layout/browser/layoutService'; import { Action2, MenuId } from 'vs/platform/actions/common/actions'; import { Action2, MenuId, registerAction2 } from 'vs/platform/actions/common/actions'; import { KeybindingWeight } from 'vs/platform/keybinding/common/keybindingsRegistry';"} {"_id":"q-en-vscode-8ebd2d2d7450e73240eea934f94c43985b9a34584d57b5dafe14f9d4eb141642","text":"this._resourceContentProvider.deleteAndDispose(handle); } $onVirtualDocumentChange(uri: UriComponents, value: string): void { async $onVirtualDocumentChange(uri: UriComponents, value: string): Promise { const model = this._modelService.getModel(URI.revive(uri)); if (!model) { return;"} {"_id":"q-en-vscode-8ed41996c31606d89abd9d0087660ccdcfe91e31eae96bf61c5f38bc5f8a2e87","text":"label?: string; /** * The optional state of a comment thread, which may affect how the comment is displayed. */ state?: CommentThreadState; /** * Dispose this comment thread. * * Once disposed, this comment thread will be removed from visible editors and Comment Panel when appropriate."} {"_id":"q-en-vscode-8ee26da5d1f2098c3d6f503c1c54cdfcf1635399d3cbb74125d4d8ec3282f7a7","text":"keybinding: { primary: KeyMod.Alt | KeyCode.KeyR, mac: { primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.KeyR }, when: ContextKeyExpr.or(TerminalContextKeys.focusInAny, TerminalContextKeys.findFocus), when: TerminalContextKeys.findVisible, weight: KeybindingWeight.WorkbenchContrib }, precondition: ContextKeyExpr.or(TerminalContextKeys.processSupported, TerminalContextKeys.terminalHasBeenCreated),"} {"_id":"q-en-vscode-8f212f640d7d1049cdae28271c79c4d5b70f353c44ed37efcc305587455d96dd","text":"} @command('git.clone') async clone(url?: string, parentPath?: string): Promise { await this.cloneRepository(url, parentPath); async clone(url?: string, parentPath?: string, options?: { ref?: string }): Promise { await this.cloneRepository(url, parentPath, options); } @command('git.cloneRecursive')"} {"_id":"q-en-vscode-8f7c8f1c022f702aa76005b4ce3291db042693c4c74cd60aa2c3f15967c88c82","text":") { } } class CodeLensCache implements ICodeLensCache { export class CodeLensCache implements ICodeLensCache { _serviceBrand: any;"} {"_id":"q-en-vscode-8f8d29ef5247ddfa3cf317457e14d1817f0b7acc6a0b5bc59a3b729d590e3039","text":"break; } const itemKindFilter = SuggestModel._createItemKindFilter(this._editor); const { itemKind: itemKindFilter, showDeprecated } = SuggestModel._createSuggestFilter(this._editor); const wordDistance = WordDistance.create(this._editorWorkerService, this._editor); const completions = provideSuggestionItems( model, this._editor.getPosition(), new CompletionOptions(snippetSortOrder, itemKindFilter, onlyFrom), new CompletionOptions(snippetSortOrder, itemKindFilter, onlyFrom, showDeprecated), suggestCtx, this._requestToken.token );"} {"_id":"q-en-vscode-8f9eab3e7760ee8ee3e828d88b526808e107eecd365ad7d2ec720137937f0d89","text":"const pendingCommentText = (this._pendingNewCommentCache[uniqueOwner] && this._pendingNewCommentCache[uniqueOwner][thread.threadId]) ?? continueOnCommentText; const pendingEdits = this._pendingEditsCache[uniqueOwner] && this._pendingEditsCache[uniqueOwner][thread.threadId]; const isThreadTemplateOrEmpty = (thread.isTemplate || (!thread.comments || (thread.comments.length === 0))); const shouldReveal = thread.canReply && isThreadTemplateOrEmpty && (!thread.editorId || (thread.editorId === editorId)); const shouldReveal = thread.canReply && thread.isTemplate && (!thread.comments || (thread.comments.length === 0)) && (!thread.editorId || (thread.editorId === editorId)); await this.displayCommentThread(uniqueOwner, thread, shouldReveal, pendingCommentText, pendingEdits); this._commentInfos.filter(info => info.uniqueOwner === uniqueOwner)[0].threads.push(thread); this.tryUpdateReservedSpace();"} {"_id":"q-en-vscode-8fae0cf472d2042f54a363de3a56dc1e80eaf2765360f32c36bf65bd6b4adcf3","text":"import { SettingsEditor2 } from 'vs/workbench/parts/preferences/browser/settingsEditor2'; import { DefaultPreferencesEditorInput, PreferencesEditorInput, KeybindingsEditorInput, SettingsEditor2Input } from 'vs/workbench/services/preferences/common/preferencesEditorInput'; import { KeybindingsEditor } from 'vs/workbench/parts/preferences/browser/keybindingsEditor'; import { OpenRawDefaultSettingsAction, OpenSettingsAction, OpenGlobalSettingsAction, OpenGlobalKeybindingsFileAction, OpenWorkspaceSettingsAction, OpenFolderSettingsAction, ConfigureLanguageBasedSettingsAction, OPEN_FOLDER_SETTINGS_COMMAND, OpenGlobalKeybindingsAction, OpenSettings2Action } from 'vs/workbench/parts/preferences/browser/preferencesActions'; import { OpenRawDefaultSettingsAction, OpenSettingsAction, OpenGlobalSettingsAction, OpenGlobalKeybindingsFileAction, OpenWorkspaceSettingsAction, OpenFolderSettingsAction, ConfigureLanguageBasedSettingsAction, OPEN_FOLDER_SETTINGS_COMMAND, OpenGlobalKeybindingsAction, OpenSettings2Action, OpenRawUserSettingsAction } from 'vs/workbench/parts/preferences/browser/preferencesActions'; import { IKeybindingsEditor, IPreferencesSearchService, CONTEXT_KEYBINDING_FOCUS, CONTEXT_KEYBINDINGS_EDITOR, CONTEXT_KEYBINDINGS_SEARCH_FOCUS, KEYBINDINGS_EDITOR_COMMAND_DEFINE, KEYBINDINGS_EDITOR_COMMAND_REMOVE, KEYBINDINGS_EDITOR_COMMAND_SEARCH, KEYBINDINGS_EDITOR_COMMAND_COPY, KEYBINDINGS_EDITOR_COMMAND_RESET, KEYBINDINGS_EDITOR_COMMAND_COPY_COMMAND, KEYBINDINGS_EDITOR_COMMAND_SHOW_SIMILAR, KEYBINDINGS_EDITOR_COMMAND_FOCUS_KEYBINDINGS, KEYBINDINGS_EDITOR_COMMAND_CLEAR_SEARCH_RESULTS"} {"_id":"q-en-vscode-8faf338f4a81a960b407ee88cbb4e218239bd85b220a7aa0e7487fc1714fcfd9","text":"\"editor.background\": \"#1f1f1f\", \"editor.findMatchBackground\": \"#9e6a03\", \"editor.foreground\": \"#ffffffd3\", \"editorCursor.foreground\": \"#0078d4\", \"editorGroup.border\": \"#ffffff17\", \"editorGroupHeader.tabsBackground\": \"#181818\", \"editorGroupHeader.tabsBorder\": \"#ffffff15\","} {"_id":"q-en-vscode-8fd036ef6ad6127d5e46f94c9517d5e781f32989df2fd5bd5f5e3deb399fad25","text":"return false; } let rootPath = root.fsPath + (root.fsPath.endsWith(sep) ? '' : sep); let resourceFsPath = resource.fsPath; let resourceFsPath = normalize(resource.fsPath); let rootPath = normalize(root.fsPath + (root.fsPath.endsWith(sep) ? '' : sep)); if (isUNC(root.fsPath) && isUNC(resource.fsPath)) { rootPath = rootPath.toLowerCase();"} {"_id":"q-en-vscode-8fd53ca3e7b5ff5e13d998628dd6614d85c3fb1ace88f33e84ae5214a2695b6b","text":"// Ask for confirmation const { confirmed } = await dialogService.confirm({ message: localize('confirmClearMessage', \"Do you want to clear the history of recently used commands?\"), message: localize('confirmClearMessage', \"Do you want to clear the previous session command history?\"), detail: localize('confirmClearDetail', \"This action is irreversible!\"), primaryButton: localize({ key: 'clearButtonLabel', comment: ['&& denotes a mnemonic'] }, \"&&Clear\"), type: 'warning'"} {"_id":"q-en-vscode-8ff4a651b826ffde0c59aff34c612e689a4eff65a468d6b4f665b29a048f6784","text":"switchSides = localize('switchSidesNoKb', \"Run the command Diff Editor: Switch Side, which is currently not triggerable via keybinding, to toggle between the original and modified editors.\"); } const diffEditorActiveAnnouncement = localize('msg5', \"The setting, accessibility.verbosity.diffEditorActive, controls if a diff editor announcement is made when it becomes the active editor.\"); const keys = ['accessibility.signals.diffLineDeleted', 'accessibility.signals.diffLineInserted', 'accessibility.signals.diffLineModified']; const content = [ localize('msg1', \"You are in a diff editor.\"), localize('msg2', \"View the next ({0}) or previous ({1}) diff in diff review mode, which is optimized for screen readers.\", next, previous), switchSides, diffEditorActiveAnnouncement, localize('msg4', \"To control which accessibility signals should be played, the following settings can be configured: {0}.\", keys.join(', ')), ]; const commentCommandInfo = getCommentCommandInfo(keybindingService, contextKeyService, codeEditor);"} {"_id":"q-en-vscode-90351e37c7f0c2ad15e313b6481db0a7218b7680a4b6818b57a77126a79e5e30","text":"}; const spanElement = (this.message.formatContent ? renderFormattedText(this.message.content, renderOptions) : renderText(this.message.content, renderOptions)); ? renderFormattedText(this.message.content!, renderOptions) : renderText(this.message.content!, renderOptions)); spanElement.classList.add(this.classForType(this.message.type)); const styles = this.stylesForType(this.message.type);"} {"_id":"q-en-vscode-90ad6b7ab0cf3d048ca8f09cbeae5eb5d1842fa86e5cc63e269a0b4ef44acfde","text":"{ \"name\": \"code-oss-dev\", \"version\": \"1.94.0\", \"distro\": \"0e2e9472d115a44f86c2cc3ea26fcea692643ec3\", \"distro\": \"a27dc893952c71fcdc7dc52f9ea3fe51add4fe83\", \"author\": { \"name\": \"Microsoft Corporation\" },"} {"_id":"q-en-vscode-90c6c265d41dbe07cee6b4149db03f7a18842dacdb5052a65abe0cc461b90648","text":"return editor.getContribution(EditorDictation.ID); } private readonly widget = this._register(new DictationWidget(this.editor)); private readonly widget = this._register(new DictationWidget(this.editor, this.keybindingService)); private readonly editorDictationInProgress = EDITOR_DICTATION_IN_PROGRESS.bindTo(this.contextKeyService); private sessionDisposables = this._register(new MutableDisposable());"} {"_id":"q-en-vscode-91067d48f3362a6c3254c673771017e7177cce4a10bce87dc94a855de1d4aa96","text":"const toRender = this._render(visibleStartLineNumber, visibleEndLineNumber, decorationsToRender, this._glyphMarginDecorationLaneCount); const lineHeight = this._lineHeight.toString(); const width = this._glyphMarginWidth.toString(); const width = (Math.round(this._glyphMarginWidth / this._glyphMarginDecorationLaneCount)).toString(); const common = '\" style=\"width:' + width + 'px' + ';height:' + lineHeight + 'px;'; const output: string[] = [];"} {"_id":"q-en-vscode-910a7f340c94ad600eead78d2422040863935ab48d50238e6c18abb310231f23","text":"import { Selection } from 'vs/editor/common/core/selection'; import { SingleTextEdit, TextEdit } from 'vs/editor/common/core/textEdit'; import { TextLength } from 'vs/editor/common/core/textLength'; import { ScrollType } from 'vs/editor/common/editorCommon'; import { Command, InlineCompletionContext, InlineCompletionTriggerKind, PartialAcceptTriggerKind } from 'vs/editor/common/languages'; import { ILanguageConfigurationService } from 'vs/editor/common/languages/languageConfigurationRegistry'; import { EndOfLinePreference, ITextModel } from 'vs/editor/common/model';"} {"_id":"q-en-vscode-910cf659f686e29a549b320e8387fa88443e02c327a43aaf223da858ce394faa","text":"return this._commentThread; } public get expanded(): boolean | undefined { return this._isExpanded; } private _commentOptions: languages.CommentOptions | undefined; constructor("} {"_id":"q-en-vscode-91150ee7006e48239caeefb4c42c6d19a4cc8e8d98a78192f5e534f79762116d","text":"getDefaultShell(options: IShellLaunchConfigResolveOptions): Promise; getDefaultShellArgs(options: IShellLaunchConfigResolveOptions): Promise; getEnvironment(remoteAuthority: string | undefined): Promise; createProfileFromShellAndShellArgs(shell?: unknown, shellArgs?: unknown): Promise; createProfileFromShellAndShellArgs(shell?: unknown, shellArgs?: unknown): Promise; } export interface IShellLaunchConfigResolveOptions {"} {"_id":"q-en-vscode-91f12faf963f671dc0cb75ebc61655b8ce12ea88d4da5895010fb2c1b8987de6","text":"this._matchesCount.className = 'matchesCount'; } this._matchesCount.innerText = ''; const label = count === undefined || count.resultCount === 0 ? `No Results` : `${count.resultIndex + 1} of ${count.resultCount}`; let label; if (count?.resultCount === -1) { label = ''; } else { label = count === undefined || count.resultCount === 0 ? NLS_NO_RESULTS : strings.format(NLS_MATCHES_LOCATION, count.resultIndex + 1, count?.resultCount); } this._matchesCount.appendChild(document.createTextNode(label)); this._matchesCount.classList.toggle('no-results', !count || count.resultCount === 0); this._findInput?.domNode.insertAdjacentElement('afterend', this._matchesCount);"} {"_id":"q-en-vscode-91f7684c23ed85d8b709fd4fe983f1dbb09ab3d97495c728235f6643cb95b50b","text":"getSelection(): (MarkerTableItem | null)[] { const selection = this.table.getSelection(); return selection.length > 0 ? [this.table.row(selection[0])] : []; return selection.length > 0 ? [...selection.map(i => this.table.row(i))] : []; } getVisibleItemCount(): number {"} {"_id":"q-en-vscode-9225f5adb6032774fe5df23a5fb13d07a6f5f83395b0ae4a227a827fe360cce8","text":"\"@typescript-eslint/eslint-plugin\": \"^5.57.0\", \"@typescript-eslint/experimental-utils\": \"^5.57.0\", \"@typescript-eslint/parser\": \"^5.57.0\", \"@vscode/gulp-electron\": \"^1.35.0\", \"@vscode/gulp-electron\": \"^1.36.0\", \"@vscode/l10n-dev\": \"0.0.21\", \"@vscode/telemetry-extractor\": \"^1.9.9\", \"@vscode/test-web\": \"^0.0.41\","} {"_id":"q-en-vscode-925d7a7d7a922f8c759f3eb3dcbea8f2b6f99301261a79a15d06e96c8423bbc2","text":"getFocus(): (MarkerTableItem | null)[] { const focus = this.table.getFocus(); return focus.length > 0 ? [this.table.row(focus[0])] : []; return focus.length > 0 ? [...focus.map(f => this.table.row(f))] : []; } getHTMLElement(): HTMLElement {"} {"_id":"q-en-vscode-927f5bb26adaa66fb7e39527014a7302107825feb67f34ae2a76f6e422db202e","text":"async resetLocal(): Promise { this.checkEnablement(); this.storageService.remove(LAST_SYNC_TIME_KEY, StorageScope.APPLICATION); if (this.activeProfileSynchronizers) { for (const [synchronizer] of this.activeProfileSynchronizers.values()) { try { await synchronizer.resetLocal(); } catch (e) { this.logService.error(e); } for (const [synchronizer] of this.activeProfileSynchronizers.values()) { try { await synchronizer.resetLocal(); } catch (e) { this.logService.error(e); } this.clearActiveProfileSynchronizers(); } this.clearActiveProfileSynchronizers(); this._onDidResetLocal.fire(); this.logService.info('Did reset the local sync state.'); }"} {"_id":"q-en-vscode-92d76e3ccb4c3c5e4f1277d33dac138a018dd68799c7e178142d97c0830511a5","text":"\"cssnano\": \"^4.1.11\", \"debounce\": \"^1.0.0\", \"deemon\": \"^1.4.0\", \"electron\": \"19.0.11\", \"electron\": \"19.0.12\", \"eslint\": \"8.7.0\", \"eslint-plugin-header\": \"3.1.1\", \"eslint-plugin-jsdoc\": \"^39.3.2\","} {"_id":"q-en-vscode-92f03021feafaad04ed2969227a136fe9fad40929e64c75645192178666539d9","text":"if (temp) { return this.userDataProfilesService.createNamedProfile(`${profileName} ${this.getProfileNameIndex(profileName)}`, { ...options, transient: temp }); } enum ImportProfileChoice { Overwrite = 0, CreateNew = 1, Cancel = 2 } const { result } = await this.dialogService.prompt({ const { confirmed } = await this.dialogService.confirm({ type: Severity.Info, message: localize('profile already exists', \"Profile with name '{0}' already exists. Do you want to overwrite it?\", profileName), buttons: [ { label: localize({ key: 'overwrite', comment: ['&& denotes a mnemonic'] }, \"&&Overwrite\"), run: () => ImportProfileChoice.Overwrite }, { label: localize({ key: 'create new', comment: ['&& denotes a mnemonic'] }, \"&&Create New Profile\"), run: () => ImportProfileChoice.CreateNew }, ], cancelButton: { run: () => ImportProfileChoice.Cancel } }); if (result === ImportProfileChoice.Overwrite) { return profile; } if (result === ImportProfileChoice.Cancel) { return undefined; } // Create new profile const name = await this.quickInputService.input({ placeHolder: localize('name', \"Profile name\"), title: localize('create new title', \"Create New Profile\"), value: `${profileName} ${this.getProfileNameIndex(profileName)}`, validateInput: async (value: string) => { if (this.userDataProfilesService.profiles.some(p => p.name === value)) { return localize('profileExists', \"Profile with name {0} already exists.\", value); } return undefined; } message: localize('profile already exists', \"Profile with name '{0}' already exists. Do you want to replace its contents?\", profileName), primaryButton: localize({ key: 'overwrite', comment: ['&& denotes a mnemonic'] }, \"&&Replace\") }); if (!name) { if (!confirmed) { return undefined; } return this.userDataProfilesService.createNamedProfile(name); return profile.isDefault ? profile : this.userDataProfilesService.updateProfile(profile, options); } else { return this.userDataProfilesService.createNamedProfile(profileName, { ...options, transient: temp }); }"} {"_id":"q-en-vscode-9318a1a966cf4ff4137024d6c80f059f328777fd1ee9a32cb002a1b74f25f2b2","text":"{ link: 'foo 339', prefix: undefined, suffix: ' 339', hasRow: true, hasCol: false }, { link: 'foo 339:12', prefix: undefined, suffix: ' 339:12', hasRow: true, hasCol: true }, { link: 'foo 339.12', prefix: undefined, suffix: ' 339.12', hasRow: true, hasCol: true }, { link: 'foo 339.12-14', prefix: undefined, suffix: ' 339.12-14', hasRow: true, hasCol: true, hasRowEnd: false, hasColEnd: true }, { link: 'foo 339.12-341.14', prefix: undefined, suffix: ' 339.12-341.14', hasRow: true, hasCol: true, hasRowEnd: true, hasColEnd: true }, // Double quotes { link: '\"foo\",339', prefix: '\"', suffix: '\",339', hasRow: true, hasCol: false },"} {"_id":"q-en-vscode-9334dd0c5e7043694a938d2a0951bc1cc960be4475d06ebbd5273dee6eb519e9","text":"// Do not trigger state if current state is manual and incoming state is automatic if (!isManualToAutoTransition) { this.setState(newState); } else { // Reset the new state after getting code actions back. setTimeout(() => { this.setState(newState); }, 500); } }, undefined); this._codeActionOracle.value.trigger({ type: CodeActionTriggerType.Auto, triggerAction: CodeActionTriggerSource.Default });"} {"_id":"q-en-vscode-9363046ebd1ce6ef07751181f0c2208869f572d639c4d54b0e9e48d044f165e8","text":"{ \"name\": \"code-oss-dev\", \"version\": \"1.88.0\", \"distro\": \"37f287ed9d23ce03684ef672b6b295c13afc9fa5\", \"distro\": \"340432a8308f66007779ec2133ee39e6995006cb\", \"author\": { \"name\": \"Microsoft Corporation\" },"} {"_id":"q-en-vscode-938061f35b26a92c004c51da48fd4a007786d92a29092cf902d1fbfa076cfdad","text":"import { IKeyboardEvent } from 'vs/base/browser/keyboardEvent'; import { KeyCode } from 'vs/base/common/keyCodes'; import { Disposable, toDisposable } from 'vs/base/common/lifecycle'; import { Disposable, DisposableStore, toDisposable } from 'vs/base/common/lifecycle'; import { URI } from 'vs/base/common/uri'; import { IEditorConstructionOptions } from 'vs/editor/browser/config/editorConfiguration'; import { EditorExtensionsRegistry } from 'vs/editor/browser/editorExtensions';"} {"_id":"q-en-vscode-9386547a9a5e66afa021b01f35de3affbd9a6ac081e2af5f8c065b72e15c6194","text":"background-size: 16px; } @keyframes shift { 0% { transform: translateX(0px); } 33%{ transform: translateX(0.5px); } 66% { transform: translateX(-0.5px); } } .monaco-toolbar.config .monaco-action-bar .action-item { animation-duration: 1.2s; animation-iteration-count: infinite; animation-name: shift; } .monaco-toolbar.config .monaco-action-bar .action-item:nth-child(odd) { animation-delay: 0.6s; } .monaco-dropdown-with-default { display: flex !important; flex-direction: row;"} {"_id":"q-en-vscode-939b3dec4e5fc1ce94bc66b6f267bddbd9850ab7bde56d7c1cee4b1170b28770","text":"registerThemingParticipant((theme, collector) => { let editorGuideColor = theme.getColor(editorIndentGuides); if (editorGuideColor) { collector.addRule(`.monaco-editor .lines-content .cigr { background-color: ${editorGuideColor}; }`); collector.addRule(`.monaco-editor .lines-content .cigr { --box-shadow-color: ${editorGuideColor}; }`); } });"} {"_id":"q-en-vscode-93e97a5e35c1d145e06de2fe7090f1e74e4333b6dcee15efd5eb2f8bc75d83cc","text":"const disposable = new DisposableStore(); const notebook = workingCopy.model.notebookModel; // get initial cursor positions const activeCellEditor = getActiveCellCodeEditor(this.editorService); let selections; if (activeCellEditor) { selections = activeCellEditor.getSelections() ?? []; } try { const allCellEdits = await Promise.all(notebook.cells.map(async (cell) => { if (cell.cellKind !== CellKind.Code) {"} {"_id":"q-en-vscode-93ecec42d5e290d252a2480130c431367843d9a695c3a02d1b27817614cbcf89","text":"isInMemory(): boolean { return this.options.hint === StorageHint.STORAGE_IN_MEMORY; } override dispose(): void { this.flushDelayer.dispose(); super.dispose(); } } export class InMemoryStorageDatabase implements IStorageDatabase {"} {"_id":"q-en-vscode-93feb462eb539b0d2b268e6d08d6f12ee890d59b5f45b07a54e6cdd7fe0536db","text":"context.subscriptions.push(cleaner); } // Update new file contribution vscode.extensions.onDidChange(() => { vscode.commands.executeCommand('setContext', 'jupyterEnabled', vscode.extensions.getExtension('ms-toolsai.jupyter')); }); vscode.commands.executeCommand('setContext', 'jupyterEnabled', vscode.extensions.getExtension('ms-toolsai.jupyter')); return { get dropCustomMetadata() { return !useCustomPropertyInMetadata();"} {"_id":"q-en-vscode-9414cd599b60a5ec517b5ddecffcd296a44afb8e235434a92a0aa86fc0ebf7b0","text":"cacheHitVar: NODE_MODULES_RESTORED displayName: Restore node_modules cache - script: tar -xvzf .build/node_modules_cache/cache.tgz - script: tar -xzf .build/node_modules_cache/cache.tgz condition: and(succeeded(), eq(variables.NODE_MODULES_RESTORED, 'true')) displayName: Extract node_modules cache"} {"_id":"q-en-vscode-9451a0e80aa24548b6b22a86d3bd51a758f9bf4d534123b880267aba186b613b","text":"// ---- end view event handlers private _updateAnchorsViewPositions(): void { const keys = Object.keys(this._widgets); for (const widgetId of keys) { this._widgets[widgetId].updateAnchorViewPosition(); } } public addWidget(_widget: IContentWidget): void { const myWidget = new Widget(this._context, this._viewDomNode, _widget); this._widgets[myWidget.id] = myWidget;"} {"_id":"q-en-vscode-9468c888178ea0c7504761f96681e537c010b394275207d3783c740d9ea54cc4","text":"private readonly pendingUpdates = new Map(); private readonly throttle = 50; private previousEditorInfo = new Map(); public isPrevEditorCustom = false; private previousTextEditorInfo = new Map(); private previousStaticEditorInfo = new Map(); constructor() { super(); if (vscode.window.activeTextEditor) { const line = getVisibleLine(vscode.window.activeTextEditor); this.setPreviousEditorLine({ uri: vscode.window.activeTextEditor.document.uri, line: line ?? 0 }); this.setPreviousTextEditorLine({ uri: vscode.window.activeTextEditor.document.uri, line: line ?? 0 }); } this._register(vscode.window.onDidChangeTextEditorVisibleRanges(event => {"} {"_id":"q-en-vscode-94b8221eea2e0bc77593f8d8f0c6b1759786331128a9c5110fcce2781c3dded2","text":"compositeSwitcherBar.push(this.compositeOverflowAction, { label: false, icon: true }); } this._onDidChange.fire(); if (!donotTrigger) { this._onDidChange.fire(); } } private getOverflowingComposites(): { id: string; name?: string }[] {"} {"_id":"q-en-vscode-94c982128b0b8c941e28c1ea4a3ce81c7de7cac2da0026b3edd671525926cc99","text":"message += 'n'; } } this._currentContent = message + provider.provideContent() + readMoreLink + disableHelpHint; const exitThisDialogHint = localize('exit', 'nnExit this dialog (Escape).'); this._currentContent = message + provider.provideContent() + readMoreLink + disableHelpHint + exitThisDialogHint; this._updateContextKeys(provider, true); this._getTextModel(URI.from({ path: `accessible-view-${provider.verbositySettingKey}`, scheme: 'accessible-view', fragment: this._currentContent })).then((model) => {"} {"_id":"q-en-vscode-94dfb8e3f7f05ccd8c1df7c9feac4588da5122e29758c37a514138a1801137dd","text":"public provideCompletionItems(document: TextDocument, position: Position, token: CancellationToken): Promise { let result: CompletionItem[] = []; let shouldProvideCompletionItems = workspace.getConfiguration('php').get('builtInCompletions.enable', true); if (!shouldProvideCompletionItems) { return Promise.resolve(result); } var range = document.getWordRangeAtPosition(position); var prefix = range ? document.getText(range) : ''; if (!range) {"} {"_id":"q-en-vscode-951899537ecd4039abafb696007e5141d1ac7ec1e99e418ffc5264257d0861ff","text":"readonly persistentProcessId: number | undefined; /** * The id of a persistent process during the shutdown process */ shutdownPersistentProcessId: number | undefined; /** * Whether the process should be persisted across reloads. */ readonly shouldPersist: boolean;"} {"_id":"q-en-vscode-954d2a8686c6a42c00c6b69cc229bfa263f252c80e00e817047a13fb9c24a1d9","text":"} private onModelAdded(model: ITextModel): void { const uri = model.uri; const supportedSchemes = [Schemas.untitled, Schemas.file, Schemas.vscodeRemote, Schemas.vscodeNotebookCell]; const uri = model.uri.scheme === Schemas.vscodeNotebookCell ? CellUri.parse(model.uri)?.notebook : model.uri; const supportedSchemes = [Schemas.untitled, Schemas.file, Schemas.vscodeRemote]; if (!uri || !supportedSchemes.includes(uri.scheme)) { return; }"} {"_id":"q-en-vscode-95b00fc282b58d5f952da81611ddeead74e7a876aea6a0d734a0a3ed9448910f","text":"'libdrm2 (>= 2.4.38)', 'libexpat1 (>= 2.0.1)', 'libgbm1 (>= 8.1~0)', 'libgcc-s1 (>= 3.0)', 'libglib2.0-0 (>= 2.16.0)', 'libglib2.0-0 (>= 2.39.4)', 'libgtk-3-0 (>= 3.9.10)',"} {"_id":"q-en-vscode-95c7f197b4d56b9e429b64a6d6964be7b42c22b096d7cf3f4ec26a6f0fb2ffcf","text":"} export default class LinkProvider implements vscode.DocumentLinkProvider { private readonly linkPattern = /([((![[^]]*?](s*)([^s()]+?)s*)]|(?:]|[^]])*])(s*)(([^s()]|(S*?))+)s*(\".*?\")?)/g; private readonly linkPattern = /([((![[^]]*?](s*)([^s()]+?)s*)]|(?:]|[^]])*])(s*)(([^s()]|([^s()]*?))+)s*(\".*?\")?)/g; private readonly referenceLinkPattern = /([((?:]|[^]])+)][s*?)([^s]]*?)]/g; private readonly definitionPattern = /^([t ]*[(?!^)((?:]|[^]])+)]:s*)(S+)/gm;"} {"_id":"q-en-vscode-9665f213e2859c302de45aa4309beee1e2bd4ccac4e97beb1ed8fa119aef91d4","text":"]; return toDisposable(() => { if (!ignoreDisposeAndBlur) { blurDisposable.dispose(); done(false); } blurDisposable.dispose(); done(false, false); }); }"} {"_id":"q-en-vscode-96bcdfbbb1ac7f10125fa5786741a262c9f63f32512af719a936606cc2120dcf","text":"body { padding: 10px 20px; line-height: 22px; max-width: 780px; max-width: 882px; margin: 0 auto; }"} {"_id":"q-en-vscode-96d13c0c4fe87f2015946e63fae9fb4341d8cc9786d93176b7e76a98f4dbab11","text":"registration.dispose(); }); let c = commands.executeCommand('vscode.diff').then(() => assert.ok(false), () => assert.ok(true)); let d = commands.executeCommand('vscode.diff', 1, 2, 3).then(() => assert.ok(false), () => assert.ok(true)); let c = commands.executeCommand('vscode.diff', Uri.parse('sc:a'), Uri.parse('sc:b'), 'Title', { selection: new Range(new Position(1, 1), new Position(1, 2)) }).then(value => { assert.ok(value === void 0); registration.dispose(); }); return Promise.all([a, b, c, d]); let d = commands.executeCommand('vscode.diff').then(() => assert.ok(false), () => assert.ok(true)); let e = commands.executeCommand('vscode.diff', 1, 2, 3).then(() => assert.ok(false), () => assert.ok(true)); return Promise.all([a, b, c, d, e]); }); test('api-command: vscode.open', function () {"} {"_id":"q-en-vscode-96ecad25062314143b56b884a8dec3d904f4d93d94c0975346b31668ed951a9a","text":"@IExtHostExtensionService extensionService: IExtHostExtensionService, @IExtHostConfiguration configurationService: IExtHostConfiguration, @IExtHostTerminalService private _terminalService: IExtHostTerminalService, @IExtHostTerminalShellIntegration private _terminalShellIntegrationService: IExtHostTerminalShellIntegration, @IExtHostEditorTabs editorTabs: IExtHostEditorTabs, @IExtHostVariableResolverProvider variableResolver: IExtHostVariableResolverProvider, @IExtHostCommands commands: IExtHostCommands,"} {"_id":"q-en-vscode-973a27c5b0a5a89d3659c1a88a5619142f9b28ff5a99ae51d5408d1a8e20c86c","text":"return; // already initialized } const quality = env.quality || 'stable'; let feedUrl = UpdateManager.getUpdateFeedUrl(quality); const channel = UpdateManager.getUpdateChannel(); const feedUrl = UpdateManager.getUpdateFeedUrl(channel); if (!feedUrl) { return; // updates not available } this._channel = quality; this._channel = channel; this._feedUrl = feedUrl; this.raw.setFeedURL(feedUrl);"} {"_id":"q-en-vscode-973c99edf05ecf3a2d3eb610461a81af08fd259614d6736d89ace98d99f53643","text":"set -e node build/azure-pipelines/common/listNodeModules.js .build/node_modules_list.txt mkdir -p .build/node_modules_cache tar -cvzf .build/node_modules_cache/cache.tgz --files-from .build/node_modules_list.txt tar -czf .build/node_modules_cache/cache.tgz --files-from .build/node_modules_list.txt condition: and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true')) displayName: Create node_modules archive"} {"_id":"q-en-vscode-9767618989df8eb7db4b7a2bf5b4405d019ba8a9baaf43ada276c12801db7892","text":"export const allApiProposals = Object.freeze({ authSession: 'https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.authSession.d.ts', codiconDecoration: 'https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.codiconDecoration.d.ts', commentsResolvedState: 'https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.commentsResolvedState.d.ts', contribCommentEditorActionsMenu: 'https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribCommentEditorActionsMenu.d.ts', contribCommentPeekContext: 'https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribCommentPeekContext.d.ts', contribCommentThreadAdditionalMenu: 'https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribCommentThreadAdditionalMenu.d.ts',"} {"_id":"q-en-vscode-97689aa63517a3a661b6694a1325a274503a40ec9c4f66ddadc5f88d8525f86b","text":"// reset selection to placeholder session.next(); assert.equal(session.isSelectionWithinPlaceholders(), false); assert.equal(session.isSelectionWithinPlaceholders(), true); assert.equal(session.isAtLastPlaceholder, true); assertSelections(editor, new Selection(1, 13, 1, 13), new Selection(2, 17, 2, 17)); });"} {"_id":"q-en-vscode-9782c87c4cbdfed354a51b9f6997d77aeab1eebf78d65535939b686632aceda6","text":"* Defaults to true. */ sticky?: boolean; /** * Should the hover be shown below the line if possible? * Defaults to false. */ below?: boolean; } /**"} {"_id":"q-en-vscode-97dfd7ba87e4134b19288227f5ec7ccbacaa02573d3075f38c41a993f8f988bb","text":"\"browser\": \"./dist/browser/cssServerMain\", \"dependencies\": { \"vscode-css-languageservice\": \"^6.0.1\", \"vscode-languageserver\": \"^8.0.1\", \"vscode-languageserver\": \"^8.0.2-next.4\", \"vscode-uri\": \"^3.0.3\" }, \"devDependencies\": {"} {"_id":"q-en-vscode-9812425aa2efe1b59788b1386ef85ade353b4f916b6fd4d86c521d8770526c39","text":"disturl \"https://electronjs.org/headers\" target \"22.3.5\" target \"22.3.6\" runtime \"electron\" build_from_source \"true\""} {"_id":"q-en-vscode-987d4f5e266795109c26c94e64b6c5cb17463e26fb660250c098cb512022a00f","text":"\"@vscode/iconv-lite-umd\": \"0.7.0\", \"@vscode/policy-watcher\": \"^1.1.4\", \"@vscode/proxy-agent\": \"^0.14.1\", \"@vscode/ripgrep\": \"^1.15.4\", \"@vscode/ripgrep\": \"^1.15.5\", \"@vscode/spdlog\": \"^0.13.10\", \"@vscode/sqlite3\": \"5.1.6-vscode\", \"@vscode/sudo-prompt\": \"9.3.1\","} {"_id":"q-en-vscode-98943844c88f0a258ae37722f4922eb34f0048f5c346db0639d8e3b9ca707872","text":"} // If there is more than one agent with this name, and the user picked it from the suggest widget, then the selected agent should be in the // context and we use that one. Otherwise just pick the first. // context and we use that one. const agent = agents.length > 1 && context?.selectedAgent ? context.selectedAgent : agents[0]; if (!agent || !agent.locations.includes(location)) { agents.find((a) => a.locations.includes(location)); if (!agent) { return; }"} {"_id":"q-en-vscode-98a157d2e2b57f8a36bfe00ca70816d0c635905a9e463009236d2f8389226203","text":"const nextKeybinding = this._keybindingService.lookupKeybinding(AccessibilityCommandId.ShowNext)?.getAriaLabel(); const previousKeybinding = this._keybindingService.lookupKeybinding(AccessibilityCommandId.ShowPrevious)?.getAriaLabel(); if (nextKeybinding && previousKeybinding) { hint = localize('accessibleViewNextPreviousHint', \"Show the next ({0}) or previous ({1}) item\", nextKeybinding, previousKeybinding); hint = localize('accessibleViewNextPreviousHint', \"Show the next ({0}) or previous ({1}) item.\", nextKeybinding, previousKeybinding); } else { hint = localize('chatAccessibleViewNextPreviousHintNoKb', \"Show the next or previous item by configuring keybindings for the Show Next & Previous in Accessible View commands\"); hint = localize('chatAccessibleViewNextPreviousHintNoKb', \"Show the next or previous item by configuring keybindings for the Show Next & Previous in Accessible View commands.\"); } return hint; }"} {"_id":"q-en-vscode-9962675324d053f26a768814465316e604887680150dc043490c94443c1b4aee","text":"const lineHeight = this.editor.getOption(EditorOption.lineHeight); const width = this.editor.getLayoutInfo().contentWidth * 0.7; this.elements.main.style.setProperty('--vscode-editor-dictation-widget-height', `${lineHeight}px`); this.elements.main.style.setProperty('--vscode-editor-dictation-widget-width', `${width}px`); this.domNode.style.setProperty('--vscode-editor-dictation-widget-height', `${lineHeight}px`); this.domNode.style.setProperty('--vscode-editor-dictation-widget-width', `${width}px`); return null; }"} {"_id":"q-en-vscode-99a222d7cff66571569cd62e1110b4b0415575c66f55086ca088cd4280e74fd5","text":"\"mocha-multi-reporters\": \"^1.5.1\", \"npm-run-all\": \"^4.1.5\", \"opn\": \"^6.0.0\", \"os-browserify\": \"^0.3.0\", \"p-all\": \"^1.0.0\", \"path-browserify\": \"^1.0.1\", \"os-browserify\": \"^0.3.0\", \"postcss\": \"^8.4.33\", \"postcss-nesting\": \"^12.0.2\", \"pump\": \"^1.0.1\","} {"_id":"q-en-vscode-99b88b06cc6f80c5805203d295db492beca8e1660b46574e0b68c9280c61c13b","text":"return e instanceof HTMLDivElement || e instanceof getWindow(e as Node).HTMLDivElement; } export function isSVGElement(e: unknown): e is SVGElement { // eslint-disable-next-line no-restricted-syntax return e instanceof SVGElement || e instanceof getWindow(e as Node).SVGElement; } export function isMouseEvent(e: unknown): e is MouseEvent { // eslint-disable-next-line no-restricted-syntax return e instanceof MouseEvent || e instanceof getWindow(e as UIEvent).MouseEvent;"} {"_id":"q-en-vscode-99c2057c803395f160ce6ca80d0ef5090bb4454cf2673c81a4378a86d8f89b61","text":"}); test('fuzzyScore2 (multiple queries)', function () { const target = 'HeLlo-World'; const target = 'HelLo-World'; const [firstSingleScore, firstSingleMatches] = _doScore2(target, 'HelLo'); const [secondSingleScore, secondSingleMatches] = _doScore2(target, 'World');"} {"_id":"q-en-vscode-99e7bcfca29c90a2180d61af35affbe5128cc12e3b2d04b9b113188f8db443e8","text":"import * as viewEvents from 'vs/editor/common/view/viewEvents'; import { registerThemingParticipant } from 'vs/platform/theme/common/themeService'; import { editorRuler } from 'vs/editor/common/view/editorColorRegistry'; import * as dom from 'vs/base/browser/dom'; export class Rulers extends ViewPart {"} {"_id":"q-en-vscode-9a1169f792fe5bc8324e821aa545c225f4dc58e4d433dee0054775d932139ced","text":"private _renderBadges(historyItem: ISCMHistoryItem, templateData: HistoryItemTemplate): void { templateData.elementDisposables.add(autorun(reader => { const labelConfig = this._badgesConfig.read(reader); const firstColoredRef = historyItem.references?.find(ref => ref.color); templateData.labelContainer.textContent = ''; const firstColoredRef = historyItem.references?.find(ref => ref.color); for (const ref of historyItem.references ?? []) { if (!ref.color && labelConfig === 'filter') { // Group history item references by color const historyItemRefsByColor = groupBy2( (historyItem.references ?? []), ref => ref.color ? ref.color : ''); for (const [key, historyItemRefs] of Object.entries(historyItemRefsByColor)) { // Skip badges with no color if (key === '' && labelConfig !== 'all') { continue; } if (ref.icon && ThemeIcon.isThemeIcon(ref.icon)) { const elements = h('div.label', { style: { color: ref.color ? asCssVariable(historyItemHoverLabelForeground) : asCssVariable(foreground), backgroundColor: ref.color ? asCssVariable(ref.color) : asCssVariable(historyItemHoverDefaultLabelBackground) } }, [ h('div.icon@icon'), h('div.description@description') ]); elements.icon.classList.add(...ThemeIcon.asClassNameArray(ref.icon)); elements.description.textContent = ref.name; elements.description.style.display = ref === firstColoredRef ? '' : 'none'; // Group history item references by icon const historyItemRefByIconId = groupBy2(historyItemRefs, ref => ThemeIcon.isThemeIcon(ref.icon) ? ref.icon.id : ''); for (const [key, historyItemRefs] of Object.entries(historyItemRefByIconId)) { if (key === '' || historyItemRefs.length === 0) { continue; } append(templateData.labelContainer, elements.root); this._renderBadge(historyItemRefs[0], historyItemRefs[0] === firstColoredRef, templateData); } } })); } private _renderBadge(historyItemRef: ISCMHistoryItemRef, showDescription: boolean, templateData: HistoryItemTemplate): void { if (!ThemeIcon.isThemeIcon(historyItemRef.icon)) { return; } const elements = h('div.label', { style: { color: historyItemRef.color ? asCssVariable(historyItemHoverLabelForeground) : asCssVariable(foreground), backgroundColor: historyItemRef.color ? asCssVariable(historyItemRef.color) : asCssVariable(historyItemHoverDefaultLabelBackground) } }, [ h('div.icon@icon'), h('div.description@description') ]); elements.icon.classList.add(...ThemeIcon.asClassNameArray(historyItemRef.icon)); elements.description.textContent = historyItemRef.name; elements.description.style.display = showDescription ? '' : 'none'; append(templateData.labelContainer, elements.root); } private _getHoverActions(historyItem: ISCMHistoryItem) { return [ {"} {"_id":"q-en-vscode-9a76fb1743fbefae4f57573b0387195dd85ead2466738534723c5b24ca4dd8ea","text":"(progress, token) => this.git.clone(url!, { parentPath: parentPath!, progress, recursive: options.recursive }, token) ); if (options.ref !== undefined) { const repository = this.model.getRepository(Uri.file(repositoryPath)); await repository?.checkout(options.ref); } const config = workspace.getConfiguration('git'); const openAfterClone = config.get<'always' | 'alwaysNewWindow' | 'whenNoFolderOpen' | 'prompt'>('openAfterClone');"} {"_id":"q-en-vscode-9a7b73224b7f499a91acf1f7ba51f1047b97cc85b570d18042efbe8389b5362a","text":"const disableKeybinding = this._keybindingService.lookupKeybinding('editor.action.accessibleViewDisableHint', this._contextKeyService)?.getAriaLabel(); return !!disableKeybinding ? localize('acessibleViewDisableHint', \"Disable the hint to open the accessible view by pressing ({0}).\", disableKeybinding) : localize('accessibleViewDisableHintNoKb', 'Add a keybinding for the command Disable Accessible View Hint to disable this hint.\"'); } private _getGoToSymbolHint(provider: IAccessibleContentProvider): string { const goToSymbolKb = this._keybindingService.lookupKeybinding('editor.action.accessibleViewGoToSymbol')?.getAriaLabel(); const hasSymbolProvider = provider.options.language === 'markdown' || provider.options.language === undefined || !!provider.getSymbols; let goToSymbolHint = ''; if (hasSymbolProvider) { if (goToSymbolKb) { goToSymbolHint = localize('goToSymbolHint', 'Go to a symbol within the accessible view (({0}).', goToSymbolKb); } else { goToSymbolHint = localize('goToSymbolHintNoKb', 'To go to a symbol within the accessible view, configure a keybinding for the command Go To Symbol in Accessible View.', goToSymbolKb); } } return goToSymbolHint; } } export class AccessibleViewService extends Disposable implements IAccessibleViewService {"} {"_id":"q-en-vscode-9a8717b7eeafed107067d213ebfdfd9392b104c9448e1396ba74a8efeb4971be","text":"return sorted; } private extname(file: URI): string { const ext = resources.extname(file); if (ext.length === 0) { const basename = resources.basename(file); if (basename.startsWith('.')) { return basename; } } else { return ext; } return ''; } private filterFile(file: URI): boolean { if (this.options.filters) { const ext = resources.extname(file); const ext = this.extname(file); for (let i = 0; i < this.options.filters.length; i++) { for (let j = 0; j < this.options.filters[i].extensions.length; j++) { const testExt = this.options.filters[i].extensions[j];"} {"_id":"q-en-vscode-9b00584359cb0c1108cabb7cb17fd71dde5f6bc80a525c33991cef08facfebad","text":"[ConsolidatedRunButton]: { description: nls.localize('notebook.consolidatedRunButton.description', \"Control whether extra actions are shown in a dropdown next to the run button.\"), type: 'boolean', default: true, default: false, tags: ['notebookLayout'] }, [NotebookCellEditorOptionsCustomizations]: editorOptionsCustomizationSchema"} {"_id":"q-en-vscode-9b00960fc466df55d91a91f56aaa1ec4ee5f7da12fc413ee8862d818c169bf73","text":"lastIncludedCharIndex = j - 1; do { chCode = line.charCodeAt(lastIncludedCharIndex); chClass = (chCode < characterClassesLength ? characterClasses[chCode] : CharacterClass.None); chClass = characterClassifier.classify(chCode); if (chClass !== CharacterClass.CannotEndIn) { break; }"} {"_id":"q-en-vscode-9b1faee0c13fb7267c17cdeeb79165fb79fe920f24f835090e3ca7b87743454f","text":"} if (this.extension.deprecationInfo) { const result = await this.dialogService.confirm({ type: 'warning', message: localize('install confirmation', \"Are you sure you want to install '{0}'?\", this.extension.displayName), detail: localize('deprecated message', \"This extension is no longer being maintained and is deprecated.\"), primaryButton: localize('install anyway', \"Install Anyway\"), }); if (!result.confirmed) { const result = await this.dialogService.show( Severity.Warning, localize('install confirmation', \"Are you sure you want to install '{0}'?\", this.extension.displayName), [ localize('install anyway', \"Install Anyway\"), localize('open extension', \"Open Extension\"), localize('cancel', \"Cancel\"), ], { detail: localize('deprecated message', \"This extension is no longer being maintained and is deprecated.\"), cancelId: 2, }); if (result.choice === 1) { return this.extensionsWorkbenchService.open(this.extension, { showPreReleaseVersion: this.installPreReleaseVersion }); } if (result.choice === 2) { return; } }"} {"_id":"q-en-vscode-9b2ab3ca11888a21c62f8f82bf5c892a167c33c2f4f50a8cd946c2ced60042de","text":"} context.taskLoadIssues = Objects.deepClone(baseLoadIssues); } if ((defaultBuildTask.rank > -1) && (defaultBuildTask.rank < 2) && defaultBuildTask.task) { // There is some special logic for tasks with the labels \"build\" and \"test\". // Even if they are not marked as a task group Build or Test, we automagically group them as such. // However, if they are already grouped as Build or Test, we don't need to add this grouping. const defaultBuildGroupName = Types.isString(defaultBuildTask.task?.configurationProperties.group) ? defaultBuildTask.task?.configurationProperties.group : defaultBuildTask.task?.configurationProperties.group?._id; const defaultTestTaskGroupName = Types.isString(defaultTestTask.task?.configurationProperties.group) ? defaultTestTask.task?.configurationProperties.group : defaultTestTask.task?.configurationProperties.group?._id; if ((defaultBuildGroupName !== Tasks.TaskGroup.Build._id) && (defaultBuildTask.rank > -1) && (defaultBuildTask.rank < 2) && defaultBuildTask.task) { defaultBuildTask.task.configurationProperties.group = Tasks.TaskGroup.Build; } else if ((defaultTestTask.rank > -1) && (defaultTestTask.rank < 2) && defaultTestTask.task) { } else if ((defaultTestTaskGroupName !== Tasks.TaskGroup.Test._id) && (defaultTestTask.rank > -1) && (defaultTestTask.rank < 2) && defaultTestTask.task) { defaultTestTask.task.configurationProperties.group = Tasks.TaskGroup.Test; }"} {"_id":"q-en-vscode-9b2efe8f5636b29630a711cd89b6ddd8b0fca0c5e9ced67344118c592f3825b9","text":"// Note these strings are intentionally not localized // as we want users to file issues in english return { extensionId: 'vscode.typescript-language-features', issueTitle: `TS Server fatal error: ${error.serverMessage}`, issueBody: `**TypeScript Version:** ${error.version.apiVersion?.fullVersionString}"} {"_id":"q-en-vscode-9bf324dd0049923d96ccfdb655c384f4709f0bc67b227eb24a1b347198b891c7","text":"import * as dom from 'vs/base/browser/dom'; import { IActionViewItem } from 'vs/base/browser/ui/actionbar/actionbar'; import { IAction } from 'vs/base/common/actions'; import { Action, IAction } from 'vs/base/common/actions'; import { CancellationToken } from 'vs/base/common/cancellation'; import { DropdownWithPrimaryActionViewItem } from 'vs/platform/actions/browser/dropdownWithPrimaryActionViewItem'; import { IMenu, IMenuService, MenuId, MenuItemAction } from 'vs/platform/actions/common/actions';"} {"_id":"q-en-vscode-9c07eb7bb62331a38a2e62d63302fb1b2e1fa3f582a4e7ba4b3c9ab9a8f22a2b","text":"test('Terminal.sendText should fire Termnial.onInput', (done) => { const reg1 = window.onDidOpenTerminal(terminal => { reg1.dispose(); const reg2 = renderer.onInput(data => { const reg2 = renderer.onDidAcceptInput(data => { assert.equal(data, 'bar'); reg2.dispose(); const reg3 = window.onDidCloseTerminal(() => {"} {"_id":"q-en-vscode-9c0e18b0dc1f504fe34259b3f149af8b8c8fa4426f0bfbd950f429f5681e7235","text":"\"cssnano\": \"^4.1.11\", \"debounce\": \"^1.0.0\", \"deemon\": \"^1.8.0\", \"electron\": \"22.3.5\", \"electron\": \"22.3.6\", \"eslint\": \"8.36.0\", \"eslint-plugin-header\": \"3.1.1\", \"eslint-plugin-jsdoc\": \"^39.3.2\","} {"_id":"q-en-vscode-9c2478bbe270f84f36a0e3b6143da159cbb4f09678559cf412a8a32f23c08739","text":"cursor: pointer; appearance: auto; border: none; border-right: 6px solid transparent; padding-left: 10px; } .issue-reporter-body #similar-issues {"} {"_id":"q-en-vscode-9c3dcf1893723ca49199c5fe44415e803e841b343a9b3e9ef7cd157bfaff0863","text":"import { importAMDNodeModule } from 'vs/amdX'; import { $, addDisposableListener, addStandardDisposableListener, getWindow } from 'vs/base/browser/dom'; import { CancelablePromise, createCancelablePromise } from 'vs/base/common/async'; import { debounce, memoize, throttle } from 'vs/base/common/decorators'; import { memoize, throttle } from 'vs/base/common/decorators'; import { Event } from 'vs/base/common/event'; import { Disposable, MutableDisposable, combinedDisposable, toDisposable } from 'vs/base/common/lifecycle'; import { removeAnsiEscapeCodes } from 'vs/base/common/strings';"} {"_id":"q-en-vscode-9cc168f104db467eb91828eff8841d7519313c66f8d3ded9ad2df84b5277e69b","text":"}, { \"name\": \"border-image-width\", \"desc\": \"The four values of 'border-image-width' specify offsets that are used to divide the border image area into nine parts. They represent inward distances from the the top, right, bottom, and left sides of the area, respectively.\", \"desc\": \"The four values of 'border-image-width' specify offsets that are used to divide the border image area into nine parts. They represent inward distances from the top, right, bottom, and left sides of the area, respectively.\", \"browsers\": \"FF13,IE11\", \"restriction\": \"length, percentage, number\", \"values\": []"} {"_id":"q-en-vscode-9cc298f11f151dec6a340ae611684b33a05b01f5feb1fd72b39e0bcad4429e88","text":"} if (keepPosition) { return new ReplaceCommandWithoutChangingPosition(range, beforeText + config.normalizeIndentation(ir.afterEnter), true); return new ReplaceCommandWithoutChangingPosition(range, 'n' + config.normalizeIndentation(ir.afterEnter), true); } else { let offset = 0; if (oldEndColumn <= firstNonWhitespace + 1) {"} {"_id":"q-en-vscode-9ce99bdc5540b227fabc750bf77d3210e989a7f5cbc54ff430d847454f97417b","text":"} private set scrollHeight(scrollHeight: number) { this.scrollableElement.setScrollDimensions({ scrollHeight }); const horizontalScrollHeight = this.horizontalScrolling ? 10 : 0; this.scrollableElement.setScrollDimensions({ scrollHeight: scrollHeight + horizontalScrollHeight }); } public get viewWidth(): number {"} {"_id":"q-en-vscode-9cf578216997742b6612219af4d636b235040801e05c6530dd81e4d5121df7cf","text":"return a.zIndex - b.zIndex; } public static equals(a: OverviewRulerDecorationsGroup, b: OverviewRulerDecorationsGroup): boolean { return ( a.color === b.color && a.zIndex === b.zIndex && arrays.equals(a.data, b.data) ); } public static equalsArr(a: OverviewRulerDecorationsGroup[], b: OverviewRulerDecorationsGroup[]): boolean { if (a.length !== b.length) { return false; } for (let i = 0, len = a.length; i < len; i++) { if (OverviewRulerDecorationsGroup.cmp(a[i], b[i]) !== 0) { return false; } } return true; return arrays.equals(a, b, OverviewRulerDecorationsGroup.equals); } }"} {"_id":"q-en-vscode-9d07c8f5bf413285a4b10ee7b88f100ad8a686dbc7eaa5528f6b766d977f106c","text":"__vsc_precmd } if [[ \"$PROMPT_COMMAND\" =~ (.+;.+) ]]; then # item1;item2... __vsc_original_prompt_command=\"$PROMPT_COMMAND\" else # (item1, item2...) __vsc_original_prompt_command=${PROMPT_COMMAND[@]} fi # PROMPT_COMMAND arrays and strings seem to be handled the same (handling only the first entry of # the array?) __vsc_original_prompt_command=$PROMPT_COMMAND if [[ -z \"${bash_preexec_imported:-}\" ]]; then if [[ -n \"$__vsc_original_prompt_command\" && \"$__vsc_original_prompt_command\" != \"__vsc_prompt_cmd\" ]]; then"} {"_id":"q-en-vscode-9d3056def346d2c7665495a5e9ee5abefe7003f734530d9a13eed2f3be8820ac","text":"\"semver\": \"4.3.6\", \"vscode-extension-telemetry\": \"^0.0.5\", \"vscode-nls\": \"^2.0.1\", \"typescript\": \"2.1.5-insiders.20161229\" \"typescript\": \"2.1.5\" }, \"devDependencies\": { \"@types/semver\": \"^5.3.30\""} {"_id":"q-en-vscode-9d89c89db4fe340edaec55d336b0151d7a6b09d3783866bcdb58210d0a17159e","text":"import { Delayer } from 'vs/base/common/async'; import { KeyCode, KeyMod } from 'vs/base/common/keyCodes'; import { FindReplaceState } from 'vs/editor/contrib/find/findState'; import { IMessage as InputBoxMessage } from 'vs/base/browser/ui/inputbox/inputBox'; import { SimpleButton } from 'vs/editor/contrib/find/findWidget'; import { IContextKeyService } from 'vs/platform/contextkey/common/contextkey'; import { IContextViewService } from 'vs/platform/contextview/browser/contextView';"} {"_id":"q-en-vscode-9dbc6c4a2a91801de4131df4319a3b17db9e6626d468d47e5bc134c6088c974d","text":"import { CancellationToken } from 'vs/base/common/cancellation'; import { KeyCode, KeyMod } from 'vs/base/common/keyCodes'; import { DisposableStore } from 'vs/base/common/lifecycle'; import { assertIsDefined } from 'vs/base/common/types'; import { assertIsDefined, withNullAsUndefined } from 'vs/base/common/types'; import { URI } from 'vs/base/common/uri'; import 'vs/css!./media/searchEditor'; import { CodeEditorWidget } from 'vs/editor/browser/widget/codeEditorWidget';"} {"_id":"q-en-vscode-9dbde128f1865b00ebf6b2371041547336cb81e94834450db32b20c729f26b59","text":"} } // New item was added else if (template.objectWidget.isItemNew(e.originalItem)) { else if (template.objectWidget.isItemNew(e.originalItem) && e.item.key.data !== '') { newValue[e.item.key.data] = e.item.value.data; newItems.push(e.item); }"} {"_id":"q-en-vscode-9de7296003f74e7516fd106f975735fabd6d56025e65229aff3c3f052f02f84d","text":"if (!profileContentHandler) { return; } const saveResult = await profileContentHandler.saveProfile(profile.name, JSON.stringify(profile), CancellationToken.None); const saveResult = await profileContentHandler.saveProfile(profile.name.replace('/', '-'), JSON.stringify(profile), CancellationToken.None); if (!saveResult) { return; }"} {"_id":"q-en-vscode-9e34af95f07b377831b18e26a7f4eb355adcd2275389c894841d4ecd4e56c0ff","text":"} function consumeBlockCommentBackwards() { if (stream.peek() === slash) { if (!stream.sof() && stream.peek() === slash) { if (stream.backUp(1) === star) { stream.pos = findOpeningCommentBeforePosition(stream.pos) ?? startOffset; } else {"} {"_id":"q-en-vscode-9e3ef56641df5086033ed2b75cb59b2b64f97b32785ba60be8d4cf6b744a8423","text":"private toDispose: lifecycle.IDisposable[]; private hoverWidget: DebugHoverWidget; private nonDebugHoverPosition: Position; private hoverRange: Range; private breakpointHintDecoration: string[];"} {"_id":"q-en-vscode-9e7ff252065e3f3cc86b90ab403064444cacede7773eae2988c9a0419a816aa0","text":"breakpoints.forEach(bp => this.debugService.removeBreakpoints(bp.getId())); } } else if (canSetBreakpoints) { this.debugService.addBreakpoints(uri, [{ lineNumber }]); this.debugService.addBreakpoints(uri, [{ lineNumber }], `debugEditorGutter`); } } }));"} {"_id":"q-en-vscode-9e87c7d83b69f723e0707840e5fac69d2ee9a121ef8ff3ce507c2056158b86a6","text":"disturl \"https://electronjs.org/headers\" target \"25.8.4\" ms_build_id \"24154031\" target \"25.9.1\" ms_build_id \"24472542\" runtime \"electron\" build_from_source \"true\""} {"_id":"q-en-vscode-9eb7aab76dc5739ea55c5823139265a61b486f081da638f78a5925c95ab0cf7b","text":"readonly viewType: string, private readonly _workingCopyManager: IFileWorkingCopyManager, @ILifecycleService lifecycleService: ILifecycleService, @IFilesConfigurationService private readonly _filesConfigurationService: IFilesConfigurationService, @IExtensionService extensionService: IExtensionService @IFilesConfigurationService private readonly _filesConfigurationService: IFilesConfigurationService ) { super(); if (this.viewType === 'interactive') { lifecycleService.onBeforeShutdown(async e => e.veto(this.onBeforeShutdown(), 'veto.InteractiveWindow')); } this._register(extensionService.onWillStop(e => { if (!this.isDirty()) { return; } e.veto((async () => { const didSave = await this._workingCopy?.save(); if (!didSave) { // Veto return true; } return false; // Don't veto })(), localize('vetoExtHostRestart', \"Notebook '{0}' could not be saved.\", this._workingCopy?.name)); })); } private async onBeforeShutdown() {"} {"_id":"q-en-vscode-9edc523c70e804a56e2150e9e99850122277f625abe498a24d34de98e03ee0d3","text":"assert.strictEqual(document.getText(), 'foobarhellonworld'); assert.deepStrictEqual(edt.selections, [new vscode.Selection(0, 0, 0, 3)]); }); test('Support creating binary files in a WorkspaceEdit', async function (): Promise { const fileUri = vscode.Uri.parse(`${testFs.scheme}:/${rndName()}`); const data = Buffer.from('Hello Binary Files'); const ws = new vscode.WorkspaceEdit(); ws.createFile(fileUri, { contents: data, ignoreIfExists: false, overwrite: false }); const success = await vscode.workspace.applyEdit(ws); assert.ok(success); const actual = await vscode.workspace.fs.readFile(fileUri); assert.deepStrictEqual(actual, data); }); });"} {"_id":"q-en-vscode-9ede3d461f715a6aeeb8bd7dfc11207a9f66783df82ada5a574031dbeed48aaa","text":"border: none !important; } .monaco-workbench .part > .title > .title-actions .switch-terminal > .monaco-select-box { .monaco-workbench .part.sidebar > .title > .title-actions .switch-terminal > .monaco-select-box { padding: 0 22px 0 6px; }"} {"_id":"q-en-vscode-9ef8433d160387ecfc6fe2aa2bc47abccbc5a8f464cd9209c2771f7533e615ec","text":"\"smoketest\": \"cd test/smoke && node test/index.js\", \"download-builtin-extensions\": \"node build/lib/builtInExtensions.js\", \"monaco-compile-check\": \"tsc -p src/tsconfig.monaco.json --noEmit\", \"tsec-compile-check\": \"node_modules/tsec/bin/tsec -p src/tsconfig.json --noEmit\", \"valid-layers-check\": \"node build/lib/layersChecker.js\", \"strict-function-types-watch\": \"tsc --watch -p src/tsconfig.json --noEmit --strictFunctionTypes\", \"update-distro\": \"node build/npm/update-distro.js\","} {"_id":"q-en-vscode-9f1a8f66372bf91771ec0fdf8e15ee882038e6176515c96ed11088fc030f1c4f","text":"const src = token.attrGet('src'); if (src) { env.containingImages.push({ src }); env.containingImages?.push({ src }); const imgHash = hash(src); token.attrSet('id', `image-hash-${imgHash}`); }"} {"_id":"q-en-vscode-9f359492fb38ecff614c240a68fe632001abc13ef7da81652703cb08d55e864e","text":"dependencies: is-number \"^7.0.0\" typescript@5.4.3: version \"5.4.3\" resolved \"https://registry.yarnpkg.com/typescript/-/typescript-5.4.3.tgz#5c6fedd4c87bee01cd7a528a30145521f8e0feff\" integrity sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg== typescript@5.4.4: version \"5.4.4\" resolved \"https://registry.yarnpkg.com/typescript/-/typescript-5.4.4.tgz#eb2471e7b0a5f1377523700a21669dce30c2d952\" integrity sha512-dGE2Vv8cpVvw28v8HCPqyb08EzbBURxDpuhJvTrusShUfGnhHBafDsLdS1EhhxyL6BJQE+2cT3dDPAv+MQ6oLw== vscode-grammar-updater@^1.1.0: version \"1.1.0\""} {"_id":"q-en-vscode-9f52a1001f5e55a351c54892a3179a9271de4d9acedc820b3570b34ddf77c39e","text":"/* #endregion */ .interactive-response-progress-tree .monaco-tl-row:hover { .interactive-response-progress-tree .monaco-list-row:not(.selected) .monaco-tl-row:hover { background-color: var(--vscode-list-hoverBackground); }"} {"_id":"q-en-vscode-9f7a7b38044877c5f7ec0bcd3273b6bdba92fe31f0402d9ac05b500b445785f1","text":"protected createEditor(parent: HTMLElement): void { this._rootElement = DOM.append(parent, DOM.$('.notebook-editor')); this._rootElement.id = `notebook-editor-element-${generateUuid()}`; } getDomNode() {"} {"_id":"q-en-vscode-9fdaa449eac1f597ccd94f3b7b7be2e35e0306027fdc6e0a8734972f20c304cd","text":" No newline at end of file No newline at end of file"} {"_id":"q-en-vscode-a01ed786462a906331c62222d3c9ebfb0fc8b8668613e5dae87f78aaeceae7f8","text":"const position = editor.getPosition(); const uri = editor.getModel().uri; const bpExists = !!(debugService.getModel().getBreakpoints({ column: position.column, lineNumber: position.lineNumber, uri }).length); return (bpExists ? Promise.resolve(null) : >debugService.addBreakpoints(uri, [{ lineNumber: position.lineNumber, column: position.column }])).then((breakpoints) => { return (bpExists ? Promise.resolve(null) : >debugService.addBreakpoints(uri, [{ lineNumber: position.lineNumber, column: position.column }], 'debugEditorActions.runToCursorAction')).then((breakpoints) => { if (breakpoints && breakpoints.length) { breakpointToRemove = breakpoints[0]; }"} {"_id":"q-en-vscode-a020080c0669288de89a4a644fa8908b85ecb91768e5eb1c22722e9221ca8a1e","text":"public async ensureMarkupCell(info: webviewMessages.IMarkupCellInitialization): Promise { let cell = this._markupCells.get(info.cellId); if (cell) { cell.element.style.visibility = info.visible ? 'visible' : 'hidden'; cell.element.style.visibility = info.visible ? '' : 'hidden'; await cell.updateContentAndRender(info.content, info.metadata); } else { cell = await this.createMarkupCell(info, info.offset, info.visible);"} {"_id":"q-en-vscode-a0327b816a95131859abae60df4b267ece627645ffa82ac123b8a773a56a4f39","text":"return false; } if (allPossibleSelections.has(0)) { // selection overlaps with a final tab stop which means // we done return false; } // add selections from 'this' snippet so that we know all // selections for this placeholder allPossibleSelections.forEach((array, index) => {"} {"_id":"q-en-vscode-a038740448f858a8f10732fff012b37b4d1a5af74219c16141cefa2d29653f88","text":"async getEnvironment(): Promise { return process.env; } getSafeConfigValue(key: string, os: OperatingSystem): unknown | undefined { return undefined; } getSafeConfigValueFullKey(key: string): unknown | undefined { return undefined; } createProfileFromShellAndShellArgs(shell?: unknown, shellArgs?: unknown): Promise { throw new Error('Method not implemented.'); } createProfileFromShellAndShellArgs(shell?: unknown, shellArgs?: unknown): Promise { throw new Error('Method not implemented.'); } } export class TestLocalTerminalService implements ILocalTerminalService {"} {"_id":"q-en-vscode-a077b1fc088e8b3fa740129d1243a6b958f0b62120a4f9127e75ba29528f6d68","text":"resolved \"https://registry.yarnpkg.com/xterm-addon-unicode11/-/xterm-addon-unicode11-0.5.0.tgz#41c0d96acc1e3bb6c6596eee64e163b6bca74be7\" integrity sha512-Jm4/g4QiTxiKiTbYICQgC791ubhIZyoIwxAIgOW8z8HWFNY+lwk+dwaKEaEeGBfM48Vk8fklsUW9u/PlenYEBg== xterm-addon-webgl@0.15.0-beta.8: version \"0.15.0-beta.8\" resolved \"https://registry.yarnpkg.com/xterm-addon-webgl/-/xterm-addon-webgl-0.15.0-beta.8.tgz#2005198582f6f1f4a9b2612b9354c0bcc9f148d8\" integrity sha512-HjTr9bi3FvdOIPaaIpih6qdHX2z+H7sQPluLj5KzwCqRiEVUVRi19dl8SdHjf6dCmN3GahMhjV7D+zxHi2pLTw== xterm-addon-webgl@0.15.0-beta.10: version \"0.15.0-beta.10\" resolved \"https://registry.yarnpkg.com/xterm-addon-webgl/-/xterm-addon-webgl-0.15.0-beta.10.tgz#39ebbfb1b89c6773a2d8cb8e1d2f3ef1f08b28f9\" integrity sha512-JVv4t5q6QGWyLiEAcAk9H2B83hFlIalzEwWu1VVYso0MJyZAlZ0NP5Za03iSKxYi7RQIA5bOe8r7W24esQDjLg== xterm@5.2.0-beta.35: version \"5.2.0-beta.35\" resolved \"https://registry.yarnpkg.com/xterm/-/xterm-5.2.0-beta.35.tgz#4a0c0aa81c89c42167c22d023648cced44fa3c25\" integrity sha512-6x6i61lucRrLWRKFeMO/ZOx5anvYR6FHpReLO2g0y1bp5zYWyZFzM6DepMV50729gubzxSLB8mvbmb9EpeIugQ== xterm@5.2.0-beta.40: version \"5.2.0-beta.40\" resolved \"https://registry.yarnpkg.com/xterm/-/xterm-5.2.0-beta.40.tgz#c73d5576425dcd4fa6b48ce58b4224a7b5b9dbdf\" integrity sha512-7/Db3KPceM0VX4/YAKL+/ArvEHlGBwE3kt1oN9QP5TLaJ6r2ThMS7z7QwG8g2gy60GFnvjfvpcTv6Ewyste4zg== "} {"_id":"q-en-vscode-a0c47cc790cb03b7f349f7470fed000efe5d5570098bc87462c7d24ad5b7b91f","text":"private _cancelContextMenu: boolean = false; private _disposableStore = this._register(new DisposableStore()); constructor( group: IEditorGroup, @ITelemetryService telemetryService: ITelemetryService,"} {"_id":"q-en-vscode-a1219139012c3e97a52cb378fdbd6e27bc140e6c845ecce993d68e5da3487190","text":"function focusFirstFocusableOrContainerInOutput(cellOrOutputId: string, alternateId?: string) { const cellOutputContainer = document.getElementById(cellOrOutputId) ?? alternateId ? document.getElementById(alternateId!) : undefined; (alternateId ? document.getElementById(alternateId!) : undefined); if (cellOutputContainer) { if (cellOutputContainer.contains(document.activeElement)) { return;"} {"_id":"q-en-vscode-a14e0609f5ca467aa966ea30564e7caa6f9e8ea66a64263cd9428b8d4b930459","text":"const { options, buttonIndexMap } = this.massageMessageBoxOptions({ message, buttons, type: (severity === Severity.Info) ? 'question' : (severity === Severity.Error) ? 'error' : (severity === Severity.Warning) ? 'warning' : 'none', type: (severity === Severity.Info) ? 'info' : (severity === Severity.Error) ? 'error' : (severity === Severity.Warning) ? 'warning' : 'none', cancelId: dialogOptions ? dialogOptions.cancelId : undefined, detail: dialogOptions ? dialogOptions.detail : undefined, checkboxLabel: dialogOptions?.checkbox?.label ?? undefined,"} {"_id":"q-en-vscode-a178fffbe60f99a842c6b78ca76c18e8338fdb362b472ed12256272d88a8d79b","text":"_serviceBrand: undefined; private _accessibilitySupport = AccessibilitySupport.Unknown; private didSendTelemetry = false; constructor( @IWorkbenchEnvironmentService private readonly environmentService: IWorkbenchEnvironmentService, @IContextKeyService readonly contextKeyService: IContextKeyService, @IConfigurationService readonly configurationService: IConfigurationService, @IWorkbenchEnvironmentService environmentService: IWorkbenchEnvironmentService, @IContextKeyService contextKeyService: IContextKeyService, @IConfigurationService configurationService: IConfigurationService, @ITelemetryService private readonly _telemetryService: ITelemetryService ) { super(contextKeyService, configurationService); this.setAccessibilitySupport(environmentService.configuration.accessibilitySupport ? AccessibilitySupport.Enabled : AccessibilitySupport.Disabled); } alwaysUnderlineAccessKeys(): Promise {"} {"_id":"q-en-vscode-a184ac44be3f7edb3861b0ee9311b6585b86e614470ea11cd08cfaa9e6f04558","text":"await outputElement.render(data.content, preloadErrors, signal); // don't hide until after this step so that the height is right outputElement.element.style.visibility = data.initiallyHidden ? 'hidden' : 'visible'; outputElement.element.style.visibility = data.initiallyHidden ? 'hidden' : ''; } public clearOutput(outputId: string, rendererId: string | undefined) {"} {"_id":"q-en-vscode-a19f26e71765d7620033a370980a16fca7a4d1b8dd90533bf29867fcca74aead","text":"} } async createTemporaryProfile(profile: IUserDataProfile, name: string, extensionsDisabled: boolean): Promise { const userDataProfilesExportState = this.instantiationService.createInstance(UserDataProfileExportState, profile, extensionsDisabled); async createTroubleshootProfile(): Promise { const userDataProfilesExportState = this.instantiationService.createInstance(UserDataProfileExportState, this.userDataProfileService.currentProfile, true); try { const profileTemplate = await userDataProfilesExportState.getProfileTemplate(name, undefined); await this.importAndSwitch(profileTemplate, true, true, extensionsDisabled, localize('import', \"Create Profile\")); const profileTemplate = await userDataProfilesExportState.getProfileTemplate(localize('troubleshoot issue', \"Troubleshoot Issue\"), undefined); await this.progressService.withProgress({ location: ProgressLocation.Notification, delay: 1000, sticky: true, }, progress => this.importAndSwitchWithProgress(profileTemplate, true, true, true, message => progress.report({ message: localize('troubleshoot profile progress', \"Setting up Troubleshoot Profile: {0}\", message) }))); } finally { userDataProfilesExportState.dispose(); }"} {"_id":"q-en-vscode-a1ccd66e733722b30830f17f56f754fac5abd357a2e0afb3a7c0d3aaaf1a3dfc","text":"import { VIEWLET_ID, ISCMRepository, ISCMService, VIEW_PANE_ID, ISCMProvider, ISCMViewService, REPOSITORIES_VIEW_PANE_ID } from 'vs/workbench/contrib/scm/common/scm'; import { KeyMod, KeyCode } from 'vs/base/common/keyCodes'; import { MenuRegistry, MenuId } from 'vs/platform/actions/common/actions'; import { SCMStatusController } from './activity'; import { SCMActiveResourceContextKeyController, SCMStatusController } from './activity'; import { LifecyclePhase } from 'vs/workbench/services/lifecycle/common/lifecycle'; import { IConfigurationRegistry, Extensions as ConfigurationExtensions, ConfigurationScope } from 'vs/platform/configuration/common/configurationRegistry'; import { IContextKeyService, ContextKeyExpr } from 'vs/platform/contextkey/common/contextkey';"} {"_id":"q-en-vscode-a2074e3c483db2e45730f49a9bc334a6959c70eebf0011dfa8972a4a2b90f371","text":"super(); this._standaloneColorPickerVisible.set(true); this._standaloneColorPickerParticipant = _instantiationService.createInstance(StandaloneColorPickerParticipant, this._editor); this._position = this._editor._getViewModel()?.getPrimaryCursorState().viewState.position; this._position = this._editor._getViewModel()?.getPrimaryCursorState().modelState.position; const editorSelection = this._editor.getSelection(); const selection = editorSelection ? {"} {"_id":"q-en-vscode-a243c47a6a2e86fb7ee39dee8f8532ef51b7707a613ec870496a9831f52a0421","text":"}); } else { groupActiveEditorCanSplitInGroupContext.set(false); sideBySideEditorContext.set(false); groupActiveEditorIsSideBySideEditorContext.set(false); groupActiveEditorDirtyContext.set(false); }"} {"_id":"q-en-vscode-a24c55a4f78865fb0e3fd688a0cc731a97d41f783315943dfd602bbac9604578","text":"], { sticky: true, neverShowAgain: { id: 'terminalConfigHelper/launchRecommendationsIgnore', scope: NeverShowAgainScope.WORKSPACE }, neverShowAgain: { id: 'terminalConfigHelper/launchRecommendationsIgnore', scope: NeverShowAgainScope.GLOBAL }, onCancel: () => { /* __GDPR__ \"terminalLaunchRecommendation:popup\" : {"} {"_id":"q-en-vscode-a2945887a411bbf620107538c7d3a21dfff51a7522af46e8d012a49f6c760a9f","text":"} private refreshTitle(): void { if (this._disposed) { return; } if (this.contextService.getWorkbenchState() === WorkbenchState.WORKSPACE) { this.updateTitle(EmptyView.NAME); } else { this.updateTitle(this.title); } } override dispose(): void { this._disposed = true; super.dispose(); } }"} {"_id":"q-en-vscode-a2d26c14d37bad1726b9c40aa189c05d836651fcf0b00a2b13025f32012e3259","text":"if (!item.completion.command) { // done this.model.cancel(); this.model.clear(); } else if (item.completion.command.id === TriggerSuggestAction.id) { // retigger"} {"_id":"q-en-vscode-a34164b9b58813fb258659753144d7300546b6effc120962a3238e246115e13f","text":"resolved \"https://registry.yarnpkg.com/xterm-addon-unicode11/-/xterm-addon-unicode11-0.5.0.tgz#41c0d96acc1e3bb6c6596eee64e163b6bca74be7\" integrity sha512-Jm4/g4QiTxiKiTbYICQgC791ubhIZyoIwxAIgOW8z8HWFNY+lwk+dwaKEaEeGBfM48Vk8fklsUW9u/PlenYEBg== xterm-addon-webgl@0.15.0-beta.8: version \"0.15.0-beta.8\" resolved \"https://registry.yarnpkg.com/xterm-addon-webgl/-/xterm-addon-webgl-0.15.0-beta.8.tgz#2005198582f6f1f4a9b2612b9354c0bcc9f148d8\" integrity sha512-HjTr9bi3FvdOIPaaIpih6qdHX2z+H7sQPluLj5KzwCqRiEVUVRi19dl8SdHjf6dCmN3GahMhjV7D+zxHi2pLTw== xterm-addon-webgl@0.15.0-beta.10: version \"0.15.0-beta.10\" resolved \"https://registry.yarnpkg.com/xterm-addon-webgl/-/xterm-addon-webgl-0.15.0-beta.10.tgz#39ebbfb1b89c6773a2d8cb8e1d2f3ef1f08b28f9\" integrity sha512-JVv4t5q6QGWyLiEAcAk9H2B83hFlIalzEwWu1VVYso0MJyZAlZ0NP5Za03iSKxYi7RQIA5bOe8r7W24esQDjLg== xterm-headless@5.2.0-beta.35: version \"5.2.0-beta.35\" resolved \"https://registry.yarnpkg.com/xterm-headless/-/xterm-headless-5.2.0-beta.35.tgz#8c3d4d06747e27a5bc4f0bf914479820a5b8f529\" integrity sha512-tq/zKnXEsVXGlhXHGNqPO47x9Fvew2avZ0wfMI1G80AEYrjxGY/3Quxwe9/C5ngIuPwk2CMbgDZwHhSFvyOrMA== xterm-headless@5.2.0-beta.40: version \"5.2.0-beta.40\" resolved \"https://registry.yarnpkg.com/xterm-headless/-/xterm-headless-5.2.0-beta.40.tgz#6edba318d23ed350c8ec6279e6f61f40bde9b163\" integrity sha512-6CHgR64POfa24CTILcq/HHg1im1u1HjJZSHWjlopP18KiS8Rq8dzCurZDsu38atxDK9dyjV8SRw2AB4ijcxZsQ== xterm@5.2.0-beta.35: version \"5.2.0-beta.35\" resolved \"https://registry.yarnpkg.com/xterm/-/xterm-5.2.0-beta.35.tgz#4a0c0aa81c89c42167c22d023648cced44fa3c25\" integrity sha512-6x6i61lucRrLWRKFeMO/ZOx5anvYR6FHpReLO2g0y1bp5zYWyZFzM6DepMV50729gubzxSLB8mvbmb9EpeIugQ== xterm@5.2.0-beta.40: version \"5.2.0-beta.40\" resolved \"https://registry.yarnpkg.com/xterm/-/xterm-5.2.0-beta.40.tgz#c73d5576425dcd4fa6b48ce58b4224a7b5b9dbdf\" integrity sha512-7/Db3KPceM0VX4/YAKL+/ArvEHlGBwE3kt1oN9QP5TLaJ6r2ThMS7z7QwG8g2gy60GFnvjfvpcTv6Ewyste4zg== y18n@^3.2.1: version \"3.2.2\""} {"_id":"q-en-vscode-a381e8b457b22b10d71480c439814a0458008143f7ede12316e4387202a59a4d","text":"import { FontMeasurements } from 'vs/editor/browser/config/fontMeasurements'; import { IEditorOptions } from 'vs/editor/common/config/editorOptions'; import { BareFontInfo } from 'vs/editor/common/config/fontInfo'; import { IConfigurationChangeEvent, IConfigurationService } from 'vs/platform/configuration/common/configuration'; import { ConfigurationTarget, IConfigurationChangeEvent, IConfigurationService } from 'vs/platform/configuration/common/configuration'; import { InteractiveWindowCollapseCodeCells, NotebookCellDefaultCollapseConfig, NotebookCellInternalMetadata, NotebookSetting, ShowCellStatusBarType } from 'vs/workbench/contrib/notebook/common/notebookCommon'; import { INotebookExecutionStateService } from 'vs/workbench/contrib/notebook/common/notebookExecutionStateService';"} {"_id":"q-en-vscode-a387eff1ef830541457a9e149b97abd10222ebedddf3e22b747f321881232de9","text":"\"hasInstallScript\": true }, \"node_modules/@xterm/addon-clipboard\": { \"version\": \"0.2.0-beta.39\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-clipboard/-/addon-clipboard-0.2.0-beta.39.tgz\", \"integrity\": \"sha512-PeJZP69FHg2p1NJKLGyqUITahvEexqwYoQAgYheu4d9UBhIdP6D/KWGT8DVAEPeeulXhcr2UXgYWMVQAooTvrw==\", \"version\": \"0.2.0-beta.47\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-clipboard/-/addon-clipboard-0.2.0-beta.47.tgz\", \"integrity\": \"sha512-mJHV1770gwVckj4mgjdxegt4zLL5WGCoJblTqaLbgEF7xOwsJUzvGk38qsZ4ZpdTa2ti76H0pkb1CpZGrXL9qg==\", \"dependencies\": { \"js-base64\": \"^3.7.5\" }, \"peerDependencies\": { \"@xterm/xterm\": \"^5.6.0-beta.56\" \"@xterm/xterm\": \"^5.6.0-beta.64\" } }, \"node_modules/@xterm/addon-image\": { \"version\": \"0.9.0-beta.56\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-image/-/addon-image-0.9.0-beta.56.tgz\", \"integrity\": \"sha512-kwE4ZDlPxXsBk4mnQoqMvSwu9aKQclniIybs90t0L2qGPLcI8/7Akm1i9aXbu8eZF2hoLEPfLC3CZPda+4ioOA==\", \"version\": \"0.9.0-beta.64\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-image/-/addon-image-0.9.0-beta.64.tgz\", \"integrity\": \"sha512-1Aqqytx/z/Khecf5xrO++f/p5EQX4uG87TbbAmE0OQys/JgKMnNggDzqon5bpHboimLfQiFPw716NbTqMphjfw==\", \"peerDependencies\": { \"@xterm/xterm\": \"^5.6.0-beta.56\" \"@xterm/xterm\": \"^5.6.0-beta.64\" } }, \"node_modules/@xterm/addon-search\": { \"version\": \"0.16.0-beta.56\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-search/-/addon-search-0.16.0-beta.56.tgz\", \"integrity\": \"sha512-f8aoldPGssse1UR2N3f94fRUc7K3eulb+F80MFhim4rP+shX3QO9QdEZtwr+JaPEujjnuBM5tQKQDuRQtbwuMQ==\", \"version\": \"0.16.0-beta.64\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-search/-/addon-search-0.16.0-beta.64.tgz\", \"integrity\": \"sha512-vUsvTkEOFJwv8nVtiiGr/vTMeQhu62VkUejY2h1+yZagnVEusGVPU1JYoqBTLu5HM4cFiTGsJYXFI/0apASXYA==\", \"peerDependencies\": { \"@xterm/xterm\": \"^5.6.0-beta.56\" \"@xterm/xterm\": \"^5.6.0-beta.64\" } }, \"node_modules/@xterm/addon-serialize\": { \"version\": \"0.14.0-beta.56\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-serialize/-/addon-serialize-0.14.0-beta.56.tgz\", \"integrity\": \"sha512-VGAYJXFfXuY1Ze8CliT28DoYI74s8fdTI9919C0sgWwtzfAa7W43jJ56g0oKVEM0wO20wfdESapwpQ7enMzrHQ==\", \"version\": \"0.14.0-beta.64\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-serialize/-/addon-serialize-0.14.0-beta.64.tgz\", \"integrity\": \"sha512-0AqVveTV3Pr9Lp+beJYOP5WuRvIrPSDGAK24da7BRGcLIKVq8pok1FdlM9jPeUbkX0DKo6Ortm77qeb2Z+n8+A==\", \"peerDependencies\": { \"@xterm/xterm\": \"^5.6.0-beta.56\" \"@xterm/xterm\": \"^5.6.0-beta.64\" } }, \"node_modules/@xterm/addon-unicode11\": { \"version\": \"0.9.0-beta.56\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-unicode11/-/addon-unicode11-0.9.0-beta.56.tgz\", \"integrity\": \"sha512-oWa8xLWMDKgJboqOT57PaNAWYz+2INW5aUc24E0Nzv+gKXVy+8lRoqy50m3DhsOb1YtDaPVloqvambKBaXSing==\", \"version\": \"0.9.0-beta.64\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-unicode11/-/addon-unicode11-0.9.0-beta.64.tgz\", \"integrity\": \"sha512-3+PKu+DXFq32xlsYfnI058/T8dTY2tQhRpJLP2CNR/jVWk5uBkVO0dBV0Srqj5QOAlAhzzZuS6TbsVRXORptqw==\", \"peerDependencies\": { \"@xterm/xterm\": \"^5.6.0-beta.56\" \"@xterm/xterm\": \"^5.6.0-beta.64\" } }, \"node_modules/@xterm/addon-webgl\": { \"version\": \"0.19.0-beta.56\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-webgl/-/addon-webgl-0.19.0-beta.56.tgz\", \"integrity\": \"sha512-aYNRENPJBb1uoV7QifEwCnbjCXmQD5yQmuxNJab3bOZ68aCSGC/EKc4/4Ov0klkXi8ceF4ZnbNiqAX3jw5L1jg==\", \"version\": \"0.19.0-beta.64\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-webgl/-/addon-webgl-0.19.0-beta.64.tgz\", \"integrity\": \"sha512-cxTkMPAXPQAZnWqahNu7ff9mbJvM1sQqKnZWiFZAHTsZXym4oa3KCB4pjH4didSyYkhkPY/17E8I0UOUpvv0Yw==\", \"peerDependencies\": { \"@xterm/xterm\": \"^5.6.0-beta.56\" \"@xterm/xterm\": \"^5.6.0-beta.64\" } }, \"node_modules/@xterm/headless\": { \"version\": \"5.6.0-beta.56\", \"resolved\": \"https://registry.npmjs.org/@xterm/headless/-/headless-5.6.0-beta.56.tgz\", \"integrity\": \"sha512-aQOCzFDn/yqdATwf+ho1q5Hu2MzQwnXHgcsVx/qwUit/URKgbp1QyOQom88nzprP6D/59tiSeX+tqUS1HPqwMw==\" \"version\": \"5.6.0-beta.64\", \"resolved\": \"https://registry.npmjs.org/@xterm/headless/-/headless-5.6.0-beta.64.tgz\", \"integrity\": \"sha512-my08kgH2K3CBEtBg/o8lamtD6BYNBv03Akq747Lajv0QzOiwan7B4r2xdbA6i9sovB+MdjFs0XP1ksc3EpKakg==\" }, \"node_modules/@xterm/xterm\": { \"version\": \"5.6.0-beta.56\", \"resolved\": \"https://registry.npmjs.org/@xterm/xterm/-/xterm-5.6.0-beta.56.tgz\", \"integrity\": \"sha512-gtLrCQNkF1LikB21Bj9JYiBrrXMMvPEZkOIiA7MlXoSd7T7v+GYPumrODB2SBuhPdZ8N66z2rbUOfSRzxGwMtA==\" \"version\": \"5.6.0-beta.64\", \"resolved\": \"https://registry.npmjs.org/@xterm/xterm/-/xterm-5.6.0-beta.64.tgz\", \"integrity\": \"sha512-iSKS6tQTFpoN5y487eptlxkUT0jqK5hrvtFQMLugMcQdn7gCUCiFGa4Z1RdqKYSGvAypka+b9gMKPrKWZ7Q3yQ==\" }, \"node_modules/agent-base\": { \"version\": \"7.1.1\","} {"_id":"q-en-vscode-a38a598234a343640ef400f8264dbd187b3914fe3f111bd832d9949fc14aea66","text":"{ actionViewItemProvider: action => this.actionViewItemProvider(action as Action), actionRunner: this.actionRunner, classNames: 'toolbar-toggle-pickReactions', classNames: ['toolbar-toggle-pickReactions', ...Codicon.reactions.classNamesArray], anchorAlignmentProvider: () => AnchorAlignment.RIGHT } );"} {"_id":"q-en-vscode-a3c520384ba7975061c629630950bdcaeddae3fb938421372b5458c0c97f84bf","text":"description: localize('chatSampleRequest', \"When the user clicks this participant in `/help`, this text will be submitted to the participant.\"), type: 'string' }, when: { description: localize('chatParticipantWhen', \"A condition which must be true to enable this participant.\"), type: 'string' }, commands: { markdownDescription: localize('chatCommandsDescription', \"Commands available for this chat participant, which the user can invoke with a `/`.\"), type: 'array',"} {"_id":"q-en-vscode-a42d63bc2791943d0aec6a943cd3118de0d5c007d3cd452cb83a19ce4c986072","text":"value: this.state.text.value, placeholderText: localize('testExplorerFilter', \"Filter (e.g. text, !exclude, @tag)\"), }, history: this.history.get([]) history })); this._register(attachSuggestEnabledInputBoxStyler(input, this.themeService));"} {"_id":"q-en-vscode-a43d78672a102e1f8dddd94f5d98796737b67b37a09baf07937e377507630618","text":"} } // Clear attrs, reset cursor position, clear right // Get the line content of the command from the terminal const content = this._serializeAddon.serialize({ range: { start: stickyScrollLineStart + rowOffset,"} {"_id":"q-en-vscode-a46f4c5c06137800d682b187052dc6e168559ee091c05bb004bed601754ea521","text":"* interval. */ KillSpawnSpacingDuration = 50, /** * Writing large amounts of data can be corrupted for some reason, after looking into this is * appears to be a race condition around writing to the FD which may be based on how powerful * the hardware is. The workaround for this is to space out when large amounts of data is being * written to the terminal. See https://github.com/microsoft/vscode/issues/38137 */ WriteMaxChunkSize = 50, /** * How long to wait between chunk writes. */"} {"_id":"q-en-vscode-a496df927a59b4e7b68d87132ab14a1775356385fe9aa554f2b2498d4d8f63b8","text":"storageId: 'workbench.explorer.views.state', icon: explorerViewIcon, alwaysUseContainerInfo: true, hideIfEmpty: true, order: 0, openCommandActionDescriptor: { id: VIEWLET_ID,"} {"_id":"q-en-vscode-a4abfb03a1b0da646427565652b11b1966a5ced6224c4aeffebdeeff26d5c3c3","text":"if($set.Add($artifactName)) { Write-Host \"Processing artifact: '$artifactName. Downloading from: $($_.resource.downloadUrl)\" $extractPath = \"$env:AGENT_TEMPDIRECTORY/$artifactName.zip\" try { Invoke-RestMethod $_.resource.downloadUrl -OutFile \"$env:AGENT_TEMPDIRECTORY/$artifactName.zip\" -Headers @{ Invoke-RestMethod $_.resource.downloadUrl -OutFile $extractPath -Headers @{ Authorization = \"Bearer $env:SYSTEM_ACCESSTOKEN\" } -MaximumRetryCount 5 -RetryIntervalSec 1 | Out-Null } -MaximumRetryCount 5 -RetryIntervalSec 1 -TimeoutSec 300 | Out-Null Expand-Archive -Path \"$env:AGENT_TEMPDIRECTORY/$artifactName.zip\" -DestinationPath $env:AGENT_TEMPDIRECTORY | Out-Null Write-Host \"Extracting artifact: '$extractPath'\" Expand-Archive -Path $extractPath -DestinationPath $env:AGENT_TEMPDIRECTORY | Out-Null } catch { Write-Warning $_ $set.Remove($artifactName) | Out-Null"} {"_id":"q-en-vscode-a4ac603cbb0a89fc4c06478a0f8f48f4e667d6085b3d353c6384234c1ffa4d17","text":"item: { command: { id: TerminalCommandId.SelectDefaultProfile, title: { value: localize('workbench.action.terminal.selectDefaultProfile', \"Select Default Profile\"), original: 'Select Default Profile' } title: { value: localize('workbench.action.terminal.selectDefaultProfile', \"Select Default Profile\"), original: 'Select Default Profile' }, }, group: TerminalTabContextMenuGroup.Configure group: '3_configure' } }, {"} {"_id":"q-en-vscode-a4b1041afee4fcbb44c8b65e814f9f4594b785aaccf31e36b71eb0479a466229","text":"const content = []; content.push(this._descriptionForCommand(TerminalCommandId.FocusAccessibleBuffer, localize('focusAccessibleTerminalView', 'The Focus Accessible Terminal View ({0}) command enables screen readers to read terminal contents.'), localize('focusAccessibleTerminalViewNoKb', 'The Focus Terminal Accessible View command enables screen readers to read terminal contents and is currently not triggerable by a keybinding.'))); content.push(localize('preserveCursor', 'Customize the behavior of the cursor when toggling between the terminal and accessible view with `terminal.integrated.accessibleViewPreserveCursorPosition.`')); if (!this._configurationService.getValue(TerminalSettingId.AccessibleViewFocusOnCommandExecution)) { content.push(localize('focusViewOnExecution', 'Enable `terminal.integrated.accessibleViewFocusOnCommandExecution` to automatically focus the terminal accessible view when a command is executed in the terminal.')); } if (this._instance.shellType === WindowsShellType.CommandPrompt) { content.push(localize('commandPromptMigration', \"Consider using powershell instead of command prompt for an improved experience\")); }"} {"_id":"q-en-vscode-a4bf17629b8fa006d37baf2e13228eb7633bf5a30c6e257c3c0686bfa999f37e","text":"constructor(modulePath: string, args?: string[] | undefined, options?: UtilityProcessOptions); postMessage(channel: string, message: any, transfer?: Electron.MessagePortMain[]): void; kill(signal?: number | string): boolean; on(event: 'exit', listener: (code: number | undefined) => void): this; on(event: 'exit', listener: (event: Electron.Event, code: number) => void): this; on(event: 'spawn', listener: () => void): this; } }"} {"_id":"q-en-vscode-a50744c642c6433f9bc009de97797b4b2f6ea58effed7ace21939d2a4ddbccc2","text":"templateData.actionBar.context = { $treeViewId: this.treeViewId, $treeItemHandle: node.handle }; const menuActions = this.menus.getResourceActions(node); if (menuActions.menu) { templateData.elementDisposable.add(menuActions.menu); } const menuActions = this.menus.getResourceActions(node, templateData.elementDisposable); templateData.actionBar.push(menuActions.actions, { icon: true, label: false }); if (this._actionRunner) {"} {"_id":"q-en-vscode-a525cd80f1e865b17bd19eb7ae7dc3f171043c8b39f03037cf8c592f2096bc5b","text":"transformOptimization: false, //(isMacintosh && isNative) || getTitleBarStyle(this.configurationService, this.environmentService) === 'native', initialSize: this._dimension, styleController: (_suffix: string) => { return this._list; }, overrideStyles: this._listStyleOverride, overrideStyles: { listBackground: notebookEditorBackground, listActiveSelectionBackground: notebookEditorBackground, listActiveSelectionForeground: foreground, listFocusAndSelectionBackground: notebookEditorBackground, listFocusAndSelectionForeground: foreground, listFocusBackground: notebookEditorBackground, listFocusForeground: foreground, listHoverForeground: foreground, listHoverBackground: notebookEditorBackground, listHoverOutline: focusBorder, listFocusOutline: focusBorder, listInactiveSelectionBackground: notebookEditorBackground, listInactiveSelectionForeground: foreground, listInactiveFocusBackground: notebookEditorBackground, listInactiveFocusOutline: notebookEditorBackground, }, accessibilityProvider: { getAriaLabel: (element: CellViewModel) => { if (!this.viewModel) {"} {"_id":"q-en-vscode-a542eecb42cddfe00daf8a4f5555fb210e64680fe3c2e3d382ed47a6d7327e02","text":"*--------------------------------------------------------------------------------------------*/ import { DataTransfers, IDragAndDropData } from 'vs/base/browser/dnd'; import { $, addDisposableListener, animate, Dimension, getContentHeight, getContentWidth, getTopLeftOffset, getWindow, isAncestor, isHTMLElement, scheduleAtNextAnimationFrame } from 'vs/base/browser/dom'; import { $, addDisposableListener, animate, Dimension, getContentHeight, getContentWidth, getTopLeftOffset, getWindow, isAncestor, isHTMLElement, isSVGElement, scheduleAtNextAnimationFrame } from 'vs/base/browser/dom'; import { DomEmitter } from 'vs/base/browser/event'; import { IMouseWheelEvent } from 'vs/base/browser/mouseEvent'; import { EventType as TouchEventType, Gesture, GestureEvent } from 'vs/base/browser/touch';"} {"_id":"q-en-vscode-a54b162b9fba7306cb43f6205da6b65e0abebb954cedcdc851b01b702da9c0a0","text":"} private async enterProfile(profile: IUserDataProfile, preserveData: boolean, reloadMessage?: string): Promise { if (this.environmentService.remoteAuthority) { const isRemoteWindow = !!this.environmentService.remoteAuthority; if (!isRemoteWindow) { this.extensionService.stopExtensionHosts(); } // In a remote window update current profile before reloading so that data is preserved from current profile if asked to preserve await this.userDataProfileService.updateCurrentProfile(profile, preserveData); if (isRemoteWindow) { const result = await this.dialogService.confirm({ type: 'info', message: reloadMessage ?? localize('reload message', \"Switching a settings profile requires reloading VS Code.\"),"} {"_id":"q-en-vscode-a553163ff23ee51dcd96420b163a81cf35bcd634530115a602ae04de4f57d44c","text":"identityProvider: new FileIdentityProvider(), keyboardNavigationLabelProvider: new FileNavigationLabelProvider(), accessibilityProvider: this._instantiationService.createInstance(FileAccessibilityProvider), showNotFoundMessage: false, overrideStyles: { listBackground: breadcrumbsPickerBackground },"} {"_id":"q-en-vscode-a55ade4dfda6c40bb0e38cfaab895fd10ede6759515aad522aa3cf53c8813c65","text":"this._register(this.tree.onDidChangeContentHeight(() => { if (this.tree.scrollHeight !== this.previousTreeScrollHeight) { const lastElementWasVisible = this.tree.scrollTop + this.tree.renderHeight >= this.previousTreeScrollHeight; // Due to rounding, the scrollTop + renderHeight will not exactly match the scrollHeight. // Consider the tree to be scrolled all the way down if it is within 2px of the bottom. const lastElementWasVisible = this.tree.scrollTop + this.tree.renderHeight >= this.previousTreeScrollHeight - 2; if (lastElementWasVisible) { setTimeout(() => { // Can't set scrollTop during this event listener, the list might overwrite the change"} {"_id":"q-en-vscode-a66bafb7058bc84f44dcdf4507b76b0505f90bcf11e9039971e7d3cabd4582c6","text":".pipe(replace('@@LICENSE@@', product.licenseName)) .pipe(rename('usr/share/appdata/' + product.applicationName + '.appdata.xml')); const workspaceMime = gulp.src('resources/code-workspace.xml', { base: '.' }) .pipe(replace('@@NAME_LONG@@', product.nameLong)) .pipe(replace('@@NAME@@', product.applicationName)) .pipe(rename('usr/share/mime/packages/' + product.applicationName + '-workspace.xml')); const icon = gulp.src('resources/linux/code.png', { base: '.' }) .pipe(rename('usr/share/pixmaps/' + product.linuxIconName + '.png'));"} {"_id":"q-en-vscode-a72ccc59c7b60aa4ebbd4f869453dd8a9f212d6740bab2746506baa51a0be026","text":"}, \"brackets\": [ [\"\"], [\"<\", \">\"], [\"{\", \"}\"], [\"(\", \")\"] ],"} {"_id":"q-en-vscode-a74bb89262eb11d1b69f5051e9a1bb3edee189815e609b321c4dbb7812c8ec46","text":"let ranges: Range[] | undefined; for (const placeholder of placeholdersWithEqualIndex) { if (placeholder.isFinalTabstop) { // ignore those break; } if (!ranges) { ranges = [];"} {"_id":"q-en-vscode-a766a1d70e31db24e17f492d04b37385e0cb76253cac82f39f49dd31059829c2","text":"icon: new ThemeIcon('cloud') }); break; case ref.startsWith('tag: refs/tags/'): references.push({ id: ref.substring('tag: '.length), name: ref.substring('tag: refs/tags/'.length), revision: commit.hash, icon: new ThemeIcon('tag') }); break; } } return references; return references.sort(compareSourceControlHistoryItemRef); } private async resolveHEADMergeBase(): Promise {"} {"_id":"q-en-vscode-a78fe55fddde68f194ac630096be0941c50e8bd7eb3773d4306d4fbce08675bd","text":"command: showWindowLogActionId, }, async (progress) => { progress.report({ message: localize('Importing profile', \"{0} ({1})...\", title, profileTemplate.name) }); const profile = await this.getProfileToImport(profileTemplate, temporaryProfile); if (!profile) { return undefined; } return this.importAndSwitchWithProgress(profileTemplate, temporaryProfile, extensions, extensionsDisabled, message => progress.report({ message: `${title} (${profileTemplate.name}): ${message}` })); }); } if (profileTemplate.settings) { progress.report({ message: localize('progress settings', \"{0} ({1}): Applying Settings...\", title, profileTemplate.name) }); await this.instantiationService.createInstance(SettingsResource).apply(profileTemplate.settings, profile); } if (profileTemplate.keybindings) { progress.report({ message: localize('progress keybindings', \"{0} ({1}): Applying Keyboard Shortcuts...\", title, profileTemplate.name) }); await this.instantiationService.createInstance(KeybindingsResource).apply(profileTemplate.keybindings, profile); } if (profileTemplate.tasks) { progress.report({ message: localize('progress tasks', \"{0} ({1}): Applying Tasks...\", title, profileTemplate.name) }); await this.instantiationService.createInstance(TasksResource).apply(profileTemplate.tasks, profile); } if (profileTemplate.snippets) { progress.report({ message: localize('progress snippets', \"{0} ({1}): Applying Snippets...\", title, profileTemplate.name) }); await this.instantiationService.createInstance(SnippetsResource).apply(profileTemplate.snippets, profile); } if (profileTemplate.globalState) { progress.report({ message: localize('progress global state', \"{0} ({1}): Applying State...\", title, profileTemplate.name) }); await this.instantiationService.createInstance(GlobalStateResource).apply(profileTemplate.globalState, profile); } if (profileTemplate.extensions && extensions) { progress.report({ message: localize('progress extensions', \"{0} ({1}): Applying Extensions...\", title, profileTemplate.name) }); await this.instantiationService.createInstance(ExtensionsResource, extensionsDisabled).apply(profileTemplate.extensions, profile); } private async importAndSwitchWithProgress(profileTemplate: IUserDataProfileTemplate, temporaryProfile: boolean, extensions: boolean, extensionsDisabled: boolean, progress: (message: string) => void): Promise { const profile = await this.getProfileToImport(profileTemplate, temporaryProfile); if (!profile) { return undefined; } progress.report({ message: localize('switching profile', \"{0} ({1}): Applying...\", title, profileTemplate.name) }); await this.userDataProfileManagementService.switchProfile(profile); return profile; }); if (profileTemplate.settings) { progress(localize('progress settings', \"Applying Settings...\")); await this.instantiationService.createInstance(SettingsResource).apply(profileTemplate.settings, profile); } if (profileTemplate.keybindings) { progress(localize('progress keybindings', \"{0}ying Keyboard Shortcuts...\")); await this.instantiationService.createInstance(KeybindingsResource).apply(profileTemplate.keybindings, profile); } if (profileTemplate.tasks) { progress(localize('progress tasks', \"Applying Tasks...\")); await this.instantiationService.createInstance(TasksResource).apply(profileTemplate.tasks, profile); } if (profileTemplate.snippets) { progress(localize('progress snippets', \"Applying Snippets...\")); await this.instantiationService.createInstance(SnippetsResource).apply(profileTemplate.snippets, profile); } if (profileTemplate.globalState) { progress(localize('progress global state', \"Applying State...\")); await this.instantiationService.createInstance(GlobalStateResource).apply(profileTemplate.globalState, profile); } if (profileTemplate.extensions && extensions) { progress(localize('progress extensions', \"Applying Extensions...\")); await this.instantiationService.createInstance(ExtensionsResource, extensionsDisabled).apply(profileTemplate.extensions, profile); } progress(localize('switching profile', \" Applying...\")); await this.userDataProfileManagementService.switchProfile(profile); return profile; } private async resolveProfileContent(resource: URI): Promise {"} {"_id":"q-en-vscode-a79492f37a08d59fe78ddc9f5f565c7c2019c25a79602e164f55044c2385dbb4","text":"this._primaryAction = new MenuEntryActionViewItem(primaryAction, undefined, _keybindingService, _notificationService, _contextKeyService, _themeService, _contextMenuProvider); this._dropdown = new DropdownMenuActionViewItem(dropdownAction, dropdownMenuActions, this._contextMenuProvider, { menuAsChild: true, classNames: ['codicon', 'codicon-chevron-down'], classNames: ['codicon', 'codicon-chevron-down', className], keybindingProvider: this._options?.getKeyBinding }); }"} {"_id":"q-en-vscode-a7c41720ce1f121b42e2eabedeff61453cb3ae0521704d668a99e8e9f455bb03","text":"@ILogService private readonly logService: ILogService, @IWorkspacesManagementMainService private readonly workspacesManagementMainService: IWorkspacesManagementMainService, @ILifecycleMainService private readonly lifecycleMainService: ILifecycleMainService, @IApplicationStorageMainService private readonly applicationStorageMainService: IApplicationStorageMainService @IApplicationStorageMainService private readonly applicationStorageMainService: IApplicationStorageMainService, @IDialogMainService private readonly dialogMainService: IDialogMainService ) { super();"} {"_id":"q-en-vscode-a7c7db6e88764cfb64e5f39ec80962c24988f76927a098677f99979fb75fd513","text":"} const commandService = accessor.get(ICommandService); const logService = accessor.get(ILogService); let i = 0; try { for (const cmd of args.commands) { await this._runCommand(commandService, cmd); for (; i < args.commands.length; ++i) { const cmd = args.commands[i]; logService.debug(`runCommands: executing ${i}-th command: ${JSON.stringify(cmd)}`); const r = await this._runCommand(commandService, cmd); logService.debug(`runCommands: executed ${i}-th command with return value: ${JSON.stringify(r)}`); } } catch (err) { logService.debug(`runCommands: executing ${i}-th command resulted in an error: ${err instanceof Error ? err.message : JSON.stringify(err)}`); notificationService.error(err); } }"} {"_id":"q-en-vscode-a7f479cc73a9acf8c4642c114992661c23b8f25f6e7262aa05eaef93fcfbaa0c","text":"* @return A human-readable string which is presented as diagnostic message. * Return `undefined`, `null`, or the empty string when 'value' is valid. */ validateInput?(value: string): string | undefined | null | Thenable; validateInput?(value: string): string | InputBoxValidationMessage | undefined | null | Thenable; } /**"} {"_id":"q-en-vscode-a816d3e365b345db24b7d8169a1f59442f14715b52750862b7760c58543a6804","text":".suggest-input-container .monaco-editor, .suggest-input-container .monaco-editor .lines-content { background: none; background: none !important; }"} {"_id":"q-en-vscode-a8303551d3696b3c3a595652fd877f4497cb93103b5393c852f8df52df5cde42","text":"registerThemingParticipant((theme, collector) => { let rulerColor = theme.getColor(editorRuler); if (rulerColor) { collector.addRule(`.monaco-editor .view-ruler { background-color: ${rulerColor}; }`); collector.addRule(`.monaco-editor .view-ruler { --box-shadow-color: ${rulerColor}; }`); } });"} {"_id":"q-en-vscode-a8467ef649a80f5480e077bbfa41d7efc6b5f3620d48266d3b6e3d37b0d37e54","text":"@IWorkbenchEnvironmentService private readonly environmentService: IWorkbenchEnvironmentService, @IProductService private readonly productService: IProductService, @IEditorGroupsService private readonly editorGroupService: IEditorGroupsService, @IEditorService private readonly editorService: IEditorService, @IWorkbenchLayoutService private readonly layoutService: IWorkbenchLayoutService, @IPaneCompositePartService private readonly paneCompositeService: IPaneCompositePartService, @IWorkingCopyService private readonly workingCopyService: IWorkingCopyService,"} {"_id":"q-en-vscode-a84b1dd7929e3e74b9a921518afebf6b9b3b39d684f8c77e5dc2416a54ce3bd0","text":"}); return true; })); this._register(AccessibilityHelpAction.addImplementation(115, 'accessible-view', accessor => { accessor.get(IAccessibleViewService).showAccessibleViewHelp(); return true; }, accessibleViewIsShown)); } }"} {"_id":"q-en-vscode-a8a557fa6bd997e17456d40c649fc372c81ce5baf888cfb62f70a5ad8037211f","text":"*/ sticky?: boolean; /** * Controls how long the hover is visible after you hovered out of it. * Require sticky setting to be true. */ hidingDelay?: number; /** * Should the hover be shown above the line if possible? * Defaults to false. */"} {"_id":"q-en-vscode-a8b922a120955a6c72cdc6c705f78b38e12921164634628c9ad4482ab78d35eb","text":"} .extension-list-item > .details > .footer > .monaco-action-bar > .actions-container .action-label:not(.icon) { border-radius: 0; border-radius: 2px; } .extension-list-item > .details > .footer > .monaco-action-bar > .actions-container .extension-action.label {"} {"_id":"q-en-vscode-a8cae7ddefa57f9d7c85e61f2ebe9356d2d20a18f0eb48b4d28b61df2965d546","text":"this._findInput = this._register(new ContextScopedFindInput(null, this._contextViewService, { label: NLS_FIND_INPUT_LABEL, placeholder: NLS_FIND_INPUT_\", validation: (value: string): InputBoxMessage | null => { if (value.length === 0 || !this._findInput.getRegex()) { return null; } try { /* tslint:disable-next-line:no-unused-expression */ new RegExp(value); return null; } catch (e) { return { content: e.message }; } } }, contextKeyService, showOptionButtons)); // Find History with update delayer"} {"_id":"q-en-vscode-a9209ce7adbd4b4259287fe92c6cb22e00efb81fd56d842cc00aeeb5a8890cba","text":"import { IExtensionRecommendationNotificationService, RecommendationsNotificationResult, RecommendationSource } from 'vs/platform/extensionRecommendations/common/extensionRecommendations'; import { distinct } from 'vs/base/common/arrays'; import { DisposableStore } from 'vs/base/common/lifecycle'; import { CellUri } from 'vs/workbench/contrib/notebook/common/notebookCommon'; type FileExtensionSuggestionClassification = { userReaction: { classification: 'SystemMetaData', purpose: 'FeatureInsight' };"} {"_id":"q-en-vscode-a93b3aeae2a32a472257aa4191303879878193c61f1299ce798365c5ca60ea6b","text":"} else { type = TerminalBuiltinLinkType.LocalFile; } // Offset the buffer range if the link range was trimmed const trimRange = trimRangeMap.get(linkStat.link); if (trimRange) { bufferRange.end.x -= trimRange; if (bufferRange.end.x < 0) { bufferRange.end.y--; bufferRange.end.x += this.xterm.cols; } } links.push({ text: linkStat.link, uri: linkStat.uri,"} {"_id":"q-en-vscode-a9550ad1a340f88d5d7a2d07c6470c83440ca459d3b58b542b5cb4f7dce321fa","text":"if (profile && !profile.isTransient && this.newProfileElement) { this.removeNewProfile(); this.onDidChangeProfiles({ added: [profile], removed: [], updated: [], all: this.userDataProfilesService.profiles }); const existing = this._profiles.find(([p]) => p.name === profile.name); if (existing) { this._onDidChange.fire(existing[0]); } else { this.onDidChangeProfiles({ added: [profile], removed: [], updated: [], all: this.userDataProfilesService.profiles }); } } return profile;"} {"_id":"q-en-vscode-a99db70ba3f30019d8f1fdae9048ef13f29deb21fcabd85cf5ee0a68bbc2f6f7","text":"id: FOCUS_OUT_OUTPUT_COMMAND_ID, title: localize('focusOutputOut', 'Focus Out Active Cell Output'), keybinding: { when: NOTEBOOK_EDITOR_FOCUSED, when: ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, NOTEBOOK_OUTPUT_FOCUSED), primary: KeyMod.CtrlCmd | KeyCode.UpArrow, mac: { primary: KeyMod.WinCtrl | KeyMod.CtrlCmd | KeyCode.UpArrow, }, weight: KeybindingWeight.WorkbenchContrib"} {"_id":"q-en-vscode-a9a1a778865b42679637e65d6fb38c650286857e1f64957b03ce00e4a3936f48","text":"if (!isUndefined(e.enabled)) { button.enabled = action.enabled; } if (!isUndefined(e.label)) { button.label = action.label; } })); } }"} {"_id":"q-en-vscode-a9ad458c3b316c695f2c46822f945e09d71e3cd0f36f06c72d2f28dea162d7a0","text":"import { IWorkbenchExtensionEnablementService, EnablementState } from 'vs/workbench/services/extensionManagement/common/extensionManagement'; import { areSameExtensions } from 'vs/platform/extensionManagement/common/extensionManagementUtil'; import { createDecorator, ServicesAccessor } from 'vs/platform/instantiation/common/instantiation'; import { INotificationService, Severity } from 'vs/platform/notification/common/notification'; import { INotificationService } from 'vs/platform/notification/common/notification'; import { IStorageService, StorageScope, StorageTarget } from 'vs/platform/storage/common/storage'; import { IURLHandler, IURLService, IOpenURLOptions } from 'vs/platform/url/common/url'; import { IHostService } from 'vs/workbench/services/host/browser/host'; import { IExtensionService } from 'vs/workbench/services/extensions/common/extensions'; import { IExtensionService, toExtensionDescription } from 'vs/workbench/services/extensions/common/extensions'; import { ExtensionIdentifier } from 'vs/platform/extensions/common/extensions'; import { registerSingleton } from 'vs/platform/instantiation/common/extensions'; import { Registry } from 'vs/platform/registry/common/platform';"} {"_id":"q-en-vscode-a9babd3806bf0d3f2ca2d75a1eea53a3db684e5c3b9eae98a7e77925e3c96eb7","text":"this.enabledDisposables.dispose(); this.enabledDisposables = new DisposableStore(); this.previousPattern = this.pattern; this.onDidChangeValue(''); this.tree.domFocus();"} {"_id":"q-en-vscode-a9d59131cf46400b80583e2986bde3d6e86dd5624b9cbaec6e5b264423c9ef86","text":"// Only allow history navigation when the input is empty. // (If this model change happened as a result of a history navigation, this is canceled out by a call in this.navigateHistory) const model = this._inputEditor.getModel(); const inputHasText = !!model && model.getValueLength() > 0; const inputHasText = !!model && model.getValue().trim().length > 0; this.inputEditorHasText.set(inputHasText); // If the user is typing on a history entry, then reset the onHistoryEntry flag so that history navigation can be disabled"} {"_id":"q-en-vscode-a9ddc9fad0dd868242f1dfdd2ab124483f9f56614c725e86fa7a80429bd5b59d","text":"constructor() { super({ id: 'workbench.action.clearCommandHistory', title: { value: localize('clearCommandHistory', \"Clear Command History\"), original: 'Clear Command History' }, id: 'workbench.action.clearPreviousSessionCommandHistory', title: { value: localize('clearPreviousSessionCommandHistory', \"Clear Previous Session Command History\"), original: 'Clear Previous Session Command History' }, f1: true }); }"} {"_id":"q-en-vscode-aa6fe2d5ee31d23801e7288e4bfad0489bbcb90f456f51ddf7b596db4f4626c6","text":"_classifier = new CharacterClassifier(CharacterClass.None); // allow-any-unicode-next-line const FORCE_TERMINATION_CHARACTERS = ', t<>'\"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…'; const FORCE_TERMINATION_CHARACTERS = ' t<>'\"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…'; for (let i = 0; i < FORCE_TERMINATION_CHARACTERS.length; i++) { _classifier.set(FORCE_TERMINATION_CHARACTERS.charCodeAt(i), CharacterClass.ForceTermination); } const CANNOT_END_WITH_CHARACTERS = '.;:'; const CANNOT_END_WITH_CHARACTERS = '.,;:'; for (let i = 0; i < CANNOT_END_WITH_CHARACTERS.length; i++) { _classifier.set(CANNOT_END_WITH_CHARACTERS.charCodeAt(i), CharacterClass.CannotEndIn); }"} {"_id":"q-en-vscode-aa95d54f96ddcb18a31a2bc19e57dcd32c10a28f5fcbfddeb32b15b7c666e5ff","text":"// \"foo\",339 // \"foo\",339:12 // \"foo\",339.12 `(?::| |['\"],)${r()}([:.]${c()})?` + eolSuffix, // \"foo\",339.12-14 // \"foo\",339.12-341.14 `(?::| |['\"],)${r()}([:.]${c()}(?:-(?:${re()}.)?${ce()})?)?` + eolSuffix, // The quotes below are optional [#171652] // \"foo\", line 339 [#40468] // \"foo\", line 339, col 12"} {"_id":"q-en-vscode-aac5e8cd0a3a2756a8ad31d45c16e5cd07f2a5052e9515b509b710698283f4fe","text":"type: AccessibleViewType; } export const accessibilityHelpIsShown = new RawContextKey('accessibilityHelpIsShown', false, true); class AccessibleView extends Disposable { private _editorWidget: CodeEditorWidget; private _accessiblityHelpIsShown: IContextKey; get editorWidget() { return this._editorWidget; } private _editorContainer: HTMLElement; private _keyListener: IDisposable | undefined; constructor( @IOpenerService private readonly _openerService: IOpenerService, @IInstantiationService private readonly _instantiationService: IInstantiationService, @IConfigurationService private readonly _configurationService: IConfigurationService, @IModelService private readonly _modelService: IModelService, @IContextViewService private readonly _contextViewService: IContextViewService @IContextViewService private readonly _contextViewService: IContextViewService, @IContextKeyService private readonly _contextKeyService: IContextKeyService ) { super(); this._accessiblityHelpIsShown = accessibilityHelpIsShown.bindTo(this._contextKeyService); this._editorContainer = document.createElement('div'); this._editorContainer.classList.add('accessible-view'); const codeEditorWidgetOptions: ICodeEditorWidgetOptions = {"} {"_id":"q-en-vscode-ab35489f8b45589156d63c2242244208aea9b872e8e7121efdd1564ab7f85aff","text":"})); this._register(this.preview.onScroll((scrollInfo) => { topmostLineMonitor.setPreviousEditorLine(scrollInfo); topmostLineMonitor.setPreviousStaticEditorLine(scrollInfo); })); this._register(topmostLineMonitor.onDidChanged(event => {"} {"_id":"q-en-vscode-ab5ef6aaf598b43ffe399a6a08a9a8b15e96d55a722394c19d8b0b4c4d661d8b","text":"return this._wordToLineNumbersMap; } private updateHoverConfiguration(): void { const stackFrame = this.debugService.getViewModel().focusedStackFrame; const model = this.editor.getModel(); if (model) { this.applyHoverConfiguration(model, stackFrame); } } private applyHoverConfiguration(model: ITextModel, stackFrame: IStackFrame | undefined): void { if (stackFrame && this.uriIdentityService.extUri.isEqual(model.uri, stackFrame.source.uri)) { if (this.altListener) {"} {"_id":"q-en-vscode-ab8acf7bead72ffd385cc8b6fdf56c807f62aa570a9a540eaabf7c7b3b781fba","text":"await Event.toPromise(Event.once(this._taskService.onDidChangeTaskSystemInfo)); } this._logService.trace('RunAutomaticTasks: Checking if automatic tasks should run.'); const isFolderAutomaticAllowed = this._configurationService.getValue(ALLOW_AUTOMATIC_TASKS) !== 'off'; await this._workspaceTrustManagementService.workspaceTrustInitialized; const isWorkspaceTrusted = this._workspaceTrustManagementService.isWorkspaceTrusted(); // Only run if allowed. Prompting for permission occurs when a user first tries to run a task. if (isFolderAutomaticAllowed && isWorkspaceTrusted) { this._taskService.getWorkspaceTasks(TaskRunSource.FolderOpen).then(workspaceTaskResult => { const { tasks } = RunAutomaticTasks._findAutoTasks(this._taskService, workspaceTaskResult); this._logService.trace(`RunAutomaticTasks: Found ${tasks.length} automatic tasks tasks`); if (tasks.length > 0) { RunAutomaticTasks._runTasks(this._taskService, tasks); } }); } const workspaceTasks = await this._taskService.getWorkspaceTasks(TaskRunSource.FolderOpen); this._logService.trace(`RunAutomaticTasks: Found ${workspaceTasks.size} automatic tasks`); await RunAutomaticTasks.runWithPermission(this._taskService, this._storageService, this._notificationService, this._workspaceTrustManagementService, this._openerService, this._configurationService, workspaceTasks); } private static _runTasks(taskService: ITaskService, tasks: Array>) {"} {"_id":"q-en-vscode-abea6eedc0dbbd74ae48402c020e3fce4728bace3760fa2d2f6203d67c660dd8","text":"import { CommandsRegistry } from 'vs/platform/commands/common/commands'; import { ContextKeyExpr, ContextKeyExpression, IContextKeyService } from 'vs/platform/contextkey/common/contextkey'; import { defaultKeybindingLabelStyles } from 'vs/platform/theme/browser/defaultStyles'; import { editorForeground, registerColor, transparent } from 'vs/platform/theme/common/colorRegistry'; registerColor('editorWatermark.foreground', { dark: transparent(editorForeground, 0.6), light: transparent(editorForeground, 0.68), hcDark: editorForeground, hcLight: editorForeground }, localize('editorLineHighlight', 'Foreground color for the labels in the editor watermark.')); interface WatermarkEntry { readonly text: string;"} {"_id":"q-en-vscode-abfda928d7309e460b61a53e1c5879d8e94c94b435184a593fb3ccdc665e9906","text":" while (^|G)(?!s*$|#|[ ]{0,3}([-*_][ ]{2,}){3,}[ t]*$n?|>|[ ]{0,3}[*+-]|[ ]{0,3}[0-9]+.) (^|G)(?!s*$|#|[ ]{0,3}([-*_>][ ]{2,}){3,}[ t]*$n?|[ ]{0,3}[*+->]|[ ]{0,3}[0-9]+.) lists "} {"_id":"q-en-vscode-ac146a55df20267ea47c63f04a32f7b16d58d6bcf7e33dcbae0721d49f9f1247","text":"@ITextModelService private readonly textModelService: ITextModelService, @IBulkEditService private readonly bulkEditService: IBulkEditService, @IConfigurationService private readonly configurationService: IConfigurationService, ) { } ) { } async participate(workingCopy: IStoredFileWorkingCopy, context: { reason: SaveReason }, progress: IProgress, token: CancellationToken): Promise { if (!workingCopy.model || !(workingCopy.model instanceof NotebookFileWorkingCopyModel)) {"} {"_id":"q-en-vscode-ac38001608acb34e7c081ac57b28a5db482cf13393c7bf7dd60a6b0a3bafe1f2","text":"import { ILogService } from 'vs/platform/log/common/log'; import { Workspace } from 'vs/platform/workspace/common/workspace'; import { URI } from 'vs/base/common/uri'; import { checkProposedApiEnabled } from 'vs/workbench/services/extensions/common/extensions'; function lookUp(tree: any, key: string) { if (key) {"} {"_id":"q-en-vscode-ac514f1d90a124bf926971140a53bdc8aec417dba50240d958eca7ebf0a2779e","text":"}, 'terminal.integrated.enableBold': { 'type': 'boolean', 'description': nls.localize('terminal.integrated.enableBold', \"Whether to enable bold text within the terminal.\"), 'description': nls.localize('terminal.integrated.enableBold', \"Whether to enable bold text within the terminal, this requires support from the termianl shell.\"), 'default': true }, 'terminal.integrated.cursorBlinking': {"} {"_id":"q-en-vscode-ac550c5fb20046df844c912c62e717374f99dd521734cf4159550284eab91a19","text":"/** * The declaration of a symbol representation as one or many [locations](#Location) * or [location links][#LocationLink]. * or [location links](#LocationLink). */ export type Declaration = Location | Location[] | LocationLink[];"} {"_id":"q-en-vscode-ac81ddb0b79ec41081976bd56dbd2420c1568579ca53cc3cd1442aab8deefa22","text":"lineHeight = fontInfo.lineHeight; } else if (lineHeight < minimumLineHeight) { // Values too small to be line heights in pixels are in ems. let fontSize = this.configurationService.getValue(NotebookSetting.outputFontSize); let fontSize = outputFontSize; if (fontSize === 0) { fontSize = this.configurationService.getValue('editor.fontSize'); }"} {"_id":"q-en-vscode-ace06fe7f3dc5deae54750f804cd853b343be8d455ec2bd08db51a5cf9b495aa","text":"// Set the new shell launch config this._shellLaunchConfig = shell; // Must be done before calling _createProcess() this._processManager.relaunch(this._shellLaunchConfig, this._cols || Constants.DefaultCols, this._rows || Constants.DefaultRows, this._accessibilityService.isScreenReaderOptimized(), reset); await this._processManager.relaunch(this._shellLaunchConfig, this._cols || Constants.DefaultCols, this._rows || Constants.DefaultRows, this._accessibilityService.isScreenReaderOptimized(), reset).then(error => { if (error) { this._onProcessExit(error); } }); this._xtermTypeAheadAddon?.reset(); }"} {"_id":"q-en-vscode-acebcfc3d4c8c3418bf291dbcb9d366b8ac11a5cc3d06d22597ffec0c92eaa8b","text":"} private handleExtensionData(extensions: IssueReporterExtensionData[]) { const { nonThemes, themes } = collections.groupBy(extensions, ext => { const installedExtensions = extensions.filter(x => !x.isBuiltin); const { nonThemes, themes } = collections.groupBy(installedExtensions, ext => { return ext.isTheme ? 'themes' : 'nonThemes'; }); const numberOfThemeExtesions = themes && themes.length; this.issueReporterModel.update({ numberOfThemeExtesions, enabledNonThemeExtesions: nonThemes, allExtensions: extensions }); this.issueReporterModel.update({ numberOfThemeExtesions, enabledNonThemeExtesions: nonThemes, allExtensions: installedExtensions }); this.updateExtensionTable(nonThemes, numberOfThemeExtesions); if (this.environmentService.disableExtensions || extensions.length === 0) { if (this.environmentService.disableExtensions || installedExtensions.length === 0) { (this.getElementById('disableExtensions')).disabled = true; } this.updateExtensionSelector(extensions); this.updateExtensionSelector(installedExtensions); } private handleSettingsSearchData(data: ISettingsSearchIssueReporterData): void {"} {"_id":"q-en-vscode-acf79d6cef20354c35586576a77d9c5212a2a9d5f37325d8f78cbc25076a68a5","text":"action: (!this.isQuickNavigate() && currentWindowId !== win.id) ? this.closeWindowAction : void 0 } as IFilePickOpenEntry)); const autoFocusIndex = (picks.indexOf(picks.filter(pick => pick.payload === currentWindowId)[0]) + 1) % picks.length; this.quickOpenService.pick(picks, { contextKey: 'inWindowsPicker', autoFocus: { autoFocusFirstEntry: true }, autoFocus: { autoFocusIndex }, placeHolder, quickNavigateConfiguration: this.isQuickNavigate() ? { keybindings: this.keybindingService.lookupKeybindings(this.id) } : void 0 });"} {"_id":"q-en-vscode-acfb281a79abb36480f56b07e8b73522923f62edc718ad21d9a6880df618cb1f","text":"'For instructions, see http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx.', ' http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx ' ); assertLink( 'x = \"https://en.wikipedia.org/wiki/Zürich\";', ' https://en.wikipedia.org/wiki/Zürich ' ); assertLink( '請參閱 http://go.microsoft.com/fwlink/?LinkId=761051。', ' http://go.microsoft.com/fwlink/?LinkId=761051 ' ); assertLink( '(請參閱 http://go.microsoft.com/fwlink/?LinkId=761051)', ' http://go.microsoft.com/fwlink/?LinkId=761051 ' ); // foo bar (see http://www.w3schools.com/tags/att_iframe_sandbox.asp) });"} {"_id":"q-en-vscode-ad2762f06f44090de630c9fd34e7ce0f08e8b27083f0c0e5e768bc06a5fcbaa2","text":"\"badge.background\": \"#705697AA\", \"progressBar.background\": \"#705697\" } } No newline at end of file } "} {"_id":"q-en-vscode-ad8c09118438f6c2897c3709209aff3abfcf1549a99b4aa3217618a1ae0b4c9c","text":"class HitTestRequest extends BareHitTestRequest { private readonly _ctx: HitTestContext; public readonly target: HTMLElement | null; public readonly targetPath: Uint8Array; private readonly _eventTarget: HTMLElement | null; public readonly hitTestResult = new Lazy(() => MouseTargetFactory.doHitTest(this._ctx, this)); private _useHitTestTarget: boolean; private _targetPathCacheElement: HTMLElement | null = null; private _targetPathCacheValue: Uint8Array = new Uint8Array(0); public get target(): HTMLElement | null { if (this._useHitTestTarget) { return this.hitTestResult.value.hitTarget; } return this._eventTarget; } constructor(ctx: HitTestContext, editorPos: EditorPagePosition, pos: PageCoordinates, relativePos: CoordinatesRelativeToEditor, target: HTMLElement | null) { public get targetPath(): Uint8Array { if (this._targetPathCacheElement !== this.target) { this._targetPathCacheElement = this.target; this._targetPathCacheValue = PartFingerprints.collect(this.target, this._ctx.viewDomNode); } return this._targetPathCacheValue; } constructor(ctx: HitTestContext, editorPos: EditorPagePosition, pos: PageCoordinates, relativePos: CoordinatesRelativeToEditor, eventTarget: HTMLElement | null) { super(ctx, editorPos, pos, relativePos); this._ctx = ctx; this._eventTarget = eventTarget; if (target) { this.target = target; this.targetPath = PartFingerprints.collect(target, ctx.viewDomNode); } else { this.target = null; this.targetPath = new Uint8Array(0); } // If no event target is passed in, we will use the hit test target const hasEventTarget = Boolean(this._eventTarget); this._useHitTestTarget = !hasEventTarget; } public override toString(): string { return `pos(${this.pos.x},${this.pos.y}), editorPos(${this.editorPos.x},${this.editorPos.y}), relativePos(${this.relativePos.x},${this.relativePos.y}), mouseVerticalOffset: ${this.mouseVerticalOffset}, mouseContentHorizontalOffset: ${this.mouseContentHorizontalOffset}nttarget: ${this.target ? (this.target).outerHTML : null}`; } public get wouldBenefitFromHitTestTargetSwitch(): boolean { return ( !this._useHitTestTarget && this.hitTestResult.value.hitTarget !== null && this.target !== this.hitTestResult.value.hitTarget ); } public switchToHitTestTarget(): void { this._useHitTestTarget = true; } private _getMouseColumn(position: Position | null = null): number { if (position && position.column < this._ctx.viewModel.getLineMaxColumn(position.lineNumber)) { // Most likely, the line contains foreign decorations..."} {"_id":"q-en-vscode-adef9dc65a4ae7eb1cceb1c4253af807eff1913918bf377604159a255f569c6e","text":"*--------------------------------------------------------------------------------------------*/ import { KeyCode, KeyMod } from 'vs/base/common/keyCodes'; import { Disposable, DisposableStore } from 'vs/base/common/lifecycle'; import { Disposable, DisposableStore, IDisposable, MutableDisposable } from 'vs/base/common/lifecycle'; import { localize } from 'vs/nls'; import { CONTEXT_ACCESSIBILITY_MODE_ENABLED } from 'vs/platform/accessibility/common/accessibility'; import { Action2, registerAction2 } from 'vs/platform/actions/common/actions';"} {"_id":"q-en-vscode-ae09ed994cce3e02c78e147fed8b51f5ce17d7cbb6c4e392f993bdb63d8eb39d","text":"const baseConfig: IOpenConfiguration = { context, cli: args, userEnv, /** * When opening a new window from a second instance that sent args and env * over to this instance, we want to preserve the environment only if that second * instance was spawned from the CLI or used the `--preserve-env` flag (example: * when using `open -n \"VSCode.app\" --args --preserve-env WORKSPACE_FOLDER`). * * This is done to ensure that the second window gets treated exactly the same * as the first window, for example, it gets the same resolved user shell environment. * * https://github.com/microsoft/vscode/issues/194736 */ userEnv: (args['preserve-env'] || context === OpenContext.CLI) ? userEnv : undefined, waitMarkerFileURI, remoteAuthority, forceProfile: args.profile,"} {"_id":"q-en-vscode-ae78875cb7c8192d39dc09cee29d1658d7c05aed55d4ae10c3f10da219fe2a4f","text":"async setLocale(languagePackItem: ILanguagePackItem, _skipDialog = false): Promise { const locale = languagePackItem.id; if (locale === Language.value() || (!locale && Language.value() === navigator.language)) { if (locale === Language.value() || (!locale && Language.value() === navigator.language.toLowerCase())) { return; } if (locale) {"} {"_id":"q-en-vscode-ae85d908a23a1dfe89924a5ac9d13ff780ad298fc058ae955b1f36d163782da5","text":"const groupActiveEditorAvailableEditorIds = this.editorPartsView.bind(ActiveEditorAvailableEditorIdsContext, this); const groupActiveEditorCanSplitInGroupContext = this.editorPartsView.bind(ActiveEditorCanSplitInGroupContext, this); const sideBySideEditorContext = this.editorPartsView.bind(SideBySideEditorActiveContext, this); const groupActiveEditorIsSideBySideEditorContext = this.editorPartsView.bind(SideBySideEditorActiveContext, this); const activeEditorListener = this._register(new MutableDisposable());"} {"_id":"q-en-vscode-aea7cbf5e7c12a3dc03c65f762506b88a049ac6ebc21807e092600610d9ea090","text":"[UninstallDelete] Type: filesandordirs; Name: \"{app}_\" Type: filesandordirs; Name: \"{app}old\" [Tasks] Name: \"desktopicon\"; Description: \"{cm:CreateDesktopIcon}\"; GroupDescription: \"{cm:AdditionalIcons}\"; Flags: unchecked"} {"_id":"q-en-vscode-aeb541d72fc4765ac6983a2579eaebd8a06d180bfe3790a6519f29600bd81aa8","text":"import { IColorTheme } from '../../../platform/theme/common/themeService.js'; import { CompositeBar, ICompositeBarItem, CompositeDragAndDrop } from './compositeBar.js'; import { Dimension, createCSSRule, asCSSUrl, isMouseEvent } from '../../../base/browser/dom.js'; import { IStorageService, StorageScope, StorageTarget, IProfileStorageValueChangeEvent } from '../../../platform/storage/common/storage.js'; import { IStorageService, StorageScope, StorageTarget } from '../../../platform/storage/common/storage.js'; import { IExtensionService } from '../../services/extensions/common/extensions.js'; import { URI, UriComponents } from '../../../base/common/uri.js'; import { ToggleCompositePinnedAction, ICompositeBarColors, IActivityHoverOptions, ToggleCompositeBadgeAction, CompositeBarAction, ICompositeBar, ICompositeBarActionItem } from './compositeBarActions.js';"} {"_id":"q-en-vscode-af127f2f12b2621643a99869ef5d7ff11850ae79b541ad577405c7c2a7203b65","text":"return; } this.onDidRegisterExtensions(); this._register(this.compositeBar.onDidChange(() => this.saveCachedViewContainers())); this._register(this.storageService.onDidChangeValue(StorageScope.PROFILE, this.options.pinnedViewContainersKey, this._store)(e => this.onDidPinnedViewContainersStorageValueChange(e))); this._register(this.compositeBar.onDidChange(() => { this.updateCompositeBarItemsFromStorage(true); this.saveCachedViewContainers(); })); this._register(this.storageService.onDidChangeValue(StorageScope.PROFILE, this.options.pinnedViewContainersKey, this._store)(() => this.updateCompositeBarItemsFromStorage(false))); }); }"} {"_id":"q-en-vscode-af385910eb8a04e1b4f2ad54a1ea0fc1cfadbbeb163e4c5022fc066eef8bbd46","text":" { \"displayName\": \"Dart Language Basics\", \"description\": \"Provides syntax highlighting & bracket matching in Dart files.\" } "} {"_id":"q-en-vscode-af54ac0fa2c1340bafd14c0bf3d89db71c1c0ce85b969d8b75dbc93bc72d9eac","text":"}, product: { nameShort: product.nameShort, version: product.version, version: !!product.darwinUniversalAssetId ? `${product.version} (Universal)` : product.version, commit: product.commit, date: product.date, reportIssueUrl: product.reportIssueUrl"} {"_id":"q-en-vscode-af6c13c92c9d5243724e8529297a8b413030b84f192a0ed9424da13b43adb74d","text":"this.onDidExitOrCrashOrKill(); })); // V8 Error this._register(Event.fromNodeEventEmitter(process, 'error', (type, location, report) => ({ type, location, report }))(({ type, location, report }) => { this.log(`crashed due to ${type} from V8 at ${location}`, Severity.Info); let addons: string[] = []; try { const reportJSON = JSON.parse(report); addons = reportJSON.sharedObjects .filter((sharedObject: string) => sharedObject.endsWith('.node')) .map((addon: string) => { const index = addon.indexOf('extensions') === -1 ? addon.indexOf('node_modules') : addon.indexOf('extensions'); return addon.substring(index); }); } catch (e) { // ignore } // Telemetry type UtilityProcessV8ErrorClassification = { processtype: { classification: 'SystemMetaData'; purpose: 'PerformanceAndHealth'; comment: 'The type of utility process to understand the origin of the crash better.' }; error: { classification: 'SystemMetaData'; purpose: 'PerformanceAndHealth'; comment: 'The type of error from the utility process to understand the nature of the crash better.' }; location: { classification: 'SystemMetaData'; purpose: 'PerformanceAndHealth'; comment: 'The source location that triggered the crash to understand the nature of the crash better.' }; addons: { classification: 'SystemMetaData'; purpose: 'PerformanceAndHealth'; comment: 'The list of addons loaded in the utility process to understand the nature of the crash better' }; owner: 'deepak1556'; comment: 'Provides insight into V8 sandbox FATAL error caused by native addons.'; }; type UtilityProcessV8ErrorEvent = { processtype: string; error: string; location: string; addons: string[]; }; this.telemetryService.publicLog2('utilityprocessv8error', { processtype: configuration.type, error: type, location, addons }); })); // Child process gone this._register(Event.fromNodeEventEmitter<{ details: Details }>(app, 'child-process-gone', (event, details) => ({ event, details }))(({ details }) => { if (details.type === 'Utility' && details.name === serviceName && !this.isNormalExit(details.exitCode)) {"} {"_id":"q-en-vscode-af6da6e122464c2f05810c1b64105a57f4afd0bb153801df738d6aa84c9d5b63","text":"\"config.rebaseWhenSync\": \"Force git to use rebase when running the sync command.\", \"config.confirmEmptyCommits\": \"Always confirm the creation of empty commits for the 'Git: Commit Empty' command.\", \"config.fetchOnPull\": \"When enabled, fetch all branches when pulling. Otherwise, fetch just the current one.\", \"config.fetchBeforeCheckout\": \"Controls whether a branch that does not have outgoing commits is fast-forwarded before it is checked out.\", \"config.pullBeforeCheckout\": \"Controls whether a branch that does not have outgoing commits is fast-forwarded before it is checked out.\", \"config.pullTags\": \"Fetch all tags when pulling.\", \"config.pruneOnFetch\": \"Prune when fetching.\", \"config.autoStash\": \"Stash any changes before pulling and restore them after successful pull.\","} {"_id":"q-en-vscode-af88d7224f29f7f30f0a6ce13efc0d6fc901c36c502a301b531574bd541292f8","text":"model.setLanguage(provider.options.language); } container.appendChild(this._editorContainer); this._keyListener = this._register(this._editorWidget.onKeyUp((e) => { if (e.keyCode === KeyCode.Escape) { this._contextViewService.hideContextView(); // Delay to allow the context view to hide #186514 setTimeout(() => provider.onClose(), 100); this._keyListener?.dispose(); } else if (e.keyCode === KeyCode.KeyD && this._configurationService.getValue(settingKey)) { this._configurationService.updateValue(settingKey, false); } else if (e.keyCode === KeyCode.KeyH && provider.options.readMoreUrl) { const url: string = provider.options.readMoreUrl!; alert(AccessibilityHelpNLS.openingDocs); this._openerService.open(URI.parse(url)); } e.stopPropagation(); provider.onKeyDown?.(e); })); this._register(this._editorWidget.onDidBlurEditorText(() => this._contextViewService.hideContextView())); this._register(this._editorWidget.onDidContentSizeChange(() => this._layout())); this._editorWidget.updateOptions({ ariaLabel: provider.options.ariaLabel }); this._editorWidget.focus(); }); return toDisposable(() => { }); const disposableStore = new DisposableStore(); disposableStore.add(this._editorWidget.onKeyUp((e) => { if (e.keyCode === KeyCode.Escape) { this._contextViewService.hideContextView(); // Delay to allow the context view to hide #186514 setTimeout(() => provider.onClose(), 100); } else if (e.keyCode === KeyCode.KeyD && this._configurationService.getValue(settingKey)) { this._configurationService.updateValue(settingKey, false); } e.stopPropagation(); provider.onKeyDown?.(e); })); disposableStore.add(this._editorWidget.onKeyDown((e) => { if (e.keyCode === KeyCode.KeyH && provider.options.readMoreUrl) { const url: string = provider.options.readMoreUrl!; alert(AccessibilityHelpNLS.openingDocs); this._openerService.open(URI.parse(url)); e.preventDefault(); e.stopPropagation(); } })); disposableStore.add(this._editorWidget.onDidBlurEditorText(() => this._contextViewService.hideContextView())); disposableStore.add(this._editorWidget.onDidContentSizeChange(() => this._layout())); return disposableStore; } private _layout(): void {"} {"_id":"q-en-vscode-af9a2cc38501c6b9fcf3f6b689bdc26a5cf1e348762bb32368c3c81efa629ddf","text":"constructor( private readonly editor: ICodeEditor, @ISpeechService private readonly speechService: ISpeechService, @IContextKeyService private readonly contextKeyService: IContextKeyService @IContextKeyService private readonly contextKeyService: IContextKeyService, @IKeybindingService private readonly keybindingService: IKeybindingService ) { super(); }"} {"_id":"q-en-vscode-afbc8363837b4c948a2209a3d3971928be9511975efeb3c68bbfd6bb72367fbb","text":"if (settingId !== this.currentProductIconTheme.settingsId) { await this.internalSetProductIconTheme(theme.id, undefined); } else if (theme !== this.currentProductIconTheme) { await theme.ensureLoaded(this.extensionResourceLoaderService, this.logService); this.applyAndSetProductIconTheme(theme, true); } return true;"} {"_id":"q-en-vscode-afd1860a76fb7da3982ec7be59b52b3c5020d9a6d9e22404d593cbba563185b3","text":"return await handler.handleURL(uri, options); } private async handleUnhandledURL(uri: URI, extensionIdentifier: IExtensionIdentifier): Promise { private async handleUnhandledURL(uri: URI, extensionIdentifier: IExtensionIdentifier, options?: IOpenURLOptions): Promise { const installedExtensions = await this.extensionManagementService.getInstalled(); const extension = installedExtensions.filter(e => areSameExtensions(e.identifier, extensionIdentifier))[0]; // Extension is installed if (extension) { const enabled = this.extensionEnablementService.isEnabled(extension); // Extension is not running. Reload the window to handle. if (enabled) { this.telemetryService.publicLog2('uri_invoked/activate_extension/start', { extensionId: extensionIdentifier.id }); const result = await this.dialogService.confirm({ message: localize('reloadAndHandle', \"Extension '{0}' is not loaded. Would you like to reload the window to load the extension and open the URL?\", extension.manifest.displayName || extension.manifest.name), detail: `${extension.manifest.displayName || extension.manifest.name} (${extensionIdentifier.id}) wants to open a URL:nn${uri.toString()}`, primaryButton: localize('reloadAndOpen', \"&&Reload Window and Open\"), type: 'question' }); if (!result.confirmed) { this.telemetryService.publicLog2('uri_invoked/activate_extension/cancel', { extensionId: extensionIdentifier.id }); return; } this.telemetryService.publicLog2('uri_invoked/activate_extension/accept', { extensionId: extensionIdentifier.id }); await this.reloadAndHandle(uri); } // Extension is disabled. Enable the extension and reload the window to handle. else if (this.extensionEnablementService.canChangeEnablement(extension)) { this.telemetryService.publicLog2('uri_invoked/enable_extension/start', { extensionId: extensionIdentifier.id }); const result = await this.dialogService.confirm({ message: localize('enableAndHandle', \"Extension '{0}' is disabled. Would you like to enable the extension and reload the window to open the URL?\", extension.manifest.displayName || extension.manifest.name), detail: `${extension.manifest.displayName || extension.manifest.name} (${extensionIdentifier.id}) wants to open a URL:nn${uri.toString()}`, primaryButton: localize('enableAndReload', \"&&Enable and Open\"), type: 'question' }); if (!result.confirmed) { this.telemetryService.publicLog2('uri_invoked/enable_extension/cancel', { extensionId: extensionIdentifier.id }); return; } this.telemetryService.publicLog2('uri_invoked/enable_extension/accept', { extensionId: extensionIdentifier.id }); await this.extensionEnablementService.setEnablement([extension], EnablementState.EnabledGlobally); await this.reloadAndHandle(uri); } } let extension = installedExtensions.find(e => areSameExtensions(e.identifier, extensionIdentifier)); // Extension is not installed else { if (!extension) { let galleryExtension: IGalleryExtension | undefined; try {"} {"_id":"q-en-vscode-b001d19aa04edac25819d3ef3cf36a650df4ad3c6825009ab8015dcc11fd47a2","text":"window.onload = () => { if (window.initialData.scrollPreviewWithEditorSelection) { const initialLine = +window.initialData.line || 0; setTimeout(() => { scrollDisabled = true; scrollToRevealSourceLine(initialLine); }, 0); const initialLine = +window.initialData.line; if (!isNaN(initialLine)) { setTimeout(() => { scrollDisabled = true; scrollToRevealSourceLine(initialLine); }, 0); } } };"} {"_id":"q-en-vscode-b014c238147bbe6aaa15b657ae260473468de382263536f2ffc888ce232314d0","text":" font-src ${this._webviewPanel.webview.cspSource}; font-src data:; style-src ${this._webviewPanel.webview.cspSource}; script-src 'nonce-${nonce}'; frame-src *;"} {"_id":"q-en-vscode-b01b40fc3e6220a9c1ce35d3fbb612534894be51a74768287dce3d4c5d9ee74c","text":"readonly type: string; readonly entrypoint: URI; readonly extensionLocation: URI; readonly localResourceRoots: readonly URI[]; } export interface IOrderedMimeType {"} {"_id":"q-en-vscode-b034a1c55b2f20e150cdcf2d1170cf575cea46c4af3b4799c9e1623f968a8919","text":"alert(localize('disableAccessibilityHelp', '{0} accessibility verbosity is now disabled', this._currentProvider.verbositySettingKey)); } private _render(provider: IAccessibleContentProvider, container: HTMLElement): IDisposable { this._currentProvider = provider; private _render(provider: IAccessibleContentProvider, container: HTMLElement, internal?: boolean): IDisposable { if (!internal) { this._currentProvider = provider; } const value = this._configurationService.getValue(provider.verbositySettingKey); const readMoreLink = provider.options.readMoreUrl ? localize(\"openDoc\", \"nPress H now to open a browser window with more information related to accessibility.n\") : ''; const disableHintKb = this._keybindingService.lookupKeybinding('editor.action.accessibleViewDisableHint')?.getAriaLabel(); let disableHelpHint; let disableHelpHint = ''; if (provider.options.type === AccessibleViewType.Help && !!value) { if (disableHintKb) { disableHelpHint = localize('disable-help-hint', 'nTo disable the `accessibility.verbosity` hint for this feature, press {0} now.n', disableHintKb); } else { disableHelpHint = localize('disable-help-hint-no-b', 'nTo disable the `accessibility.verbosity` hint for this feature, assign a keybinding to the Disable Accessible View Hint command, which is currently not triggerable via keybinding.n'); } } else { disableHelpHint = 'n'; disableHelpHint = this._getDisableVerbosityHint(provider.verbositySettingKey); } const accessibilitySupport = this._accessibilityService.isScreenReaderOptimized(); let message = '';"} {"_id":"q-en-vscode-b0503b551f8640aa2e1bc9115e7f7b161a410a0ecb5040a42ddcdd666ebee726","text":"menu: { id: MenuId.ChatCodeBlock, group: 'navigation', } }, keybinding: { when: CONTEXT_ACCESSIBILITY_MODE_ENABLED, primary: KeyMod.CtrlCmd | KeyCode.Enter, mac: { primary: KeyMod.WinCtrl | KeyCode.Enter }, weight: KeybindingWeight.WorkbenchContrib }, }); }"} {"_id":"q-en-vscode-b0574fae9a047549120035f197ca24515b7e060ccb2014980e4904e89aca5d45","text":" { \"name\": \"dart\", \"displayName\": \"%displayName%\", \"description\": \"%description%\", \"version\": \"1.0.0\", \"publisher\": \"vscode\", \"license\": \"MIT\", \"engines\": { \"vscode\": \"0.10.x\" }, \"scripts\": { \"update-grammar\": \"node ../node_modules/vscode-grammar-updater/bin dart-lang/dart-syntax-highlight grammars/dart.json ./syntaxes/dart.tmLanguage.json\" }, \"contributes\": { \"languages\": [ { \"id\": \"dart\", \"extensions\": [ \".dart\" ], \"aliases\": [ \"Dart\" ], \"configuration\": \"./syntaxes/dart-language-configuration.json\" } ], \"grammars\": [ { \"language\": \"dart\", \"scopeName\": \"source.dart\", \"path\": \"./syntaxes/dart.tmLanguage.json\" } ] } } "} {"_id":"q-en-vscode-b074b901d0872a50508120b168a615281c6c28643e85cc4bc47f71508b66c0ba","text":"}, getRole: options.ariaProvider!.getRole ? (el) => { return options.ariaProvider!.getRole!(el.element as T); } : undefined, } : () => 'treeitem', isChecked: options.ariaProvider!.isChecked ? (e) => { return options.ariaProvider?.isChecked!(e.element as T); } : undefined"} {"_id":"q-en-vscode-b0c9a9e76f373358878efb7036721d7f7611ab5be19148487cf1498b38b1aeb7","text":"})); } this._register(this._quickFixService.onDidRegisterProvider(result => this.registerCommandFinishedListener(convertToQuickFixOptions(result)))); for (const selector of terminalContributionService.quickFixes) { this.registerCommandSelector(selector); } terminalContributionService.quickFixes.then(quickFixSelectors => { for (const selector of quickFixSelectors) { this.registerCommandSelector(selector); } }); this._register(this._quickFixService.onDidRegisterCommandSelector(selector => this.registerCommandSelector(selector))); this._register(this._quickFixService.onDidUnregisterProvider(id => this._commandListeners.delete(id))); }"} {"_id":"q-en-vscode-b145b23b0442a9ce12fced03947048cd6da66ae7bb540d27d55572f8113de1ea","text":"import { getSimpleEditorOptions } from 'vs/workbench/contrib/codeEditor/browser/simpleEditorOptions'; const enum DIMENSION_DEFAULT { WIDTH = .6, HEIGHT = 200 WIDTH = 800 } export interface IAccessibleContentProvider {"} {"_id":"q-en-vscode-b15e3b3dc9d5dc671ae07c894c6b7642fc272e3f68417cb34a650a72abc57f55","text":"// Set up nls if the user is not using the default language (English) const nlsConfig = {}; const locale = window.localStorage.getItem('vscode.nls.locale') || navigator.language; // Normalize locale to lowercase because translationServiceUrl is case-sensitive. // ref: https://github.com/microsoft/vscode/issues/187795 const locale = window.localStorage.getItem('vscode.nls.locale') || navigator.language.toLowerCase(); if (!locale.startsWith('en')) { nlsConfig['vs/nls'] = { availableLanguages: {"} {"_id":"q-en-vscode-b1813e8e53f120d09b1a34e605a5cd83fad7868522e751bca0c6a179a7ecd1c3","text":"import { DEFAULT_EDITOR_ASSOCIATION } from 'vs/workbench/common/editor'; import { KeybindingWeight } from 'vs/platform/keybinding/common/keybindingsRegistry'; import { KeyCode, KeyMod } from 'vs/base/common/keyCodes'; import { CellEditType, NOTEBOOK_DIFF_EDITOR_ID } from 'vs/workbench/contrib/notebook/common/notebookCommon'; import { CellEditType, ICellEditOperation, NOTEBOOK_DIFF_EDITOR_ID } from 'vs/workbench/contrib/notebook/common/notebookCommon'; import { ITextResourceConfigurationService } from 'vs/editor/common/services/textResourceConfiguration'; import { NotebookMultiTextDiffEditor } from 'vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor'; import { Codicon } from 'vs/base/common/codicons';"} {"_id":"q-en-vscode-b19401e7bd364e1f2e194438f5c0226dc3ad6a2e431b33f88717f47d69cef590","text":"if (styles.backgroundColor) { content.push(`.monaco-workbench { background-color: ${styles.backgroundColor} !important; }`); content.push(`.issue-reporter-body::-webkit-scrollbar-track { background-color: ${styles.backgroundColor}; }`); } if (styles.inputBorder) {"} {"_id":"q-en-vscode-b22ae809559ad005a360571833c4553d54fe49900fdb36659357c4f2a1084445","text":"} const decorations = this._context.viewModel.getAllOverviewRulerDecorations(this._context.theme); decorations.sort(OverviewRulerDecorationsGroup.cmp); decorations.sort(OverviewRulerDecorationsGroup.compareByRenderingProps); if (this._actualShouldRender === ShouldRenderValue.Maybe && !OverviewRulerDecorationsGroup.equalsArr(this._renderedDecorations, decorations)) { this._actualShouldRender = ShouldRenderValue.Needed;"} {"_id":"q-en-vscode-b264d613af9bd74aa66bf74868b6872877d18943ff883cd76b5974440a183fb2","text":"await this._init(); let treatments = this.treatment?.extensions.filter(extension => !this.ignoredExtensions.has(extension)) ?? new Array(); let treatments = this.treatment?.extensions?.filter(extension => !this.ignoredExtensions.has(extension)) ?? new Array(); const featuredExtensions: IFeaturedExtension[] = new Array(); if (this.treatment?.showAsList !== 'true' && treatments.length > 0) {"} {"_id":"q-en-vscode-b28b4145e75c3cf21f5e44a7f63c87fb59672e05ea8e8ac342f027fab786cf31","text":"addRecentlyOpened(recents: IRecent[]): Promise; getRecentlyOpened(): Promise; removeRecentlyOpened(paths: URI[]): Promise; clearRecentlyOpened(): Promise; clearRecentlyOpened(options?: { confirm?: boolean }): Promise; } export class WorkspacesHistoryMainService extends Disposable implements IWorkspacesHistoryMainService {"} {"_id":"q-en-vscode-b2a094c90a06fd026a77e13bd66f78ca8dc1b57dfb58daffa1f9af0ed437969d","text":"} async getRefs(query: RefQuery = {}, cancellationToken?: CancellationToken): Promise { return await this.run(Operation.GetRefs, () => { return this.repository.getRefs(query, cancellationToken); }); const config = workspace.getConfiguration('git'); let defaultSort = config.get<'alphabetically' | 'committerdate'>('branchSortOrder'); if (defaultSort !== 'alphabetically' && defaultSort !== 'committerdate') { defaultSort = 'alphabetically'; } query = { ...query, sort: query?.sort ?? defaultSort }; return await this.run(Operation.GetRefs, () => this.repository.getRefs(query, cancellationToken)); } async getRemoteRefs(remote: string, opts?: { heads?: boolean; tags?: boolean }): Promise {"} {"_id":"q-en-vscode-b2b7a6fa324b22f62d5f9f06387be9be3b5e000fffc984cdb4c9acb9c474d6b9","text":"if (instance.shellLaunchConfig.ignoreShellIntegration) { shellIntegrationString += `${markdown ? 'nn---nn' : 'nn'} ${localize('launchFailed.exitCodeOnlyShellIntegration', \"The terminal process failed to launch. Disabling shell integration with terminal.integrated.shellIntegration.enabled might help.\")}`; } else { shellIntegrationString += `${markdown ? 'nn---nn' : 'nn'} ${localize('shellIntegration.activationFailed', \"Shell integration failed to activate\")}`; if (instance.usedShellIntegrationInjection) { shellIntegrationString += `${markdown ? 'nn---nn' : 'nn'} ${localize('shellIntegration.activationFailed', \"Shell integration failed to activate\")}`; } } } return shellIntegrationString;"} {"_id":"q-en-vscode-b2d9d5898ee6c603766061339c4aafa5b76e58028c6244e2e3c40ab21ca73273","text":"test('Aggressive inline completions when typing within line #146948', async function () { const completions: SuggestInlineCompletions = insta.createInstance(SuggestInlineCompletions); const completions: SuggestInlineCompletions = disposables.add(insta.createInstance(SuggestInlineCompletions)); { // (1,3), end of word -> suggestions"} {"_id":"q-en-vscode-b2e6bfc899ea1aeb08b79af31e71217a80b6b80e902df6e372c59843a2614ea6","text":"key: 'workbench.editor.untitled.hint', migrateFn: (value, _accessor) => ([ [emptyTextEditorHintSetting, { value }], ['workbench.editor.untitled.hint', { value: undefined }] ]) }, { key: 'accessibility.verbosity.untitledHint', migrateFn: (value, _accessor) => ([ [AccessibilityVerbositySettingId.EmptyEditorHint, { value }], ['accessibility.verbosity.untitledHint', { value: undefined }] ]) }]);"} {"_id":"q-en-vscode-b2f5b5149b999e1efd10001264ebda2e96ce663279b44b9dd7b04024003e6115","text":"@IThemeService private readonly _themeService: IThemeService, @IConfigurationService private readonly _configurationService: IConfigurationService ) { super({ showCommonFindToggles: true, checkImeCompletionState: true, showResultCount: true, type: 'Terminal', matchesLimit: XtermTerminalConstants.SearchHighlightLimit }, _contextViewService, _contextKeyService, keybindingService); super({ showCommonFindToggles: true, checkImeCompletionState: true, showResultCount: true, appendCaseSensitiveActionId: TerminalCommandId.ToggleFindCaseSensitive, appendRegexActionId: TerminalCommandId.ToggleFindRegex, appendWholeWordsActionId: TerminalCommandId.ToggleFindWholeWord, previousMatchActionId: TerminalCommandId.FindPrevious, nextMatchActionId: TerminalCommandId.FindNext, closeWidgetActionId: TerminalCommandId.FindHide, type: 'Terminal', matchesLimit: XtermTerminalConstants.SearchHighlightLimit }, _contextViewService, _contextKeyService, keybindingService); this._register(this.state.onFindReplaceStateChange(() => { this.show();"} {"_id":"q-en-vscode-b30ac48da80e95c3755abf2a1effc079b08f11394c5406db862ff439d7cfae31","text":".action-widget .monaco-list-row.action.option-disabled, .action-widget .monaco-list:focus .monaco-list-row.focused.action.option-disabled, .action-widget .monaco-list-row.action.option-disabled .codicon { .action-widget .monaco-list-row.action.option-disabled .codicon, .action-widget .monaco-list:not(.drop-target):not(.dragging) .monaco-list-row:hover:not(.selected):not(.focused).option-disabled { color: var(--vscode-disabledForeground); }"} {"_id":"q-en-vscode-b3396ad5cac3d6648fc03473bd4330fea3b2ed51d7f81e74378a93bce2f2cf24","text":"} else if (name === 'nu') { // nushell requires ^ before quoted path to treat it as a command command = `^'${process.execPath}' ${extraArgs} -p '\"${mark}\" + JSON.stringify(process.env) + \"${mark}\"'`; shellArgs = ['-i', '-l', '-c']; } else if (name === 'xonsh') { // #200374: native implementation is shorter command = `import os, json; print(\"${mark}\", json.dumps(dict(os.environ)), \"${mark}\")`; shellArgs = ['-i', '-l', '-c']; } else { command = `'${process.execPath}' ${extraArgs} -p '\"${mark}\" + JSON.stringify(process.env) + \"${mark}\"'`;"} {"_id":"q-en-vscode-b3714d1c3b27d3bcc0c69bc50e1b441c7a9a6870b02086b5571d24ac9e332ebb","text":"showMethods: boolean(input.showMethods, this.defaultValue.showMethods), showFunctions: boolean(input.showFunctions, this.defaultValue.showFunctions), showConstructors: boolean(input.showConstructors, this.defaultValue.showConstructors), showDeprecated: boolean(input.showDeprecated, this.defaultValue.showDeprecated), showFields: boolean(input.showFields, this.defaultValue.showFields), showVariables: boolean(input.showVariables, this.defaultValue.showVariables), showClasses: boolean(input.showClasses, this.defaultValue.showClasses),"} {"_id":"q-en-vscode-b379ede8eeffb205753a2db6184f430f8824d59cc0b5376f595de0e078122dd1","text":"import { CompletionItem, getSuggestionComparator, SnippetSortOrder } from 'vs/editor/contrib/suggest/browser/suggest'; import { WordDistance } from 'vs/editor/contrib/suggest/browser/wordDistance'; export function createSuggestItem(label: string, overwriteBefore: number, kind = languages.CompletionItemKind.Property, incomplete: boolean = false, position: IPosition = { lineNumber: 1, column: 1 }, sortText?: string, filterText?: string): CompletionItem { export function createSuggestItem(label: string | languages.CompletionItemLabel, overwriteBefore: number, kind = languages.CompletionItemKind.Property, incomplete: boolean = false, position: IPosition = { lineNumber: 1, column: 1 }, sortText?: string, filterText?: string): CompletionItem { const suggestion: languages.CompletionItem = { label, sortText, filterText, range: { startLineNumber: position.lineNumber, startColumn: position.column - overwriteBefore, endLineNumber: position.lineNumber, endColumn: position.column }, insertText: label, insertText: typeof label === 'string' ? label : label.label, kind }; const container: languages.CompletionList = {"} {"_id":"q-en-vscode-b3a3fbcdad9c1b6f9e86bab1f9a87a8f379653e58541ec288330961f893a765d","text":"} } updateOptions(e: NotebookOptionsChangeEvent) { override updateOptions(e: NotebookOptionsChangeEvent) { super.updateOptions(e); if (e.cellStatusBarVisibility || e.insertToolbarPosition || e.cellToolbarLocation) { this.layoutChange({}); }"} {"_id":"q-en-vscode-b3b5a66d90cc494ef81ff52adefe01be044e0bbe2c955b5c5f95506edd661f6c","text":" { \"comments\": { \"lineComment\": \"//\", \"blockComment\": [ \"/*\", \"*/\" ] }, \"brackets\": [ [\"{\", \"}\"], [\"[\", \"]\"], [\"(\", \")\"] ], \"autoClosingPairs\": [ { \"open\": \"{\", \"close\": \"}\" }, { \"open\": \"[\", \"close\": \"]\" }, { \"open\": \"(\", \"close\": \")\" }, { \"open\": \"'\", \"close\": \"'\", \"notIn\": [\"string\", \"comment\"] }, { \"open\": \"\"\", \"close\": \"\"\", \"notIn\": [\"string\"] }, { \"open\": \"`\", \"close\": \"`\", \"notIn\": [\"string\", \"comment\"] }, { \"open\": \"/**\", \"close\": \" */\", \"notIn\": [\"string\"] } ], \"surroundingPairs\": [ [\"{\", \"}\"], [\"[\", \"]\"], [\"(\", \")\"], [\"<\", \">\"], [\"'\", \"'\"], [\"\"\", \"\"\"], [\"`\", \"`\"] ] } "} {"_id":"q-en-vscode-b4243711fe5f45dc67d0818a1f80602207041ac49cc90afc894c1c23f74b5d4b","text":"cachedViewContainer = cachedViewContainer || this.cachedViewContainers.find(({ id }) => id === viewContainerId); // Show builtin ViewContainer if not registered yet if (!viewContainer && cachedViewContainer?.isBuiltin) { if (!viewContainer && cachedViewContainer?.isBuiltin && cachedViewContainer?.visible) { return false; }"} {"_id":"q-en-vscode-b482019b3456f40beb6f8fb70b5db62eb6e6f834ca7b8fb18e52886eb381329e","text":"} } quickPick.selectedItems = selectedItems; quickPick.onDidChangeSelection(async e => { this._register(quickPick.onDidChangeSelection(async e => { let newValue: 'both' | 'gutter' | 'overviewRuler' | 'never' = 'never'; if (e.includes(gutterIcon)) { if (e.includes(overviewRulerIcon)) {"} {"_id":"q-en-vscode-b4cf89c895eb0b133ff51e05734153fb6c1afcca33db46788e29c17998dc41e9","text":"icon: new ThemeIcon('target') }); break; case ref.startsWith('tag: refs/tags/'): references.push({ id: ref.substring('tag: '.length), name: ref.substring('tag: refs/tags/'.length), revision: commit.hash, icon: new ThemeIcon('tag') }); break; case ref.startsWith('refs/heads/'): references.push({ id: ref,"} {"_id":"q-en-vscode-b4d222a4ab973db9638e6150a02d9e65bc51f4891f08a7f737fabab53428299b","text":"os: `${os.type()} ${os.arch()} ${os.release()}${isSnap ? ' snap' : ''}` }, extensionsDisabled: !!this.environmentService.disableExtensions, fileOnExtension: configuration.data.extensionId ? true : undefined, selectedExtension: configuration.data.extensionId ? configuration.data.enabledExtensions.filter(extension => extension.id === configuration.data.extensionId)[0] : undefined fileOnExtension: configuration.data.extensionId ? !targetExtension?.isBuiltin : undefined, selectedExtension: targetExtension, }); const issueReporterElement = this.getElementById('issue-reporter');"} {"_id":"q-en-vscode-b4d7bf7ff60a7ebcc7cef4aa36eac114d742bd928e360b81a8b2060471c5810b","text":"if (model) { this._bufferEditor.setModel(model); } this._bufferEditor.onDidFocusEditorText(() => this._accessibleBuffer.classList.add('active')); if (!this._registered) { this._bufferEditor.layout({ width: this._xtermElement.clientWidth, height: this._xtermElement.clientHeight }); this._bufferEditor.onKeyDown((e) => { // tab moves focus mode will prematurely move focus to the next element before // xterm can be focused if (e.keyCode === KeyCode.Escape || e.keyCode === KeyCode.Tab) { e.stopPropagation(); e.preventDefault(); this._hide(); } });"} {"_id":"q-en-vscode-b4eaaa9e25bc1230bbb2479a28c38e9da4dcdc0f60b76bec5c7a17ec12ce7e89","text":"\"license\": \"MIT\", \"description\": \"Dependencies shared by all extensions\", \"dependencies\": { \"typescript\": \"5.4.3\" \"typescript\": \"5.4.4\" }, \"scripts\": { \"postinstall\": \"node ./postinstall.mjs\""} {"_id":"q-en-vscode-b5527be3ab7f1f3164d16fd5c096232c679950adc486898dff5674d864f48677","text":"} } input(data: string, isBinary?: boolean): void { input(data: string, isBinary: boolean = false): void { if (this._store.isDisposed || !this._ptyProcess) { return; } for (let i = 0; i <= Math.floor(data.length / Constants.WriteMaxChunkSize); i++) { const obj = { isBinary: isBinary || false, data: data.substr(i * Constants.WriteMaxChunkSize, Constants.WriteMaxChunkSize) }; this._writeQueue.push(obj); } this._writeQueue.push(...chunkInput(data).map(e => { return { isBinary, data: e }; })); this._startWrite(); }"} {"_id":"q-en-vscode-b5a8259cf422dce16d901411f8c6ad78f687b8cac2edf3e8138f644c06cb5675","text":" /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { deepStrictEqual } from 'assert'; import { ensureNoDisposablesAreLeakedInTestSuite } from 'vs/base/test/common/utils'; import { chunkInput } from 'vs/platform/terminal/common/terminalProcess'; suite('platform - terminalProcess', () => { ensureNoDisposablesAreLeakedInTestSuite(); suite('chunkInput', () => { test('single chunk', () => { deepStrictEqual(chunkInput('foo bar'), ['foo bar']); }); test('multi chunk', () => { deepStrictEqual(chunkInput('foo'.repeat(50)), [ 'foofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofo', 'ofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoof', 'oofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoo' ]); }); test('small data with escapes', () => { deepStrictEqual(chunkInput('foo x1b[30mbar'), [ 'foo ', 'x1b[30mbar' ]); }); test('large data with escapes', () => { deepStrictEqual(chunkInput('foofoofoofoox1b[30mbarbarbarbarbarx1b[0m'.repeat(3)), [ 'foofoofoofoo', 'x1B[30mbarbarbarbarbar', 'x1B[0mfoofoofoofoo', 'x1B[30mbarbarbarbarbar', 'x1B[0mfoofoofoofoo', 'x1B[30mbarbarbarbarbar', 'x1B[0m' ]); }); }); }); "} {"_id":"q-en-vscode-b5bf1254c745a15a599612029ddb3f654dbf610355e18dfb97f8d3857fb5fdfa","text":"return id.toLocaleLowerCase(); } export function getGalleryExtensionId(publisher: string, name: string): string { return adoptToGalleryExtensionId(getExtensionId(publisher, name)); export function getGalleryExtensionId(publisher: string | undefined, name: string): string { return adoptToGalleryExtensionId(getExtensionId(publisher ?? UNDEFINED_PUBLISHER, name)); } export function groupByExtension(extensions: T[], getExtensionIdentifier: (t: T) => IExtensionIdentifier): T[][] {"} {"_id":"q-en-vscode-b5ec74ca9bb1291665aaa9c629547437aacf9c5081a753ceb3196212ff81217b","text":"return true; } public override onLineMappingChanged(e: viewEvents.ViewLineMappingChangedEvent): boolean { const keys = Object.keys(this._widgets); for (const widgetId of keys) { this._widgets[widgetId].onLineMappingChanged(e); } this._updateAnchorsViewPositions(); return true; } public override onLinesChanged(e: viewEvents.ViewLinesChangedEvent): boolean { this._updateAnchorsViewPositions(); return true; } public override onLinesDeleted(e: viewEvents.ViewLinesDeletedEvent): boolean { this._updateAnchorsViewPositions(); return true; } public override onLinesInserted(e: viewEvents.ViewLinesInsertedEvent): boolean { this._updateAnchorsViewPositions(); return true; } public override onScrollChanged(e: viewEvents.ViewScrollChangedEvent): boolean {"} {"_id":"q-en-vscode-b5f17799386681e5362b3167481e80562a17fa09449434d1fcf9c84bd6a31d02","text":"openFolderInNewWindow = (windowConfig.openFoldersInNewWindow === 'on'); } // Handle files to open/diff or to create when we dont open a folder if (!foldersToOpen.length && (filesToOpen.length > 0 || filesToCreate.length > 0 || filesToDiff.length > 0)) { // Handle files to open/diff or to create when we dont open a folder and we do not restore any folder/untitled from hot-exit if (!foldersToOpen.length && !foldersToRestore.length && !emptyToRestore.length && (filesToOpen.length > 0 || filesToCreate.length > 0 || filesToDiff.length > 0)) { // let the user settings override how files are open in a new window or same window unless we are forced (not for extension development though) let openFilesInNewWindow: boolean;"} {"_id":"q-en-vscode-b6c52eaa7b1c526ba2c5c6ac2ae259cf69388ff51ae10fe455cde77155f35427","text":"argv.push(`--prof-startup-prefix`, filenamePrefix); argv.push(`--no-cached-data`); writeFileAndFlushSync(filenamePrefix, argv.slice(-6).join('|')); fs.writeFileSync(filenamePrefix, argv.slice(-6).join('|')); processCallbacks.push(async child => {"} {"_id":"q-en-vscode-b6c78b3bcbdb2337cec49fa40c62e7e7e48d8f9ef0796cb983ededbcb8107449","text":"{ id: 'workspaceTrust', title: localize('gettingStarted.workspaceTrust.title', \"Safely browse and edit code\"), description: localize('gettingStarted.workspaceTrust.description.interpolated', \"{0} lets you decide whether your project folders should **allow or restrict** automatic code execution __(required for extensions, debugging, etc)__.nOpening a file/folder will prompt to grant trust. You can always {1} later.\", Button(localize('workspaceTrust', \"Workspace Trust\"), 'https://github.com/microsoft/vscode-docs/blob/workspaceTrust/docs/editor/workspace-trust.md'), Button(localize('enableTrust', \"enable trust\"), 'command:toSide:workbench.action.manageTrustedDomain')), description: localize('gettingStarted.workspaceTrust.description.interpolated', \"{0} lets you decide whether your project folders should **allow or restrict** automatic code execution __(required for extensions, debugging, etc)__.nOpening a file/folder will prompt to grant trust. You can always {1} later.\", Button(localize('workspaceTrust', \"Workspace Trust\"), 'https://code.visualstudio.com/docs/editor/workspace-trust'), Button(localize('enableTrust', \"enable trust\"), 'command:toSide:workbench.action.manageTrustedDomain')), when: 'workspacePlatform != 'webworker' && !isWorkspaceTrusted && workspaceFolderCount == 0', media: { type: 'svg', altText: 'Workspace Trust editor in Restricted mode and a primary button for switching to Trusted mode.', path: 'workspaceTrust.svg'"} {"_id":"q-en-vscode-b6cc7b508c3e15094803dc0d99a656b4ac0daafb36c65e50bed5cd5d3170bc5e","text":"continue; } if (!m.lineRangeMapping.modified.isEmpty && m.lineRangeMapping.innerChanges) { const btn = new RevertButton(m.lineRangeMapping.modified.startLineNumber, this._widget, m.lineRangeMapping.innerChanges, false); const btn = store.add(new RevertButton(m.lineRangeMapping.modified.startLineNumber, this._widget, m.lineRangeMapping.innerChanges, false)); this._editors.modified.addGlyphMarginWidget(btn); glyphWidgetsModified.push(btn); }"} {"_id":"q-en-vscode-b6d9e58e61c53228fc5aabb524c9158e1fe2172b0d63f12f7f5a2d732d7dc222","text":"} async function main(arch = process.arch): Promise { const version = product.electronRepository ? '22.5.3' : util.getElectronVersion(); const version = product.electronRepository ? '22.5.4' : util.getElectronVersion(); const electronPath = path.join(root, '.build', 'electron'); const versionFile = path.join(electronPath, 'version'); const isUpToDate = fs.existsSync(versionFile) && fs.readFileSync(versionFile, 'utf8') === `${version}`;"} {"_id":"q-en-vscode-b71fc4712e7022a0d638a979fa2052fac728e706f401356c2a517ee9effed202","text":"private _pidPromiseComplete: (value: number) => any; private readonly _onData: Emitter = new Emitter(); public get onData(): Event { public get onDidWriteData(): Event { // Tell the main side to start sending data if it's not already this._proxy.$registerOnDataListener(this._id); return this._onData && this._onData.event;"} {"_id":"q-en-vscode-b76008530f9c31c0cfbe53517a38ddd6e39df2e44f581b960b37ac5b15f4c3c1","text":"return; } const overrideToUse = typeof id === 'string' && allEditorOverrides.find(([_, entry]) => entry.id === id); let overrideToUse; if (typeof id === 'string') { overrideToUse = allEditorOverrides.find(([_, entry]) => entry.id === id); } else if (allEditorOverrides.length === 1) { overrideToUse = allEditorOverrides[0]; } if (overrideToUse) { return overrideToUse[0].open(input, overrideOptions, group, OpenEditorContext.NEW_EDITOR)?.override; }"} {"_id":"q-en-vscode-b769736cdecc9ca66fa6d24d082be5e97e19abe16e21a4e7d92a4de65454aa5a","text":"\"git\": { \"name\": \"electron\", \"repositoryUrl\": \"https://github.com/electron/electron\", \"commitHash\": \"0b17a201195ae6445e11cee50e436a3511717600\" \"commitHash\": \"fcbd88f8aa27b1b603d267e5ebe0b7d748375c43\" } }, \"isOnlyProductionDependency\": true, \"license\": \"MIT\", \"version\": \"22.3.5\" \"version\": \"22.3.6\" }, { \"component\": {"} {"_id":"q-en-vscode-b78cb9ee49005c89602dbb0342531e3165161d457842a3f858ec9adbc35786e9","text":"// handle the case where the mouse is over the view zone const viewZoneData = target.detail; if (controller.shouldShowHoverAtViewZone(viewZoneData.viewZoneId)) { return new HoverForeignElementAnchor(1000, this, Range.fromPositions(this._editor.getModel()!.validatePosition(viewZoneData.positionBefore || viewZoneData.position)), mouseEvent.event.posx, mouseEvent.event.posy); return new HoverForeignElementAnchor(1000, this, Range.fromPositions(this._editor.getModel()!.validatePosition(viewZoneData.positionBefore || viewZoneData.position)), mouseEvent.event.posx, mouseEvent.event.posy, false); } } if (target.type === MouseTargetType.CONTENT_EMPTY) { // handle the case where the mouse is over the empty portion of a line following ghost text if (controller.shouldShowHoverAt(target.range)) { return new HoverForeignElementAnchor(1000, this, target.range, mouseEvent.event.posx, mouseEvent.event.posy); return new HoverForeignElementAnchor(1000, this, target.range, mouseEvent.event.posx, mouseEvent.event.posy, false); } } if (target.type === MouseTargetType.CONTENT_TEXT) { // handle the case where the mouse is directly over ghost text const mightBeForeignElement = target.detail.mightBeForeignElement; if (mightBeForeignElement && controller.shouldShowHoverAt(target.range)) { return new HoverForeignElementAnchor(1000, this, target.range, mouseEvent.event.posx, mouseEvent.event.posy); return new HoverForeignElementAnchor(1000, this, target.range, mouseEvent.event.posx, mouseEvent.event.posy, false); } } return null;"} {"_id":"q-en-vscode-b7e5bde55ee022d6737ac68bfb69c2a7fc8b935576229eacaf862e41c93ef53e","text":"this.message = localize('profileNameRequired', \"Profile name is required.\"); return; } if (this.name !== this.getInitialName() && this.userDataProfilesService.profiles.some(p => p.name === this.name)) { if (this.shouldValidateName() && this.name !== this.getInitialName() && this.userDataProfilesService.profiles.some(p => p.name === this.name)) { this.message = localize('profileExists', \"Profile with name {0} already exists.\", this.name); return; }"} {"_id":"q-en-vscode-b805b35fb5582b2dbfb4fac987aaf5e7c3d67b57e693d5440df381b338580f93","text":"bar.style.width = `${progress}%`; (element.parentElement as HTMLElement).classList[stats.stepsComplete === 0 ? 'add' : 'remove']('no-progress'); (element.parentElement as HTMLElement).classList.toggle('no-progress', stats.stepsComplete === 0); if (stats.stepsTotal === stats.stepsComplete) { bar.title = localize('gettingStarted.allStepsComplete', \"All {0} steps complete!\", stats.stepsComplete); } else { bar.title = localize('gettingStarted.someStepsComplete', \"{0} of {1} steps complete\", stats.stepsTotal, stats.stepsComplete); bar.title = localize('gettingStarted.someStepsComplete', \"{0} of {1} steps complete\", stats.stepsComplete, stats.stepsTotal); } }); }"} {"_id":"q-en-vscode-b844a5703f630e5483a3037dd16c0dff1e6495373da56a6cdf4af077a40c4250","text":"name: cachedViewContainer.name, order: cachedViewContainer.order, pinned: cachedViewContainer.pinned, visible: cachedViewContainer.visible, visible: cachedViewContainer.visible && !!this.getViewContainer(cachedViewContainer.id), }); }"} {"_id":"q-en-vscode-b8572163874592d8c614ae23abc2c507303d68cc1473cb854991c3d548df1feb","text":"import { IAccessibilityService } from 'vs/platform/accessibility/common/accessibility'; import { BrowserAccessibilityService } from 'vs/platform/accessibility/common/accessibilityService'; import { ILayoutService } from 'vs/platform/layout/browser/layoutService'; import { ICodeLensCache, CodeLensCache } from 'vs/editor/contrib/codelens/codeLensCache'; export interface IEditorOverrideServices { [index: string]: any;"} {"_id":"q-en-vscode-b916cde8d283f12bb47a90fd9783a9d1c6a247552ef7c3aaa727237b8f167915","text":"import { ILanguageService } from '../../../../editor/common/languages/language.js'; import { tokenizeToString } from '../../../../editor/common/languages/textToHtmlTokenizer.js'; import { IExtensionService } from '../../../services/extensions/common/extensions.js'; import { markedGfmHeadingIdPlugin } from './markedGfmHeadingIdPlugin.js'; export const DEFAULT_MARKDOWN_STYLES = ` body {"} {"_id":"q-en-vscode-b95ec40189e8615d92d1b1c6e004bd5d05910c066fb2dee3fd4368010dd3c7cf","text":"import { VIEW_PANE_ID, ISCMService, ISCMRepository, ISCMViewService } from 'vs/workbench/contrib/scm/common/scm'; import { IActivityService, NumberBadge } from 'vs/workbench/services/activity/common/activity'; import { IWorkbenchContribution } from 'vs/workbench/common/contributions'; import { IContextKeyService } from 'vs/platform/contextkey/common/contextkey'; import { IContextKey, IContextKeyService } from 'vs/platform/contextkey/common/contextkey'; import { IStatusbarService, StatusbarAlignment as MainThreadStatusBarAlignment } from 'vs/workbench/services/statusbar/browser/statusbar'; import { IEditorService } from 'vs/workbench/services/editor/common/editorService'; import { IConfigurationService } from 'vs/platform/configuration/common/configuration'; import { EditorResourceAccessor } from 'vs/workbench/common/editor'; import { IUriIdentityService } from 'vs/platform/uriIdentity/common/uriIdentity'; import { stripIcons } from 'vs/base/common/iconLabels'; import { Schemas } from 'vs/base/common/network'; function getCount(repository: ISCMRepository): number { if (typeof repository.provider.count === 'number') {"} {"_id":"q-en-vscode-b966f3c91b85d66a19232dfa4d6efa8f87ab3a4d373ffb2d752c2c27c3f3270f","text":"'out-build/vs/code/electron-browser/sharedProcess/sharedProcess.js', 'out-build/vs/code/electron-sandbox/issue/issueReporter.js', 'out-build/vs/code/electron-sandbox/processExplorer/processExplorer.js', 'out-build/vs/platform/auth/common/auth.css', 'out-build/vs/code/electron-sandbox/proxy/auth.js', '!**/test/**' ];"} {"_id":"q-en-vscode-b99c30a07be2bd31e2732b0296422ea1d1a9dbce6ee696cfbdcac3b1b9d67cd1","text":"getAnchor: () => this._editorContainer, render: (container) => { return this._render(provider, container); }, onHide: () => { if (provider.options.type === AccessibleViewType.HelpMenu) { this._accessiblityHelpIsShown.reset(); } } }; this._contextViewService.showContextView(delegate); if (provider.options.type === AccessibleViewType.HelpMenu) { this._accessiblityHelpIsShown.set(true); } } private _render(provider: IAccessibleContentProvider, container: HTMLElement): IDisposable {"} {"_id":"q-en-vscode-ba059d1faca56f006518c2111a8d18c60a193e0e9ea135248d806588973ac900","text":"content.push(`.monaco-list${suffix}:focus .monaco-list-row.selected .codicon { color: ${styles.listActiveSelectionIconForeground}; }`); } if (styles.listFocusAndSelectionOutline) { content.push(`.monaco-list${suffix}:focus .monaco-list-row.selected { outline-color: ${styles.listFocusAndSelectionOutline} !important; }`); } if (styles.listFocusAndSelectionBackground) { content.push(` .monaco-drag-image,"} {"_id":"q-en-vscode-ba09552e5ce8ca44f35dde2bfdc750316f469499441d703ff04c18dc414780ee","text":"const selections = getEndPositionsAfterApplying(edits).map(p => Selection.fromPositions(p)); editor.executeEdits('inlineSuggestion.accept', edits.map(edit => EditOperation.replace(edit.range, edit.text))); editor.setSelections(selections, 'inlineCompletionPartialAccept'); editor.revealPositionInCenterIfOutsideViewport(editor.getPosition()!, ScrollType.Immediate); } finally { this._isAcceptingPartially = false; }"} {"_id":"q-en-vscode-ba2b3a0d69455bb9aebf63fa85b141174f9464de8ee7f12a6e0648ac9f32e287","text":"} }, \"node_modules/@xterm/addon-clipboard\": { \"version\": \"0.2.0-beta.39\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-clipboard/-/addon-clipboard-0.2.0-beta.39.tgz\", \"integrity\": \"sha512-PeJZP69FHg2p1NJKLGyqUITahvEexqwYoQAgYheu4d9UBhIdP6D/KWGT8DVAEPeeulXhcr2UXgYWMVQAooTvrw==\", \"version\": \"0.2.0-beta.47\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-clipboard/-/addon-clipboard-0.2.0-beta.47.tgz\", \"integrity\": \"sha512-mJHV1770gwVckj4mgjdxegt4zLL5WGCoJblTqaLbgEF7xOwsJUzvGk38qsZ4ZpdTa2ti76H0pkb1CpZGrXL9qg==\", \"dependencies\": { \"js-base64\": \"^3.7.5\" }, \"peerDependencies\": { \"@xterm/xterm\": \"^5.6.0-beta.56\" \"@xterm/xterm\": \"^5.6.0-beta.64\" } }, \"node_modules/@xterm/addon-image\": { \"version\": \"0.9.0-beta.56\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-image/-/addon-image-0.9.0-beta.56.tgz\", \"integrity\": \"sha512-kwE4ZDlPxXsBk4mnQoqMvSwu9aKQclniIybs90t0L2qGPLcI8/7Akm1i9aXbu8eZF2hoLEPfLC3CZPda+4ioOA==\", \"version\": \"0.9.0-beta.64\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-image/-/addon-image-0.9.0-beta.64.tgz\", \"integrity\": \"sha512-1Aqqytx/z/Khecf5xrO++f/p5EQX4uG87TbbAmE0OQys/JgKMnNggDzqon5bpHboimLfQiFPw716NbTqMphjfw==\", \"peerDependencies\": { \"@xterm/xterm\": \"^5.6.0-beta.56\" \"@xterm/xterm\": \"^5.6.0-beta.64\" } }, \"node_modules/@xterm/addon-search\": { \"version\": \"0.16.0-beta.56\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-search/-/addon-search-0.16.0-beta.56.tgz\", \"integrity\": \"sha512-f8aoldPGssse1UR2N3f94fRUc7K3eulb+F80MFhim4rP+shX3QO9QdEZtwr+JaPEujjnuBM5tQKQDuRQtbwuMQ==\", \"version\": \"0.16.0-beta.64\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-search/-/addon-search-0.16.0-beta.64.tgz\", \"integrity\": \"sha512-vUsvTkEOFJwv8nVtiiGr/vTMeQhu62VkUejY2h1+yZagnVEusGVPU1JYoqBTLu5HM4cFiTGsJYXFI/0apASXYA==\", \"peerDependencies\": { \"@xterm/xterm\": \"^5.6.0-beta.56\" \"@xterm/xterm\": \"^5.6.0-beta.64\" } }, \"node_modules/@xterm/addon-serialize\": { \"version\": \"0.14.0-beta.56\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-serialize/-/addon-serialize-0.14.0-beta.56.tgz\", \"integrity\": \"sha512-VGAYJXFfXuY1Ze8CliT28DoYI74s8fdTI9919C0sgWwtzfAa7W43jJ56g0oKVEM0wO20wfdESapwpQ7enMzrHQ==\", \"version\": \"0.14.0-beta.64\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-serialize/-/addon-serialize-0.14.0-beta.64.tgz\", \"integrity\": \"sha512-0AqVveTV3Pr9Lp+beJYOP5WuRvIrPSDGAK24da7BRGcLIKVq8pok1FdlM9jPeUbkX0DKo6Ortm77qeb2Z+n8+A==\", \"peerDependencies\": { \"@xterm/xterm\": \"^5.6.0-beta.56\" \"@xterm/xterm\": \"^5.6.0-beta.64\" } }, \"node_modules/@xterm/addon-unicode11\": { \"version\": \"0.9.0-beta.56\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-unicode11/-/addon-unicode11-0.9.0-beta.56.tgz\", \"integrity\": \"sha512-oWa8xLWMDKgJboqOT57PaNAWYz+2INW5aUc24E0Nzv+gKXVy+8lRoqy50m3DhsOb1YtDaPVloqvambKBaXSing==\", \"version\": \"0.9.0-beta.64\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-unicode11/-/addon-unicode11-0.9.0-beta.64.tgz\", \"integrity\": \"sha512-3+PKu+DXFq32xlsYfnI058/T8dTY2tQhRpJLP2CNR/jVWk5uBkVO0dBV0Srqj5QOAlAhzzZuS6TbsVRXORptqw==\", \"peerDependencies\": { \"@xterm/xterm\": \"^5.6.0-beta.56\" \"@xterm/xterm\": \"^5.6.0-beta.64\" } }, \"node_modules/@xterm/addon-webgl\": { \"version\": \"0.19.0-beta.56\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-webgl/-/addon-webgl-0.19.0-beta.56.tgz\", \"integrity\": \"sha512-aYNRENPJBb1uoV7QifEwCnbjCXmQD5yQmuxNJab3bOZ68aCSGC/EKc4/4Ov0klkXi8ceF4ZnbNiqAX3jw5L1jg==\", \"version\": \"0.19.0-beta.64\", \"resolved\": \"https://registry.npmjs.org/@xterm/addon-webgl/-/addon-webgl-0.19.0-beta.64.tgz\", \"integrity\": \"sha512-cxTkMPAXPQAZnWqahNu7ff9mbJvM1sQqKnZWiFZAHTsZXym4oa3KCB4pjH4didSyYkhkPY/17E8I0UOUpvv0Yw==\", \"peerDependencies\": { \"@xterm/xterm\": \"^5.6.0-beta.56\" \"@xterm/xterm\": \"^5.6.0-beta.64\" } }, \"node_modules/@xterm/headless\": { \"version\": \"5.6.0-beta.56\", \"resolved\": \"https://registry.npmjs.org/@xterm/headless/-/headless-5.6.0-beta.56.tgz\", \"integrity\": \"sha512-aQOCzFDn/yqdATwf+ho1q5Hu2MzQwnXHgcsVx/qwUit/URKgbp1QyOQom88nzprP6D/59tiSeX+tqUS1HPqwMw==\" \"version\": \"5.6.0-beta.64\", \"resolved\": \"https://registry.npmjs.org/@xterm/headless/-/headless-5.6.0-beta.64.tgz\", \"integrity\": \"sha512-my08kgH2K3CBEtBg/o8lamtD6BYNBv03Akq747Lajv0QzOiwan7B4r2xdbA6i9sovB+MdjFs0XP1ksc3EpKakg==\" }, \"node_modules/@xterm/xterm\": { \"version\": \"5.6.0-beta.56\", \"resolved\": \"https://registry.npmjs.org/@xterm/xterm/-/xterm-5.6.0-beta.56.tgz\", \"integrity\": \"sha512-gtLrCQNkF1LikB21Bj9JYiBrrXMMvPEZkOIiA7MlXoSd7T7v+GYPumrODB2SBuhPdZ8N66z2rbUOfSRzxGwMtA==\" \"version\": \"5.6.0-beta.64\", \"resolved\": \"https://registry.npmjs.org/@xterm/xterm/-/xterm-5.6.0-beta.64.tgz\", \"integrity\": \"sha512-iSKS6tQTFpoN5y487eptlxkUT0jqK5hrvtFQMLugMcQdn7gCUCiFGa4Z1RdqKYSGvAypka+b9gMKPrKWZ7Q3yQ==\" }, \"node_modules/@xtuc/ieee754\": { \"version\": \"1.2.0\","} {"_id":"q-en-vscode-ba2ee0d2cb464ad49e67d26146928a7501c2411c5abbedf208fd2498bfc4d26d","text":"import { registerWindowDriver } from 'vs/platform/driver/electron-sandbox/driver'; import { ILabelService } from 'vs/platform/label/common/label'; import { dirname } from 'vs/base/common/resources'; import { IUriIdentityService } from 'vs/platform/uriIdentity/common/uriIdentity'; export class NativeWindow extends Disposable {"} {"_id":"q-en-vscode-ba625fc3acee476cdb866320acef39dae0c4f0a6c7205b49b8a558184ed10007","text":"\"@vscode/l10n\": \"^0.0.11\", \"jsonc-parser\": \"^3.2.0\", \"request-light\": \"^0.7.0\", \"vscode-json-languageservice\": \"^5.3.1\", \"vscode-json-languageservice\": \"^5.3.2\", \"vscode-languageserver\": \"^8.1.0\", \"vscode-uri\": \"^3.0.7\" },"} {"_id":"q-en-vscode-baa8bb0f5b0b9f99efe88b25e7f2a2dcf59decdb9598dfd4de1040c9fa6c3a77","text":"let workbenchActionsRegistry = Registry.as(ActionExtensions.WorkbenchActions); workbenchActionsRegistry.registerWorkbenchAction(new SyncActionDescriptor(SaveFileAsAction, SaveFileAsAction.ID, SaveFileAsAction.LABEL, { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KEY_S }), category, ['save', 'as']); workbenchActionsRegistry.registerWorkbenchAction(new SyncActionDescriptor(GlobalNewFileAction, GlobalNewFileAction.ID, GlobalNewFileAction.LABEL, { primary: KeyMod.CtrlCmd | KeyCode.KEY_N }), category, ['new', 'file']); workbenchActionsRegistry.registerWorkbenchAction(new SyncActionDescriptor(GlobalNewUntitledFileAction, GlobalNewUntitledFileAction.ID, GlobalNewUntitledFileAction.LABEL, { primary: KeyMod.CtrlCmd | KeyCode.KEY_N }), category, ['new', 'untitled', 'file']); workbenchActionsRegistry.registerWorkbenchAction(new SyncActionDescriptor(GlobalCopyPathAction, GlobalCopyPathAction.ID, GlobalCopyPathAction.LABEL, { primary: KeyMod.chord(KeyMod.CtrlCmd | KeyCode.KEY_K, KeyCode.KEY_P) }), category, ['copy', 'path']); workbenchActionsRegistry.registerWorkbenchAction(new SyncActionDescriptor(GlobalRevealInOSAction, GlobalRevealInOSAction.ID, GlobalRevealInOSAction.LABEL, { primary: KeyMod.chord(KeyMod.CtrlCmd | KeyCode.KEY_K, KeyCode.KEY_R) }), category, ['reveal', 'file']);"} {"_id":"q-en-vscode-bb51d0ccf0bc7a467a3c0152623b6f8200109e209cfb9371d4791b1aebd17c1e","text":"export class EditorDictationStopAction extends EditorAction2 { static readonly ID = 'workbench.action.editorDictation.stop'; constructor() { super({ id: 'workbench.action.editorDictation.stop', id: EditorDictationStopAction.ID, title: localize2('stopDictation', \"Stop Dictation in Editor\"), category: VOICE_CATEGORY, precondition: EDITOR_DICTATION_IN_PROGRESS,"} {"_id":"q-en-vscode-bb73165afec958c9230078f2c78ba8480e18753a0e47db5b9443fb429a16dafc","text":" @@NAME_LONG@@ Workspace "} {"_id":"q-en-vscode-bbd8c00bf990f43a104d0848764e484e178b585d22fcd9185db4bf1c15dbe23c","text":"constructor( @IConfigurationService private readonly configurationService: IConfigurationService, @IBulkEditService private readonly bulkEditService: IBulkEditService, @IEditorService private readonly editorService: IEditorService, ) { } async participate(workingCopy: IStoredFileWorkingCopy, context: { reason: SaveReason }, progress: IProgress, _token: CancellationToken): Promise { if (this.configurationService.getValue('files.insertFinalNewline')) { this.doInsertFinalNewLine(workingCopy, context, progress); await this.doInsertFinalNewLine(workingCopy, context.reason === SaveReason.AUTO, progress); } } private async doInsertFinalNewLine(workingCopy: IStoredFileWorkingCopy, context: { reason: SaveReason }, progress: IProgress): Promise { private async doInsertFinalNewLine(workingCopy: IStoredFileWorkingCopy, isAutoSaved: boolean, progress: IProgress): Promise { if (!workingCopy.model || !(workingCopy.model instanceof NotebookFileWorkingCopyModel)) { return; }"} {"_id":"q-en-vscode-bc06eb24f9b57d2e576f09782cf6f951a552b52bb3c9a6f724a21b2b3b105bb8","text":"\"inputValidation.warningBorder\": \"#ffe055\", \"inputValidation.errorBackground\": \"#ffeaea\", \"inputValidation.errorBorder\": \"#f1897f\", \"errorForeground\": \"#ffeaea\", \"errorForeground\": \"#f1897f\", \"badge.background\": \"#705697AA\", \"progressBar.background\": \"#705697\" }"} {"_id":"q-en-vscode-bc427c991642444d802fd847aa65b8d3d0beb04785f19d91ff96dcd66d49049d","text":"} return this.userDataProfilesService.createNamedProfile(name); } else { return this.userDataProfilesService.createNamedProfile(profileTemplate.name, { shortName: profileTemplate.shortName, transient: temp }); return this.userDataProfilesService.createNamedProfile(profileName, { shortName: profileTemplate.shortName, transient: temp }); } }"} {"_id":"q-en-vscode-bc4d7c916fe684695a4377edf90a9392a95192e1c0f2d59d0af0d2e1e8ece7eb","text":"if (!item.row) { item.row = this.cache.alloc(item.templateId); const role = this.ariaProvider.getRole ? this.ariaProvider.getRole(item.element) : 'treeitem'; const role = this.ariaProvider.getRole ? this.ariaProvider.getRole(item.element) : 'listitem'; item.row!.domNode!.setAttribute('role', role); const checked = this.ariaProvider.isChecked ? this.ariaProvider.isChecked(item.element) : undefined; if (typeof checked !== 'undefined') {"} {"_id":"q-en-vscode-bc8bdab7b858cd7133f0ce06492364db7057f2e6a620fc265ac2f6529a5c7f19","text":"cacheHitVar: NODE_MODULES_RESTORED displayName: Restore node_modules cache - powershell: 7z.exe x .build/node_modules_cache/cache.7z -aoa -bb - powershell: 7z.exe x .build/node_modules_cache/cache.7z -aoa condition: and(succeeded(), eq(variables.NODE_MODULES_RESTORED, 'true')) displayName: Extract node_modules cache"} {"_id":"q-en-vscode-bcf070a349da1f715af4196ea0703b179fc7428173c2d316efd9e61bcdd22791","text":"resolved \"https://registry.yarnpkg.com/@vscode/windows-registry/-/windows-registry-1.1.0.tgz#03dace7c29c46f658588b9885b9580e453ad21f9\" integrity sha512-5AZzuWJpGscyiMOed0IuyEwt6iKmV5Us7zuwCDCFYMIq7tsvooO9BUiciywsvuthGz6UG4LSpeDeCxvgMVhnIw== \"@xterm/addon-canvas@0.6.0-beta.16\": version \"0.6.0-beta.16\" resolved \"https://registry.yarnpkg.com/@xterm/addon-canvas/-/addon-canvas-0.6.0-beta.16.tgz#d22ba7f1b211882215c5206ca07ce177378a898f\" integrity sha512-o89xcm0Tqy1ksEYMq3EIqxJNDUWJBaS9QUggc7i5vKUL2unw9TMa5IiiNzc3CsBOlBQDlITwEXoHDEbOMxoZPQ== \"@xterm/addon-image@0.7.0-beta.14\": version \"0.7.0-beta.14\" resolved \"https://registry.yarnpkg.com/@xterm/addon-image/-/addon-image-0.7.0-beta.14.tgz#39b123dd0a0390766aff631cf43cb2e51b3b2174\" integrity sha512-oCOIupROzkb5p2vZarY6HrX74OqvtbmjnkC6uuGEJXQ75XL2CX+uTUl2DlgeSTvvR0S8ZVB3hQlp4hrtoNNelA== \"@xterm/addon-search@0.14.0-beta.16\": version \"0.14.0-beta.16\" resolved \"https://registry.yarnpkg.com/@xterm/addon-search/-/addon-search-0.14.0-beta.16.tgz#5fa21d2b993970e8ced1e0ada3dcca5f7581c314\" integrity sha512-e6l5jCJIULQ6nzRcc0gp9obZsqd76qubAr0HZF6Ebxf3KOGRz4UX6g+kgt6RB1liWgG94WD8vI1rGB1z5bMSEg== \"@xterm/addon-serialize@0.12.0-beta.16\": version \"0.12.0-beta.16\" resolved \"https://registry.yarnpkg.com/@xterm/addon-serialize/-/addon-serialize-0.12.0-beta.16.tgz#68c4d68dba7ff17a231650cc0d07dcc77721877b\" integrity sha512-F6ngtvTC5VDLn585uJro7V1xjM43TbjPQjQ6Fn0Uic3+dsQrbPFxZmNZuQOjMZDoYj/febFsuspKjXdpoxo21w== \"@xterm/addon-unicode11@0.7.0-beta.16\": version \"0.7.0-beta.16\" resolved \"https://registry.yarnpkg.com/@xterm/addon-unicode11/-/addon-unicode11-0.7.0-beta.16.tgz#c4c640cb119290e1d0a6401ac018aba1d71287f9\" integrity sha512-sP81NX13madSeATjlBReZbaay17DgatR7dZP6OF8aMyJf6cBVaHMYjTipyw3NnsmjUtBfLc3Alu+JKv8NFteiw== \"@xterm/addon-webgl@0.17.0-beta.16\": version \"0.17.0-beta.16\" resolved \"https://registry.yarnpkg.com/@xterm/addon-webgl/-/addon-webgl-0.17.0-beta.16.tgz#75466614bf8ea02a3fcb0900df48724c2344d081\" integrity sha512-+/eTLvSgYjvRX7oAKfpCDZdotrE8P/asCKXQtXjkbOtYRToI7kWEYfJzfgdFKFgDLKOpDdgY6Bgq384wEewlTA== \"@xterm/headless@5.4.0-beta.16\": version \"5.4.0-beta.16\" resolved \"https://registry.yarnpkg.com/@xterm/headless/-/headless-5.4.0-beta.16.tgz#d12097c6c2082f14f5650169471eb120ed7600e7\" integrity sha512-5GTEzrZzpjfoQrFexULq20Mqc5jbTmhkTBYk0XaE4jeZVdCvsw1yiZNDVj7/66cKOmhQMCxV809p2jQZ/BJ0ww== \"@xterm/xterm@5.4.0-beta.16\": version \"5.4.0-beta.16\" resolved \"https://registry.yarnpkg.com/@xterm/xterm/-/xterm-5.4.0-beta.16.tgz#eb00506e56ba78c587fcacbada096c2af3693992\" integrity sha512-ARzWYQ8LfuZIn47TS8c+XKQhn/1ZVvbHdwlpolZIrT2pTarP+71U1b6cSpF7fV+OIV6tAPA8+q4g/1ZKHuOX8g== \"@xterm/addon-canvas@0.6.0-beta.17\": version \"0.6.0-beta.17\" resolved \"https://registry.yarnpkg.com/@xterm/addon-canvas/-/addon-canvas-0.6.0-beta.17.tgz#0bc968a42bcfd477e26cdacd9b1624e3296df97a\" integrity sha512-I5qTtbxqXO3vEBzRuEXHjU9tpLABlMxmaoQ43TkSIO5I4jCQ3EIgnLGNTrDf7BQ6H3OxxsxlMp9Ui0jQRxUuSg== \"@xterm/addon-image@0.7.0-beta.15\": version \"0.7.0-beta.15\" resolved \"https://registry.yarnpkg.com/@xterm/addon-image/-/addon-image-0.7.0-beta.15.tgz#5d18f0702ca7dc1b80c4696448eca949d9a04d4b\" integrity sha512-ymt2cbG1P56EamETSKNNLxr0mI8yWnyUxHC6lRFA6mB0PYO++EePSzulrAC/Clk8X3BPbXIZmhBwoxp0VqWAGg== \"@xterm/addon-search@0.14.0-beta.17\": version \"0.14.0-beta.17\" resolved \"https://registry.yarnpkg.com/@xterm/addon-search/-/addon-search-0.14.0-beta.17.tgz#1f39f02edfa20c3e7f898ddcf73d6b4c8a764e23\" integrity sha512-zM/X41hcHu3FNqPOxlzElGdPkOlkCMI8CWKXSlVfUe7EydzJcRDOUvIE1rE+rCumry79O7ThEK7/6FVTH9k3bQ== \"@xterm/addon-serialize@0.12.0-beta.17\": version \"0.12.0-beta.17\" resolved \"https://registry.yarnpkg.com/@xterm/addon-serialize/-/addon-serialize-0.12.0-beta.17.tgz#cf4ada9104f22427fde915644638d84f8fe45ff9\" integrity sha512-OUV0f1fnqJK8oooJ3J8dGfDxDpqf5s8UU7LWNmuGkcJYkfkltMKlo4DHfQ2DaLxdnb+JT0rfu5LojtRi3bvVaw== \"@xterm/addon-unicode11@0.7.0-beta.17\": version \"0.7.0-beta.17\" resolved \"https://registry.yarnpkg.com/@xterm/addon-unicode11/-/addon-unicode11-0.7.0-beta.17.tgz#0cc609574ccffc683902020f549671e4c36dcf1c\" integrity sha512-VLwnBy3OlzdUy6NGQwS95qDHkgzDfSRssjxJc9YTqOBCz87LD00oKRVDJOa6SMhxXYm7nPyVlC6J6CBSivcLmQ== \"@xterm/addon-webgl@0.17.0-beta.17\": version \"0.17.0-beta.17\" resolved \"https://registry.yarnpkg.com/@xterm/addon-webgl/-/addon-webgl-0.17.0-beta.17.tgz#aa4dd17c9e8b57185b001e8fac1e23cd1fc5a456\" integrity sha512-XvCpPb+jZfb6aHFf+DhgtRcvDz8VA+ZnPa0YfrZWszGoBzNJ4tqWXy6gerRulk20SGilY0UBCfV1f4DIs/HQPg== \"@xterm/headless@5.4.0-beta.17\": version \"5.4.0-beta.17\" resolved \"https://registry.yarnpkg.com/@xterm/headless/-/headless-5.4.0-beta.17.tgz#13ff28cf8708d1d7668ecf27008a837f4002af94\" integrity sha512-5Os8Wa+5+9/KA8FdHvAgdzmFGUTZv9DtHjZgtXB1hX0/yx2sCaDQgPYSwt5w52GYhh5HOxx6Olo4exb9lrKvAw== \"@xterm/xterm@5.4.0-beta.17\": version \"5.4.0-beta.17\" resolved \"https://registry.yarnpkg.com/@xterm/xterm/-/xterm-5.4.0-beta.17.tgz#08897de7274a3431accf525a147a7e6034a64573\" integrity sha512-EhQsTHeO7VhCOnYLdrowWAqEbmZKf6k6Z/Rd3GriikB394jivux6OBcJbt7QdewIOAKqFah53d4rNXfz3/6mwQ== agent-base@^7.0.1, agent-base@^7.0.2, agent-base@^7.1.0: version \"7.1.0\""} {"_id":"q-en-vscode-bd186ad61f02c884bb2be526095574b3de2f02eae2c20b1a390e9574d11c4541","text":"opts.selection = previousSelection; const editor = await window.showTextDocument(document, opts); // This should always be defined but just in case if (previousVisibleRange) { editor.revealRange(previousVisibleRange); if (previousVisibleRanges && previousVisibleRanges.length > 0) { let rangeToReveal = previousVisibleRanges[0]; if (previousSelection && previousVisibleRanges.length > 1) { // In case of multiple visible ranges, find the one that intersects with the selection rangeToReveal = previousVisibleRanges.find(r => r.intersection(previousSelection)) ?? rangeToReveal; } editor.revealRange(rangeToReveal); } } }"} {"_id":"q-en-vscode-bd18e33732cf4cac4f700ecaf6398a056c56bd69e9defbb3a28d85e589bafef8","text":"})); const closeBtn = this._register(new SimpleButton({ label: NLS_CLOSE_BTN_LABEL, label: NLS_CLOSE_BTN_LABEL + (options.closeWidgetActionId ? this._getKeybinding(options.closeWidgetActionId) : ''), icon: widgetClose, onTrigger: () => { this.hide();"} {"_id":"q-en-vscode-bdab464475d9a34b4970bb09f3b01429413fc4fef9b2736734d5cbabb4149919","text":"if (thing instanceof URI) { return true; } if (!thing) { return false; if (thing) { return typeof (thing).authority === 'string' && typeof (thing).fragment === 'string' && typeof (thing).path === 'string' && typeof (thing).query === 'string' && typeof (thing).scheme === 'string' && typeof (thing).fsPath === 'function' && typeof (thing).with === 'function' && typeof (thing).toString === 'function'; } return typeof (thing).authority === 'string' && typeof (thing).fragment === 'string' && typeof (thing).path === 'string' && typeof (thing).query === 'string' && typeof (thing).scheme === 'string' && typeof (thing).fsPath === 'function' && typeof (thing).with === 'function' && typeof (thing).toString === 'function'; return false; } /**"} {"_id":"q-en-vscode-bdbd2a8c28fae13920ea96b4cbc8deb274927be34f60ad9d0a6403b83a90db66","text":"import { Position } from '../../../../../editor/common/core/position.js'; import { Range } from '../../../../../editor/common/core/range.js'; import { IWordAtPosition, getWordAtText } from '../../../../../editor/common/core/wordHelper.js'; import { CompletionContext, CompletionItem, CompletionItemKind } from '../../../../../editor/common/languages.js'; import { CompletionContext, CompletionItem, CompletionItemKind, CompletionList } from '../../../../../editor/common/languages.js'; import { ITextModel } from '../../../../../editor/common/model.js'; import { ILanguageFeaturesService } from '../../../../../editor/common/services/languageFeatures.js'; import { localize } from '../../../../../nls.js'; import { Action2, registerAction2 } from '../../../../../platform/actions/common/actions.js'; import { IConfigurationService } from '../../../../../platform/configuration/common/configuration.js'; import { ServicesAccessor } from '../../../../../platform/instantiation/common/instantiation.js'; import { IInstantiationService, ServicesAccessor } from '../../../../../platform/instantiation/common/instantiation.js'; import { Registry } from '../../../../../platform/registry/common/platform.js'; import { IWorkbenchContributionsRegistry, Extensions as WorkbenchExtensions } from '../../../../common/contributions.js'; import { SubmitAction } from '../actions/chatExecuteActions.js'; import { IChatWidget, IChatWidgetService } from '../chat.js'; import { ChatInputPart } from '../chatInputPart.js'; import { SelectAndInsertFileAction } from './chatDynamicVariables.js'; import { ChatDynamicVariableModel, SelectAndInsertFileAction } from './chatDynamicVariables.js'; import { ChatAgentLocation, getFullyQualifiedId, IChatAgentData, IChatAgentNameService, IChatAgentService } from '../../common/chatAgents.js'; import { ChatRequestAgentPart, ChatRequestAgentSubcommandPart, ChatRequestTextPart, ChatRequestToolPart, ChatRequestVariablePart, chatAgentLeader, chatSubcommandLeader, chatVariableLeader } from '../../common/chatParserTypes.js'; import { IChatSlashCommandService } from '../../common/chatSlashCommands.js'; import { IChatVariablesService } from '../../common/chatVariables.js'; import { IChatVariablesService, IDynamicVariable } from '../../common/chatVariables.js'; import { ILanguageModelToolsService } from '../../common/languageModelToolsService.js'; import { LifecyclePhase } from '../../../../services/lifecycle/common/lifecycle.js'; import { IHistoryService } from '../../../../services/history/common/history.js'; import { ILabelService } from '../../../../../platform/label/common/label.js'; import { ResourceSet } from '../../../../../base/common/map.js'; import { CommandsRegistry } from '../../../../../platform/commands/common/commands.js'; import { isPatternInWord } from '../../../../../base/common/filters.js'; import { ISearchService } from '../../../../services/search/common/search.js'; import { QueryBuilder } from '../../../../services/search/common/queryBuilder.js'; import { IWorkspaceContextService } from '../../../../../platform/workspace/common/workspace.js'; import { URI } from '../../../../../base/common/uri.js'; class SlashCommandCompletions extends Disposable { constructor("} {"_id":"q-en-vscode-bde0ad8f231b92e966ee8881d6ac096736f80a89e1c80cbe12870f53fbc6ec6c","text":"chClass = (hasOpenCurlyBracket ? CharacterClass.None : CharacterClass.ForceTermination); break; default: chClass = (chCode < characterClassesLength ? characterClasses[chCode] : CharacterClass.None); chClass = characterClassifier.classify(chCode); } // Check if character terminates link"} {"_id":"q-en-vscode-be63c3c35112f604211e32446587006e91b6798aa6541cae617c0c281fec1c56","text":"private readonly _diffs: RangeMapping[], private readonly _selection: boolean, ) { this._domNode.onmousedown = e => { super(); this._register(addDisposableListener(this._domNode, EventType.MOUSE_DOWN, e => { // don't prevent context menu from showing up if (e.button !== 2) { e.stopPropagation(); e.preventDefault(); } }; this._domNode.onmouseup = e => { })); this._register(addDisposableListener(this._domNode, EventType.MOUSE_UP, e => { e.stopPropagation(); e.preventDefault(); }; this._domNode.onclick = (e) => { })); this._register(addDisposableListener(this._domNode, EventType.CLICK, (e) => { this._widget.revertRangeMappings(this._diffs); e.stopPropagation(); e.preventDefault(); }; })); } /**"} {"_id":"q-en-vscode-be6d3c10a2406f4b80d59142888bdd2d379e8979b7e178bf9c875a106284940c","text":"return undefined; } private refreshModels(resolvedSettingsRoot: ITOCEntry) { this.settingsTreeModel.update(resolvedSettingsRoot); this.tocTreeModel.settingsTreeRoot = this.settingsTreeModel.root as SettingsTreeGroupElement; } private async onConfigUpdate(keys?: ReadonlySet, forceRefresh = false, schemaChange = false): Promise { if (keys && this.settingsTreeModel) { return this.updateElementsByKey(keys);"} {"_id":"q-en-vscode-be73955bbe57c888689f07500d22fa46e4d18714e7c778c2557a2c46c933318d","text":"return tokenizeToString(languageService, code, languageId); } }), MarkedGfmHeadings.gfmHeadingId(), markedGfmHeadingIdPlugin(), ...(options?.markedExtensions ?? []), );"} {"_id":"q-en-vscode-be851025f415b05b46f0df7b4f73d37e5b04eeecd2bdf2594b41640202a766e1","text":"padding-left: 7px; } .monaco-workbench .debug-actions-widget .monaco-action-bar .action-item.select-container { margin-right: 7px; .monaco-workbench .debug-actions-widget .monaco-action-bar .action-item { height: 32px; } .monaco-workbench .debug-actions-widget .monaco-action-bar .action-item .monaco-select-box { margin-top: 6px; .monaco-workbench .debug-actions-widget .monaco-action-bar .action-item.select-container { margin-right: 7px; } .monaco-workbench .debug-actions-widget .drag-area {"} {"_id":"q-en-vscode-bee5601d67d4e0bade0555308c4261e20d939d1914c973c8b69a0036e588b93d","text":"export class NewExplorerItem extends ExplorerItem { constructor(fileService: IFileService, parent: ExplorerItem, isDirectory: boolean) { super(URI.file(''), fileService, parent, isDirectory); this._isDirectoryResolved = true; } }"} {"_id":"q-en-vscode-bef220bfc9994cfab0d85c53d70d7bed81ad4a69267283df50b84a577b9dbc41","text":"import { IWorkspaceIdentifier, WORKSPACE_EXTENSION } from 'vs/platform/workspace/common/workspace'; import { IWorkspacesManagementMainService } from 'vs/platform/workspaces/electron-main/workspacesManagementMainService'; import { ResourceMap } from 'vs/base/common/map'; import { IDialogMainService } from 'vs/platform/dialogs/electron-main/dialogMainService'; export const IWorkspacesHistoryMainService = createDecorator('workspacesHistoryMainService');"} {"_id":"q-en-vscode-bef7716cae3913be199a034d835c6cbadd120a645a3eb9fa66cdb921c07e79a2","text":"\"version\": \"0.0.0\", \"private\": true, \"dependencies\": { \"@bpasero/watcher\": \"https://github.com/bpasero/watcher.git#3e5e50c275590703f3eb46fac777b720e515d0d5\", \"@microsoft/1ds-core-js\": \"^3.2.13\", \"@microsoft/1ds-post-js\": \"^3.2.13\", \"@parcel/watcher\": \"2.1.0\","} {"_id":"q-en-vscode-bf00af32c745f06b5394c193366fd6758597a28fb7d009eda6f349d74a00f6a0","text":"default: defaults.sticky, description: nls.localize('hover.sticky', \"Controls whether the hover should remain visible when mouse is moved over it.\") }, 'editor.hover.below': { type: 'boolean', default: defaults.below, description: nls.localize('hover.below', \"Show hovers below the line instead of above, if there's space.\") }, } ); }"} {"_id":"q-en-vscode-bf1a48d1e25f9d52282a445c1df637543dc9161ae469e2c975610c064d730677","text":" No newline at end of file No newline at end of file"} {"_id":"q-en-vscode-bf1fa965d3ae4442ca2afe31eaf0f496e47407d228f8c0981cac42bdbb39d2c8","text":"callback(true); } private _addTooltipEventListeners(element: HTMLElement) { private _addTooltipEventListeners(element: HTMLElement): void { let timeout = null; let isMessageShowing = false; this._tooltipDisposables.push(dom.addDisposableListener(element, dom.EventType.MOUSE_OVER, () => {"} {"_id":"q-en-vscode-bf3c3d3b529db8ff372627b0bbe448dba327ee9a85888c59fa5c15034f4c1ccd","text":"id: MenuId.EditorTitle, when: ctxIsMergeEditor, group: 'navigation', order: 3 }, ], f1: true,"} {"_id":"q-en-vscode-bfc4db1a371e8045444d68bec490d5c13b7bb4f8c41e3ed01e3d8e7981e7d013","text":"if (!result.matches(editor)) { const targetGroups = editor.hasCapability(EditorInputCapabilities.Untitled) ? this.editorGroupService.groups.map(group => group.id) /* untitled replaces across all groups */ : [groupId]; for (const targetGroup of targetGroups) { const resolvedEditor = await this.editorResolverService.resolveEditor({ resource: result.resource, }, targetGroup); const group = this.editorGroupService.getGroup(targetGroup); await group?.replaceEditors([{ editor, replacement: result, options: editorOptions }]); if (resolvedEditor !== ResolvedStatus.ABORT && isEditorInputWithOptionsAndGroup(resolvedEditor)) { // dispose the previous result before replacing with the resolved editor saveResults.pop()?.dispose(); saveResults.push(resolvedEditor.editor); await group?.replaceEditors([{ editor, replacement: resolvedEditor.editor, options: editorOptions }]); } else { await group?.replaceEditors([{ editor, replacement: result, options: editorOptions }]); } } } }"} {"_id":"q-en-vscode-bfdf31d1c9d6b0399020446e893c51c1a2fbe413502c823656c59a1ad5d839bd","text":"reactionCount.innerText = `${action.count}`; } } protected override getTooltip(): string | undefined { const action = this.action as ReactionAction; const toggleMessage = action.enabled ? nls.localize('comment.toggleableReaction', \"Toggle reaction, \") : ''; if (action.count === undefined) { return nls.localize('comment.reactionLabelNone', \"{0}{1} reaction\", toggleMessage, action.label); } else if (action.count === 1) { return nls.localize('comment.reactionLabelOne', \"{0}1 reaction with {1}\", toggleMessage, action.label); } else if (action.count > 1) { return nls.localize('comment.reactionLabelMany', \"{0}{1} reactions with {2}\", toggleMessage, action.count, action.label); } return undefined; } } export class ReactionAction extends Action { static readonly ID = 'toolbar.toggle.reaction';"} {"_id":"q-en-vscode-c0221d1484fe860de43a589a9268d36df7bad24665641d431e6c3f69a4fd8599","text":"z-index: 2; position: relative; } .xterm.terminal.hide { display: none; } "} {"_id":"q-en-vscode-c02268bd677d2f6201dc9484e9e10044eb9648234e3ec98d403833c1540603ff","text":"}); } private getNthDirname(path: ParsedPath, n: number): string | undefined { private getNthDirname(path: string, n: number): string | undefined { // grand-parent/parent/filename.ext1.ext2 -> [grand-parent, parent] const pathFragments = path.dir.split('/'); const pathFragments = path.split('/'); const length = pathFragments.length; const nth = length - 1 - n; if (nth < 0) { return undefined; let nthDir; if (n < 0) { const nth = Math.abs(n) - 1; nthDir = pathFragments[nth]; } else { const nth = length - 1 - n - 1; // -1 for the filename, -1 for 0-based index nthDir = pathFragments[nth]; } const nthDir = pathFragments[nth]; if (nthDir === undefined || nthDir === '') { return undefined; }"} {"_id":"q-en-vscode-c02a37087df68c390f55a0ebb28ad8e0d72a66ccc963f95c3ea4fb524300fdcd","text":"this.searchBox.setModel(this.modelService.createModel('', null, uri.parse('extensions:searchinput'), true)); this.disposables.push(this.searchBox.onDidPaste(() => { this.searchBox.setValue(this.searchBox.getValue().replace(/s+/g, ' ')); let trimmed = this.searchBox.getValue().replace(/s+/g, ' '); this.searchBox.setValue(trimmed); this.searchBox.setScrollTop(0); this.searchBox.setPosition(new Position(1, trimmed.length + 1)); })); this.disposables.push(this.searchBox.onDidFocusEditorText(() => addClass(this.monacoStyleContainer, 'synthetic-focus'))); this.disposables.push(this.searchBox.onDidBlurEditorText(() => removeClass(this.monacoStyleContainer, 'synthetic-focus')));"} {"_id":"q-en-vscode-c0352605ea4d3f92cb610e27024d02bcda5c0205b743c68ea6c92e7f1f110333","text":"})); } private _computeOutputLineHeight(): number { private _migrateDeprecatedSetting(deprecatedKey: string, key: string): void { const deprecatedSetting = this.configurationService.inspect(deprecatedKey); if (deprecatedSetting.application !== undefined) { this.configurationService.updateValue(deprecatedKey, undefined, ConfigurationTarget.APPLICATION); this.configurationService.updateValue(key, deprecatedSetting.application.value, ConfigurationTarget.APPLICATION); } if (deprecatedSetting.user !== undefined) { this.configurationService.updateValue(deprecatedKey, undefined, ConfigurationTarget.USER); this.configurationService.updateValue(key, deprecatedSetting.user.value, ConfigurationTarget.USER); } if (deprecatedSetting.userLocal !== undefined) { this.configurationService.updateValue(deprecatedKey, undefined, ConfigurationTarget.USER_LOCAL); this.configurationService.updateValue(key, deprecatedSetting.userLocal.value, ConfigurationTarget.USER_LOCAL); } if (deprecatedSetting.userRemote !== undefined) { this.configurationService.updateValue(deprecatedKey, undefined, ConfigurationTarget.USER_REMOTE); this.configurationService.updateValue(key, deprecatedSetting.userRemote.value, ConfigurationTarget.USER_REMOTE); } if (deprecatedSetting.workspace !== undefined) { this.configurationService.updateValue(deprecatedKey, undefined, ConfigurationTarget.WORKSPACE); this.configurationService.updateValue(key, deprecatedSetting.workspace.value, ConfigurationTarget.WORKSPACE); } if (deprecatedSetting.workspaceFolder !== undefined) { this.configurationService.updateValue(deprecatedKey, undefined, ConfigurationTarget.WORKSPACE_FOLDER); this.configurationService.updateValue(key, deprecatedSetting.workspaceFolder.value, ConfigurationTarget.WORKSPACE_FOLDER); } } private _computeOutputLineHeight(lineHeight: number, outputFontSize: number): number { const minimumLineHeight = 8; let lineHeight = this.configurationService.getValue(NotebookSetting.outputLineHeight); if (lineHeight === 0) { // use editor line height"} {"_id":"q-en-vscode-c06917c007fb09262873950f452cda4744035616dc97e7ae4a906271e35e41e9","text":"this._register(Event.fromNodeEventEmitter(this._process, 'spawn')(() => { this._logService.info(`UtilityProcess<${this.id}>: received spawn event.`); })); this._register(Event.fromNodeEventEmitter(this._process, 'exit')((code: number | undefined) => { code = code || 0; const onExit = Event.fromNodeEventEmitter(this._process, 'exit', (_, code: number) => code); this._register(onExit((code: number) => { this._logService.info(`UtilityProcess<${this.id}>: received exit event with code ${code}.`); this._hasExited = true; this._onExit.fire({ pid: this._process!.pid!, code, signal: '' });"} {"_id":"q-en-vscode-c0b9951132699e3aa0094718474436ea7b4ad5560f67e0ee66cad43b3528acf0","text":"apps: @@NAME@@: command: electron-launch $SNAP/usr/share/@@NAME@@/bin/@@NAME@@ command: electron-launch $SNAP/usr/share/@@NAME@@/bin/@@NAME@@ --no-sandbox common-id: @@NAME@@.desktop url-handler: command: electron-launch $SNAP/usr/share/@@NAME@@/bin/@@NAME@@ --open-url command: electron-launch $SNAP/usr/share/@@NAME@@/bin/@@NAME@@ --open-url --no-sandbox "} {"_id":"q-en-vscode-c0c451ac2d4ee7a95d353506e00174410f115004dd424949e73aa90914d105ca","text":"async run(accessor: ServicesAccessor, handle: TreeViewItemHandleArg): Promise { const editSessionId = URI.parse(handle.$treeItemHandle).path.substring(1); const commandService = accessor.get(ICommandService); await commandService.executeCommand('workbench.editSessions.actions.resumeLatest', editSessionId); await commandService.executeCommand('workbench.editSessions.actions.resumeLatest', editSessionId, true); await treeView.refresh(); } });"} {"_id":"q-en-vscode-c0d76a9e8cfbf31d91ea8a31da7acdea699c73f3a548ae249b2f67e039a69242","text":"return []; } override shouldValidateName(): boolean { return !this.copyFrom; } override getInitialName(): string { return this.previewProfile?.name ?? ''; }"} {"_id":"q-en-vscode-c14f962db5fd1bfad946095a22a5e7861c17ebeea3c343e8dd44ea2ef40075c3","text":"showInput(options?: InputBoxOptions, token: CancellationToken = CancellationToken.None): Promise { // global validate fn used in callback below this._validateInput = options ? options.validateInput2 ?? options.validateInput : undefined; this._validateInput = options?.validateInput; return proxy.$input(options, typeof this._validateInput === 'function', token) .then(undefined, err => {"} {"_id":"q-en-vscode-c18ed2c0049e19e6e21c059b7ef54ecfee25ec91b8149004b072b6c907f5b863","text":"} } interface TypeNameToType { readonly boolean: boolean; readonly string: string; } class ChangeObserver { static create(typeName: TTypeName): ChangeObserver { return new ChangeObserver(typeName); } constructor(private readonly typeName: string) { } private lastValue: T | undefined = undefined; /** * Returns if there was a change compared to the last value */ handleChange(value: T | undefined): boolean { if (typeof value === this.typeName && value !== this.lastValue) { this.lastValue = value; return true; } return false; } } export class WorkspaceChangeExtHostRelauncher extends Disposable implements IWorkbenchContribution { private firstFolderResource?: URI;"} {"_id":"q-en-vscode-c199ed605e87e5bcb4468e016a7f0a888b927da8d6298495333c5f34ae87ed25","text":"*--------------------------------------------------------------------------------------------*/ // @ts-check const path = require('path'); const fs = require('fs'); const esbuild = require('esbuild'); const args = process.argv.slice(2);"} {"_id":"q-en-vscode-c1b7934dc2f7264e0e4a0aae30f1f694a52555d6fd0b3435d28eea78d23e294f","text":"{ \"name\": \"code-oss-dev\", \"version\": \"1.83.0\", \"distro\": \"f4e12eeb4a251bbec78e035eaeb7f7c5dd372a40\", \"distro\": \"a06824e6c4c76374ec53ff47965dbb0fada8ae6c\", \"author\": { \"name\": \"Microsoft Corporation\" },"} {"_id":"q-en-vscode-c212aaeb62863429e785d655ad2542568743250c62886f0f0f6055a87c55c7e2","text":"first.textContent = 'Output exceeds the '; const second = document.createElement('a'); second.textContent = 'size limit'; second.href = `command:workbench.action.openSettings?[\"notebook.output.textLineLimit\"]`; second.href = `command:workbench.action.openSettings?%5B%22notebook.output.textLineLimit%22%5D`; const third = document.createElement('span'); third.textContent = '. Open the full output data'; const forth = document.createElement('a');"} {"_id":"q-en-vscode-c22bb4e331870b3b318faa4362848cd800d7ecdecdda074ed2325cf16957dc93","text":"} const taskSystemInfo: ITaskSystemInfo | undefined = this._getTaskSystemInfo(workspaceFolder.uri.scheme); const problemReporter = new ProblemReporter(this._outputChannel); if (!taskSystemInfo) { problemReporter.fatal(nls.localize('TaskSystem.workspaceFolderError', 'Workspace folder was undefined')); return true; } const parseResult = TaskConfig.parse(workspaceFolder, this._workspace, taskSystemInfo ? taskSystemInfo.platform : Platform.platform, config, problemReporter, source, this._contextKeyService, isRecentTask); let hasErrors = false; if (!parseResult.validationStatus.isOK() && (parseResult.validationStatus.state !== ValidationState.Info)) {"} {"_id":"q-en-vscode-c23ac11aaf92062c9e37e10d9754586ae46af520917485fa73904a09c4132653","text":"import { ExtensionIdentifier, IExtensionDescription } from 'vs/platform/extensions/common/extensions'; import { TelemetryTrustedValue } from 'vs/platform/telemetry/common/telemetryUtils'; import { IExtHostTelemetry } from 'vs/workbench/api/common/extHostTelemetry'; import { generateUuid } from 'vs/base/common/uuid'; interface CommandHandler { callback: Function;"} {"_id":"q-en-vscode-c2421c3e27428026a1ff5e59b697068952a4b136654b07bab9cdc343d4cbbd7e","text":"\"@vscode/windows-mutex\": \"^0.4.4\", \"@vscode/windows-process-tree\": \"^0.5.0\", \"@vscode/windows-registry\": \"^1.1.0\", \"@xterm/addon-canvas\": \"0.6.0-beta.16\", \"@xterm/addon-image\": \"0.7.0-beta.14\", \"@xterm/addon-search\": \"0.14.0-beta.16\", \"@xterm/addon-serialize\": \"0.12.0-beta.16\", \"@xterm/addon-unicode11\": \"0.7.0-beta.16\", \"@xterm/addon-webgl\": \"0.17.0-beta.16\", \"@xterm/headless\": \"5.4.0-beta.16\", \"@xterm/xterm\": \"5.4.0-beta.16\", \"@xterm/addon-canvas\": \"0.6.0-beta.17\", \"@xterm/addon-image\": \"0.7.0-beta.15\", \"@xterm/addon-search\": \"0.14.0-beta.17\", \"@xterm/addon-serialize\": \"0.12.0-beta.17\", \"@xterm/addon-unicode11\": \"0.7.0-beta.17\", \"@xterm/addon-webgl\": \"0.17.0-beta.17\", \"@xterm/headless\": \"5.4.0-beta.17\", \"@xterm/xterm\": \"5.4.0-beta.17\", \"graceful-fs\": \"4.2.11\", \"http-proxy-agent\": \"^7.0.0\", \"https-proxy-agent\": \"^7.0.2\","} {"_id":"q-en-vscode-c2f15b7f57572aa9b8f201483f81442ce60f9ee3614420b5b3272f4e7c8d68d4","text":"\"css.lint.emptyRules.desc\": \"Do not use empty rulesets.\", \"css.lint.float.desc\": \"Avoid using `float`. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes.\", \"css.lint.fontFaceProperties.desc\": \"`@font-face` rule must define `src` and `font-family` properties.\", \"css.lint.hexColorLength.desc\": \"Hex colors must consist of three or six hex numbers.\", \"css.lint.hexColorLength.desc\": \"Hex colors must consist of 3, 4, 6 or 8 hex numbers.\", \"css.lint.idSelector.desc\": \"Selectors should not contain IDs because these rules are too tightly coupled with the HTML.\", \"css.lint.ieHack.desc\": \"IE hacks are only necessary when supporting IE7 and older.\", \"css.lint.important.desc\": \"Avoid using `!important`. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored.\","} {"_id":"q-en-vscode-c327b6d2ef5cd48f8d773291d13c3af164d645ff2bc0d4f83da09fa73a35c706","text":"'trace': { type: 'boolean' }, 'trace-category-filter': { type: 'string' }, 'trace-options': { type: 'string' }, 'preserve-env': { type: 'boolean' }, 'force-user-env': { type: 'boolean' }, 'force-disable-user-env': { type: 'boolean' }, 'open-devtools': { type: 'boolean' },"} {"_id":"q-en-vscode-c351df6c81696fcb2aec83848cd9f79071f16dff35bded97ac2b4f3f432cf83c","text":"@ITelemetryService telemetryService: ITelemetryService, @IStorageService storageService: IStorageService, @INotebookService private readonly notebookService: INotebookService, @IEditorService private readonly editorService: IEditorService ) { super(NotebookTextDiffEditor.ID, group, telemetryService, themeService, storageService); this.diffEditorCalcuator = this.instantiationService.createInstance(DiffEditorHeightCalculatorService, this.fontInfo.lineHeight);"} {"_id":"q-en-vscode-c37c2bb82d2f1b2d553921e8131a071e0409f4ac79ccb262ac8925482b5c324d","text":"} else { if (terminal.state.isInteractedWith) { terminal.sendText('u0003'); // Ctrl+C for #106743. Not part of the same command for #107969 await timeout(200); // mirroring https://github.com/microsoft/vscode/blob/c67ccc70ece5f472ec25464d3eeb874cfccee9f1/src/vs/workbench/contrib/terminal/browser/terminalInstance.ts#L852-L857 } if (configProvider.getConfiguration('debug.terminal').get('clearBeforeReusing')) {"} {"_id":"q-en-vscode-c3dcc7dd951fa3910eba28fb060d2cb6998b3665b6b74d8bfe79b4873f5b94cd","text":"// Complete when wait marker file is deleted whenDeleted(waitMarkerFilePath).done(c, c); }).then(() => { // Make sure to delete the tmp stdin file if we have any if (stdinFilePath) { fs.unlinkSync(stdinFilePath); } }); }"} {"_id":"q-en-vscode-c43b409ab05fb2b9634655b42342c0ac617e857030ab8d445586e0aa32cfd324","text":"import { coalesce } from 'vs/base/common/arrays'; import Severity from 'vs/base/common/severity'; import { ThemeIcon as ThemeIconUtils } from 'vs/platform/theme/common/themeService'; import { checkProposedApiEnabled } from 'vs/workbench/services/extensions/common/extensions'; export type Item = string | QuickPickItem;"} {"_id":"q-en-vscode-c46e37621fa6fe336b8a545efea7272237d0fc197a669ab8fc906ac9de94305d","text":"} private onDidChangePresentation(): void { this._pickedColorNode.textContent = this.model.presentation ? this.model.presentation.label : ''; this._pickedColorNode.prepend($('.codicon.codicon-color-mode')); this._pickedColorPresentation.textContent = this.model.presentation ? this.model.presentation.label : ''; } }"} {"_id":"q-en-vscode-c4f9111ec1278dd2b2bb47549362e1571bf9753985dcca144e6efad00eb9fc98","text":"// other flows that work well. supportsGitHubEnterpriseServer: false, supportsHostedGitHubEnterprise: true, supportsRemoteExtensionHost: true, // Opening a port on the remote side can't be open in the browser on // the client side so this flow won't work in remote extension hosts supportsRemoteExtensionHost: false, // Web worker can't open a port to listen for the redirect supportsWebWorkerExtensionHost: false, // exchanging a code for a token requires a client secret"} {"_id":"q-en-vscode-c51adc48b3a092e5b7718e757975949840ab94ad9b2100c878e1629f887908e0","text":"async focusNextPage(browserEvent?: UIEvent, filter?: (element: T) => boolean): Promise { let lastPageIndex = this.view.indexAt(this.view.getScrollTop() + this.view.renderHeight); lastPageIndex = lastPageIndex === 0 ? 0 : lastPageIndex - 1; const lastPageElement = this.view.element(lastPageIndex); const currentlyFocusedElementIndex = this.getFocus()[0]; const currentlyFocusedElement = this.view.element(currentlyFocusedElementIndex); if (currentlyFocusedElement !== lastPageElement && lastPageIndex > currentlyFocusedElementIndex) { if (currentlyFocusedElementIndex !== lastPageIndex && (currentlyFocusedElementIndex === undefined || lastPageIndex > currentlyFocusedElementIndex)) { const lastGoodPageIndex = this.findPreviousIndex(lastPageIndex, false, filter); if (lastGoodPageIndex > -1 && currentlyFocusedElement !== this.view.element(lastGoodPageIndex)) { if (lastGoodPageIndex > -1 && currentlyFocusedElementIndex !== lastGoodPageIndex) { this.setFocus([lastGoodPageIndex], browserEvent); } else { this.setFocus([lastPageIndex], browserEvent);"} {"_id":"q-en-vscode-c5b80c1326c251dbef0c15bec5631406bbaba3ed3eb72ee1cf2fdcdae5d02363","text":"private _pattern = ''; get pattern(): string { return this._pattern; } private previousPattern = ''; private _mode: TreeFindMode; get mode(): TreeFindMode { return this._mode; }"} {"_id":"q-en-vscode-c5c7a16dba9ebdf77ade8754c127d543597b53da55e415e7a80747f67445a395","text":"private readonly _onSocketClose = new BufferedEmitter(); readonly onSocketClose: Event = this._onSocketClose.event; private readonly _onSocketTimeout = new BufferedEmitter(); readonly onSocketTimeout: Event = this._onSocketTimeout.event; private readonly _onSocketTimeout = new BufferedEmitter(); readonly onSocketTimeout: Event = this._onSocketTimeout.event; public get unacknowledgedCount(): number { return this._outgoingMsgId - this._outgoingAckId;"} {"_id":"q-en-vscode-c5dac341e11c676b41250c8c99dcbcde599c08ce01b73c420e03be4f13d733bf","text":"this.table.domNode.ariaLabel = label; } setMarkerSelection(marker?: Marker): void { setMarkerSelection(selection?: Marker[], focus?: Marker[]): void { if (this.isVisible()) { if (marker) { const index = this.findMarkerIndex(marker); if (index !== -1) { this.table.setFocus([index]); this.table.setSelection([index]); if (selection && selection.length > 0) { this.table.setSelection(selection.map(m => this.findMarkerIndex(m))); if (focus && focus.length > 0) { this.table.setFocus(focus.map(f => this.findMarkerIndex(f))); } else { this.table.setFocus([this.findMarkerIndex(selection[0])]); } } else if (this.getSelection().length === 0 && this.getVisibleItemCount() > 0) { this.table.setFocus([0]);"} {"_id":"q-en-vscode-c5e3e6e9b93a8a20e0330daaee17a9a5f60d83894ec6d2cb22cacfa7af879432","text":"// TODO@ulugbekna: could this be simply run in `afterRender`? setTimeout(() => { this._input.domNode.focus(); this._input.domNode.select(); this._input.domNode.setSelectionRange( parseInt(this._input!.domNode.getAttribute('selectionStart')!), parseInt(this._input!.domNode.getAttribute('selectionEnd')!) ); }, 100); }"} {"_id":"q-en-vscode-c61657a7fb8879fcdb2fefab76efd26480c62607433bb7f74198206d30c3b0fd","text":"return { tasks, taskNames, locations }; } public static async promptForPermission(taskService: ITaskService, storageService: IStorageService, notificationService: INotificationService, workspaceTrustManagementService: IWorkspaceTrustManagementService, public static async runWithPermission(taskService: ITaskService, storageService: IStorageService, notificationService: INotificationService, workspaceTrustManagementService: IWorkspaceTrustManagementService, openerService: IOpenerService, configurationService: IConfigurationService, workspaceTaskResult: Map) { const isWorkspaceTrusted = workspaceTrustManagementService.isWorkspaceTrusted; if (!isWorkspaceTrusted) { if (!isWorkspaceTrusted || configurationService.getValue(ALLOW_AUTOMATIC_TASKS) === 'off') { return; } if (configurationService.getValue(ALLOW_AUTOMATIC_TASKS) === 'off') { const hasShownPromptForAutomaticTasks = storageService.getBoolean(HAS_PROMPTED_FOR_AUTOMATIC_TASKS, StorageScope.WORKSPACE, false); const { tasks, taskNames, locations } = RunAutomaticTasks._findAutoTasks(taskService, workspaceTaskResult); if (taskNames.length === 0) { return; } const hasShownPromptForAutomaticTasks = storageService.getBoolean(HAS_PROMPTED_FOR_AUTOMATIC_TASKS, StorageScope.WORKSPACE, undefined); const { tasks, taskNames, locations } = RunAutomaticTasks._findAutoTasks(taskService, workspaceTaskResult); if (taskNames.length > 0) { if (configurationService.getValue(ALLOW_AUTOMATIC_TASKS) === 'on') { RunAutomaticTasks._runTasks(taskService, tasks); } else if (!hasShownPromptForAutomaticTasks) { // We have automatic tasks, prompt to allow. this._showPrompt(notificationService, storageService, openerService, configurationService, taskNames, locations).then(allow => { if (allow) { RunAutomaticTasks._runTasks(taskService, tasks); } }); } if (configurationService.getValue(ALLOW_AUTOMATIC_TASKS) === 'on') { RunAutomaticTasks._runTasks(taskService, tasks); } else if (configurationService.getValue(ALLOW_AUTOMATIC_TASKS) === 'auto' && !hasShownPromptForAutomaticTasks) { // by default, only prompt once per folder // otherwise, this can be configured via the setting this._showPrompt(notificationService, storageService, openerService, configurationService, taskNames, locations).then(allow => { if (allow) { storageService.store(HAS_PROMPTED_FOR_AUTOMATIC_TASKS, true, StorageScope.WORKSPACE, StorageTarget.USER); RunAutomaticTasks._runTasks(taskService, tasks); } }); } }"} {"_id":"q-en-vscode-c6616771a545d52aab3e921969559b1d33ab9dfc9452a036ba26a78bb37c8904","text":"\"@vscode/iconv-lite-umd\": \"0.7.0\", \"@vscode/tree-sitter-wasm\": \"^0.0.4\", \"@vscode/vscode-languagedetection\": \"1.0.21\", \"@xterm/addon-clipboard\": \"0.2.0-beta.39\", \"@xterm/addon-image\": \"0.9.0-beta.56\", \"@xterm/addon-search\": \"0.16.0-beta.56\", \"@xterm/addon-serialize\": \"0.14.0-beta.56\", \"@xterm/addon-unicode11\": \"0.9.0-beta.56\", \"@xterm/addon-webgl\": \"0.19.0-beta.56\", \"@xterm/xterm\": \"5.6.0-beta.56\", \"@xterm/addon-clipboard\": \"^0.2.0-beta.47\", \"@xterm/addon-image\": \"^0.9.0-beta.64\", \"@xterm/addon-search\": \"^0.16.0-beta.64\", \"@xterm/addon-serialize\": \"^0.14.0-beta.64\", \"@xterm/addon-unicode11\": \"^0.9.0-beta.64\", \"@xterm/addon-webgl\": \"^0.19.0-beta.64\", \"@xterm/xterm\": \"^5.6.0-beta.64\", \"jschardet\": \"3.1.3\", \"tas-client-umd\": \"0.2.0\", \"vscode-oniguruma\": \"1.7.0\","} {"_id":"q-en-vscode-c6861daeff2f85888c94a66fc6ff7bdd4fdbcbe90aace76286bc328e0a5f6e99","text":"} editor = editor ?? this.editorService.activeTextEditorControl; if (isDiffEditor(editor)) { if (editor.getOriginalEditor().hasTextFocus()) { editor = editor.getOriginalEditor(); } else { editor = editor.getModifiedEditor(); } } if (!editor) { return null;"} {"_id":"q-en-vscode-c6fe81f4d67bdd9f59410b4f23a624c41c0d78219ffa63fdaaa97e6b416e622b","text":"\"values\": [ { \"name\": \"center\", \"desc\": \"Places the center of the Grid Item's margin box at the center of the the Grid Item's row.\" \"desc\": \"Places the center of the Grid Item's margin box at the center of the Grid Item's row.\" }, { \"name\": \"end\","} {"_id":"q-en-vscode-c7005c8ddf54ade51a1f1ed5e473c1d4f4269c75dc04a5fed6bdde614ee8451d","text":"export interface IButtonOptions extends Partial { readonly title?: boolean | string; readonly ariaLabel?: boolean | string; readonly supportIcons?: boolean; readonly supportShortLabel?: boolean; readonly secondary?: boolean;"} {"_id":"q-en-vscode-c748ce2b338128338f4b99833eca7ef659240b12d39d4f84cfee9a84eefc8991","text":"metadata.scrollable : options.outputScrolling; } // div.cell_container // div.output_container // div.output.output-stream\t\t<-- outputElement parameter // div.scrollable? tabindex=\"0\" \t<-- contentParent // div output-item-id=\"{guid}\"\t<-- content from outputItem parameter function renderStream(outputInfo: OutputItem, outputElement: HTMLElement, error: boolean, ctx: IRichRenderContext): IDisposable { const disposableStore = createDisposableStore(); const outputScrolling = scrollingEnabled(outputInfo, ctx.settings);"} {"_id":"q-en-vscode-c7da37c444f3c2f0b295a40a5572068c57a97ad3e62ce7d0e83c8350af16dd8b","text":"/** Whether the mouse is within the terminal tabs list. */ export const tabsMouse = new RawContextKey(TerminalContextKeyStrings.TabsMouse, false, true); /** The shell type of the active terminal, this is set to the last known value when no terminals exist. */ export const shellType = new RawContextKey(TerminalContextKeyStrings.ShellType, undefined, { type: 'string', description: localize('terminalShellTypeContextKey', \"The shell type of the active terminal, this is set to the last known value when no terminals exist.\") }); /** The shell type of the active terminal, this is set if the type can be detected. */ export const shellType = new RawContextKey(TerminalContextKeyStrings.ShellType, undefined, { type: 'string', description: localize('terminalShellTypeContextKey', \"The shell type of the active terminal, this is set if the type can be detected.\") }); /** Whether the terminal's alt buffer is active. */ export const altBufferActive = new RawContextKey(TerminalContextKeyStrings.AltBufferActive, false, localize('terminalAltBufferActive', \"Whether the terminal's alt buffer is active.\"));"} {"_id":"q-en-vscode-c8020e475bb80ca5273fdc7f19833729fd952e64d167bad857b8c84a6d89ef79","text":"$unregisterTaskProvider(handle: number): Promise; $fetchTasks(filter?: tasks.TaskFilterDTO): Promise; $getTaskExecution(value: tasks.TaskHandleDTO | tasks.TaskDTO): Promise; $executeTask(task: tasks.TaskDTO): Promise; $executeTask(task: tasks.TaskHandleDTO | tasks.TaskDTO): Promise; $terminateTask(id: string): Promise; $registerTaskSystem(scheme: string, info: tasks.TaskSystemInfoDTO): void; $customExecutionComplete(id: string, result?: number): Promise;"} {"_id":"q-en-vscode-c878dac2810231b1b94daf397765750408252c0f2f515994ca4ee278b2f45755","text":"cellKind: cell.cellKind, language: cell.language, source: cell.source, internalMetadata: cell.internalMetadata, metadata: cell.metadata, outputs: cell.outputs.map(toNotebookOutputDto) }; }"} {"_id":"q-en-vscode-c8b1f3d47399b6ccee3e9f01353a9a5b5ffcf6e57cc56d84f628ca5772af15de","text":"original: 'Merge Editor', }; export class OpenResultResource extends Action2 { constructor() { super({ id: 'merge.openResult', icon: Codicon.goToFile, title: { value: localize('openfile', 'Open File'), original: 'Open File', }, category: mergeEditorCategory, menu: [{ id: MenuId.EditorTitle, when: ctxIsMergeEditor, group: 'navigation', order: 1, }], precondition: ctxIsMergeEditor, }); } async run(accessor: ServicesAccessor): Promise { const opener = accessor.get(IOpenerService); const { activeEditor } = accessor.get(IEditorService); if (activeEditor instanceof MergeEditorInput) { await opener.open(activeEditor.result); } } } export class GoToNextConflict extends Action2 { constructor() { super({"} {"_id":"q-en-vscode-c8bc1207aff80cd1168449501bd9158185a9992ee145c794e94cefd8ff28bb34","text":"import { BrowserFeatures } from 'vs/base/browser/canIUse'; import { IPreferencesService } from 'vs/workbench/services/preferences/common/preferences'; import { IEnvironmentVariableInfo } from 'vs/workbench/contrib/terminal/common/environmentVariable'; import { IProcessDataEvent, IShellLaunchConfig, ITerminalDimensionsOverride, ITerminalLaunchError, TerminalShellType, TerminalSettingId, TitleEventSource, TerminalIcon, TerminalSettingPrefix } from 'vs/platform/terminal/common/terminal'; import { IProcessDataEvent, IShellLaunchConfig, ITerminalDimensionsOverride, ITerminalLaunchError, TerminalShellType, TerminalSettingId, TitleEventSource, TerminalIcon, TerminalSettingPrefix, ITerminalProfileObject } from 'vs/platform/terminal/common/terminal'; import { IProductService } from 'vs/platform/product/common/productService'; import { formatMessageForTerminal } from 'vs/workbench/contrib/terminal/common/terminalStrings'; import { AutoOpenBarrier } from 'vs/base/common/async';"} {"_id":"q-en-vscode-c8c3ec4661b754f2e6bbd2a19af6d95213f610d7bd22a1a25d50e9ec4035ef85","text":"import { KeyCode } from 'vs/base/common/keyCodes'; import { FindReplaceState } from 'vs/editor/contrib/find/browser/findState'; import { IMessage as InputBoxMessage } from 'vs/base/browser/ui/inputbox/inputBox'; import { SimpleButton, findPreviousMatchIcon, findNextMatchIcon } from 'vs/editor/contrib/find/browser/findWidget'; import { SimpleButton, findPreviousMatchIcon, findNextMatchIcon, NLS_NO_RESULTS, NLS_MATCHES_LOCATION } from 'vs/editor/contrib/find/browser/findWidget'; import { IContextKeyService } from 'vs/platform/contextkey/common/contextkey'; import { IContextViewService } from 'vs/platform/contextview/browser/contextView'; import { editorWidgetBackground, inputActiveOptionBorder, inputActiveOptionBackground, inputActiveOptionForeground, inputBackground, inputBorder, inputForeground, inputValidationErrorBackground, inputValidationErrorBorder, inputValidationErrorForeground, inputValidationInfoBackground, inputValidationInfoBorder, inputValidationInfoForeground, inputValidationWarningBackground, inputValidationWarningBorder, inputValidationWarningForeground, widgetShadow, editorWidgetForeground, errorForeground } from 'vs/platform/theme/common/colorRegistry'; import { IColorTheme, registerThemingParticipant } from 'vs/platform/theme/common/themeService'; import { ContextScopedFindInput } from 'vs/platform/history/browser/contextScopedHistoryWidget'; import { widgetClose } from 'vs/platform/theme/common/iconRegistry'; import * as strings from 'vs/base/common/strings'; const NLS_FIND_INPUT_LABEL = nls.localize('label.find', \"Find\"); const NLS_FIND_INPUT_\" = nls.localize('placeholder.find', \"Find\");"} {"_id":"q-en-vscode-c8c42acb79cf8e4dfd5cc1fe1f238c2ed2f060f6a921fb6a5dacf6cce97b9152","text":"margin-top: 7px; } .monaco-workbench.mac .part > .title > .title-actions .switch-terminal { .monaco-workbench.mac .part.sidebar > .title > .title-actions .switch-terminal { border-radius: 4px; } .monaco-workbench .part > .title > .title-actions .switch-terminal > .monaco-select-box { .monaco-workbench .part.sidebar > .title > .title-actions .switch-terminal > .monaco-select-box { border: none !important; display: block !important; background-color: unset !important;"} {"_id":"q-en-vscode-c8e0cca0146d6e87891eb82b6c46def5e5fdf0de918cd736dd698521469526a0","text":"return new TextualOccurenceRequest(model, selection, word, wordSeparators, otherModels); } registerModelAndPositionCommand('_executeDocumentHighlights', (accessor, model, position) => { registerModelAndPositionCommand('_executeDocumentHighlights', async (accessor, model, position) => { const languageFeaturesService = accessor.get(ILanguageFeaturesService); return getOccurrencesAtPosition(languageFeaturesService.documentHighlightProvider, model, position, CancellationToken.None); const map = await getOccurrencesAtPosition(languageFeaturesService.documentHighlightProvider, model, position, CancellationToken.None); return map?.get(model.uri); }); class WordHighlighter {"} {"_id":"q-en-vscode-c8e8f67d3112d173133e7b5d7f3ea93875cf09cc459119d95fadec2923b5509e","text":"\"tas-client-umd\": \"0.1.8\", \"vscode-oniguruma\": \"1.7.0\", \"vscode-textmate\": \"9.0.0\", \"xterm\": \"5.2.0-beta.35\", \"xterm-addon-canvas\": \"0.4.0-beta.9\", \"xterm\": \"5.2.0-beta.40\", \"xterm-addon-canvas\": \"0.4.0-beta.11\", \"xterm-addon-search\": \"0.11.0\", \"xterm-addon-unicode11\": \"0.5.0\", \"xterm-addon-webgl\": \"0.15.0-beta.8\" \"xterm-addon-webgl\": \"0.15.0-beta.10\" } }"} {"_id":"q-en-vscode-c9974f4c8ba1c19640911e1dc205c2590dbf235f80c5a4b6efeca1ee3f837ab3","text":"\"sinon\": \"^1.17.2\", \"source-map\": \"^0.4.4\", \"tslint\": \"^4.3.1\", \"typescript\": \"^2.1.4\", \"typescript\": \"2.1.5\", \"typescript-formatter\": \"4.0.1\", \"uglify-js\": \"2.4.8\", \"underscore\": \"^1.8.2\","} {"_id":"q-en-vscode-c99de89fcd884c2226102a17a71d53b88bca26345df0effd4457615115babbd9","text":"...baseProperty }, [AccessibilityAlertSettingId.Save]: { 'markdownDescription': localize('alert.save', \"When in screen reader mode, alerts when a file is saved. Also see {0}\", '`#audioCues.save#`'), 'markdownDescription': localize('alert.save', \"When in screen reader mode, alerts when a file is saved. Note that this will be ignored when {0} is enabled.\", '`#audioCues.save#`'), 'type': 'string', 'enum': ['userGesture', 'always', 'never'], 'default': 'never', 'default': 'always', 'enumDescriptions': [ localize('alert.save.userGesture', \"Alerts when a file is saved via user gesture.\"), localize('alert.save.always', \"Alerts whenever is a file is saved, including auto save.\"),"} {"_id":"q-en-vscode-c9c1fcfac46b9f807f75c55e1da0e749d751d0b46af0d293437554aa38591718","text":"this._render(result.value, result.foundInEditor); })); this._start(selection); this._body.style.zIndex = '50'; this._editor.addContentWidget(this); }"} {"_id":"q-en-vscode-c9d4225a56bfe32c449e14cadae245c5b5d4237680b6818d4c237fdf86c0300e","text":"import { debounce } from 'vs/base/common/decorators'; import { ThemeIcon } from 'vs/platform/theme/common/themeService'; import { URI, UriComponents } from 'vs/base/common/uri'; import { equals } from 'vs/base/common/arrays'; export interface IProfileContextProvider { getDefaultSystemShell: (remoteAuthority: string | undefined, os: OperatingSystem) => Promise;"} {"_id":"q-en-vscode-c9f6685700f33a17c7110f5606de2c2ff90b42288865e613eca925994c58572f","text":"return this.remoteUriFrom(value); } private tryAddTrailingSeparatorToDirectory(uri: URI, stat: IFileStatWithPartialMetadata): URI { if (stat.isDirectory) { // At this point we know it's a directory and can add the trailing path separator if (!this.endsWithSlash(uri.path)) { return resources.addTrailingPathSeparator(uri); } } return uri; } private async tryUpdateItems(value: string, valueUri: URI): Promise { if ((value.length > 0) && (value[0] === '~')) { const newDir = this.tildaReplace(value);"} {"_id":"q-en-vscode-c9f7c3bd4c213d180c6b62b15a782188f13df5b59ea72f99fb49d9ba6679cd7c","text":"languageServices.scss = getSCSSLanguageService({ fileSystemProvider: requestService, clientCapabilities: params.capabilities }); languageServices.less = getLESSLanguageService({ fileSystemProvider: requestService, clientCapabilities: params.capabilities }); const pullDiagnosticSupport = getClientCapability('textDocument.diagnostic', undefined); if (pullDiagnosticSupport === undefined) { const supportsDiagnosticPull = getClientCapability('textDocument.diagnostic', undefined); if (supportsDiagnosticPull === undefined) { diagnosticsSupport = registerDiagnosticsPushSupport(documents, connection, runtime, validateTextDocument); } else { diagnosticsSupport = registerDiagnosticsPullSupport(documents, connection, runtime, validateTextDocument);"} {"_id":"q-en-vscode-ca0414d63adb1322287e0cca4c3a0dd5aa423357be2634941fc28b21cc926b6b","text":"assertEmbeddedLanguageContent('
', 'javascript', ' foo(); bar(); '); assertEmbeddedLanguageContent('
', 'javascript', ' return; '); assertEmbeddedLanguageContent('
', 'javascript', ' return;n foo(); '); }); });"} {"_id":"q-en-vscode-ca2b8aecfc19a9dfc8645b59d79cc3d70c119f9ed945ef206cdc530df05f18a7","text":"this._element.title = renderStringAsPlaintext(value); } if (typeof this.options.ariaLabel === 'string') { this._element.setAttribute('aria-label', this.options.ariaLabel); } else if (this.options.ariaLabel) { this._element.setAttribute('aria-label', this._element.title); } this._label = value; }"} {"_id":"q-en-vscode-ca3bbb65b2637e357475c16f0cc7dc07b524be4454a30f8782e94f526498d7cc","text":"let version = this.productService.version; if (this.productService.target) { version = `${version} (${this.productService.target} setup)`; } else if (this.productService.darwinUniversalAssetId) { version = `${version} (Universal)`; } const osProps = await this.nativeHostService.getOSProperties();"} {"_id":"q-en-vscode-ca8620e5a4384c905ea8c918ea5743db82e22d19ee7afdadfd9d55da90e52ec4","text":"import { CancellationToken } from 'vs/base/common/cancellation'; import { FuzzyScore } from 'vs/base/common/filters'; import { Iterable } from 'vs/base/common/iterator'; import { RefCountedDisposable } from 'vs/base/common/lifecycle'; import { Disposable, RefCountedDisposable } from 'vs/base/common/lifecycle'; import { ICodeEditor } from 'vs/editor/browser/editorBrowser'; import { ICodeEditorService } from 'vs/editor/browser/services/codeEditorService'; import { EditorOption } from 'vs/editor/common/config/editorOptions';"} {"_id":"q-en-vscode-ca87abec605c69ab2b96ee1631da481e2eb8d59a38616036839b7251f32514e7","text":"readonly _processManager: ITerminalProcessManager; private readonly _resource: URI; private _shutdownPersistentProcessId: number | undefined; // Enables disposal of the xterm onKey // event when the CwdDetection capability // is added"} {"_id":"q-en-vscode-ca9e162db86585e5262e2ff37bcce2ae3ad6e8ec9ec3f2905bd60d188e321a59","text":"if (issueType === IssueType.PerformanceIssue && this.receivedSystemInfo && this.receivedPerformanceInfo) { return true; } if (issueType === IssueType.FeatureRequest) { return true; } } return false;"} {"_id":"q-en-vscode-caabcbcd2fe697bebc69559a7667affa058db71043dc473cec901c77e2fb718d","text":".monaco-workbench .select-container:after { content: var(--vscode-icon-chevron-down-content); font-family: var(--vscode-icon-chevron-down-font-family); font-family: codicon; font-size: 16px; width: 16px; height: 16px;"} {"_id":"q-en-vscode-cb5a99db7d2d1bd18d8df9db5f7a3d5cae5d01a8d1f80ab5f4c9aa2f7ed4327b","text":"\"when\": \"config.git.enabled && scmProvider == git && gitState == idle\" }, { \"command\": \"git.pullFrom\", \"group\": \"1_sync\", \"when\": \"config.git.enabled && scmProvider == git && gitState == idle\" }, { \"command\": \"git.push\", \"group\": \"1_sync\", \"when\": \"config.git.enabled && scmProvider == git && gitState == idle\""} {"_id":"q-en-vscode-cb7125b28c94210c844c3791ff79e82978da8bbaca16a1adfeac6dd778e94ab3","text":"end end end __preserve_fish_prompt # Sent whenever a new fish prompt is about to be displayed. # Updates the current working directory."} {"_id":"q-en-vscode-cb7cfa14e1236a8cf232284c69481e195a72fc8c70d4dc86c67cd56cfde3ad06","text":"resetStateMachine = true; } } else if (state === END_STATE) { chClass = (chCode < characterClassesLength ? characterClasses[chCode] : CharacterClass.None); chClass = characterClassifier.classify(chCode); // Check if character terminates link if (chClass === CharacterClass.ForceTermination) {"} {"_id":"q-en-vscode-cb9019d11a048c3d82a591ca96c0cc599386080fe356d46efd2ebfc75a8d4ca3","text":" No newline at end of file No newline at end of file"} {"_id":"q-en-vscode-cb9e118487a62fbf612229e1f77daf76d446dae29c3c67d5c35f5b308a4f526c","text":"cellList.updateElementHeight2(viewModel.cellAt(0)!, 100); assert.deepStrictEqual(cellList.scrollHeight, 400); // the first cell grows, but it's partially visible, so we won't push down the focused cell // the first cell grows, but we anchor to the focused cell, so the notebook will scroll down assert.deepStrictEqual(cellList.scrollTop, 55); assert.deepStrictEqual(cellList.getViewScrollBottom(), 265); // We don't anchor to the focused cell when cells shrink cellList.updateElementHeight2(viewModel.cellAt(0)!, 50); assert.deepStrictEqual(cellList.scrollTop, 5); assert.deepStrictEqual(cellList.getViewScrollBottom(), 215); assert.deepStrictEqual(cellList.scrollTop, 55); assert.deepStrictEqual(cellList.getViewScrollBottom(), 265); // focus won't be visible after cell 0 grow to 250, so let's try to keep the focused cell visible cellList.updateElementHeight2(viewModel.cellAt(0)!, 250);"} {"_id":"q-en-vscode-cc058ecf7c07318a709dd52d8074fad12bfa657c418804dc646adbbb9d701d37","text":"`); } if (styles.listInactiveFocusOutline) { const inactiveFocusAndSelectionOutline = asCssValueWithDefault(styles.listSelectionOutline, styles.listInactiveFocusOutline ?? ''); if (inactiveFocusAndSelectionOutline) { content.push(`.monaco-list${suffix} .monaco-list-row.focused.selected { outline: 1px dotted ${inactiveFocusAndSelectionOutline}; outline-offset: -1px; }`); } if (styles.listSelectionOutline) { // default: activeContrastBorder content.push(`.monaco-list${suffix} .monaco-list-row.selected { outline: 1px dotted ${styles.listSelectionOutline}; outline-offset: -1px; }`); } if (styles.listInactiveFocusOutline) { // default: null content.push(`.monaco-list${suffix} .monaco-list-row.focused { outline: 1px dotted ${styles.listInactiveFocusOutline}; outline-offset: -1px; }`); } if (styles.listHoverOutline) { if (styles.listHoverOutline) { // default: activeContrastBorder content.push(`.monaco-list${suffix} .monaco-list-row:hover { outline: 1px dashed ${styles.listHoverOutline}; outline-offset: -1px; }`); }"} {"_id":"q-en-vscode-cc22241190307f642c1fd1d9cdf90cbe233946ccf944ce75d98ca7b6d81dc135","text":"public toggleActiveConflict(inputNumber: 1 | 2): void { const activeModifiedBaseRange = this.activeModifiedBaseRange.get(); if (!activeModifiedBaseRange) { this.notificationService.error(localize('noConflictMessage', \"There is currently no conflict focused that can be toggled.\")); return; } transaction(tx => {"} {"_id":"q-en-vscode-cc2ef0efd8f18c23791c31484da88feedb236ef16bda4f1c8ed624f371d35850","text":"} } private async selectProfileResources(profileImportExportState: UserDataProfileImportExportState, title: string, description: string): Promise { type ProfileResourceQuickItem = { item: IProfileResourceTreeItem; label: string }; const disposables: DisposableStore = new DisposableStore(); const quickPick = this.quickInputService.createQuickPick(); disposables.add(quickPick); quickPick.title = title; quickPick.ok = 'default'; quickPick.customButton = true; quickPick.customLabel = localize('show contents', \"Show Contents\"); quickPick.description = description; quickPick.canSelectMany = true; quickPick.hideInput = true; quickPick.hideCheckAll = true; quickPick.busy = true; let accepted: boolean = false; let preview: boolean = false; disposables.add(quickPick.onDidAccept(() => { accepted = true; quickPick.hide(); })); disposables.add(quickPick.onDidCustom(() => { preview = true; quickPick.hide(); })); const promise = new Promise((c, e) => { disposables.add(quickPick.onDidHide(() => { try { if (accepted || preview) { for (const root of roots) { root.checkbox.isChecked = quickPick.selectedItems.some(({ item }) => item === root); } c(accepted); } else { c(undefined); } } catch (error) { e(error); } finally { disposables.dispose(); } })); }); quickPick.show(); const roots = await profileImportExportState.getRoots(); quickPick.busy = false; const items = roots.map(item => ({ item, label: item.label?.label ?? item.type })); quickPick.items = items; quickPick.selectedItems = items.filter(({ item }) => item.checkbox?.isChecked); return promise; } private async showProfilePreviewView(id: string, name: string, confirmLabel: string, cancelLabel: string, userDataProfilesData: UserDataProfileImportExportState): Promise { const disposables = new DisposableStore(); const viewsRegistry = Registry.as(Extensions.ViewsRegistry);"} {"_id":"q-en-vscode-cc7c59f7351ccf0277d90cd620a606543b4f0c1846a64fc9f478355ecfd19a58","text":"\"category\": \"Git\" }, { \"command\": \"git.pullFrom\", \"title\": \"%command.pullFrom%\", \"category\": \"Git\" }, { \"command\": \"git.push\", \"title\": \"%command.push%\", \"category\": \"Git\""} {"_id":"q-en-vscode-ccafbca59e43e2c155d746015bb1da3c9ae59b9df9a3d69825cd57bc3f5a8091","text":"}, 'emmet.excludeLanguages': { 'type': 'array', 'default': [], 'default': ['markdown'], 'description': nls.localize('emmetExclude', \"An array of languages where emmet abbreviations should not be expanded.\") }, }"} {"_id":"q-en-vscode-ccdd912c42c081afe173cb3c78d535a7d5bf1cad805f19df377343d6d87aec2b","text":"return false; } const lineText = model.textModel.getLineContent(state.ghostText.lineNumber); if (!lineText) { return false; } const ghostText = state.ghostText.renderForScreenReader(lineText); if (!ghostText) { return false;"} {"_id":"q-en-vscode-cce902a33f07d7164b54e4734d5613ecb9e1ec3135d0b13ca90834d0c1450377","text":"/** * Creates a new parameter information object. * * @param label A label string. * @param label A label string or inclusive start and exclusive end offsets within its containing. * @param documentation A doc string. */ constructor(label: string, documentation?: string | MarkdownString); constructor(label: string | [number, number], documentation?: string | MarkdownString); } /**"} {"_id":"q-en-vscode-cd72ca88796a1617ac75a61548eadefd9259e787a94744bc8534a63a985e2491","text":"location: IMPORT_PROFILE_PREVIEW_VIEW, }, () => importProfileFn()); } })); }), this.notificationService); return importAction; }"} {"_id":"q-en-vscode-cd7eff9db3b50a2353e94be638ab4ebd7d6ec42493dd00a815574abb78dce7fb","text":"visibility: hidden; } /* Composition view */ .terminal .composition-view { background: #000; color: #FFF; display: none; position: absolute; white-space: nowrap; } .terminal .composition-view.active { display: block; } /* Base selection colors */ .monaco-workbench .panel.integrated-terminal .xterm *::selection {"} {"_id":"q-en-vscode-cda66d24cc06f4362633caeb5d8b03ab8e208528d9ced98a52f0128059852f9d","text":"const hoverOpts = this._editor.getOption(EditorOption.hover); this._isHoverEnabled = hoverOpts.enabled; this._isHoverSticky = hoverOpts.sticky; this._hidingDelay = hoverOpts.hidingDelay; if (this._isHoverEnabled) { this._toUnhook.add(this._editor.onMouseDown((e: IEditorMouseEvent) => this._onEditorMouseDown(e))); this._toUnhook.add(this._editor.onMouseUp((e: IEditorMouseEvent) => this._onEditorMouseUp(e)));"} {"_id":"q-en-vscode-cdd8a63080d79991ab268d27b0604b9cc5304960eec1ae063b08167cc4d799d5","text":"throw new ExtensionManagementError(nls.localize('malicious extension', \"Can't install '{0}' extension since it was reported to be problematic.\", extension.identifier.id), ExtensionManagementErrorCode.Malicious); } const deprecated = report.deprecated[extension.identifier.id.toLowerCase()]; if (deprecated?.disallowInstall) { const message = deprecated.extension ? nls.localize('unsupported extension with alternative', \"Can't install '{0}' extension because it is deprecated. Use {1} extension instead.\", extension.identifier.id, deprecated.extension.displayName) : nls.localize('unsupported extension without alternative and no message', \"Can't install '{0}' extension because it is deprecated.\", extension.identifier.id); throw new ExtensionManagementError(message, ExtensionManagementErrorCode.Deprecated); } if (!await this.canInstall(extension)) { const targetPlatform = await this.getTargetPlatform(); throw new ExtensionManagementError(nls.localize('incompatible platform', \"The '{0}' extension is not available in {1} for {2}.\", extension.identifier.id, this.productService.nameLong, TargetPlatformToString(targetPlatform)), ExtensionManagementErrorCode.IncompatibleTargetPlatform);"} {"_id":"q-en-vscode-cdf5a8a4be3b7c63203cd639bb7e203e2f18f5947b2777ff850ee47f31ced9fc","text":"vscode-nls \"^5.0.1\" vscode-uri \"^3.0.3\" vscode-jsonrpc@8.0.1: version \"8.0.1\" resolved \"https://registry.yarnpkg.com/vscode-jsonrpc/-/vscode-jsonrpc-8.0.1.tgz#f30b0625ebafa0fb3bc53e934ca47b706445e57e\" integrity sha512-N/WKvghIajmEvXpatSzvTvOIz61ZSmOSa4BRA4pTLi+1+jozquQKP/MkaylP9iB68k73Oua1feLQvH3xQuigiQ== vscode-jsonrpc@8.0.2-next.1: version \"8.0.2-next.1\" resolved \"https://registry.yarnpkg.com/vscode-jsonrpc/-/vscode-jsonrpc-8.0.2-next.1.tgz#6bdc39fd194782032e34047eeefce562941259c6\" integrity sha512-sbbvGSWja7NVBLHPGawtgezc8DHYJaP4qfr/AaJiyDapWcSFtHyPtm18+LnYMLTmB7bhOUW/lf5PeeuLpP6bKA== vscode-languageserver-protocol@3.17.1: version \"3.17.1\" resolved \"https://registry.yarnpkg.com/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.1.tgz#e801762c304f740208b6c804a0cf21f2c87509ed\" integrity sha512-BNlAYgQoYwlSgDLJhSG+DeA8G1JyECqRzM2YO6tMmMji3Ad9Mw6AW7vnZMti90qlAKb0LqAlJfSVGEdqMMNzKg== vscode-languageserver-protocol@3.17.2-next.5: version \"3.17.2-next.5\" resolved \"https://registry.yarnpkg.com/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.2-next.5.tgz#9bc747411c3ce9e1d73c2714bf6555e0199eec26\" integrity sha512-UlH+QL4Q4lX94of/UPDDwwWIkd8w7dtMW4khzvEDUoykiG9tba0iG6V0bAiv8XVpnBIUYjL2FNFiL3zl+TY1Sw== dependencies: vscode-jsonrpc \"8.0.1\" vscode-languageserver-types \"3.17.1\" vscode-jsonrpc \"8.0.2-next.1\" vscode-languageserver-types \"3.17.2-next.2\" vscode-languageserver-textdocument@^1.0.4: version \"1.0.4\" resolved \"https://registry.yarnpkg.com/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.4.tgz#3cd56dd14cec1d09e86c4bb04b09a246cb3df157\" integrity sha512-/xhqXP/2A2RSs+J8JNXpiiNVvvNM0oTosNVmQnunlKvq9o4mupHOBAnnzH0lwIPKazXKvAKsVp1kr+H/K4lgoQ== vscode-languageserver-types@3.17.1, vscode-languageserver-types@^3.17.1: vscode-languageserver-types@3.17.2-next.2: version \"3.17.2-next.2\" resolved \"https://registry.yarnpkg.com/vscode-languageserver-types/-/vscode-languageserver-types-3.17.2-next.2.tgz#af5d6978eee7682aab87c1419323f5b141ac6596\" integrity sha512-TiAkLABgqkVWdAlC3XlOfdhdjIAdVU4YntPUm9kKGbXr+MGwpVnKz2KZMNBcvG0CFx8Hi8qliL0iq+ndPB720w== vscode-languageserver-types@^3.17.1: version \"3.17.1\" resolved \"https://registry.yarnpkg.com/vscode-languageserver-types/-/vscode-languageserver-types-3.17.1.tgz#c2d87fa7784f8cac389deb3ff1e2d9a7bef07e16\" integrity sha512-K3HqVRPElLZVVPtMeKlsyL9aK0GxGQpvtAUTfX4k7+iJ4mc1M+JM+zQwkgGy2LzY0f0IAafe8MKqIkJrxfGGjQ== vscode-languageserver@^8.0.1: version \"8.0.1\" resolved \"https://registry.yarnpkg.com/vscode-languageserver/-/vscode-languageserver-8.0.1.tgz#56bd7a01f5c88af075a77f1d220edcb30fc4bdc7\" integrity sha512-sn7SjBwWm3OlmLtgg7jbM0wBULppyL60rj8K5HF0ny/MzN+GzPBX1kCvYdybhl7UW63V5V5tRVnyB8iwC73lSQ== vscode-languageserver@^8.0.2-next.4: version \"8.0.2-next.4\" resolved \"https://registry.yarnpkg.com/vscode-languageserver/-/vscode-languageserver-8.0.2-next.4.tgz#c10cc95be06325b56b7ec1d10271c9e4adf3ef07\" integrity sha512-B3roWH4TmJiB6Zh5+r7zu0QdlLqJsPdGo0LeEi6OiLfrHYCDlcI7DNcQ7F17vWmxC3C82SrxMt/EuLBMpKQM0A== dependencies: vscode-languageserver-protocol \"3.17.1\" vscode-languageserver-protocol \"3.17.2-next.5\" vscode-nls@^5.0.1: version \"5.0.1\""} {"_id":"q-en-vscode-ce24f7ba285e96cde5aea331308fd537f2224603ce02bd0256a90ba16c0a5070","text":"\"git\": { \"name\": \"chromium\", \"repositoryUrl\": \"https://chromium.googlesource.com/chromium/src\", \"commitHash\": \"16e28102fdf876ce6d136674ba66343ede07441f\" \"commitHash\": \"a8a8309404d39efa9c624d7aee0e27562721e522\" } }, \"licenseDetail\": ["} {"_id":"q-en-vscode-ce2846ddbc871a61e866f4f5cfb9b392768557acdc3e47a96d4d03d9a9d08dde","text":"const noMatches = this.filter.totalCount > 0 && this.filter.matchCount === 0; if (this.pattern && noMatches) { this.widget?.showMessage({ type: MessageType.WARNING, content: localize('not found', \"No elements found.\") }); if (this.tree.options.showNotFoundMessage ?? true) { this.widget?.showMessage({ type: MessageType.WARNING, content: localize('not found', \"No elements found.\") }); } else { this.widget?.showMessage({ type: MessageType.WARNING }); } } else { this.widget?.clearMessage(); }"} {"_id":"q-en-vscode-ce4348d66d8b873a43dcde599b791c6847009812d2ca68dbdf63f92e454cb21c","text":"cp -r usr/share/@@NAME@@/* %{buildroot}/usr/share/@@NAME@@ cp -r usr/share/applications/@@NAME@@.desktop %{buildroot}/usr/share/applications cp -r usr/share/applications/@@NAME@@-url-handler.desktop %{buildroot}/usr/share/applications cp -r usr/share/mime/packages/@@NAME@@-workspace.xml %{buildroot}/usr/share/mime/packages/@@NAME-workspace.xml cp -r usr/share/pixmaps/@@ICON@@.png %{buildroot}/usr/share/pixmaps cp usr/share/bash-completion/completions/@@NAME@@ %{buildroot}/usr/share/bash-completion/completions/@@NAME@@ cp usr/share/zsh/site-functions/_@@NAME@@ %{buildroot}/usr/share/zsh/site-functions/_@@NAME@@"} {"_id":"q-en-vscode-ce4a0ff160d113a985535f9c251f5f5eb22d6dd617ce86f34a5761e937ee44b5","text":"} private async _getMediaFilesEdit(document: vscode.TextDocument, dataTransfer: vscode.DataTransfer, token: vscode.CancellationToken): Promise { if (document.uri.scheme === Schemes.untitled) { if (getParentDocumentUri(document.uri).scheme === Schemes.untitled) { return; }"} {"_id":"q-en-vscode-ce53cbf59071a8b609e5d3a5852cb0ed925827112673e01f703c1a4792d11a14","text":"\"git\": { \"name\": \"electron\", \"repositoryUrl\": \"https://github.com/electron/electron\", \"commitHash\": \"415301c477b600502cf264e93318dda551288829\" \"commitHash\": \"805674fa8aae4d652b6956a96f8eadf9d9137457\" } }, \"isOnlyProductionDependency\": true, \"license\": \"MIT\", \"version\": \"25.8.4\" \"version\": \"25.9.1\" }, { \"component\": {"} {"_id":"q-en-vscode-ce5b9d491cec5f88b71d3bec06de023f04cd38424672c74ba5a518fff64a549a","text":"enabled: boolean(input.enabled, this.defaultValue.enabled), delay: EditorIntOption.clampedInt(input.delay, this.defaultValue.delay, 0, 10000), sticky: boolean(input.sticky, this.defaultValue.sticky), hidingDelay: EditorIntOption.clampedInt(input.hidingDelay, this.defaultValue.hidingDelay, 0, 600000), above: boolean(input.above, this.defaultValue.above), }; }"} {"_id":"q-en-vscode-ce8f12ea9ae97cf70fb8f9e90507bc065b9fddb3fc93b19a669ad56e80258c37","text":"if (ir) { let oldEndViewColumn = CursorColumns.visibleColumnFromColumn2(config, model, range.getEndPosition()); const oldEndColumn = range.endColumn; let beforeText = 'n'; if (indentation !== config.normalizeIndentation(ir.beforeEnter)) { beforeText = config.normalizeIndentation(ir.beforeEnter) + lineText.substring(indentation.length, range.startColumn - 1) + 'n'; range = new Range(range.startLineNumber, 1, range.endLineNumber, range.endColumn); } const newLineContent = model.getLineContent(range.endLineNumber); const firstNonWhitespace = strings.firstNonWhitespaceIndex(newLineContent); if (firstNonWhitespace >= 0) {"} {"_id":"q-en-vscode-ceaf061ea63ef28e23fce6ea659f7b521c94783889e33237f5d32b37a81aa049","text":"resolved \"https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344\" integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== eslint-plugin-header@3.1.1: version \"3.1.1\" resolved \"https://registry.yarnpkg.com/eslint-plugin-header/-/eslint-plugin-header-3.1.1.tgz#6ce512432d57675265fac47292b50d1eff11acd6\" integrity sha512-9vlKxuJ4qf793CmeeSrZUvVClw6amtpghq3CuWcB5cUNnWHQhgcqy5eF8oVKFk1G3Y/CbchGfEaw3wiIJaNmVg== eslint-plugin-jsdoc@^19.1.0: version \"19.1.0\" resolved \"https://registry.yarnpkg.com/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-19.1.0.tgz#fcc17f0378fdd6ee1c847a79b7211745cb05d014\""} {"_id":"q-en-vscode-cf3291913064d147d7107d57439130bd7ec4307614eaf4340dee04015223bf7d","text":"return Promise.all(bps.map(bp => debugService.removeBreakpoints(bp.getId()))); } if (debugService.getConfigurationManager().canSetBreakpointsIn(editor.getModel())) { return debugService.addBreakpoints(modelUri, [{ lineNumber: position.lineNumber }]); return debugService.addBreakpoints(modelUri, [{ lineNumber: position.lineNumber }], 'debugEditorActions.toggleBreakpointAction'); } return Promise.resolve(null);"} {"_id":"q-en-vscode-cf4124444facaa54a68897185d40ccf9ac649c49f44eb536646efbac1b325a8c","text":"# Visual Studio Code - Open Source [VS Code](http://code.visualstudio.com) is a new choice of tool that combines the simplicity of a code editor with what developers need for their core edit-build-debug cycle. Code provides comprehensive editing and debugging support, an extensibility model, and lightweight integration with existing tools. [VS Code](http://code.visualstudio.com) is a new type of tool that combines the simplicity of a code editor with what developers need for their core edit-build-debug cycle. Code provides comprehensive editing and debugging support, an extensibility model, and lightweight integration with existing tools. \"vscodereadme\""} {"_id":"q-en-vscode-cf49c70997d06d81c54240ebc2ade35c34025901bf8f0197c26fa5df631ad3a2","text":"import { IChatReplyFollowup, IChatService, ISlashCommand, InteractiveSessionVoteDirection } from 'vs/workbench/contrib/chat/common/chatService'; import { IChatRequestViewModel, IChatResponseViewModel, IChatWelcomeMessageViewModel, isRequestVM, isResponseVM, isWelcomeVM } from 'vs/workbench/contrib/chat/common/chatViewModel'; import { IWordCountResult, getNWords } from 'vs/workbench/contrib/chat/common/chatWordCounter'; import { IAccessibilityService } from 'vs/platform/accessibility/common/accessibility'; import { AccessibilityVerbositySettingId } from 'vs/workbench/contrib/accessibility/browser/accessibilityContribution'; const $ = dom.$;"} {"_id":"q-en-vscode-cf62a4e241a582dd677c05cad2f5012ea8a5a4f4989bec3c1e17ed838e683be8","text":"await profiler.writeProfile(profileMain, `${filenamePrefix}-main.cpuprofile${suffix}`); await profiler.writeProfile(profileRenderer, `${filenamePrefix}-renderer.cpuprofile${suffix}`); await profiler.writeProfile(profileExtHost, `${filenamePrefix}-exthost.cpuprofile${suffix}`); }); }"} {"_id":"q-en-vscode-cf81c5373378e2b71c4cd2948f6a2686021d15713b0d5255556f2636e532a559","text":"} if (outputLineHeight || fontSize || outputFontSize) { configuration.outputLineHeight = this._computeOutputLineHeight(); const lineHeight = this.configurationService.getValue(NotebookSetting.outputLineHeight); configuration.outputLineHeight = this._computeOutputLineHeight(lineHeight, configuration.outputFontSize); } if (outputWordWrap) {"} {"_id":"q-en-vscode-cfad4513858c3c355cd2703263af128cbff813d8d45c8cb701d068a837948de4","text":" /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ declare module 'vscode' { // https://github.com/microsoft/vscode/issues/127473 /** * The state of a comment thread. */ export enum CommentThreadState { Unresolved = 0, Resolved = 1 } export interface CommentThread { /** * The optional state of a comment thread, which may affect how the comment is displayed. */ state?: CommentThreadState; } } "} {"_id":"q-en-vscode-cfc379ccb7a5490dae7029daead4db6536b64ee939b9fc98bd799709448326a3","text":"this.stateModel.setRuntimeValue(LayoutStateKeys.SIDEBAR_HIDDEN, true); } } // Side bar is hidden and a new window is opened with activity bar not visible (not default) else if (isNewWindow && activityBarNotDefault) { // Open side bar if there is a view container to restore const viewContainerToRestore = this.storageService.get(SidebarPart.activeViewletSettingsKey, StorageScope.WORKSPACE, this.viewDescriptorService.getDefaultViewContainer(ViewContainerLocation.Sidebar)?.id); if (viewContainerToRestore) { this.state.initialization.views.containerToRestore.sideBar = viewContainerToRestore; this.stateModel.setRuntimeValue(LayoutStateKeys.SIDEBAR_HIDDEN, false); } } // Panel View Container To Restore if (this.isVisible(Parts.PANEL_PART)) {"} {"_id":"q-en-vscode-cfcf20001cd004cb3fee5d6e5acda8e46bec23a357ba1ff8fa229c877e9cd3c5","text":"const cmd = quote(args.shift()!); command += (cmd[0] === ''') ? `& ${cmd} ` : `${cmd} `; for (const a of args) { command += `${quote(a)} `; command += (a === '<' || a === '>') ? a : quote(a); command += ' '; } } break;"} {"_id":"q-en-vscode-cfe29c62e7907f7c6600a0702ac3dc138abf414b3376ed2776a4b60ccc9f2ad3","text":"let hint = ''; const disableKeybinding = this._keybindingService.lookupKeybinding(AccessibilityCommandId.DisableVerbosityHint, this._contextKeyService)?.getAriaLabel(); if (disableKeybinding) { hint = localize('acessibleViewDisableHint', \"Disable accessibility verbosity for this feature ({0}). This will disable the hint to open the accessible view for example.n\", disableKeybinding); hint = localize('acessibleViewDisableHint', \"nnDisable accessibility verbosity for this feature ({0}).\", disableKeybinding); } else { hint = localize('accessibleViewDisableHintNoKb', \"Add a keybinding for the command Disable Accessible View Hint, which disables accessibility verbosity for this feature.n\"); hint = localize('accessibleViewDisableHintNoKb', \"nnAdd a keybinding for the command Disable Accessible View Hint, which disables accessibility verbosity for this feature.s\"); } return hint; }"} {"_id":"q-en-vscode-cfe2cf8555dfe14cd474f301ad2695ff23cbddd1c7899f1f4f4c28139894c569","text":"this.expandReplyArea(); } else if (hasExistingComments) { this.createReplyButton(this.commentEditor, this.form); } else if (focus && (!this._commentThread.comments || this._commentThread.comments.length === 0)) { } else if (focus && (this._commentThread.comments && this._commentThread.comments.length === 0)) { this.expandReplyArea(); } this._error = dom.append(this.form, dom.$('.validation-error.hidden'));"} {"_id":"q-en-vscode-cfe9c36ee4cd8d9820418f1597a7c26c73931438a16998e09e41d6d765c9bd6b","text":"private _bufferTracker: BufferContentTracker | undefined; private _bufferProvider: TerminalAccessibleBufferProvider | undefined; private _xterm: Pick & { raw: Terminal } | undefined; private _onCommandExecutedShowListener: MutableDisposable = new MutableDisposable(); private _onDidRunCommand: MutableDisposable = new MutableDisposable(); constructor( private readonly _instance: ITerminalInstance,"} {"_id":"q-en-vscode-d00e285236d5284d269633f3f1cab5978a6fa90e6a0f665bc43273f2d80935ec","text":"importProfile(uri: URI, options?: IProfileImportOptions): Promise; showProfileContents(): Promise; createFromCurrentProfile(name: string): Promise; createTemporaryProfile(from: IUserDataProfile, name: string, extensionsDisabled: boolean): Promise; createTroubleshootProfile(): Promise; setProfile(profile: IUserDataProfileTemplate): Promise; }"} {"_id":"q-en-vscode-d017d97d6fdba4eb13085a5156d09942a22d217120ae46ca845295efce8c795a","text":".comments-panel .comments-panel-container .tree-container .comment-thread-container .comment-snippet-container .count, .comments-panel .comments-panel-container .tree-container .comment-thread-container .comment-metadata-container .user { overflow: hidden; text-overflow: ellipsis; min-width: fit-content; } .comments-panel .comments-panel-container .tree-container .comment-thread-container .comment-snippet-container .text {"} {"_id":"q-en-vscode-d0532c3d1df302cb976471fc92ad9516f297c397363c47bf6bd6e8fc9697b92d","text":"this.initServices(configuration); const isSnap = process.platform === 'linux' && process.env.SNAP && process.env.SNAP_REVISION; const targetExtension = configuration.data.extensionId ? configuration.data.enabledExtensions.find(extension => extension.id === configuration.data.extensionId) : undefined; this.issueReporterModel = new IssueReporterModel({ issueType: configuration.data.issueType || IssueType.Bug, versionInfo: {"} {"_id":"q-en-vscode-d0e0a8150f8f407fac75a26b398d13a66e722a4b46c354222836539ea344d61b","text":"private onDidActiveEditorChange(): void { const activeEditorGroup = this.editorGroupService.activeGroup; const activeEditorPane = activeEditorGroup.activeEditorPane; if (this.lastActiveEditor && this.editorHelper.matchesEditorIdentifier(this.lastActiveEditor, activeEditorPane)) { return; // return if the active editor is still the same }"} {"_id":"q-en-vscode-d10d73268ca4abb0ea48953f1a4dd00277e5be1c1d3b25b32e12f28dbe586476","text":"return extHostQuickOpen.showWorkspaceFolderPick(options); }, showInputBox(options?: vscode.InputBoxOptions, token?: vscode.CancellationToken) { if (options?.validateInput2) { checkProposedApiEnabled(extension, 'inputBoxSeverity'); } return extHostQuickOpen.showInput(options, token); }, showOpenDialog(options) {"} {"_id":"q-en-vscode-d121ff1beba4553ae3da50ac04aa10a5a444c4abf2a90309ae434c2476a777c1","text":"const title = localize('import profile preview', \"Import\"); if (!userDataProfileImportState.isEmpty()) { let importProfile = await this.selectProfileResources( userDataProfileImportState, localize('import title', \"{0}: {1} ({2})\", PROFILES_CATEGORY.value, title, profileTemplate.name), localize('import description', \"Choose what to import\") ); if (importProfile === undefined) { return; } if (!importProfile) { importProfile = await this.showProfilePreviewView(`workbench.views.profiles.import.preview`, title, title, localize('cancel', \"Cancel\"), userDataProfileImportState); } const importProfile = await this.showProfilePreviewView(`workbench.views.profiles.import.preview`, title, title, localize('cancel', \"Cancel\"), userDataProfileImportState); if (!importProfile) { return; }"} {"_id":"q-en-vscode-d125119ecc313602dff1356451aa62ddd190162199a28fe037b98c0a6b324be1","text":"'remote'?: string; 'force'?: boolean; 'do-not-sync'?: boolean; 'preserve-env'?: boolean; 'force-user-env'?: boolean; 'force-disable-user-env'?: boolean; 'sync'?: 'on' | 'off';"} {"_id":"q-en-vscode-d16a845f865e309ecfb2ab2bbcf251f3cf6bade4b8b7fb58d4cf5d3a7eeb40cb","text":"// \t}); // }); test('No expanding when html is excluded in the settings in completion list', async () => { test.skip('No expanding when html is excluded in the settings in completion list', async () => { const oldConfig = workspace.getConfiguration('emmet').inspect('excludeLanguages')?.globalValue; await workspace.getConfiguration('emmet').update('excludeLanguages', ['html'], ConfigurationTarget.Global); await testHtmlCompletionProvider(new Selection(9, 6, 9, 6), '', '', true);"} {"_id":"q-en-vscode-d180cc53e3749d691585f18196b2e50e8d692d4fbac5eb6974b20b62972584e5","text":"// to get better profile traces. Last, we listen on stdout for a signal that tells us to // stop profiling. if (args['prof-startup']) { const portMain = await findFreePort(9222, 10, 6000); const portRenderer = await findFreePort(portMain + 1, 10, 6000); const portExthost = await findFreePort(portRenderer + 1, 10, 6000);"} {"_id":"q-en-vscode-d1d54a3c4df5b5046ca45b69d1a14f480020e2cb4e724fdb73678fd102e4e808","text":"* Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import * as nls from '../../../../nls.js'; import { IPreferencesService, ISetting } from '../../../services/preferences/common/preferences.js'; import { settingKeyToDisplayFormat } from '../../preferences/browser/settingsTreeModels.js'; import { ActionViewItem } from '../../../../base/browser/ui/actionbar/actionViewItems.js'; import { IAction } from '../../../../base/common/actions.js'; import type { Tokens } from '../../../../base/common/marked/marked.js'; import { Schemas } from '../../../../base/common/network.js'; import { URI } from '../../../../base/common/uri.js'; import * as nls from '../../../../nls.js'; import { IClipboardService } from '../../../../platform/clipboard/common/clipboardService.js'; import { ConfigurationTarget, IConfigurationService } from '../../../../platform/configuration/common/configuration.js'; import { IContextMenuService } from '../../../../platform/contextview/browser/contextView.js'; import { ActionViewItem } from '../../../../base/browser/ui/actionbar/actionViewItems.js'; import { IAction } from '../../../../base/common/actions.js'; import { ITelemetryService } from '../../../../platform/telemetry/common/telemetry.js'; import { IClipboardService } from '../../../../platform/clipboard/common/clipboardService.js'; import { Schemas } from '../../../../base/common/network.js'; import { Tokens } from '../../../../base/common/marked/marked.js'; import { IPreferencesService, ISetting } from '../../../services/preferences/common/preferences.js'; import { settingKeyToDisplayFormat } from '../../preferences/browser/settingsTreeModels.js'; export class SimpleSettingRenderer { private readonly codeSettingRegex: RegExp;"} {"_id":"q-en-vscode-d219e66ad4415dfae6ef19bb42d5fcc3cdd16c00b7252535f1669b0aeb4ab1a7","text":"// if agent has a refer command, massage the input to include the agent name await this._instaService.invokeFunction(sendRequest, massagedInput); if (!this._session.lastExchange) { // DONE when there wasn't any exchange yet. We used the inline chat only as trampoline return State.ACCEPT; } return State.WAIT_FOR_INPUT; return State.ACCEPT; } this._session.addInput(new SessionPrompt(input, this._nextAttempt, this._nextWithIntentDetection));"} {"_id":"q-en-vscode-d22a72eff6ae2dd5b2368a1056753c4b892cfb18426785adcc8144bd48b80f4b","text":"white-space: nowrap; } .monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row > .option-text-description { display: none; } .monaco-select-box-dropdown-container > .select-box-dropdown-container-width-control { flex: 1 1 auto; align-self: flex-start;"} {"_id":"q-en-vscode-d2a814ccc507270d1816851bd088359dfb110716019ca8b88d27cadb1bf10b20","text":"export class CursorMoveCommands { public static addCursorDown(context: CursorContext, cursors: CursorState[]): CursorState[] { public static addCursorDown(context: CursorContext, cursors: CursorState[], useLogicalLine: boolean): CursorState[] { let result: CursorState[] = [], resultLen = 0; for (let i = 0, len = cursors.length; i < len; i++) { const cursor = cursors[i]; result[resultLen++] = new CursorState(cursor.modelState, cursor.viewState); result[resultLen++] = CursorState.fromViewState(MoveOperations.translateDown(context.config, context.viewModel, cursor.viewState)); if (useLogicalLine) { for (let i = 0, len = cursors.length; i < len; i++) { const cursor = cursors[i]; result[resultLen++] = new CursorState(cursor.modelState, cursor.viewState); result[resultLen++] = CursorState.fromModelState(MoveOperations.translateDown(context.config, context.model, cursor.modelState)); } } else { for (let i = 0, len = cursors.length; i < len; i++) { const cursor = cursors[i]; result[resultLen++] = new CursorState(cursor.modelState, cursor.viewState); result[resultLen++] = CursorState.fromViewState(MoveOperations.translateDown(context.config, context.viewModel, cursor.viewState)); } } return result; } public static addCursorUp(context: CursorContext, cursors: CursorState[]): CursorState[] { public static addCursorUp(context: CursorContext, cursors: CursorState[], useLogicalLine: boolean): CursorState[] { let result: CursorState[] = [], resultLen = 0; for (let i = 0, len = cursors.length; i < len; i++) { const cursor = cursors[i]; result[resultLen++] = new CursorState(cursor.modelState, cursor.viewState); result[resultLen++] = CursorState.fromViewState(MoveOperations.translateUp(context.config, context.viewModel, cursor.viewState)); if (useLogicalLine) { for (let i = 0, len = cursors.length; i < len; i++) { const cursor = cursors[i]; result[resultLen++] = new CursorState(cursor.modelState, cursor.viewState); result[resultLen++] = CursorState.fromModelState(MoveOperations.translateUp(context.config, context.model, cursor.modelState)); } } else { for (let i = 0, len = cursors.length; i < len; i++) { const cursor = cursors[i]; result[resultLen++] = new CursorState(cursor.modelState, cursor.viewState); result[resultLen++] = CursorState.fromViewState(MoveOperations.translateUp(context.config, context.viewModel, cursor.viewState)); } } return result; }"} {"_id":"q-en-vscode-d2c151e267c4388031532b2dc0a395dac62ecca29573a0989cb667124c798c7f","text":"\"editor.foreground\": \"#000000e4\", \"editor.inactiveSelectionBackground\": \"#E5EBF1\", \"editor.selectionHighlightBackground\": \"#ADD6FF80\", \"editorCursor.foreground\": \"#005FB8\", \"editorGroup.border\": \"#0000001a\", \"editorGroupHeader.tabsBackground\": \"#f8f8f8\", \"editorGroupHeader.tabsBorder\": \"#0000001a\","} {"_id":"q-en-vscode-d2d1d045d5257a132776379faafd0f0c50464a2d30d0b8350bdb5f263473834a","text":"} @throttle async pullFromRemote(remote : string, branch : string): Promise { await this.run(Operation.Pull, () => this.repository.pull(false, remote, branch)); } @throttle async push(): Promise { await this.run(Operation.Push, () => this.repository.push()); }"} {"_id":"q-en-vscode-d2dbf0532d4b3c4e43415e335d5e99afae4c3ec384412cddbac9d3daf8b5447f","text":"column = model.getLineMaxColumn(lineNumber); } } else if (wordNavigationType === WordNavigationType.WordAccessibility) { if (movedDown) { // If we move to the next line, pretend that the cursor is right before the first character. // This is needed when the first word starts right at the first character - and in order not to miss it, // we need to start before. column = 0; } while ( nextWordOnLine && nextWordOnLine.wordType === WordType.Separator && (nextWordOnLine.wordType === WordType.Separator || nextWordOnLine.start + 1 <= column ) ) { // Skip over a word made up of one single separator // Also skip over word if it begins before current cursor position to ascertain we're moving forward at least 1 character. nextWordOnLine = WordOperations._findNextWordOnLine(wordSeparators, model, new Position(lineNumber, nextWordOnLine.end + 1)); } if (nextWordOnLine) { column = nextWordOnLine.end + 1; column = nextWordOnLine.start + 1; } else { column = model.getLineMaxColumn(lineNumber); }"} {"_id":"q-en-vscode-d306188aa42922f6a271f003aa1d4c2490c1f6d96fa3345eca74b913cc0dde72","text":"if (selectedDiffs_.length > 0) { const selections = this._editors.modifiedSelections.read(reader); const btn = new RevertButton(selections[selections.length - 1].positionLineNumber, this._widget, selectedDiffs_.flatMap(d => d.rangeMappings), true); const btn = store.add(new RevertButton(selections[selections.length - 1].positionLineNumber, this._widget, selectedDiffs_.flatMap(d => d.rangeMappings), true)); this._editors.modified.addGlyphMarginWidget(btn); glyphWidgetsModified.push(btn); }"} {"_id":"q-en-vscode-d333b170e6a840e82472450e90ff2fae93a0528308c6c3b44e89bcd520b71c8f","text":"rcedit \"^0.3.0\" rimraf \"^2.4.2\" semver \"^4.3.4\" sumchecker \"^3.0.1\" temp \"^0.8.3\" vinyl \"^3.0.0\" vinyl-fs \"^3.0.3\""} {"_id":"q-en-vscode-d36c503a3c5e4c5f592264d079c9257bbde981c768f6ae4808f15f9229a437b4","text":"const myToken = new CancellationTokenSource(); this._pendingUpdate.set(model.id, myToken); this._editorWorkerService.computeMoreMinimalEdits(model.uri, [{ text: value, range: model.getFullModelRange() }]).then(edits => { try { const edits = await this._editorWorkerService.computeMoreMinimalEdits(model.uri, [{ text: value, range: model.getFullModelRange() }]); // remove token this._pendingUpdate.delete(model.id);"} {"_id":"q-en-vscode-d36e4b1a7ead772623e97e58675b464535cd471188a2ef23e0367ed6769dc9e3","text":".quick-input-header { display: flex; padding: 8px 6px 0px 6px; margin-bottom: -2px; padding: 8px 6px 6px 6px; } .quick-input-widget.hidden-input .quick-input-header {"} {"_id":"q-en-vscode-d37c7c0f69cdb9d401156b12914358fe107e35cd2b362b70780ff6bb05ba2210","text":"} export interface IMessage { readonly content: string; readonly content?: string; readonly formatContent?: boolean; // defaults to false readonly type?: MessageType; }"} {"_id":"q-en-vscode-d3b1d4d7bd76be33cc6a8a1f96a0b6a102224f869fa5cf17d2c4ef382c50abcd","text":"UpdateAction, ReloadAction, EnableDropDownAction, DisableDropDownAction, ExtensionStatusLabelAction, SetFileIconThemeAction, SetColorThemeAction, RemoteInstallAction, ExtensionStatusAction, LocalInstallAction, ToggleSyncExtensionAction, SetProductIconThemeAction, ActionWithDropDownAction, InstallDropdownAction, InstallingLabelAction, UninstallAction, ExtensionActionWithDropdownActionViewItem, ExtensionDropDownAction, InstallAnotherVersionAction, ExtensionEditorManageExtensionAction, WebInstallAction, SwitchToPreReleaseVersionAction, SwitchToReleasedVersionAction InstallAnotherVersionAction, ExtensionEditorManageExtensionAction, WebInstallAction, SwitchToPreReleaseVersionAction, SwitchToReleasedVersionAction, MigrateDeprecatedExtension } from 'vs/workbench/contrib/extensions/browser/extensionsActions'; import { IKeybindingService } from 'vs/platform/keybinding/common/keybinding'; import { DomScrollableElement } from 'vs/base/browser/ui/scrollbar/scrollableElement';"} {"_id":"q-en-vscode-d3caafd04f4a85d430bc14ae74896b4664259fd4ec0d77aa330e585e7cff3809","text":"import { ICodeEditorService } from 'vs/editor/common/services/codeEditorService'; import { IWorkbenchEditorService } from 'vs/workbench/services/editor/common/editorService'; import { IEditorGroupService } from 'vs/workbench/services/group/common/groupService'; import { IEditorOptions, Position as EditorPosition } from 'vs/platform/editor/common/editor'; import { Position as EditorPosition, ITextEditorOptions } from 'vs/platform/editor/common/editor'; import { MainThreadTextEditor } from './mainThreadEditor'; import { ITextEditorConfigurationUpdate, TextEditorRevealType, IApplyEditsOptions, IUndoStopOptions } from 'vs/workbench/api/node/extHost.protocol';"} {"_id":"q-en-vscode-d3ea95b0a167248e42bfaf5b76fa08dab32f550292237aa92976467db5103208","text":"// Store into config object URL this.configuration = { zoomLevel: data.zoomLevel, appRoot: this.environmentService.appRoot, windowId: 0, userEnv: {},"} {"_id":"q-en-vscode-d41a488ec317858ccd64594435ea6c2487fb6a90ad7623451d1281c5f9a96e1c","text":"} else if (!edit.newResource && edit.oldResource) { edits.push(new DeleteEdit(edit.oldResource, edit.options ?? {}, false)); } else if (edit.newResource && !edit.oldResource) { edits.push(new CreateEdit(edit.newResource, edit.options ?? {}, undefined)); edits.push(new CreateEdit(edit.newResource, edit.options ?? {}, edit.options.contentsBase64 ? decodeBase64(edit.options.contentsBase64) : undefined)); } }"} {"_id":"q-en-vscode-d4824c6c36e0d0b22e13a2db193c90bf12614c0950fc0b4c96cb02952081fc07","text":"if (initialName !== value && this.userDataProfilesService.profiles.some(p => p.name === value)) { return { content: localize('profileExists', \"Profile with name {0} already exists.\", value), type: MessageType.ERROR type: MessageType.WARNING }; } return null;"} {"_id":"q-en-vscode-d49b1e66fca683ffc08b54887c8f6dabe3e8c048d630e73a93a6a2e42bf869f6","text":"* created with all its APIs available for use by extensions. When using the Terminal object * of a TerminalRenderer it acts just like normal only the extension that created the * TerminalRenderer essentially acts as a process. For example when an * [Terminal.onData](#Terminal.onData) listener is registered, that will fire when * [TerminalRenderer.write](#TerminalRenderer.write) is called. Similarly when * [Terminal.onDidWriteData](#Terminal.onDidWriteData) listener is registered, that will fire * when [TerminalRenderer.write](#TerminalRenderer.write) is called. Similarly when * [Terminal.sendText](#Terminal.sendText) is triggered that will fire the * [TerminalRenderer.onInput](#TerminalRenderer.onInput) event. * [TerminalRenderer.onDidAcceptInput](#TerminalRenderer.onDidAcceptInput) event. * * **Example:** Create a terminal renderer, show it and write hello world in red * ```typescript"} {"_id":"q-en-vscode-d4ab1aacc47401993c20c4fb3b5a464ae7b5ea3f60d3a426f6fe11b9d1a85c3e","text":"import {SyncDescriptor} from 'vs/platform/instantiation/common/descriptors'; import {KeyMod, KeyChord, KeyCode} from 'vs/base/common/keyCodes'; import {CloseEditorsInGroupAction, CloseEditorsInOtherGroupsAction, CloseAllEditorsAction, MoveGroupLeftAction, MoveGroupRightAction, SplitEditorAction, KeepEditorAction, CloseOtherEditorsInGroupAction, OpenToSideAction, NavigateBetweenGroupsAction, FocusFirstGroupAction, FocusSecondGroupAction, FocusThirdGroupAction, EvenGroupWidthsAction, MaximizeGroupAction, MinimizeOtherGroupsAction, FocusPreviousGroup, FocusNextGroup, ShowEditorsInLeftGroupAction, NavigateBetweenGroupsAction, FocusActiveGroupAction, FocusFirstGroupAction, FocusSecondGroupAction, FocusThirdGroupAction, EvenGroupWidthsAction, MaximizeGroupAction, MinimizeOtherGroupsAction, FocusPreviousGroup, FocusNextGroup, ShowEditorsInLeftGroupAction, toEditorQuickOpenEntry, CloseLeftEditorsInGroupAction, CloseRightEditorsInGroupAction, OpenNextEditor, OpenPreviousEditor, NavigateBackwardsAction, NavigateForwardAction, ReopenClosedEditorAction, OpenPreviousRecentlyUsedEditorInGroupAction, NAVIGATE_IN_LEFT_GROUP_PREFIX, OpenPreviousEditorFromHistoryAction, ShowAllEditorsAction, NAVIGATE_ALL_EDITORS_GROUP_PREFIX, ClearEditorHistoryAction, ShowEditorsInCenterGroupAction, MoveEditorRightInGroupAction, NAVIGATE_IN_CENTER_GROUP_PREFIX, ShowEditorsInRightGroupAction, NAVIGATE_IN_RIGHT_GROUP_PREFIX, RemoveFromEditorHistoryAction, FocusLastEditorInStackAction, OpenNextRecentlyUsedEditorInGroupAction, MoveEditorToLeftGroupAction, MoveEditorToRightGroupAction, MoveEditorLeftInGroupAction"} {"_id":"q-en-vscode-d4d7df6bb8ae37aa976060f148003a9c170a69c1089d9872695d3957f0ffcb41","text":"return; } if (ref !== undefined && typeof ref !== 'string') { console.warn('Failed to open URI:', uri); return; } let cloneUri: Uri; try { let rawUri = Array.isArray(data.url) ? data.url[0] : data.url;"} {"_id":"q-en-vscode-d4e0aed00f86f563df72a2c721ea8aa9ec8be07bcc7258ba46ad144eeb280ced","text":"import { ParsedArgs } from 'vs/platform/environment/common/environment'; import product from 'vs/platform/node/product'; import pkg from 'vs/platform/node/package'; import * as paths from 'path'; import * as os from 'os'; import * as fs from 'fs'; import { whenDeleted } from 'vs/base/node/pfs'; import { writeFileAndFlushSync } from 'vs/base/node/extfs'; import { findFreePort } from 'vs/base/node/ports'; function shouldSpawnCliProcess(argv: ParsedArgs): boolean {"} {"_id":"q-en-vscode-d50b51f2e51b1f037f3f09295fc425e41ad3e10c18d555419bb22e0f1b09375c","text":"this.menuDisposables = []; addDisposableListener(menuElement, EventType.KEY_DOWN, (e) => { const event = new StandardKeyboardEvent(e); // Stop tab navigation of menus if (event.equals(KeyCode.Tab)) { EventHelper.stop(e, true); } }); if (options.enableMnemonics) { this.menuDisposables.push(addDisposableListener(menuElement, EventType.KEY_DOWN, (e) => { const key = e.key.toLocaleLowerCase();"} {"_id":"q-en-vscode-d5554e266606a6e8b137e7b3167ad5ce9b521e03cae73a8f1be944fd2793a157","text":"firstPageIndex = this.view.indexAfter(scrollTop - 1); } const firstPageElement = this.view.element(firstPageIndex); const currentlyFocusedElementIndex = this.getFocus()[0]; const currentlyFocusedElement = this.view.element(currentlyFocusedElementIndex); if (currentlyFocusedElement !== firstPageElement && currentlyFocusedElementIndex >= firstPageIndex) { if (currentlyFocusedElementIndex !== firstPageIndex && (currentlyFocusedElementIndex === undefined || currentlyFocusedElementIndex >= firstPageIndex)) { const firstGoodPageIndex = this.findNextIndex(firstPageIndex, false, filter); if (firstGoodPageIndex > -1 && currentlyFocusedElement !== this.view.element(firstGoodPageIndex)) { if (firstGoodPageIndex > -1 && currentlyFocusedElementIndex !== firstGoodPageIndex) { this.setFocus([firstGoodPageIndex], browserEvent); } else { this.setFocus([firstPageIndex], browserEvent);"} {"_id":"q-en-vscode-d55edc15aaf3589e2f4c62b72fdf45baa9e0b0bc620089271578d3742faac3a1","text":" 197a62bdc616148537af5c8f1256563a27a733cae0d41b9a42e9e9f2901cc9ae *electron-v25.8.1-darwin-arm64-symbols.zip 985f4beee009ef6dbe7af75009a1b281aff591b989ee544bd4d2c814f9c4428d *electron-v25.8.1-darwin-arm64.zip 56209b302eb30bff3727dbb74467cb2e6e93e5a99d6939d1c3a7c8320fa26d72 *electron-v25.8.1-darwin-x64-symbols.zip fe61a3221d4c5dc9415dc2cce81010db61bb4a5ab5021d1023f48786dbaf0b28 *electron-v25.8.1-darwin-x64.zip 1b52beba5b1b133cccd253c32648cdfa51659e5db2f20441baafd6a3c8fcb56a *electron-v25.8.1-linux-arm64-symbols.zip 931208419f859f528e19805ae14b5b075213bc40dd20da9e03d8b71d849c147d *electron-v25.8.1-linux-arm64.zip 61929b61541f23b75cca6b1a6764c219499a9799376298cc9061fc1a8716d1e1 *electron-v25.8.1-linux-armv7l-symbols.zip dd3390de2426a1cea9d3176e404b8fb250844a9b0e48cf01822fa66f3c3c4a48 *electron-v25.8.1-linux-armv7l.zip 1812459d2bd0440e35134ddb3f56e8e173a8791db888756d22080ace244248ba *electron-v25.8.1-linux-x64-symbols.zip de556aef0a80a8fe7b2b39d74ab0bdecc65d72bba3b7349460d18ef2a22fa323 *electron-v25.8.1-linux-x64.zip baa1bb8985b09100b1b2b710cea2c3f8e72a7f5d0e3421cbf675c25e732b0d9f *electron-v25.8.1-win32-arm64-pdb.zip 4a22945c2584677a822d8f9eb6cb23e5607b985f85ec7523ab977b73dd6487c2 *electron-v25.8.1-win32-arm64-symbols.zip 567d3188f86176a875fb6562040a3767c638814cf06073e7131495ec681b3957 *electron-v25.8.1-win32-arm64.zip 148589f41cd4175b85138450a0a0e32eef1a519d5cb5f471374e167518a2ed47 *electron-v25.8.1-win32-ia32-pdb.zip f284ac337a8d5e564081fee6d26c2b2f782feed0bcbe29b7507f749da36b6e5c *electron-v25.8.1-win32-ia32-symbols.zip 6737e56588a2707534979e5dcfbf68399971a5e98d4848fa29fb43b7ae1dc378 *electron-v25.8.1-win32-ia32.zip 23c6ef26f7e1914149def7525b728212340fc6befa6bac30eafec8f8229f9e67 *electron-v25.8.1-win32-x64-pdb.zip 3eb3b87587b136e636d82fa4d28015d8ef6709468b3bb33eddae80d83076a053 *electron-v25.8.1-win32-x64-symbols.zip 963c05266bf83bc77f690b75a76855d7b7bc0be9bac4973292f3e7d506fd2c94 *electron-v25.8.1-win32-x64.zip ab608119c4bb4ebcefede6afdd911ef8ea007465ab7d2093a091bdb9ff466236 *ffmpeg-v25.8.1-darwin-arm64.zip 5abaf6356bb40fdfcaf88177e13c50447a48fe7fc6c1c3869cf4536148eb60d4 *ffmpeg-v25.8.1-darwin-x64.zip bd52d57ff97fb56ac01a3482af905d04f0d4e9c13c53858c6d9f99957eca82da *ffmpeg-v25.8.1-linux-arm64.zip 9b3d09177fa1e63e2a6beecfa70aeec30aeb5c1873ff21128a68051c4e23f95d *ffmpeg-v25.8.1-linux-armv7l.zip edc7b1c9f1a0733f109a2c0375a4e40c5bfe0bf28b7f06dcc76e1ada0aa2f125 *ffmpeg-v25.8.1-linux-x64.zip 6b2494dd5bf7f17eec800f41d232506007b36c7cae6f885565e035d3168a0c64 *ffmpeg-v25.8.1-win32-arm64.zip 8b57594cd2065437cf3378e845bae4de3501ebff7f1f1f516fc0aaf09c311c2b *ffmpeg-v25.8.1-win32-ia32.zip 95bb8e167e96bb4f902e6238312e245ed0acfae45eeda471e0f8ad0f0baaac2f *ffmpeg-v25.8.1-win32-x64.zip 990cfa83850fc2934ddf435737ea16c68e222136107aba177d961af839a61765 *electron-v25.8.2-darwin-arm64-symbols.zip f6ab7cd71e50fae41cae0192108df98afc0a30583d945d3e673d8483d4dddefe *electron-v25.8.2-darwin-arm64.zip 2feec213e4b2a4728ef5f5ec833ee8663d801a06b7ed1f172eee4ba3f9f51339 *electron-v25.8.2-darwin-x64-symbols.zip 04027c3ecb90d8252f1adbd887d9567d5f16eee126f8df753a29fa79d9b61d6b *electron-v25.8.2-darwin-x64.zip 4a9a49d6003ac86ccba5495ff782f584215cee36f9335772cdc0581911f5f6a1 *electron-v25.8.2-linux-arm64-symbols.zip 1b15ad0e26785850f9ab2112d3183669aac4b702c474ab7ad31954c649b3351f *electron-v25.8.2-linux-arm64.zip 4bdd180dff11013d6c2d25c578e5398ac9c7dd3b6255080836868e1cd55e4c13 *electron-v25.8.2-linux-armv7l-symbols.zip db4271335284d2d327130063cca6a4adee0678504098c0347e2cb89c4ddefd7a *electron-v25.8.2-linux-armv7l.zip ab9c35e7a6df6b2335f273711cc16c94f982f4d55b2c0bba554187f43864242e *electron-v25.8.2-linux-x64-symbols.zip 08c211d4199096d0ff9c475720f25ff5c089d624660b4c1f1970a413e20312b7 *electron-v25.8.2-linux-x64.zip d3bd6ab0be3c4d93a7a19f9da0c391c1ef8daa85027bf00f9ac75a97e7027fcf *electron-v25.8.2-win32-arm64-pdb.zip cc6c369bd9d2fc7664bbd5138be5527432e17ec6eb7c7b5405e641e0468dc280 *electron-v25.8.2-win32-arm64-symbols.zip d4083f48cc1f7bb311a4a53814e2cd7c343c159f4bcd4ee368d20564e1d34a36 *electron-v25.8.2-win32-arm64.zip 276b0ba63d6dbb78f99caf2c58213415f22cb4f90ec6e6485214f3174482458c *electron-v25.8.2-win32-ia32-pdb.zip 45551352678e250c7970c6258d55e1c6451131d1e5f1ea053390bd9d9364d33c *electron-v25.8.2-win32-ia32-symbols.zip fc9798e973b6a872d7250754b29caa48b0f0ad7c33f39ab61008525b29111049 *electron-v25.8.2-win32-ia32.zip 491795df7e70effeae68a11e39675ca32677b44865d10151a2eea71dad2c2815 *electron-v25.8.2-win32-x64-pdb.zip fa5962a52022c16fb59d79c7528d50ab314b6a8d1e6b90f4c940bb3a0f061923 *electron-v25.8.2-win32-x64-symbols.zip fb5786dc18a10cc29b4d765f34af2f9f9d9866f82007468b55d800dd43feb196 *electron-v25.8.2-win32-x64.zip b1ad00396c949d0f37fe3920eb4f667663d7453dce4f141bcbfc560140a85d84 *ffmpeg-v25.8.2-darwin-arm64.zip 81a3dff9b95d294a7955d67e013ecf65b0c1b929104cea82fcf22774c067d457 *ffmpeg-v25.8.2-darwin-x64.zip bd52d57ff97fb56ac01a3482af905d04f0d4e9c13c53858c6d9f99957eca82da *ffmpeg-v25.8.2-linux-arm64.zip 9b3d09177fa1e63e2a6beecfa70aeec30aeb5c1873ff21128a68051c4e23f95d *ffmpeg-v25.8.2-linux-armv7l.zip edc7b1c9f1a0733f109a2c0375a4e40c5bfe0bf28b7f06dcc76e1ada0aa2f125 *ffmpeg-v25.8.2-linux-x64.zip aacd68ce8a56e707e20fdcf08ea66348dbb1717b87f9c7e3d80da106fa5aa45b *ffmpeg-v25.8.2-win32-arm64.zip 29411956a1ab20f63926a764893effd113c0ef0349cbaa355a95c1c1046d5d8d *ffmpeg-v25.8.2-win32-ia32.zip 80ccd09de3a73e1a3b27ad2aa2a8a3eb5753290b7eee3d2e5ea08837876c3f66 *ffmpeg-v25.8.2-win32-x64.zip "} {"_id":"q-en-vscode-d574aa6d67a564916ab09564265bdcb6ad92fd2aff06c29d1163555a416c4c2d","text":"\"continueEditSession\": [ { \"command\": \"github.openOnVscodeDev\", \"when\": \"github.hasGitHubRepo\" \"when\": \"github.hasGitHubRepo\", \"qualifiedName\": \"Continue Working in VS Code for the Web\" } ], \"menus\": {"} {"_id":"q-en-vscode-d5c5ceb8125c4d535c3b9a7afc08cd9e7521f8f23a50736384c6b7205a3c11df","text":"readonly _serviceBrand: undefined; readonly terminalProfiles: ReadonlyArray; readonly quickFixes: Array; readonly quickFixes: Promise>; } export const ITerminalContributionService = createDecorator('terminalContributionsService');"} {"_id":"q-en-vscode-d5d0d6e5d28f62bf69a3e079767722d25a8ea8295e39676d9da46e02a82cba12","text":"private _state?: vscode.CommentThreadState; get state(): vscode.CommentThreadState { checkProposedApiEnabled(this.extensionDescription, 'commentsResolvedState'); return this._state!; } set state(newState: vscode.CommentThreadState) { checkProposedApiEnabled(this.extensionDescription, 'commentsResolvedState'); this._state = newState; this.modifications.state = newState; this._onDidUpdateCommentThread.fire();"} {"_id":"q-en-vscode-d5ee90c1efe15e32534c95f0003363b73b7b20c447c122e0b5dbb338fb785f32","text":"position: relative; } .monaco-workbench .panel.integrated-terminal .xterm:focus { .monaco-workbench .panel.integrated-terminal .xterm.focus { outline: none; } .hc-black .monaco-workbench .panel.integrated-terminal .xterm:focus { .hc-black .monaco-workbench .panel.integrated-terminal .xterm.focus { outline: 2px solid #f38518; } .monaco-workbench .panel.integrated-terminal .xterm .xterm-helpers { position: absolute; top: 0; } .monaco-workbench .panel.integrated-terminal .xterm .xterm-helper-textarea { position: absolute; /* * HACK: to fix IE's blinking cursor * Move textarea out of the screen to the far left, so that the cursor is not visible. */ left: -9999em; opacity: 0; width: 0; height: 0; z-index: -10; } .monaco-workbench .panel.integrated-terminal .reverse-video { color: #1e1e1e; } .vs-dark .monaco-workbench .panel.integrated-terminal .reverse-video { color: #CCC; } .hc-black .monaco-workbench .panel.integrated-terminal .reverse-video { color: #FFF; } .monaco-workbench .panel.integrated-terminal .xterm:focus .terminal-cursor { background-color: #333; } .vs-dark .monaco-workbench .panel.integrated-terminal .xterm:focus .terminal-cursor { background-color: #CCC; } .hc-black .monaco-workbench .panel.integrated-terminal .xterm:focus .terminal-cursor { background-color: #FFF; } .monaco-workbench .panel.integrated-terminal .xterm.focus .terminal-cursor { background-color: #333; } .vs-dark .monaco-workbench .panel.integrated-terminal .xterm.focus .terminal-cursor { background-color: #CCC; } .hc-black .monaco-workbench .panel.integrated-terminal .xterm.focus .terminal-cursor { background-color: #FFF; } .monaco-workbench .panel.integrated-terminal .xterm:not(:focus) .terminal-cursor { .monaco-workbench .panel.integrated-terminal .xterm:not(.focus) .terminal-cursor { background-color: transparent; outline: 1px solid #333; outline-offset: -1px; } .vs-dark .monaco-workbench .panel.integrated-terminal .xterm:not(:focus) .terminal-cursor { .vs-dark .monaco-workbench .panel.integrated-terminal .xterm:not(.focus) .terminal-cursor { background-color: transparent; outline: 1px solid #CCC; outline-offset: -1px; } .hc-black .monaco-workbench .panel.integrated-terminal .xterm:not(:focus) .terminal-cursor { .hc-black .monaco-workbench .panel.integrated-terminal .xterm:not(.focus) .terminal-cursor { background-color: transparent; outline: 1px solid #FFF; outline-offset: -1px; } .monaco-workbench .panel.integrated-terminal .xterm:focus .terminal-cursor.blinking { animation: blink-cursor 1.2s infinite step-end; } .vs-dark .monaco-workbench .panel.integrated-terminal .xterm:focus .terminal-cursor.blinking { animation: blink-cursor-dark 1.2s infinite step-end; } .hc-black .monaco-workbench .panel.integrated-terminal .xterm:focus .terminal-cursor.blinking { animation: blink-cursor-hc-black 1.2s infinite step-end; } .monaco-workbench .panel.integrated-terminal .xterm.focus .terminal-cursor.blinking { animation: blink-cursor 1.2s infinite step-end; } .vs-dark .monaco-workbench .panel.integrated-terminal .xterm.focus .terminal-cursor.blinking { animation: blink-cursor-dark 1.2s infinite step-end; } .hc-black .monaco-workbench .panel.integrated-terminal .xterm.focus .terminal-cursor.blinking { animation: blink-cursor-hc-black 1.2s infinite step-end; } @keyframes blink-cursor { 0% {"} {"_id":"q-en-vscode-d607f9e0da5117a1afccef4c4c5ffd676d94d92865ff2a48e52ceabde016138f","text":"export namespace CommentAccessibilityHelpNLS { export const escape = nls.localize('escape', \"Dismiss the comment widget via Escape.\"); export const nextRange = nls.localize('next', \"Navigate to the next commenting range via ({0}).\"); export const nextRangeNoKb = nls.localize('nextNoKb', \"Run the command: Go to Next Commenting Range, which is currently not triggerable via keybinding.\"); export const previousRange = nls.localize('previous', \"Navigate to the previous comment range via ({0}).\"); export const intro = nls.localize('intro', \"The editor contains a commentable range. Some useful commands include:\"); export const introWidget = nls.localize('introWidget', \"Some useful comment commands include:\"); export const escape = nls.localize('escape', \"- Dismiss Comment (Escape)\"); export const nextRange = nls.localize('next', \"- Navigate to the next commenting range ({0})\"); export const nextRangeNoKb = nls.localize('nextNoKb', \"- Go to Next Commenting Range, which is currently not triggerable via keybinding.\"); export const previousRange = nls.localize('previous', \"- Navigate to the previous commenting range ({0})\"); export const previousRangeNoKb = nls.localize('previousNoKb', \"Run the command: Go to Previous Commenting Range, which is currently not triggerable via keybinding.\"); export const nextCommentThreadKb = nls.localize('nextCommentThreadKb', \"Navigate to the next comment thread via ({0}).\"); export const nextCommentThreadNoKb = nls.localize('nextCommentThreadNoKb', \"Run the command: Go to Next Comment Thread, which is currently not triggerable via keybinding.\"); export const previousCommentThreadKb = nls.localize('previousCommentThreadKb', \"Navigate to the previous comment thread via ({0}).\"); export const previousCommentThreadNoKb = nls.localize('previousCommentThreadNoKb', \"Run the command: Go to Previous Comment Thread, which is currently not triggerable via keybinding.\"); export const addComment = nls.localize('addComment', \"Add a comment via ({0}).\"); export const addCommentNoKb = nls.localize('addCommentNoKb', \"Add a comment via the command: Add Comment on Current Selection, which is currently not triggerable via keybinding.\"); export const submitComment = nls.localize('submitComment', \"Submit the comment via ({0}).\"); export const submitCommentNoKb = nls.localize('submitCommentNoKb', \"Submit the comment by navigating with tab to the button, as it's currently not triggerable via keybinding.\"); export const nextCommentThreadKb = nls.localize('nextCommentThreadKb', \"- Navigate to the next comment thread ({0})\"); export const nextCommentThreadNoKb = nls.localize('nextCommentThreadNoKb', \"- Run the command: Go to Next Comment Thread, which is currently not triggerable via keybinding.\"); export const previousCommentThreadKb = nls.localize('previousCommentThreadKb', \"- Navigate to the previous comment thread ({0})\"); export const previousCommentThreadNoKb = nls.localize('previousCommentThreadNoKb', \"- Run the command: Go to Previous Comment Thread, which is currently not triggerable via keybinding.\"); export const addComment = nls.localize('addComment', \"- Add Comment ({0})\"); export const addCommentNoKb = nls.localize('addCommentNoKb', \"- Add Comment on Current Selection, which is currently not triggerable via keybinding.\"); export const submitComment = nls.localize('submitComment', \"- Submit Comment ({0})\"); export const submitCommentNoKb = nls.localize('submitCommentNoKb', \"- Submit Comment, accessible via tabbing, as it's currently not triggerable with a keybinding.\"); } export class CommentsAccessibilityHelpContribution extends Disposable {"} {"_id":"q-en-vscode-d61e2d1177b099e96244091a515767cf0384fb890d008a3aab9b9be642d33358","text":"import { Range } from 'vs/editor/common/core/range'; import { registerAction2 } from 'vs/platform/actions/common/actions'; import { assertIsDefined } from 'vs/base/common/types'; import { ActionBar } from 'vs/base/browser/ui/actionbar/actionbar'; import { toAction } from 'vs/base/common/actions'; import { ThemeIcon } from 'vs/base/common/themables'; const EDITOR_DICTATION_IN_PROGRESS = new RawContextKey('editorDictation.inProgress', false); const VOICE_CATEGORY = localize2('voiceCategory', \"Voice\");"} {"_id":"q-en-vscode-d6237c085b434bf9c315b76a0f81f1938a0eee3771d73b5d3504fa621e88dcfe","text":"if (restoreFocus) { this.explorerViewer.setFocus(modelElement); } //Expand the element again if (isExpanded) { this.explorerViewer.expand(modelElement); } }, errors.onUnexpectedError); }); }"} {"_id":"q-en-vscode-d66ab85dafc8cf132d058666aab6147514b53a0e2a9a2f9af21d8fee4f82c974","text":"private _hoverClicked: boolean; private _isHoverEnabled!: boolean; private _isHoverSticky!: boolean; private _hidingDelay!: number; private _hoverActivatedByColorDecoratorClick: boolean = false; private _mouseWasOverWidget: boolean = false; private _hideWidgetsTimeout: NodeJS.Timeout | undefined; static get(editor: ICodeEditor): ModesHoverController | null { return editor.getContribution(ModesHoverController.ID);"} {"_id":"q-en-vscode-d67533d5cdbceb0bcac5fd0083366a4dc928d3bb10f9059b2120492897c6def1","text":"* Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { ChildProcess, ChildProcessWithoutNullStreams, spawn, SpawnOptions } from 'child_process'; import { ChildProcess, spawn, SpawnOptions, StdioOptions } from 'child_process'; import { chmodSync, existsSync, readFileSync, statSync, truncateSync, unlinkSync } from 'fs'; import { homedir, release, tmpdir } from 'os'; import type { ProfilingSession, Target } from 'v8-inspect-profiler';"} {"_id":"q-en-vscode-d6882768eebf8403594a14fcb8c046773e90c6f749acb1b5c50b5769e4b5e551","text":"import { NotebookDiffViewModel } from './notebookDiffViewModel.js'; import { INotebookService } from '../../common/notebookService.js'; import { DiffEditorHeightCalculatorService, IDiffEditorHeightCalculatorService } from './editorHeightCalculator.js'; import { IEditorService } from '../../../../services/editor/common/editorService.js'; const $ = DOM.$;"} {"_id":"q-en-vscode-d69c51ebc4660dcd783484a919a52dd3cca2fc11144aff5aa3bd54f4ef8209ce","text":"export namespace AccessibilityHelpNLS { export const accessibilityHelpTitle = nls.localize('accessibilityHelpTitle', \"Accessibility Help\"); export const openingDocs = nls.localize(\"openingDocs\", \"Now opening the Accessibility documentation page.\"); export const openingDocs = nls.localize(\"openingDocs\", \"Opening the Accessibility documentation page.\"); export const readonlyDiffEditor = nls.localize(\"readonlyDiffEditor\", \"You are in a read-only pane of a diff editor.\"); export const editableDiffEditor = nls.localize(\"editableDiffEditor\", \"You are in a pane of a diff editor.\"); export const readonlyEditor = nls.localize(\"readonlyEditor\", \"You are in a read-only code editor.\"); export const editableEditor = nls.localize(\"editableEditor\", \"You are in a code editor.\"); export const changeConfigToOnMac = nls.localize(\"changeConfigToOnMac\", \"To configure the application to be optimized for usage with a Screen Reader press Command+E now.\"); export const changeConfigToOnWinLinux = nls.localize(\"changeConfigToOnWinLinux\", \"To configure the application to be optimized for usage with a Screen Reader press Control+E now.\"); export const changeConfigToOnMac = nls.localize(\"changeConfigToOnMac\", \"Configure the application to be optimized for usage with a Screen Reader (Command+E).\"); export const changeConfigToOnWinLinux = nls.localize(\"changeConfigToOnWinLinux\", \"Configure the application to be optimized for usage with a Screen Reader (Control+E).\"); export const auto_on = nls.localize(\"auto_on\", \"The application is configured to be optimized for usage with a Screen Reader.\"); export const auto_off = nls.localize(\"auto_off\", \"The application is configured to never be optimized for usage with a Screen Reader.\"); export const screenReaderModeEnabled = nls.localize(\"screenReaderModeEnabled\", \"Screen Reader Optimized Mode enabled.\"); export const screenReaderModeDisabled = nls.localize(\"screenReaderModeDisabled\", \"Screen Reader Optimized Mode disabled.\"); export const tabFocusModeOnMsg = nls.localize(\"tabFocusModeOnMsg\", \"Pressing Tab in the current editor will move focus to the next focusable element. Toggle this behavior by pressing {0}.\"); export const tabFocusModeOnMsg = nls.localize(\"tabFocusModeOnMsg\", \"Pressing Tab in the current editor will move focus to the next focusable element. Toggle this behavior {0}.\"); export const tabFocusModeOnMsgNoKb = nls.localize(\"tabFocusModeOnMsgNoKb\", \"Pressing Tab in the current editor will move focus to the next focusable element. The command {0} is currently not triggerable by a keybinding.\"); export const stickScrollKb = nls.localize(\"stickScrollKb\", \"Run the command: Focus Sticky Scroll ({0}) to focus the currently nested scopes.\"); export const stickScrollNoKb = nls.localize(\"stickScrollNoKb\", \"Run the command: Focus Sticky Scroll to focus the currently nested scopes. It is currently not triggerable by a keybinding.\"); export const tabFocusModeOffMsg = nls.localize(\"tabFocusModeOffMsg\", \"Pressing Tab in the current editor will insert the tab character. Toggle this behavior by pressing {0}.\"); export const tabFocusModeOffMsg = nls.localize(\"tabFocusModeOffMsg\", \"Pressing Tab in the current editor will insert the tab character. Toggle this behavior {0}.\"); export const tabFocusModeOffMsgNoKb = nls.localize(\"tabFocusModeOffMsgNoKb\", \"Pressing Tab in the current editor will insert the tab character. The command {0} is currently not triggerable by a keybinding.\"); export const showAccessibilityHelpAction = nls.localize(\"showAccessibilityHelpAction\", \"Show Accessibility Help\"); }"} {"_id":"q-en-vscode-d6e454d36894357ff70a2475fd9ad978d41a6234265315ed781fe6ad63f94e6d","text":"override async run(accessor: ServicesAccessor): Promise { const nativeHostService = accessor.get(INativeHostService); const window = getActiveWindow(); if (isAuxiliaryWindow(window)) { return nativeHostService.closeWindowById(await window.vscodeWindowId); } return nativeHostService.closeWindow(); } }"} {"_id":"q-en-vscode-d6f2afc4425c4b0f3a44cd837abdab445fbc9f637596cd7ac99136d4e9a9842c","text":".panel > .title .monaco-action-bar .action-item.viewpane-filter-container { max-width: 400px; min-width: 300px; min-width: 150px; margin-right: 10px; }"} {"_id":"q-en-vscode-d76f55eb125e4e6c31327184d9dd2955b843503bb30353b173f71341acf7c35b","text":"['.xhtml', 'application/xhtml+xml'], ['.oft', 'font/otf'], ['.xml', 'application/xml'], ['.wasm', 'application/wasm'], ]); export function getWebviewContentMimeType(resource: URI): string {"} {"_id":"q-en-vscode-d78f2c1867d7b44d56a5482bd01c4cdc26ba0dd446b59dd9e277e864c9cbbca2","text":"} } return undefined; return null; } private hasSelectedMarkerFor(resource: ResourceMarkers): boolean {"} {"_id":"q-en-vscode-d7b0c2b3d22b7c6bdf05977e9f86e58c9fd94eb9d7fa2fd2ac8c5edbf1657552","text":"if (!resolveResult.bubble) { shouldPreventDefault = true; } this._log(`+ Invoking command ${resolveResult.commandId}.`); if (typeof resolveResult.commandArgs === 'undefined') { this._commandService.executeCommand(resolveResult.commandId).then(undefined, err => this._notificationService.warn(err)); } else {"} {"_id":"q-en-vscode-d803a8202b53fa1edef3c4fc0d897981e0ac679ce41b24554e8d3c5724ee9096","text":"args.push(`--author=\"${options.author}\"`); } if (typeof options?.maxParents === 'number') { args.push(`--max-parents=${options.maxParents}`); } if (options?.refNames) { args.push('--topo-order'); args.push('--decorate=full');"} {"_id":"q-en-vscode-d86c3c923db1cd6956e4f82966d9d6f3aa422366e209ab54c9520908231f9372","text":"testIds: string[]; } export const isStartControllerTests = (t: ICallProfileRunHandler | IStartControllerTests): t is IStartControllerTests => 'runIn' in t; export const isStartControllerTests = (t: ICallProfileRunHandler | IStartControllerTests): t is IStartControllerTests => ('runId' as keyof IStartControllerTests) in t; /** * Request from the main thread to run tests for a single controller."} {"_id":"q-en-vscode-d883236c854a08cd22f1772bd64f8817fb87fc13b2957967ff6f668c24a915c4","text":"async getExtensions(extensionInfos: ReadonlyArray, arg1: any, arg2?: any): Promise { const options = CancellationToken.isCancellationToken(arg1) ? {} : arg1 as IExtensionQueryOptions; const token = CancellationToken.isCancellationToken(arg1) ? arg1 : arg2 as CancellationToken; const result = await this.doGetExtensions(extensionInfos, options, token); const uuids = result.map(r => r.identifier.uuid); const extensionInfosByName: IExtensionInfo[] = []; for (const e of extensionInfos) { if (e.uuid && !uuids.includes(e.uuid)) { extensionInfosByName.push({ ...e, uuid: undefined }); } } if (extensionInfosByName.length) { // report telemetry data for additional query this.telemetryService.publicLog2< { count: number }, { owner: 'sandy081'; comment: 'Report the query to the the Marketplace for fetching extensions by name'; readonly count: { classification: 'SystemMetaData'; purpose: 'FeatureInsight'; comment: 'Number of extensions to fetch' }; }>('galleryService:additionalQueryByName', { count: extensionInfosByName.length }); const extensions = await this.doGetExtensions(extensionInfosByName, options, token); result.push(...extensions); } return result; } private async doGetExtensions(extensionInfos: ReadonlyArray, options: IExtensionQueryOptions, token: CancellationToken): Promise { const names: string[] = []; const ids: string[] = [], includePreReleases: (IExtensionIdentifier & { includePreRelease: boolean })[] = [], versions: (IExtensionIdentifier & { version: string })[] = []; let isQueryForReleaseVersionFromPreReleaseVersion = true; for (const extensionInfo of extensionInfos) {"} {"_id":"q-en-vscode-d891ff24fd76bb3af566ad2154b83f399e9f4dc024de1c84d6bbc74b07f0b1ae","text":"if (!this._loadEstimator.hasHighLoad()) { // Trash the socket this._lastSocketTimeoutTime = Date.now(); this._onSocketTimeout.fire(undefined); this._onSocketTimeout.fire({ unacknowledgedMsgCount: this._outgoingUnackMsg.length(), timeSinceOldestUnacknowledgedMsg, timeSinceLastReceivedSomeData }); return; } }"} {"_id":"q-en-vscode-d8e0deed213bd98b17b5b853d353a86080ceedbe5213d3b166fb80ffba02924d","text":"sbomBuildDropPath: $(Agent.BuildDirectory)/vscode-server-win32-$(VSCODE_ARCH) sbomPackageName: \"VS Code Windows $(VSCODE_ARCH) Server\" sbomPackageVersion: $(Build.SourceVersion) condition: and(succeededOrFailed(), ne(variables['SERVER_PATH'], ''), ne(variables['VSCODE_ARCH'], 'arm64')) condition: and(succeededOrFailed(), ne(variables['SERVER_PATH'], '')) displayName: Publish server archive - task: 1ES.PublishPipelineArtifact@1"} {"_id":"q-en-vscode-d9087f33f01cef83b282cdceb6fc6c9cc5691ebe4a9d3f8ad0d1fd50f4d32b6b","text":"} widget.focus(focusedItem); const responseContent = isResponseVM(focusedItem) ? focusedItem.response.value : undefined; const isWelcome = focusedItem instanceof ChatWelcomeMessageModel; let responseContent = isResponseVM(focusedItem) ? focusedItem.response.value : undefined; if (isWelcome) { const welcomeReplyContents = []; for (const content of focusedItem.content) { if (Array.isArray(content)) { welcomeReplyContents.push(...content.map(m => m.message)); } else { welcomeReplyContents.push((content as IMarkdownString).value); } } responseContent = welcomeReplyContents.join('n'); } if (!responseContent) { return false; }"} {"_id":"q-en-vscode-d910ea72f22a0c3a4ab77c5f37ee9c12fd1be69cd8fe178f224462a0819b9195","text":"private getItemIndexFromEventTarget(target: EventTarget | null): number | undefined { const scrollableElement = this.scrollableElement.getDomNode(); let element: HTMLElement | null = target as (HTMLElement | null); let element: HTMLElement | SVGElement | null = target as (HTMLElement | SVGElement | null); while (isHTMLElement(element) && element !== this.rowsContainer && scrollableElement.contains(element)) { while ((isHTMLElement(element) || isSVGElement(element)) && element !== this.rowsContainer && scrollableElement.contains(element)) { const rawIndex = element.getAttribute('data-index'); if (rawIndex) {"} {"_id":"q-en-vscode-d9355bf30060e3d3008d3a5a7a777b9aa16fa8303f89f429d624571c2301c39a","text":" /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import * as assert from 'assert'; import 'mocha'; import { ExtensionContext, extensions } from 'vscode'; suite('vscode API - globalState / workspaceState', () => { let extensionContext: ExtensionContext; suiteSetup(async () => { // Trigger extension activation and grab the context as some tests depend on it await extensions.getExtension('vscode.vscode-api-tests')?.activate(); extensionContext = (global as any).testExtensionContext; }); test.only('state', async () => { for (const state of [extensionContext.globalState, extensionContext.workspaceState]) { let keys = state.keys(); assert.strictEqual(keys.length, 0); let res = state.get('state.test.get', 'default'); assert.strictEqual(res, 'default'); await state.update('state.test.get', 'testvalue'); keys = state.keys(); assert.strictEqual(keys.length, 1); assert.strictEqual(keys[0], 'state.test.get'); res = state.get('state.test.get', 'default'); assert.strictEqual(res, 'testvalue'); await state.update('state.test.get', undefined); keys = state.keys(); assert.strictEqual(keys.length, 0); res = state.get('state.test.get', 'default'); assert.strictEqual(res, 'default'); } }); }); "} {"_id":"q-en-vscode-d95032973f578c4d604d7bb3f7a7793e2ebc6350bc6874703057e1c033c3afd4","text":"dependencies: object-keys \"~0.4.0\" xterm-addon-canvas@0.4.0-beta.9: version \"0.4.0-beta.9\" resolved \"https://registry.yarnpkg.com/xterm-addon-canvas/-/xterm-addon-canvas-0.4.0-beta.9.tgz#e570fa4592890f92cc86706f2bba0dd128a8641d\" integrity sha512-BWRVWyUW7NY2g4BBMm3ecPQvbdyKXFgABnpmh4m0TVHqFJMNeXdNuTc94KiDbE+cvw8jtAY9NC/OIM4HcgjAIQ== xterm-addon-canvas@0.4.0-beta.11: version \"0.4.0-beta.11\" resolved \"https://registry.yarnpkg.com/xterm-addon-canvas/-/xterm-addon-canvas-0.4.0-beta.11.tgz#d627050d7e2290ae804c0ec730d5bfc5861afd78\" integrity sha512-yfkx0R7wB3L+fWf1doDmEfwYIeNMVq4uXlq7sCvfPQAVA2H4eOH/s+SS1mhyy0A6DDEbM4eEQ7CroRZIsnVtMA== xterm-addon-search@0.11.0: version \"0.11.0\""} {"_id":"q-en-vscode-d9a752c366d47f87914a55a778b7680e09214fccc4d5446a20f024d945079a11","text":"} private async checkAndGetCompatible(extension: IGalleryExtension, includePreRelease: boolean): Promise { const compatible = await this.galleryService.getCompatibleExtension(extension, includePreRelease, await this.getTargetPlatform()); if (compatible) { if (includePreRelease && !compatible.properties.isPreReleaseVersion && extension.hasPreReleaseVersion) { const targetPlatform = await this.getTargetPlatform(); let compatibleExtension: IGalleryExtension | null = null; if (extension.hasPreReleaseVersion && extension.properties.isPreReleaseVersion !== includePreRelease) { compatibleExtension = (await this.galleryService.getExtensions([{ ...extension.identifier, preRelease: includePreRelease }], { targetPlatform, compatible: true }, CancellationToken.None))[0] || null; } if (!compatibleExtension && await this.galleryService.isExtensionCompatible(extension, includePreRelease, targetPlatform)) { compatibleExtension = extension; } if (!compatibleExtension) { compatibleExtension = await this.galleryService.getCompatibleExtension(extension, includePreRelease, targetPlatform); } if (compatibleExtension) { if (includePreRelease && !compatibleExtension.properties.isPreReleaseVersion && extension.hasPreReleaseVersion) { throw new ExtensionManagementError(localize('notFoundCompatiblePrereleaseDependency', \"Can't install pre-release version of '{0}' extension because it is not compatible with the current version of {1} (version {2}).\", extension.identifier.id, this.productService.nameLong, this.productService.version), ExtensionManagementErrorCode.IncompatiblePreRelease); } } else {"} {"_id":"q-en-vscode-d9f5350dedde803d7bd8884f176858179dcab7aa83141a7c2db035f7b64f6816","text":"i = wrappedLineEnd; lines.push(getXtermLineContent(buffer, wrappedLineStart, wrappedLineEnd, cols)); if (!match) { match = lines.join('n').match(matcher); match = lines[lines.length - 1].match(matcher); } if (wrappedLines >= linesToCheck) { if (lines.length >= linesToCheck) { break; } }"} {"_id":"q-en-vscode-da8249120f70261d0c4c8dc571d34a6c5f39626ae208381401aee0d7d2e78d9f","text":"@command('git.clean') async clean(...resourceStates: SourceControlResourceState[]): Promise { resourceStates = resourceStates.filter(s => !!s); // Remove duplicate resources const resourceUris = new Set(); resourceStates = resourceStates.filter(s => { if (s === undefined) { return false; } if (resourceUris.has(s.resourceUri.toString())) { return false; } resourceUris.add(s.resourceUri.toString()); return true; }); if (resourceStates.length === 0 || (resourceStates[0] && !(resourceStates[0].resourceUri instanceof Uri))) { const resource = this.getSCMResource();"} {"_id":"q-en-vscode-daa738708267450e66bc55af28cfc18851e9e8699b55708f5d1fd0e6f43cca8d","text":"setTimeout(() => { const idx = unhandledPromises.indexOf(promise); if (idx >= 0) { unhandledPromises.splice(idx, 1); console.warn('rejected promise not handled within 1 second'); onUnexpectedError(reason); promise.catch(e => { unhandledPromises.splice(idx, 1); console.warn(`rejected promise not handled within 1 second: ${e}`); if (e.stack) { console.warn(`stack trace: ${e.stack}`); } onUnexpectedError(reason); }); } }, 1000); });"} {"_id":"q-en-vscode-dac12e21411352583cdcf8e7640bd66b55c0e796d6cd99f295b34d9bd6538cef","text":"if (!Array.isArray(extension.value)) { continue; } const commands = new Map((extension.description.contributes?.commands ?? []).map(c => [c.command, c])); for (const contribution of extension.value) { if (!contribution.command || !contribution.when) { continue; const command = MenuRegistry.getCommand(contribution.command); if (!command) { return; } const fullCommand = commands.get(contribution.command); if (!fullCommand) { return; } const icon = command.icon; const title = typeof command.title === 'string' ? command.title : command.title.value; continueEditSessionOptions.push(new ContinueEditSessionItem( fullCommand.title, fullCommand.command, ThemeIcon.isThemeIcon(icon) ? `$(${icon.id}) ${title}` : title, command.id, command.source, ContextKeyExpr.deserialize(contribution.when) )); }"} {"_id":"q-en-vscode-db2ed21b4d19bc93aea1d9f0953164e88ec1a9777e2b77d41647be5ada923386","text":"\"command.branch\": \"Create Branch...\", \"command.pull\": \"Pull\", \"command.pullRebase\": \"Pull (Rebase)\", \"command.pullFrom\": \"Pull from...\", \"command.push\": \"Push\", \"command.pushTo\": \"Push to...\", \"command.sync\": \"Sync\","} {"_id":"q-en-vscode-dc025a75e3870c5c079209247f530ba71028d381447e23d7434665c38b8fd0d8","text":"} else { // exec command, done this._commandService.executeCommand(item.completion.command.id, ...(item.completion.command.arguments ? [...item.completion.command.arguments] : [])) .catch(onUnexpectedError) .finally(() => this.model.clear()); // <- clear only now, keep commands alive tasks.push(this._commandService.executeCommand(item.completion.command.id, ...(item.completion.command.arguments ? [...item.completion.command.arguments] : [])).catch(onUnexpectedError)); this.model.cancel(); } if (flags & InsertFlags.KeepAlternativeSuggestions) { this._alternatives.value.set(event, next => { // cancel resolving of additional edits cts.cancel(); // this is not so pretty. when inserting the 'next' // suggestion we undo until we are at the state at // which we were before inserting the previous suggestion..."} {"_id":"q-en-vscode-dc054fab76c8290a06bafd69d359ab2f0206813b07e82d4fa11b16bf090e52b5","text":") { super(); this.registerSchemas({ defaultSettingsSchema: {}, userSettingsSchema: {}, profileSettingsSchema: {}, machineSettingsSchema: {}, workspaceSettingsSchema: {}, folderSettingsSchema: {}, configDefaultsSchema: {}, }); extensionService.whenInstalledExtensionsRegistered().then(() => { this.registerConfigurationSchemas();"} {"_id":"q-en-vscode-dc6d5c86259a351dbbfb181d23fc50ba5208fe090caade7a2fdc5f9dcb3b90e1","text":"} } export class MigrateDeprecatedExtension extends ExtensionAction { private static readonly EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} prominent migrate`; private static readonly DisabledClass = `${MigrateDeprecatedExtension.EnabledClass} disabled`; constructor( private readonly small: boolean, @IExtensionsWorkbenchService private extensionsWorkbenchService: IExtensionsWorkbenchService ) { super('extensions.uninstall', localize('migrateExtension', \"Migrate\"), MigrateDeprecatedExtension.DisabledClass, false); this.update(); } update(): void { this.enabled = false; this.class = MigrateDeprecatedExtension.DisabledClass; if (!this.extension?.local) { return; } if (this.extension.state !== ExtensionState.Installed) { return; } if (!this.extension.deprecationInfo?.extension) { return; } const id = this.extension.deprecationInfo.extension.id; if (this.extensionsWorkbenchService.local.some(e => areSameExtensions(e.identifier, { id }))) { return; } this.enabled = true; this.class = MigrateDeprecatedExtension.EnabledClass; this.tooltip = localize('migrate to', \"Migrate to {0}\", this.extension.deprecationInfo.extension.displayName); this.label = this.small ? localize('migrate', \"Migrate\") : this.tooltip; } override async run(): Promise { if (!this.extension?.deprecationInfo?.extension) { return; } await this.extensionsWorkbenchService.uninstall(this.extension); const [extension] = await this.extensionsWorkbenchService.getExtensions([{ id: this.extension.deprecationInfo.extension.id, preRelease: this.extension.deprecationInfo?.extension?.preRelease }], CancellationToken.None); await this.extensionsWorkbenchService.install(extension); } } export class ExtensionActionWithDropdownActionViewItem extends ActionWithDropdownActionViewItem { constructor("} {"_id":"q-en-vscode-dcba478c00282f07dbc20aac1f5073f6e1ed45475b89fc6665b0bc145737a28c","text":"} this._alertCompletionItem(item); // clear only now - after all tasks are done Promise.all(tasks).finally(() => { this.model.clear(); cts.dispose(); }); } getOverwriteInfo(item: CompletionItem, toggleMode: boolean): { overwriteBefore: number, overwriteAfter: number } {"} {"_id":"q-en-vscode-dd1f1e6817d7e64592bdc8efcd27a328a6c8ebbb50e72e5c075125495156ab2b","text":"static readonly ID = 'editor.contrib.standaloneColorPickerWidget'; readonly allowEditorOverflow = true; private body: HTMLElement = document.createElement('div'); private readonly _position: Position | undefined = undefined; private readonly _standaloneColorPickerParticipant: StandaloneColorPickerParticipant; private _body: HTMLElement = document.createElement('div'); private _colorHover: StandaloneColorPickerHover | null = null; private _selectionSetInEditor: boolean = false;"} {"_id":"q-en-vscode-dd3b646e2a260ed589c22d0c49d04c8fd30266a2b681af480cf5af6e76f49e58","text":"\"--vscode-editorWarning-background\", \"--vscode-editorWarning-border\", \"--vscode-editorWarning-foreground\", \"--vscode-editorWatermark-foreground\", \"--vscode-editorWhitespace-foreground\", \"--vscode-editorWidget-background\", \"--vscode-editorWidget-border\","} {"_id":"q-en-vscode-dd82de56c938b2552fdfb4ff825b1c1a92dc2c4a42267efce12b116940bcd438","text":"if (pick === saveAndCommit) { await Promise.all(documents.map(d => d.save())); await repository.add(documents.map(d => d.uri)); await repository.add([]); } else if (pick !== commit) { return false; // do not commit on cancel }"} {"_id":"q-en-vscode-de2fd1a7a80592f2892d55c86354715d9165bb45e3c3642b10b50e6e8fe26c4a","text":"const NotebookPreloadContribution = Object.freeze({ type: 'type', entrypoint: 'entrypoint', localResourceRoots: 'localResourceRoots', }); interface INotebookPreloadContribution { readonly [NotebookPreloadContribution.type]: string; readonly [NotebookPreloadContribution.entrypoint]: string; readonly [NotebookPreloadContribution.localResourceRoots]: readonly string[]; } const notebookProviderContribution: IJSONSchema = {"} {"_id":"q-en-vscode-de3088f0cd5d83c8094739941437678b394d45a4d70624dacbe516cbe67e6c3e","text":"}); } run(accessor: ServicesAccessor, ...args: unknown[]): void { accessor.get(IAccessibleViewService).next(); accessor.get(IAccessibleViewService).previous(); } } registerAction2(AccessibleViewPreviousAction); function registerCommand(command: T): T { command.register();"} {"_id":"q-en-vscode-de4617a974d10a644a08909f0c527eb86360c0fc676fadc882b27450c65935ae","text":"}); }); test('openTextDocument, with selection', function () { return createRandomFile('foonbarnbar').then(file => { return vscode.workspace.openTextDocument(file).then(doc => { return vscode.window.showTextDocument(doc, { selection: new vscode.Range(new vscode.Position(1, 1), new vscode.Position(1, 2)) }).then(editor => { assert.equal(editor.selection.start.line, 1); assert.equal(editor.selection.start.character, 1); assert.equal(editor.selection.end.line, 1); assert.equal(editor.selection.end.character, 2); }); }); }); }); test('registerTextDocumentContentProvider, simple', function () { let registration = vscode.workspace.registerTextDocumentContentProvider('foo', {"} {"_id":"q-en-vscode-dea5ce5e7a5f5a2c4ace8af7fecd5a095040f4e6d9e28d599b9b3458afbf5f4c","text":"this.searchResultModel?.updateChildren(); if (this.settingsTreeModel) { this.settingsTreeModel.update(resolvedSettingsRoot); this.refreshModels(resolvedSettingsRoot); if (schemaChange && !!this.searchResultModel) { // If an extension's settings were just loaded and a search is active, retrigger the search so it shows up"} {"_id":"q-en-vscode-deb106afd9e4f7a119b2987c9f946a3a68aa3beb53f236ecb238a4657a5bb0c7","text":"__vsc_prompt_cmd_original() { __vsc_status=\"$?\" if [[ ${IFS+set} ]]; then __vsc_original_ifs=\"$IFS\" fi if [[ \"$__vsc_original_prompt_command\" =~ .+;.+ ]]; then IFS=';' # Evaluate the original PROMPT_COMMAND similarly to how bash would normally # See https://unix.stackexchange.com/a/672843 for technique if [[ ${#__vsc_original_prompt_command[@]} -gt 1 ]]; then for cmd in \"${__vsc_original_prompt_command[@]}\"; do __vsc_status=\"$?\" eval \"${cmd:-}\" done else IFS=' ' eval \"${__vsc_original_prompt_command:-}\" fi builtin read -ra ADDR <<<\"$__vsc_original_prompt_command\" if [[ ${__vsc_original_ifs+set} ]]; then IFS=\"$__vsc_original_ifs\" unset __vsc_original_ifs else unset IFS fi for ((i = 0; i < ${#ADDR[@]}; i++)); do (exit ${__vsc_status}) builtin eval ${ADDR[i]} done __vsc_precmd }"} {"_id":"q-en-vscode-ded29aedcf9a6a4d062c99bd01a34f327b608600bfeac0fad8992f1b01349892","text":"import { ContextSubMenu } from 'vs/base/browser/contextmenu'; import { memoize } from 'vs/base/common/decorators'; import { IDialogService } from 'vs/platform/dialogs/common/dialogs'; import { getHover } from 'vs/editor/contrib/hover/getHover'; const HOVER_DELAY = 300; const LAUNCH_JSON_REGEX = /launch.json$/;"} {"_id":"q-en-vscode-def605a89f82d72b2c84b86d8cc890c22889bdd216c407002e20568fb3eeae58","text":"if (isWeb()) { // On web, treat absolute paths as pointing to standard lib files if (filepath.startsWith('/')) { return vscode.Uri.joinPath(this.context.extensionUri, 'node_modules', 'typescript', 'lib', filepath.slice(1)); return vscode.Uri.joinPath(this.context.extensionUri, 'dist', 'browser', 'typescript', filepath.slice(1)); } }"} {"_id":"q-en-vscode-defcf7ebd62e40479fb2fe21bd3132e1d67670bda56cfd0d199debc5dd47660e","text":"// use the evil-edit as these models show in readonly-editor only model.applyEdits(edits.map(edit => EditOperation.replace(Range.lift(edit.range), edit.text))); } }).catch(onUnexpectedError); } catch (error) { onUnexpectedError(error); } } }"} {"_id":"q-en-vscode-df04e7fa7a88e67c16b17572b50a86987e0268434bb58f07f45ea37b6832273c","text":"throw new ExtensionManagementError(localize('notFoundCompatibleDependency', \"Can't install '{0}' extension because it is not compatible with the current version of {1} (version {2}).\", extension.identifier.id, this.productService.nameLong, this.productService.version), ExtensionManagementErrorCode.Incompatible); } return compatible; return compatibleExtension; } private async installUIDependenciesAndPackedExtensions(local: ILocalExtension): Promise {"} {"_id":"q-en-vscode-df09c167282328d14621d415d21b74f97d031c8b5de19c61b20ccc1127af37e6","text":"'./$foo', '../foo', '/foo/bar', '/foo/[bar]', '/foo/[bar].baz', '/foo/[bar]/baz', '/foo/bar+more', 'foo/bar', 'foo/bar+more',"} {"_id":"q-en-vscode-df0b85ab72847244bddff1fbcb71997ed7327bf5d6290e4f15edbe148d007180","text":"\"git\": { \"name\": \"electron\", \"repositoryUrl\": \"https://github.com/electron/electron\", \"commitHash\": \"5955d53c480a627b016c592931d9d0345ee2564f\" \"commitHash\": \"a07a70e8db21718dd76644d99892d3e15e0ed440\" } }, \"isOnlyProductionDependency\": true, \"license\": \"MIT\", \"version\": \"30.5.0\" \"version\": \"30.5.1\" }, { \"component\": {"} {"_id":"q-en-vscode-df288d2acc8297049bf5eb95550e653cfe02e1c1964fcb07bb559d1765dc5280","text":"if (type === 'chat') { content.push(descriptionForCommand('chat.action.focus', localize('workbench.action.chat.focus', 'The Focus Chat command ({0}) focuses the chat request/response list, which can be navigated with UpArrow/DownArrow.',), localize('workbench.action.chat.focusNoKb', 'The Focus Chat List command focuses the chat request/response list, which can be navigated with UpArrow/DownArrow and is currently not triggerable by a keybinding.'), keybindingService)); content.push(descriptionForCommand('workbench.action.chat.focusInput', localize('workbench.action.chat.focusInput', 'The Focus Chat Input command ({0}) focuses the input box for chat requests.'), localize('workbench.action.interactiveSession.focusInputNoKb', 'Focus Chat Input command focuses the input box for chat requests and is currently not triggerable by a keybinding.'), keybindingService)); content.push('Chat responses may contain code blocks which can be tabbed to. Use typical editor keybindings to select and copy text. To further interact with these code blocks, run the following commands:'); content.push(descriptionForCommand('workbench.action.chat.insertCodeBlock', localize('workbench.action.chat.insertCodeBlock', 'Insert Code Block ({0}) inserts the code at the current cursor location in last active editor'), localize('workbench.action.chat.insertCodeBlockNoKb', 'Insert Code Block inserts the code at the current cursor location and is currently not triggerable by a keybinding.'), keybindingService)); content.push(descriptionForCommand('workbench.action.chat.insertIntoNewFile', localize('workbench.action.chat.insertIntoNewFile', 'Insert into New File ({0}) creates a new file with the code block as its content'), localize('workbench.action.chat.insertIntoNewFileNoKb', 'Insert into New File creates a new file with the code block as its content and is currently not triggerable by a keybinding.'), keybindingService)); content.push(descriptionForCommand('workbench.action.chat.runInTerminal', localize('workbench.action.chat.runInTerminal', 'Run in Terminal ({0}) runs the code block in the terminal'), localize('workbench.action.chat.runInTerminalNoKb', 'Run in Terminal runs the code block in the terminal and is currently not triggerable by a keybinding.'), keybindingService)); } else { content.push(localize('interactiveSession.makeRequest', \"Tab once to reach the make request button, which will re-run the request.\")); const regex = /^(/fix|/explain)/;"} {"_id":"q-en-vscode-df9a442cceba1a9d825e1264ab27c24f27e68a971bf771d01d67281c72b87b2f","text":"return; } if (!(context.cell instanceof SideBySideDiffElementViewModel)) { return; } const original = context.cell.original; const modified = context.cell.modified; if (!original || !modified) { const modifiedCellIndex = context.cell.mainDocumentTextModel.cells.indexOf(modified.textModel); if (modifiedCellIndex === -1) { return; } modified.textModel.metadata = original.metadata; const rawEdits: ICellEditOperation[] = [{ editType: CellEditType.Metadata, index: modifiedCellIndex, metadata: original.metadata }]; if (context.cell.original.language && context.cell.modified.language !== context.cell.original.language) { rawEdits.push({ editType: CellEditType.CellLanguage, index: modifiedCellIndex, language: context.cell.original.language }); } context.cell.modifiedDocument.applyEdits(rawEdits, true, undefined, () => undefined, undefined, true); } });"} {"_id":"q-en-vscode-dfaccc1b88e92f8fba9c177a7f1845efbd3f9288a56566061c59d5defe6317e1","text":"} } ); this.run().then(undefined, onUnexpectedError); } private async run() {"} {"_id":"q-en-vscode-e0d6ec75a27def70ffd77f4bee33576177b4f81b95dd55704d1c558936d157d1","text":"z-index: 3; } .monaco-workbench .zone-widget.inline-chat-widget .interactive-session { max-width: unset; } .monaco-workbench .zone-widget-container.inside-selection { background-color: var(--vscode-inlineChat-regionHighlight); }"} {"_id":"q-en-vscode-e13af0f84e8eeb82b82d51becbd8250ca5a381ed7f14b8d3052abd3e3ea0c59c","text":"await this.userDataSyncService.resetLocal(); } } catch (error) { this.logService.error(error); if (softTurnOffOnError) { this.logService.error(error); this.updateEnablement(false); } else { throw error;"} {"_id":"q-en-vscode-e18cea6ba646f23c228bd904865484c6f4f011663be40edaca9845467d924a71","text":"return 1; } if (isSCMViewSeparator(one)) { if (!isSCMHistoryItemGroupTreeElement(other) && !isSCMResourceGroup(other)) { throw new Error('Invalid comparison'); } return 0; } if (isSCMResourceGroup(one)) { if (!isSCMResourceGroup(other)) { throw new Error('Invalid comparison'); } return isSCMResourceGroup(other) ? 0 : -1; } return 0; if (isSCMViewSeparator(one)) { return isSCMResourceGroup(other) ? 1 : -1; } if (isSCMHistoryItemGroupTreeElement(one)) { if (!isSCMHistoryItemGroupTreeElement(other) && !isSCMResourceGroup(other) && !isSCMViewSeparator(other)) { throw new Error('Invalid comparison'); } return 0; return isSCMHistoryItemGroupTreeElement(other) ? 0 : 1; } if (isSCMHistoryItemTreeElement(one)) {"} {"_id":"q-en-vscode-e1bd37b58ae0c982fb863ff43ab08c33bbd8aa18f7c98a6ed6a7b7e0e482c079","text":"if (lens.command) { const title = renderLabelWithIcons(lens.command.title.trim()); if (lens.command.id) { children.push(dom.$('a', { id: String(i) }, ...title)); children.push(dom.$('a', { id: String(i), title: lens.command.tooltip }, ...title)); this._commands.set(String(i), lens.command); } else { children.push(dom.$('span', undefined, ...title)); children.push(dom.$('span', { title: lens.command.tooltip }, ...title)); } if (i + 1 < lenses.length) { children.push(dom.$('span', undefined, 'u00a0|u00a0'));"} {"_id":"q-en-vscode-e1e7cff94bb7660401bb152e9dde5f786090ebd52be8ff817761e4549f5af423","text":"this.root.children = this.root.children .filter(child => child instanceof SettingsTreeSettingElement && child.matchesAllTags(this._viewState.tagFilters) && child.matchesScope(this._viewState.settingsTarget, isRemote) && child.matchesAnyExtension(this._viewState.extensionFilters) && child.matchesAnyId(this._viewState.idFilters) && child.matchesAnyFeature(this._viewState.featureFilters) && child.matchesAllLanguages(this._viewState.languageFilter)); if (this.newExtensionSearchResults && this.newExtensionSearchResults.filterMatches.length) { const resultExtensionIds = this.newExtensionSearchResults.filterMatches if (this.newExtensionSearchResults?.filterMatches.length) { let resultExtensionIds = this.newExtensionSearchResults.filterMatches .map(result => (result.setting)) .filter(setting => setting.extensionName && setting.extensionPublisher) .map(setting => `${setting.extensionPublisher}.${setting.extensionName}`); resultExtensionIds = arrays.distinct(resultExtensionIds); const newExtElement = new SettingsTreeNewExtensionsElement('newExtensions', arrays.distinct(resultExtensionIds)); newExtElement.parent = this._root; this._root.children.push(newExtElement); if (resultExtensionIds.length) { const newExtElement = new SettingsTreeNewExtensionsElement('newExtensions', resultExtensionIds); newExtElement.parent = this._root; this._root.children.push(newExtElement); } } }"} {"_id":"q-en-vscode-e1f3791bf94be1769c82534225a1d4e2c889c529538a81c4f72115d8d7de2811","text":"if (--existing.refcount <= 0) { existing.value.then(tunnel => tunnel.dispose()); this._tunnels.delete(tunnel.tunnelRemotePort); this._onTunnelClosed.fire(tunnel.tunnelRemotePort); } } else { tunnel.dispose(); this._onTunnelClosed.fire(tunnel.tunnelRemotePort); } } };"} {"_id":"q-en-vscode-e1f9dac06bd344fa84f06655ddf7bfbd7d6a721f3edfa9f2e6fe167e4a6fb0ef","text":"https-proxy-agent \"^5.0.0\" proxy-from-env \"^1.1.0\" \"@vscode/ripgrep@^1.15.4\": version \"1.15.4\" resolved \"https://registry.yarnpkg.com/@vscode/ripgrep/-/ripgrep-1.15.4.tgz#ca8946b5580bbea1e706ed8d3b1eed5f0d551ab6\" integrity sha512-+EPIS2aoD95MFLrgGHd/D2fck42aMRV2cBrT7BiNvKBeSyCTybSaTJ+PGQf6zV/95AhaXHHYqYPVRk3DZoGU9w== \"@vscode/ripgrep@^1.15.5\": version \"1.15.5\" resolved \"https://registry.yarnpkg.com/@vscode/ripgrep/-/ripgrep-1.15.5.tgz#26025884bbc3a8b40dfc29f5bda4b87b47bd7356\" integrity sha512-PVvKNEmtnlek3i4MJMaB910dz46CKQqcIY2gKR3PSlfz/ZPlSYuSuyQMS7iK20KL4hGUdSbWt964B5S5EIojqw== dependencies: https-proxy-agent \"^5.0.0\" proxy-from-env \"^1.1.0\""} {"_id":"q-en-vscode-e211fbd32416757e495c74ca1f223b98a00b7e9b058819e2314fea32d5e49c41","text":"} /** * The state of a comment thread. */ export enum CommentThreadState { Unresolved = 0, Resolved = 1 } /** * A collection of {@link Comment comments} representing a conversation at a particular range in a document. */ export interface CommentThread {"} {"_id":"q-en-vscode-e21eab108185bbf697aee4baff400a36e37bde6bc9f5588a5164abfb3df01a12","text":"max-width: var(--vscode-editor-dictation-widget-width); } .monaco-editor .editor-dictation-widget .codicon.codicon-mic-filled { display: flex; align-items: center; width: 16px; height: 16px; } .monaco-editor .editor-dictation-widget.recording .codicon.codicon-mic-filled { color: var(--vscode-activityBarBadge-background); animation: editor-dictation-animation 1s infinite;"} {"_id":"q-en-vscode-e2248eb79383233ae387ecec180f6803b53351ea55c5bd80c2a6810f5bce51d5","text":".monaco-action-bar .action-item.disabled .action-label, .monaco-action-bar .action-item.disabled .action-label::before, .monaco-action-bar .action-item.disabled .action-label:hover { opacity: 0.6; color: var(--vscode-disabledForeground); } /* Vertical actions */"} {"_id":"q-en-vscode-e25c671bffc4f227164c3f7904156d301cf6f2a6e0e7ab4d82b9cd6deca43066","text":"if (!this.environmentService.isBuilt) { onOutput('Building tunnel CLI from sources and run', false); onOutput(`${logLabel} Spawning: cargo run -- tunnel ${commandArgs.join(' ')}`, false); tunnelProcess = spawn('cargo', ['run', '--', 'tunnel', ...commandArgs], { cwd: join(this.environmentService.appRoot, 'cli') }); tunnelProcess = spawn('cargo', ['run', '--', 'tunnel', ...commandArgs], { cwd: join(this.environmentService.appRoot, 'cli'), stdio }); } else { onOutput('Running tunnel CLI', false); const tunnelCommand = this.getTunnelCommandLocation(); onOutput(`${logLabel} Spawning: ${tunnelCommand} tunnel ${commandArgs.join(' ')}`, false); tunnelProcess = spawn(tunnelCommand, ['tunnel', ...commandArgs], { cwd: homedir() }); tunnelProcess = spawn(tunnelCommand, ['tunnel', ...commandArgs], { cwd: homedir(), stdio }); } tunnelProcess.stdout!.on('data', data => {"} {"_id":"q-en-vscode-e26acbe6614bdbcb95c4a5bbe7647aa15f4686fd7ad5efdf0fef81aac5ebae8e","text":"} async function main(arch = process.arch): Promise { const version = product.electronRepository ? '22.4.5' : util.getElectronVersion(); const version = product.electronRepository ? '22.4.6' : util.getElectronVersion(); const electronPath = path.join(root, '.build', 'electron'); const versionFile = path.join(electronPath, 'version'); const isUpToDate = fs.existsSync(versionFile) && fs.readFileSync(versionFile, 'utf8') === `${version}`;"} {"_id":"q-en-vscode-e279a0901c37c5dfd77c6a7a45bd22aff88add9cb6d069509549bb0d90827b15","text":"})); } private _updateCommandExecutedListener(): void { if (!this._instance.capabilities.has(TerminalCapability.CommandDetection)) { return; } if (!this._configurationService.getValue(TerminalSettingId.AccessibleViewFocusOnCommandExecution)) { this._onCommandExecutedShowListener.clear(); return; } else if (this._onCommandExecutedShowListener.value) { return; } const capability = this._instance.capabilities.get(TerminalCapability.CommandDetection)!; this._onCommandExecutedShowListener.value = this._register(capability.onCommandExecuted(() => { if (this._instance.hasFocus) { this.show(); } })); } private _isTerminalAccessibleViewOpen(): boolean { return accessibleViewCurrentProviderId.getValue(this._contextKeyService) === AccessibleViewProviderId.Terminal; }"} {"_id":"q-en-vscode-e2a7b79e73179f4b831b1017b5a42ec533efd756ebbe36e73e4c86cff0a85a41","text":"private readonly _onChanged = this._register(new vscode.EventEmitter<{ readonly resource: vscode.Uri, readonly line: number }>()); public readonly onDidChanged = this._onChanged.event; public setPreviousEditorLine(scrollLocation: LastScrollLocation): void { this.previousEditorInfo.set(scrollLocation.uri.toString(), scrollLocation); public setPreviousStaticEditorLine(scrollLocation: LastScrollLocation): void { this.previousStaticEditorInfo.set(scrollLocation.uri.toString(), scrollLocation); } public getPreviousEditorLineByUri(resource: vscode.Uri): number | undefined { const scrollLoc = this.previousEditorInfo.get(resource.toString()); public getPreviousStaticEditorLineByUri(resource: vscode.Uri): number | undefined { const scrollLoc = this.previousStaticEditorInfo.get(resource.toString()); this.previousStaticEditorInfo.delete(resource.toString()); return scrollLoc?.line; } public setPreviousTextEditorLine(scrollLocation: LastScrollLocation): void { this.previousTextEditorInfo.set(scrollLocation.uri.toString(), scrollLocation); } public getPreviousTextEditorLineByUri(resource: vscode.Uri): number | undefined { const scrollLoc = this.previousTextEditorInfo.get(resource.toString()); this.previousTextEditorInfo.delete(resource.toString()); return scrollLoc?.line; }"} {"_id":"q-en-vscode-e331c9dd70913ded1d50e9080a40261acbde8472f384292df26879dfca206c9a","text":"assertSelections(editor, new Selection(1, 4, 1, 4), new Selection(2, 8, 2, 8)); assertContextKeys(contextKeys, true, false, true); // ctrl.next(); // assertSelections(editor, new Selection(1, 7, 1, 7), new Selection(2, 11, 2, 11)); // assertContextKeys(contextKeys, true, true, true); ctrl.next(); assertSelections(editor, new Selection(1, 7, 1, 7), new Selection(2, 11, 2, 11)); assertContextKeys(contextKeys, true, true, true); ctrl.next(); assertSelections(editor, new Selection(1, 7, 1, 7), new Selection(2, 11, 2, 11));"} {"_id":"q-en-vscode-e38893dadf33affc4d87f17139ff4fd0a450d327f2912052704fb10e1330d664","text":"const showFoldingControls = this._computeShowFoldingControlsOption(); // const { bottomToolbarGap, bottomToolbarHeight } = this._computeBottomToolbarDimensions(compactView, insertToolbarPosition, insertToolbarAlignment); const fontSize = this.configurationService.getValue('editor.fontSize'); const outputFontSize = this.configurationService.getValue(NotebookSetting.outputFontSize) || fontSize; const outputFontFamily = this.configurationService.getValue(NotebookSetting.outputFontFamily); const markupFontSize = this.configurationService.getValue(NotebookSetting.markupFontSize); const editorOptionsCustomizations = this.configurationService.getValue(NotebookSetting.cellEditorOptionsCustomizations); const interactiveWindowCollapseCodeCells: InteractiveWindowCollapseCodeCells = this.configurationService.getValue(NotebookSetting.interactiveWindowCollapseCodeCells); const outputLineHeight = this._computeOutputLineHeight(); // TOOD @rebornix remove after a few iterations of deprecated setting let outputLineHeightSettingValue: number; const deprecatedOutputLineHeightSetting = this.configurationService.getValue(NotebookSetting.outputLineHeightDeprecated); if (deprecatedOutputLineHeightSetting !== undefined) { this._migrateDeprecatedSetting(NotebookSetting.outputLineHeightDeprecated, NotebookSetting.outputLineHeight); outputLineHeightSettingValue = deprecatedOutputLineHeightSetting; } else { outputLineHeightSettingValue = this.configurationService.getValue(NotebookSetting.outputLineHeight); } let outputFontSize: number; const deprecatedOutputFontSizeSetting = this.configurationService.getValue(NotebookSetting.outputFontSizeDeprecated); if (deprecatedOutputFontSizeSetting !== undefined) { this._migrateDeprecatedSetting(NotebookSetting.outputFontSizeDeprecated, NotebookSetting.outputFontSize); outputFontSize = deprecatedOutputFontSizeSetting; } else { outputFontSize = this.configurationService.getValue(NotebookSetting.outputFontSize) || fontSize; } let outputFontFamily: string; const deprecatedOutputFontFamilySetting = this.configurationService.getValue(NotebookSetting.outputFontFamilyDeprecated); if (deprecatedOutputFontFamilySetting !== undefined) { this._migrateDeprecatedSetting(NotebookSetting.outputFontFamilyDeprecated, NotebookSetting.outputFontFamily); outputFontFamily = deprecatedOutputFontFamilySetting; } else { outputFontFamily = this.configurationService.getValue(NotebookSetting.outputFontFamily); } const outputLineHeight = this._computeOutputLineHeight(outputLineHeightSettingValue, outputFontSize); const outputScrolling = this.configurationService.getValue(NotebookSetting.outputScrolling); const outputWordWrap = this.configurationService.getValue(NotebookSetting.outputWordWrap); const outputLineLimit = this.configurationService.getValue(NotebookSetting.textOutputLineLimit) ?? 30;"} {"_id":"q-en-vscode-e394560898ab0c0192ab00bbef42b421d4a17fcd81e75a3bab88e493ded133aa","text":"endLineNumber: editorSelection.endLineNumber, endColumn: editorSelection.endColumn } : { startLineNumber: 0, endLineNumber: 0, endColumn: 0, startColumn: 0 }; const focusTracker = this._register(dom.trackFocus(this.body)); const focusTracker = this._register(dom.trackFocus(this._body)); this._register(focusTracker.onDidBlur(_ => { this.hide(); }));"} {"_id":"q-en-vscode-e3b665318285ac4e516913c6c22abae51d19a9f37168dccd33c5d1d32c65cf86","text":"@IKeybindingService private readonly _keybindingService: IKeybindingService, @IContextKeyService private readonly _contextKeyService: IContextKeyService, @ICommandService private readonly _commandService: ICommandService, @IAccessibilityService private readonly _accessibilityService: IAccessibilityService @IAccessibilityService private readonly _accessibilityService: IAccessibilityService, @IConfigurationService private readonly _configurationService: IConfigurationService ) { super(); this._hasShellIntegration = _xterm.shellIntegration.status === ShellIntegrationStatus.VSCode;"} {"_id":"q-en-vscode-e3ca2bfbc559ad0fdcc900e647578d38ba1b24c72acd4a9a3dc9f63f6df182e0","text":"matches.forEach(match => { match.matches.forEach((singleMatch, index) => { if ((singleMatch as OutputFindMatch).index !== undefined) { if ((singleMatch as OutputFindMatch).index === undefined) { textEdits.push({ edit: { range: (singleMatch as FindMatch).range, text: texts[index] }, resource: match.cell.uri"} {"_id":"q-en-vscode-e416cb621a223fb1adc073a444942fb26798fbb84d16d28c8d2d6825d6516299","text":"} return this.addExtensionToWorkspaceFolderConfig(configurationFile, extensionId, shouldRecommend).then(() => { this.notificationService.info(localize('AddToWorkspaceFolderIgnoredRecommendations.success', 'The extension was successfully added to this workspace folder's unwanted recommendations.')); this.notificationService.prompt(Severity.Info, localize('AddToWorkspaceFolderIgnoredRecommendations.success', 'The extension was successfully added to this workspace folder's unwanted recommendations.'), [{ label: localize('viewChanges', \"View Changes\"), run: () => this.openExtensionsFile(configurationFile) }]); }, err => { this.notificationService.error(localize('AddToWorkspaceFolderRecommendations.failure', 'Failed to write to extensions.json. {0}', err)); });"} {"_id":"q-en-vscode-e41d495935a85478e6b4ab75d91f12814086c8ef54f09dc0a9141eb64dd52725","text":"return html; } } namespace MarkedGfmHeadings { // Copied from https://github.com/Flet/github-slugger since we can't use esm yet. // eslint-disable-next-line no-control-regex, no-misleading-character-class const githubSlugReplaceRegex = /[0-x1F!-,./:-@[-^`{-xA9xAB-xB4xB6-xB9xBB-xBFxD7xF7u02C2-u02C5u02D2-u02DFu02E5-u02EBu02EDu02EF-u02FFu0375u0378u0379u037Eu0380-u0385u0387u038Bu038Du03A2u03F6u0482u0530u0557u0558u055A-u055Fu0589-u0590u05BEu05C0u05C3u05C6u05C8-u05CFu05EB-u05EEu05F3-u060Fu061B-u061Fu066A-u066Du06D4u06DDu06DEu06E9u06FDu06FEu0700-u070Fu074Bu074Cu07B2-u07BFu07F6-u07F9u07FBu07FCu07FEu07FFu082E-u083Fu085C-u085Fu086B-u089Fu08B5u08C8-u08D2u08E2u0964u0965u0970u0984u098Du098Eu0991u0992u09A9u09B1u09B3-u09B5u09BAu09BBu09C5u09C6u09C9u09CAu09CF-u09D6u09D8-u09DBu09DEu09E4u09E5u09F2-u09FBu09FDu09FFu0A00u0A04u0A0B-u0A0Eu0A11u0A12u0A29u0A31u0A34u0A37u0A3Au0A3Bu0A3Du0A43-u0A46u0A49u0A4Au0A4E-u0A50u0A52-u0A58u0A5Du0A5F-u0A65u0A76-u0A80u0A84u0A8Eu0A92u0AA9u0AB1u0AB4u0ABAu0ABBu0AC6u0ACAu0ACEu0ACFu0AD1-u0ADFu0AE4u0AE5u0AF0-u0AF8u0B00u0B04u0B0Du0B0Eu0B11u0B12u0B29u0B31u0B34u0B3Au0B3Bu0B45u0B46u0B49u0B4Au0B4E-u0B54u0B58-u0B5Bu0B5Eu0B64u0B65u0B70u0B72-u0B81u0B84u0B8B-u0B8Du0B91u0B96-u0B98u0B9Bu0B9Du0BA0-u0BA2u0BA5-u0BA7u0BAB-u0BADu0BBA-u0BBDu0BC3-u0BC5u0BC9u0BCEu0BCFu0BD1-u0BD6u0BD8-u0BE5u0BF0-u0BFFu0C0Du0C11u0C29u0C3A-u0C3Cu0C45u0C49u0C4E-u0C54u0C57u0C5B-u0C5Fu0C64u0C65u0C70-u0C7Fu0C84u0C8Du0C91u0CA9u0CB4u0CBAu0CBBu0CC5u0CC9u0CCE-u0CD4u0CD7-u0CDDu0CDFu0CE4u0CE5u0CF0u0CF3-u0CFFu0D0Du0D11u0D45u0D49u0D4F-u0D53u0D58-u0D5Eu0D64u0D65u0D70-u0D79u0D80u0D84u0D97-u0D99u0DB2u0DBCu0DBEu0DBFu0DC7-u0DC9u0DCB-u0DCEu0DD5u0DD7u0DE0-u0DE5u0DF0u0DF1u0DF4-u0E00u0E3B-u0E3Fu0E4Fu0E5A-u0E80u0E83u0E85u0E8Bu0EA4u0EA6u0EBEu0EBFu0EC5u0EC7u0ECEu0ECFu0EDAu0EDBu0EE0-u0EFFu0F01-u0F17u0F1A-u0F1Fu0F2A-u0F34u0F36u0F38u0F3A-u0F3Du0F48u0F6D-u0F70u0F85u0F98u0FBD-u0FC5u0FC7-u0FFFu104A-u104Fu109Eu109Fu10C6u10C8-u10CCu10CEu10CFu10FBu1249u124Eu124Fu1257u1259u125Eu125Fu1289u128Eu128Fu12B1u12B6u12B7u12BFu12C1u12C6u12C7u12D7u1311u1316u1317u135Bu135Cu1360-u137Fu1390-u139Fu13F6u13F7u13FE-u1400u166Du166Eu1680u169B-u169Fu16EB-u16EDu16F9-u16FFu170Du1715-u171Fu1735-u173Fu1754-u175Fu176Du1771u1774-u177Fu17D4-u17D6u17D8-u17DBu17DEu17DFu17EA-u180Au180Eu180Fu181A-u181Fu1879-u187Fu18AB-u18AFu18F6-u18FFu191Fu192C-u192Fu193C-u1945u196Eu196Fu1975-u197Fu19AC-u19AFu19CA-u19CFu19DA-u19FFu1A1C-u1A1Fu1A5Fu1A7Du1A7Eu1A8A-u1A8Fu1A9A-u1AA6u1AA8-u1AAFu1AC1-u1AFFu1B4C-u1B4Fu1B5A-u1B6Au1B74-u1B7Fu1BF4-u1BFFu1C38-u1C3Fu1C4A-u1C4Cu1C7Eu1C7Fu1C89-u1C8Fu1CBBu1CBCu1CC0-u1CCFu1CD3u1CFB-u1CFFu1DFAu1F16u1F17u1F1Eu1F1Fu1F46u1F47u1F4Eu1F4Fu1F58u1F5Au1F5Cu1F5Eu1F7Eu1F7Fu1FB5u1FBDu1FBF-u1FC1u1FC5u1FCD-u1FCFu1FD4u1FD5u1FDC-u1FDFu1FED-u1FF1u1FF5u1FFD-u203Eu2041-u2053u2055-u2070u2072-u207Eu2080-u208Fu209D-u20CFu20F1-u2101u2103-u2106u2108u2109u2114u2116-u2118u211E-u2123u2125u2127u2129u212Eu213Au213Bu2140-u2144u214A-u214Du214F-u215Fu2189-u24B5u24EA-u2BFFu2C2Fu2C5Fu2CE5-u2CEAu2CF4-u2CFFu2D26u2D28-u2D2Cu2D2Eu2D2Fu2D68-u2D6Eu2D70-u2D7Eu2D97-u2D9Fu2DA7u2DAFu2DB7u2DBFu2DC7u2DCFu2DD7u2DDFu2E00-u2E2Eu2E30-u3004u3008-u3020u3030u3036u3037u303D-u3040u3097u3098u309Bu309Cu30A0u30FBu3100-u3104u3130u318F-u319Fu31C0-u31EFu3200-u33FFu4DC0-u4DFFu9FFD-u9FFFuA48D-uA4CFuA4FEuA4FFuA60D-uA60FuA62C-uA63FuA673uA67EuA6F2-uA716uA720uA721uA789uA78AuA7C0uA7C1uA7CB-uA7F4uA828-uA82BuA82D-uA83FuA874-uA87FuA8C6-uA8CFuA8DA-uA8DFuA8F8-uA8FAuA8FCuA92EuA92FuA954-uA95FuA97D-uA97FuA9C1-uA9CEuA9DA-uA9DFuA9FFuAA37-uAA3FuAA4EuAA4FuAA5A-uAA5FuAA77-uAA79uAAC3-uAADAuAADEuAADFuAAF0uAAF1uAAF7-uAB00uAB07uAB08uAB0FuAB10uAB17-uAB1FuAB27uAB2FuAB5BuAB6A-uAB6FuABEBuABEEuABEFuABFA-uABFFuD7A4-uD7AFuD7C7-uD7CAuD7FC-uD7FFuE000-uF8FFuFA6EuFA6FuFADA-uFAFFuFB07-uFB12uFB18-uFB1CuFB29uFB37uFB3DuFB3FuFB42uFB45uFBB2-uFBD2uFD3E-uFD4FuFD90uFD91uFDC8-uFDEFuFDFC-uFDFFuFE10-uFE1FuFE30-uFE32uFE35-uFE4CuFE50-uFE6FuFE75uFEFD-uFF0FuFF1A-uFF20uFF3B-uFF3EuFF40uFF5B-uFF65uFFBF-uFFC1uFFC8uFFC9uFFD0uFFD1uFFD8uFFD9uFFDD-uFFFF]|uD800[uDC0CuDC27uDC3BuDC3EuDC4EuDC4FuDC5E-uDC7FuDCFB-uDD3FuDD75-uDDFCuDDFE-uDE7FuDE9D-uDE9FuDED1-uDEDFuDEE1-uDEFFuDF20-uDF2CuDF4B-uDF4FuDF7B-uDF7FuDF9EuDF9FuDFC4-uDFC7uDFD0uDFD6-uDFFF]|uD801[uDC9EuDC9FuDCAA-uDCAFuDCD4-uDCD7uDCFC-uDCFFuDD28-uDD2FuDD64-uDDFFuDF37-uDF3FuDF56-uDF5FuDF68-uDFFF]|uD802[uDC06uDC07uDC09uDC36uDC39-uDC3BuDC3DuDC3EuDC56-uDC5FuDC77-uDC7FuDC9F-uDCDFuDCF3uDCF6-uDCFFuDD16-uDD1FuDD3A-uDD7FuDDB8-uDDBDuDDC0-uDDFFuDE04uDE07-uDE0BuDE14uDE18uDE36uDE37uDE3B-uDE3EuDE40-uDE5FuDE7D-uDE7FuDE9D-uDEBFuDEC8uDEE7-uDEFFuDF36-uDF3FuDF56-uDF5FuDF73-uDF7FuDF92-uDFFF]|uD803[uDC49-uDC7FuDCB3-uDCBFuDCF3-uDCFFuDD28-uDD2FuDD3A-uDE7FuDEAAuDEAD-uDEAFuDEB2-uDEFFuDF1D-uDF26uDF28-uDF2FuDF51-uDFAFuDFC5-uDFDFuDFF7-uDFFF]|uD804[uDC47-uDC65uDC70-uDC7EuDCBB-uDCCFuDCE9-uDCEFuDCFA-uDCFFuDD35uDD40-uDD43uDD48-uDD4FuDD74uDD75uDD77-uDD7FuDDC5-uDDC8uDDCDuDDDBuDDDD-uDDFFuDE12uDE38-uDE3DuDE3F-uDE7FuDE87uDE89uDE8EuDE9EuDEA9-uDEAFuDEEB-uDEEFuDEFA-uDEFFuDF04uDF0DuDF0EuDF11uDF12uDF29uDF31uDF34uDF3AuDF45uDF46uDF49uDF4AuDF4EuDF4FuDF51-uDF56uDF58-uDF5CuDF64uDF65uDF6D-uDF6FuDF75-uDFFF]|uD805[uDC4B-uDC4FuDC5A-uDC5DuDC62-uDC7FuDCC6uDCC8-uDCCFuDCDA-uDD7FuDDB6uDDB7uDDC1-uDDD7uDDDE-uDDFFuDE41-uDE43uDE45-uDE4FuDE5A-uDE7FuDEB9-uDEBFuDECA-uDEFFuDF1BuDF1CuDF2C-uDF2FuDF3A-uDFFF]|uD806[uDC3B-uDC9FuDCEA-uDCFEuDD07uDD08uDD0AuDD0BuDD14uDD17uDD36uDD39uDD3AuDD44-uDD4FuDD5A-uDD9FuDDA8uDDA9uDDD8uDDD9uDDE2uDDE5-uDDFFuDE3F-uDE46uDE48-uDE4FuDE9A-uDE9CuDE9E-uDEBFuDEF9-uDFFF]|uD807[uDC09uDC37uDC41-uDC4FuDC5A-uDC71uDC90uDC91uDCA8uDCB7-uDCFFuDD07uDD0AuDD37-uDD39uDD3BuDD3EuDD48-uDD4FuDD5A-uDD5FuDD66uDD69uDD8FuDD92uDD99-uDD9FuDDAA-uDEDFuDEF7-uDFAFuDFB1-uDFFF]|uD808[uDF9A-uDFFF]|uD809[uDC6F-uDC7FuDD44-uDFFF]|[uD80AuD80BuD80E-uD810uD812-uD819uD824-uD82BuD82DuD82EuD830-uD833uD837uD839uD83DuD83FuD87B-uD87DuD87FuD885-uDB3FuDB41-uDBFF][uDC00-uDFFF]|uD80D[uDC2F-uDFFF]|uD811[uDE47-uDFFF]|uD81A[uDE39-uDE3FuDE5FuDE6A-uDECFuDEEEuDEEFuDEF5-uDEFFuDF37-uDF3FuDF44-uDF4FuDF5A-uDF62uDF78-uDF7CuDF90-uDFFF]|uD81B[uDC00-uDE3FuDE80-uDEFFuDF4B-uDF4EuDF88-uDF8EuDFA0-uDFDFuDFE2uDFE5-uDFEFuDFF2-uDFFF]|uD821[uDFF8-uDFFF]|uD823[uDCD6-uDCFFuDD09-uDFFF]|uD82C[uDD1F-uDD4FuDD53-uDD63uDD68-uDD6FuDEFC-uDFFF]|uD82F[uDC6B-uDC6FuDC7D-uDC7FuDC89-uDC8FuDC9A-uDC9CuDC9F-uDFFF]|uD834[uDC00-uDD64uDD6A-uDD6CuDD73-uDD7AuDD83uDD84uDD8C-uDDA9uDDAE-uDE41uDE45-uDFFF]|uD835[uDC55uDC9DuDCA0uDCA1uDCA3uDCA4uDCA7uDCA8uDCADuDCBAuDCBCuDCC4uDD06uDD0BuDD0CuDD15uDD1DuDD3AuDD3FuDD45uDD47-uDD49uDD51uDEA6uDEA7uDEC1uDEDBuDEFBuDF15uDF35uDF4FuDF6FuDF89uDFA9uDFC3uDFCCuDFCD]|uD836[uDC00-uDDFFuDE37-uDE3AuDE6D-uDE74uDE76-uDE83uDE85-uDE9AuDEA0uDEB0-uDFFF]|uD838[uDC07uDC19uDC1AuDC22uDC25uDC2B-uDCFFuDD2D-uDD2FuDD3EuDD3FuDD4A-uDD4DuDD4F-uDEBFuDEFA-uDFFF]|uD83A[uDCC5-uDCCFuDCD7-uDCFFuDD4C-uDD4FuDD5A-uDFFF]|uD83B[uDC00-uDDFFuDE04uDE20uDE23uDE25uDE26uDE28uDE33uDE38uDE3AuDE3C-uDE41uDE43-uDE46uDE48uDE4AuDE4CuDE50uDE53uDE55uDE56uDE58uDE5AuDE5CuDE5EuDE60uDE63uDE65uDE66uDE6BuDE73uDE78uDE7DuDE7FuDE8AuDE9C-uDEA0uDEA4uDEAAuDEBC-uDFFF]|uD83C[uDC00-uDD2FuDD4A-uDD4FuDD6A-uDD6FuDD8A-uDFFF]|uD83E[uDC00-uDFEFuDFFA-uDFFF]|uD869[uDEDE-uDEFF]|uD86D[uDF35-uDF3F]|uD86E[uDC1EuDC1F]|uD873[uDEA2-uDEAF]|uD87A[uDFE1-uDFFF]|uD87E[uDE1E-uDFFF]|uD884[uDF4B-uDFFF]|uDB40[uDC00-uDCFFuDDF0-uDFFF]/g; function slugify(heading: string): string { const slugifiedHeading = heading.trim() .toLowerCase() .replace(githubSlugReplaceRegex, '') .replace(/s/g, '-'); // Replace whitespace with - return slugifiedHeading; } // Copied from https://github.com/markedjs/marked-gfm-heading-id/blob/main/src/index.js // Removed logic for handling duplicate header ids for now // unescape from marked helpers const unescapeTest = /&(#(?:d+)|(?:#x[0-9A-Fa-f]+)|(?:w+));?/ig; function unescape(html: string) { // explicitly match decimal, hex, and named HTML entities return html.replace(unescapeTest, (_, n) => { n = n.toLowerCase(); if (n === 'colon') { return ':'; } if (n.charAt(0) === '#') { return n.charAt(1) === 'x' ? String.fromCharCode(parseInt(n.substring(2), 16)) : String.fromCharCode(+n.substring(1)); } return ''; }); } export function gfmHeadingId({ prefix = '', globalSlugs = false } = {}): marked.MarkedExtension { return { // hooks: { // \tpreprocess(src: string) { // \t\tif (!globalSlugs) { // \t\t\tresetHeadings(); // \t\t} // \t\treturn src; // \t}, // }, renderer: { heading({ tokens, depth }) { const text = this.parser.parseInline(tokens); const raw = unescape(this.parser.parseInline(tokens, this.parser.textRenderer)) .trim() .replace(/<[!/a-z].*?>/gi, ''); const level = depth; const id = `${prefix}${slugify(raw)}`; // const heading = { level, text, id, raw }; // headings.push(heading); return `${text}n`; }, }, }; } } "} {"_id":"q-en-vscode-e43b29c7c2ac9464136ecd089717caa434e8821318a1e5440a89336cb79ab7b2","text":"if (result.confirmed) { await this.hostService.reload(); } return; } else { await this.extensionService.startExtensionHosts(); } this.extensionService.stopExtensionHosts(); await this.userDataProfileService.updateCurrentProfile(profile, preserveData); await this.extensionService.startExtensionHosts(); } }"} {"_id":"q-en-vscode-e453d787dff96d01a55a34fb5b114ec78c7a81ce1868276bf713ffd5c85991dc","text":"result.push(task); }); // always add npm install (without a problem matcher) result.push(createTask('install', 'install', folder, packageJsonUri, undefined, [])); result.push(createTask('install', 'install', folder, packageJsonUri, 'install dependencies from package', [])); return result; }"} {"_id":"q-en-vscode-e4d3f126f19fe94c9014ecff362514fcfbaeea9c1e1554a56fc7f0ce1b125304","text":"} private _set(nodes: ITreeNode[], silent: boolean, browserEvent?: UIEvent): void { this.nodes = nodes.length > 1 && this.identityProvider ? distinct(nodes, node => this.identityProvider!.getId(node.element).toString()) : [...nodes]; this.nodes = [...nodes]; this.elements = undefined; this._nodeSet = undefined;"} {"_id":"q-en-vscode-e529a7eda155a7aa94220dcc3664f28141a88baab0ea4479fa3af0bc137ff2a2","text":"} .monaco-workbench .part.basepanel > .composite.title > .panel-switcher-container > .monaco-action-bar .action-item .active-item-indicator { top: -6px; top: -4px; left: 10px; width: calc(100% - 20px); } .monaco-workbench .part.basepanel > .composite.title > .panel-switcher-container > .monaco-action-bar .action-item.icon .active-item-indicator { top: -1px; top: 1px; left: 2px; width: calc(100% - 4px); }"} {"_id":"q-en-vscode-e5721d6fce5e9b45fb966da681d2a2b517f094df1b9556cc095df7ebfe3d1364","text":"const styles = this.stylesForType(this.message.type); this.element.style.border = styles.border ? `1px solid ${styles.border}` : ''; if (this.hasFocus() || force) { if (this.message.content && (this.hasFocus() || force)) { this._showMessage(); } }"} {"_id":"q-en-vscode-e5d955fd0a287417a0c575d25db454f65f05b915596f56bcee143fbff5e76014","text":"} /* Create new file from anywhere: Open untitled */ export class GlobalNewFileAction extends Action { export class GlobalNewUntitledFileAction extends Action { public static ID = 'workbench.action.files.newUntitledFile'; public static LABEL = nls.localize('newFile', \"New File\"); public static LABEL = nls.localize('newUntitledFile', \"New Untitled File\"); constructor( id: string,"} {"_id":"q-en-vscode-e5de3abe865c75bdab18c5c3ba868e0882b86a09cd6cfae8e127c77d2e87f689","text":"} public getDomNode(): HTMLElement { return this.body; return this._body; } public getPosition(): IContentWidgetPosition | null {"} {"_id":"q-en-vscode-e5f7c7282f35efae03725c74676e0f0a0e24852bc2154bc57f7d495100b6cc2c","text":".vs-dark .title-actions .action-item .icon.collapseAll, .vs-dark .editor-actions .action-item .icon.collapseAll { background: url('collapseAll_inverse.svg') center center no-repeat; } No newline at end of file } "} {"_id":"q-en-vscode-e5fb87d58ba736425722c0f236020628df5cb824f1f96afc9ec17ed95c65c66b","text":"hoverDelegate: IHoverDelegate, @IInstantiationService instantiationService: IInstantiationService, @IQuickInputService quickInputService: IQuickInputService, @IKeybindingService keybindingService: IKeybindingService ) { this.element.classList.add('command-center');"} {"_id":"q-en-vscode-e670d2a400c697475ef3683776c3d0d2cfb34f09411be3fd1df2fe921e2926b7","text":"return null; } private static _hitTestViewLines(ctx: HitTestContext, request: ResolvedHitTestRequest, domHitTestExecuted: boolean): IMouseTarget | null { private static _hitTestViewLines(ctx: HitTestContext, request: ResolvedHitTestRequest): IMouseTarget | null { if (!ElementPath.isChildOfViewLines(request.targetPath)) { return null; }"} {"_id":"q-en-vscode-e68844d459152dbc78b27f13a3879cb5c044f82d021ed11881fb0132091e5bef","text":"private _target?: TerminalLocation | undefined; private _disableShellIntegrationReporting: boolean | undefined; private _usedShellIntegrationInjection: boolean = false; get usedShellIntegrationInjection(): boolean { return this._usedShellIntegrationInjection; } private _quickFixAddon: TerminalQuickFixAddon | undefined; readonly capabilities = new TerminalCapabilityStoreMultiplexer();"} {"_id":"q-en-vscode-e6d8de175bf66d2d3e9f0eaafd92c175d02b76b1e6c8812a600d57533ed748b8","text":"registerAction2(class extends Action2 { constructor() { super({ id: TerminalCommandId.ClearCommandHistory, title: { value: localize('workbench.action.terminal.clearCommandHistory', \"Clear Command History\"), original: 'Clear Command History' }, id: TerminalCommandId.ClearPreviousSessionHistory, title: { value: localize('workbench.action.terminal.clearPreviousSessionHistory', \"Clear Previous Session History\"), original: 'Clear Previous Session History' }, f1: true, category, precondition: ContextKeyExpr.or(TerminalContextKeys.processSupported, TerminalContextKeys.terminalHasBeenCreated)"} {"_id":"q-en-vscode-e6de78e9e6b6b8b2720511fc67eaf0e83a8cb13265bacc5be86cbe4f5e57141f","text":"@memoize private get showHoverScheduler(): RunOnceScheduler { return new RunOnceScheduler(() => this.showHover(this.hoverRange, false), HOVER_DELAY); const scheduler = new RunOnceScheduler(() => this.showHover(this.hoverRange, false), HOVER_DELAY); this.toDispose.push(scheduler); return scheduler; } @memoize private get hideHoverScheduler(): RunOnceScheduler { return new RunOnceScheduler(() => this.hoverWidget.hide(), HOVER_DELAY); const scheduler = new RunOnceScheduler(() => this.hoverWidget.hide(), HOVER_DELAY); this.toDispose.push(scheduler); return scheduler; } @memoize private get provideNonDebugHoverScheduler(): RunOnceScheduler { const scheduler = new RunOnceScheduler(() => { getHover(this.editor.getModel(), this.nonDebugHoverPosition); }, HOVER_DELAY); this.toDispose.push(scheduler); return scheduler; } private hideHoverWidget(): void {"} {"_id":"q-en-vscode-e6e89204b71cc380f9fb2b6579318565a8052d29512eda2b9976917c4b699094","text":"resolved \"https://registry.yarnpkg.com/@vscode/vscode-languagedetection/-/vscode-languagedetection-1.0.21.tgz#89b48f293f6aa3341bb888c1118d16ff13b032d3\" integrity sha512-zSUH9HYCw5qsCtd7b31yqkpaCU6jhtkKLkvOOA8yTrIRfBSOFb8PPhgmMicD7B/m+t4PwOJXzU1XDtrM9Fd3/g== \"@xterm/addon-canvas@0.6.0-beta.16\": version \"0.6.0-beta.16\" resolved \"https://registry.yarnpkg.com/@xterm/addon-canvas/-/addon-canvas-0.6.0-beta.16.tgz#d22ba7f1b211882215c5206ca07ce177378a898f\" integrity sha512-o89xcm0Tqy1ksEYMq3EIqxJNDUWJBaS9QUggc7i5vKUL2unw9TMa5IiiNzc3CsBOlBQDlITwEXoHDEbOMxoZPQ== \"@xterm/addon-image@0.7.0-beta.14\": version \"0.7.0-beta.14\" resolved \"https://registry.yarnpkg.com/@xterm/addon-image/-/addon-image-0.7.0-beta.14.tgz#39b123dd0a0390766aff631cf43cb2e51b3b2174\" integrity sha512-oCOIupROzkb5p2vZarY6HrX74OqvtbmjnkC6uuGEJXQ75XL2CX+uTUl2DlgeSTvvR0S8ZVB3hQlp4hrtoNNelA== \"@xterm/addon-search@0.14.0-beta.16\": version \"0.14.0-beta.16\" resolved \"https://registry.yarnpkg.com/@xterm/addon-search/-/addon-search-0.14.0-beta.16.tgz#5fa21d2b993970e8ced1e0ada3dcca5f7581c314\" integrity sha512-e6l5jCJIULQ6nzRcc0gp9obZsqd76qubAr0HZF6Ebxf3KOGRz4UX6g+kgt6RB1liWgG94WD8vI1rGB1z5bMSEg== \"@xterm/addon-serialize@0.12.0-beta.16\": version \"0.12.0-beta.16\" resolved \"https://registry.yarnpkg.com/@xterm/addon-serialize/-/addon-serialize-0.12.0-beta.16.tgz#68c4d68dba7ff17a231650cc0d07dcc77721877b\" integrity sha512-F6ngtvTC5VDLn585uJro7V1xjM43TbjPQjQ6Fn0Uic3+dsQrbPFxZmNZuQOjMZDoYj/febFsuspKjXdpoxo21w== \"@xterm/addon-unicode11@0.7.0-beta.16\": version \"0.7.0-beta.16\" resolved \"https://registry.yarnpkg.com/@xterm/addon-unicode11/-/addon-unicode11-0.7.0-beta.16.tgz#c4c640cb119290e1d0a6401ac018aba1d71287f9\" integrity sha512-sP81NX13madSeATjlBReZbaay17DgatR7dZP6OF8aMyJf6cBVaHMYjTipyw3NnsmjUtBfLc3Alu+JKv8NFteiw== \"@xterm/addon-webgl@0.17.0-beta.16\": version \"0.17.0-beta.16\" resolved \"https://registry.yarnpkg.com/@xterm/addon-webgl/-/addon-webgl-0.17.0-beta.16.tgz#75466614bf8ea02a3fcb0900df48724c2344d081\" integrity sha512-+/eTLvSgYjvRX7oAKfpCDZdotrE8P/asCKXQtXjkbOtYRToI7kWEYfJzfgdFKFgDLKOpDdgY6Bgq384wEewlTA== \"@xterm/xterm@5.4.0-beta.16\": version \"5.4.0-beta.16\" resolved \"https://registry.yarnpkg.com/@xterm/xterm/-/xterm-5.4.0-beta.16.tgz#eb00506e56ba78c587fcacbada096c2af3693992\" integrity sha512-ARzWYQ8LfuZIn47TS8c+XKQhn/1ZVvbHdwlpolZIrT2pTarP+71U1b6cSpF7fV+OIV6tAPA8+q4g/1ZKHuOX8g== \"@xterm/addon-canvas@0.6.0-beta.17\": version \"0.6.0-beta.17\" resolved \"https://registry.yarnpkg.com/@xterm/addon-canvas/-/addon-canvas-0.6.0-beta.17.tgz#0bc968a42bcfd477e26cdacd9b1624e3296df97a\" integrity sha512-I5qTtbxqXO3vEBzRuEXHjU9tpLABlMxmaoQ43TkSIO5I4jCQ3EIgnLGNTrDf7BQ6H3OxxsxlMp9Ui0jQRxUuSg== \"@xterm/addon-image@0.7.0-beta.15\": version \"0.7.0-beta.15\" resolved \"https://registry.yarnpkg.com/@xterm/addon-image/-/addon-image-0.7.0-beta.15.tgz#5d18f0702ca7dc1b80c4696448eca949d9a04d4b\" integrity sha512-ymt2cbG1P56EamETSKNNLxr0mI8yWnyUxHC6lRFA6mB0PYO++EePSzulrAC/Clk8X3BPbXIZmhBwoxp0VqWAGg== \"@xterm/addon-search@0.14.0-beta.17\": version \"0.14.0-beta.17\" resolved \"https://registry.yarnpkg.com/@xterm/addon-search/-/addon-search-0.14.0-beta.17.tgz#1f39f02edfa20c3e7f898ddcf73d6b4c8a764e23\" integrity sha512-zM/X41hcHu3FNqPOxlzElGdPkOlkCMI8CWKXSlVfUe7EydzJcRDOUvIE1rE+rCumry79O7ThEK7/6FVTH9k3bQ== \"@xterm/addon-serialize@0.12.0-beta.17\": version \"0.12.0-beta.17\" resolved \"https://registry.yarnpkg.com/@xterm/addon-serialize/-/addon-serialize-0.12.0-beta.17.tgz#cf4ada9104f22427fde915644638d84f8fe45ff9\" integrity sha512-OUV0f1fnqJK8oooJ3J8dGfDxDpqf5s8UU7LWNmuGkcJYkfkltMKlo4DHfQ2DaLxdnb+JT0rfu5LojtRi3bvVaw== \"@xterm/addon-unicode11@0.7.0-beta.17\": version \"0.7.0-beta.17\" resolved \"https://registry.yarnpkg.com/@xterm/addon-unicode11/-/addon-unicode11-0.7.0-beta.17.tgz#0cc609574ccffc683902020f549671e4c36dcf1c\" integrity sha512-VLwnBy3OlzdUy6NGQwS95qDHkgzDfSRssjxJc9YTqOBCz87LD00oKRVDJOa6SMhxXYm7nPyVlC6J6CBSivcLmQ== \"@xterm/addon-webgl@0.17.0-beta.17\": version \"0.17.0-beta.17\" resolved \"https://registry.yarnpkg.com/@xterm/addon-webgl/-/addon-webgl-0.17.0-beta.17.tgz#aa4dd17c9e8b57185b001e8fac1e23cd1fc5a456\" integrity sha512-XvCpPb+jZfb6aHFf+DhgtRcvDz8VA+ZnPa0YfrZWszGoBzNJ4tqWXy6gerRulk20SGilY0UBCfV1f4DIs/HQPg== \"@xterm/xterm@5.4.0-beta.17\": version \"5.4.0-beta.17\" resolved \"https://registry.yarnpkg.com/@xterm/xterm/-/xterm-5.4.0-beta.17.tgz#08897de7274a3431accf525a147a7e6034a64573\" integrity sha512-EhQsTHeO7VhCOnYLdrowWAqEbmZKf6k6Z/Rd3GriikB394jivux6OBcJbt7QdewIOAKqFah53d4rNXfz3/6mwQ== jschardet@3.0.0: version \"3.0.0\""} {"_id":"q-en-vscode-e746570483fee340fbfa4ae13c28ffed4a784a4c78bd5db3195025d9b6d257ca","text":"this._accessibilitySupport = accessibilitySupport; this._onDidChangeAccessibilitySupport.fire(); if (accessibilitySupport === AccessibilitySupport.Enabled) { if (!this.didSendTelemetry && accessibilitySupport === AccessibilitySupport.Enabled) { this._telemetryService.publicLog2('accessibility', { enabled: true }); this.didSendTelemetry = true; } } getAccessibilitySupport(): AccessibilitySupport { if (this._accessibilitySupport === AccessibilitySupport.Unknown) { const config = this.environmentService.configuration; this._accessibilitySupport = config?.accessibilitySupport ? AccessibilitySupport.Enabled : AccessibilitySupport.Disabled; } return this._accessibilitySupport; } }"} {"_id":"q-en-vscode-e7e3634924b43cdcd2f0fc64beb830a1e996e1438c39a99ace7cfb054686a102","text":"} public softDispatch(e: IKeyboardEvent, target: IContextKeyServiceTarget): IResolveResult | null { this._log(`/ Soft dispatching keyboard event`); const keybinding = this.resolveKeyboardEvent(e); if (keybinding.isChord()) { console.warn('Unexpected keyboard event mapped to a chord');"} {"_id":"q-en-vscode-e82b7fc665f67d87b72335435ef82f73ac16cd2aa13ae48ea2ab744737c04d88","text":"const defaults: EditorHoverOptions = { enabled: true, delay: 300, sticky: true sticky: true, below: false, }; super( EditorOption.hover, 'hover', defaults,"} {"_id":"q-en-vscode-e8481be42460cbcce0f94755688d2d917362020b01cd7581009a372426a59c7f","text":"group: 'z_clear', command: { id: ClearRecentFilesAction.ID, title: localize({ key: 'miClearRecentOpen', comment: ['&& denotes a mnemonic'] }, \"&&Clear Recently Opened\") title: localize({ key: 'miClearRecentOpen', comment: ['&& denotes a mnemonic'] }, \"&&Clear Recently Opened...\") }, order: 1 });"} {"_id":"q-en-vscode-e89badc06da32d7b732cc98944e008dce7df7fc7903bb1e4001e39da6281c6af","text":"resolved \"https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f\" integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= xterm-addon-canvas@0.4.0-beta.9: version \"0.4.0-beta.9\" resolved \"https://registry.yarnpkg.com/xterm-addon-canvas/-/xterm-addon-canvas-0.4.0-beta.9.tgz#e570fa4592890f92cc86706f2bba0dd128a8641d\" integrity sha512-BWRVWyUW7NY2g4BBMm3ecPQvbdyKXFgABnpmh4m0TVHqFJMNeXdNuTc94KiDbE+cvw8jtAY9NC/OIM4HcgjAIQ== xterm-addon-canvas@0.4.0-beta.11: version \"0.4.0-beta.11\" resolved \"https://registry.yarnpkg.com/xterm-addon-canvas/-/xterm-addon-canvas-0.4.0-beta.11.tgz#d627050d7e2290ae804c0ec730d5bfc5861afd78\" integrity sha512-yfkx0R7wB3L+fWf1doDmEfwYIeNMVq4uXlq7sCvfPQAVA2H4eOH/s+SS1mhyy0A6DDEbM4eEQ7CroRZIsnVtMA== xterm-addon-search@0.11.0: version \"0.11.0\""} {"_id":"q-en-vscode-e8bb1d9226d4f35b868d04b65b32d7b2c4d49f12dadbe0eaaa73d99152cbe91f","text":"type: 'string', description: nls.localize('contributes.preload.entrypoint', 'Path to file loaded in the webview.'), }, [NotebookPreloadContribution.localResourceRoots]: { type: 'array', items: { type: 'string' }, description: nls.localize('contributes.preload.localResourceRoots', 'Paths to additional resources that should be allowed in the webview.'), }, } } };"} {"_id":"q-en-vscode-e8ddca70157cc17d5c62e08224ed6d0e9dfe5c567308856d4ab7b3ecabd36e2b","text":".customview-tree .monaco-list .monaco-list-row .custom-view-tree-node-item { display: flex; align-items: center; height: 22px; line-height: 22px; flex: 1;"} {"_id":"q-en-vscode-e91ffb2f065f29ad33d6143553acec2edc3bc83d84d3ad1aac1d9dbc68a5f472","text":"export function onDidChangeZoomLevel(callback:(zoomLevel:number)=>void): IDisposable { return ZoomManager.INSTANCE.onDidChangeZoomLevel(callback); } export function getEditorZoomLevel(): number { return ZoomManager.INSTANCE.getEditorZoomLevel(); } export function setEditorZoomLevel(zoomLevel:number): void { let zoomLevelNormalized = Math.min(Math.max(-9, zoomLevel), 9); ZoomManager.INSTANCE.setEditorZoomLevel(zoomLevelNormalized); } export function onDidChangeEditorZoomLevel(callback:(zoomLevel:number)=>void): IDisposable { return ZoomManager.INSTANCE.onDidChangeEditorZoomLevel(callback); } const userAgent = navigator.userAgent;"} {"_id":"q-en-vscode-e933086ee8ed9f6b218e780bd9ad8aa0f9775c24cdaa904c8c9fc8a417cc38c9","text":"})); this._register(editor.onDidChangeConfiguration(() => { this._hoverOperation.setHoverTime(this._editor.getOption(EditorOption.hover).delay); this._preferBelow = this._editor.getOption(EditorOption.hover).below; })); this._register(TokenizationRegistry.onDidChange(() => { if (this._isVisible && this._lastAnchor && this._messages.length > 0) {"} {"_id":"q-en-vscode-e94742541e5a0aff229b8a8fb93d9cde4812bcbfc76c0622c29e009c1aa79a6d","text":"this.fallbackMenuHandlers['workbench.action.openWorkspace'] = (menuItem, win, event) => this.nativeHostMainService.pickWorkspaceAndOpen(undefined, { forceNewWindow: this.isOptionClick(event), telemetryExtraData: { from: telemetryFrom } }); // Recent Menu Items this.fallbackMenuHandlers['workbench.action.clearRecentFiles'] = () => this.workspacesHistoryMainService.clearRecentlyOpened(); this.fallbackMenuHandlers['workbench.action.clearRecentFiles'] = () => this.workspacesHistoryMainService.clearRecentlyOpened({ confirm: true /* ask for confirmation */ }); // Help Menu Items const youTubeUrl = this.productService.youTubeUrl;"} {"_id":"q-en-vscode-e98153e73e473d9451435e8778d006415a426891a3d76abee7b751d012df96be","text":"const inputModel = await input.resolve(); const model = inputModel.model; const viewModel = new MergeEditorViewModel(model, this.input1View, this.input2View, this.inputResultView, this.baseView, this.showNonConflictingChanges, this.configurationService); const viewModel = this.instantiationService.createInstance( MergeEditorViewModel, model, this.input1View, this.input2View, this.inputResultView, this.baseView, this.showNonConflictingChanges, ); model.telemetry.reportMergeEditorOpened({"} {"_id":"q-en-vscode-e984bce7d8101e702a97e54aaf7e49679df216da66085cccd144505348d12175","text":"// breakpoint must not be on position (no need for this action). return bps.length === 0; } public isSupported(): boolean { return super.isSupported() && this.debugService.state === debug.State.Stopped; } } export class AddWatchExpressionAction extends AbstractDebugAction {"} {"_id":"q-en-vscode-e9deb03956b2903dc5c39770aac0c2b9b4b787bb6f900b68752834f6386cbb19","text":"const renderLineInput: RenderLineInput = new RenderLineInput(true, true, lineRenderingData.content, lineRenderingData.continuesWithWrappedLine, lineRenderingData.isBasicASCII, lineRenderingData.containsRTL, 0, lineRenderingData.tokens, actualInlineDecorations, lineRenderingData.tabSize, lineRenderingData.startVisibleColumn,"} {"_id":"q-en-vscode-ea218908926e5468970f84a2733f241d6b85754347d82391cb7a85797e18eeef","text":"language, ...filteredMetadata }; // Give preference to the language we have been given. // Metadata can contain `language` due to round-tripping of cell metadata. // I.e. we add it here, and then from SCM when we revert the cell, we get this same metadata back with the `language` property. if (language) { obj.language = language; } const metadataSource = toFormattedString(obj, {}); return metadataSource;"} {"_id":"q-en-vscode-ea63b7ef322f061634bb2df99509cb1836822b9e0a0ccc7b0537466a81b1eafe","text":"resolved \"https://registry.yarnpkg.com/request-light/-/request-light-0.7.0.tgz#885628bb2f8040c26401ebf258ec51c4ae98ac2a\" integrity sha512-lMbBMrDoxgsyO+yB3sDcrDuX85yYt7sS8BfQd11jtbW/z5ZWgLZRcEGLsLoYw7I0WSUGQBs8CC8ScIxkTX1+6Q== vscode-json-languageservice@^5.3.1: version \"5.3.1\" resolved \"https://registry.yarnpkg.com/vscode-json-languageservice/-/vscode-json-languageservice-5.3.1.tgz#c36175d05f425fbd8f47dcee6f2a72096bdda36f\" integrity sha512-tPRf/2LOBS6uFflFLABdj8T3ol2/QgZ0kpzZHFCs+cbxpnjBNiCo+rfh3th0dtdytq5dSnWo5iFJj99zF6jZWQ== vscode-json-languageservice@^5.3.2: version \"5.3.2\" resolved \"https://registry.yarnpkg.com/vscode-json-languageservice/-/vscode-json-languageservice-5.3.2.tgz#11e530ba9ec541eaeb421dc274a22efdb5d580ef\" integrity sha512-5td6olfoNdtyxnNA4uocq7V9jdTJt63o9mGEntQb6cbD2HiObZW2XgbSj6nRaebWwBCiYdWpFklNjm6Wz6Xy1Q== dependencies: \"@vscode/l10n\" \"^0.0.11\" jsonc-parser \"^3.2.0\""} {"_id":"q-en-vscode-ea6adf92845c9a4de9ccbff43a30d5780ff69190ee9964ad201d0954960031c3","text":"\"@vscode/vscode-languagedetection\": \"1.0.21\", \"@vscode/windows-process-tree\": \"^0.5.0\", \"@vscode/windows-registry\": \"^1.1.0\", \"@xterm/addon-canvas\": \"0.6.0-beta.16\", \"@xterm/addon-image\": \"0.7.0-beta.14\", \"@xterm/addon-search\": \"0.14.0-beta.16\", \"@xterm/addon-serialize\": \"0.12.0-beta.16\", \"@xterm/addon-unicode11\": \"0.7.0-beta.16\", \"@xterm/addon-webgl\": \"0.17.0-beta.16\", \"@xterm/headless\": \"5.4.0-beta.16\", \"@xterm/xterm\": \"5.4.0-beta.16\", \"@xterm/addon-canvas\": \"0.6.0-beta.17\", \"@xterm/addon-image\": \"0.7.0-beta.15\", \"@xterm/addon-search\": \"0.14.0-beta.17\", \"@xterm/addon-serialize\": \"0.12.0-beta.17\", \"@xterm/addon-unicode11\": \"0.7.0-beta.17\", \"@xterm/addon-webgl\": \"0.17.0-beta.17\", \"@xterm/headless\": \"5.4.0-beta.17\", \"@xterm/xterm\": \"5.4.0-beta.17\", \"cookie\": \"^0.4.0\", \"graceful-fs\": \"4.2.11\", \"http-proxy-agent\": \"^7.0.0\","} {"_id":"q-en-vscode-ea6bf436cd9bac215decfb3066e04115cd927260c21ec0fa1b9f3c35294ab178","text":"private static NLS_UNSUPPORTED = nls.localize('patchedWindowTitle', \"[Unsupported]\"); private static NLS_EXTENSION_HOST = nls.localize('devExtensionWindowTitlePrefix', \"[Extension Development Host]\"); private static TITLE_DIRTY = 'u25cf '; private static TITLE_SEPARATOR = ' - '; private static TITLE_SEPARATOR = ' — '; private titleContainer: Builder; private title: Builder;"} {"_id":"q-en-vscode-ea706fcf088315ae659e34112a46cd80888a5e186edb481c5441b37be8ca22ba","text":"private clone(uri: Uri): void { const data = querystring.parse(uri.query); const ref = data.ref; if (!data.url) { console.warn('Failed to open URI:', uri);"} {"_id":"q-en-vscode-ea7cbc5efdf70318ae95f7d2a139ab827ddc75a3dfaeba9841f9f3ef24870e67","text":"reset(resourceMarkers: ResourceMarkers[]): void; revealMarkers(activeResource: ResourceMarkers | null, focus: boolean, lastSelectedRelativeTop: number): void; setAriaLabel(label: string): void; setMarkerSelection(marker?: Marker): void; setMarkerSelection(selection?: Marker[], focus?: Marker[]): void; toggleVisibility(hide: boolean): void; update(resourceMarkers: ResourceMarkers[]): void; updateMarker(marker: Marker): void;"} {"_id":"q-en-vscode-eaefc3cb79456302fd07c52bcbd0996f9b0938d474a4491d562ac355281ca749","text":"} } export class OpenRawUserSettingsAction extends Action { public static readonly ID = 'workbench.action.openRawUserSettings'; public static readonly LABEL = nls.localize('openRawUserSettings', \"Open Raw Global User Settings\"); constructor( id: string, label: string, @IPreferencesService private preferencesService: IPreferencesService ) { super(id, label); } public run(event?: any): TPromise { return this.preferencesService.openRawUserSettings(); } } export class OpenSettings2Action extends Action { public static readonly ID = 'workbench.action.openSettings2';"} {"_id":"q-en-vscode-eb291e535141e39408fa6d73f8ca073cd75aaec4f3535b8e3823bd2fe5ed23d3","text":"cursors.setStates( args.source, CursorChangeReason.Explicit, CursorMoveCommands.addCursorDown(context, cursors.getAll()) CursorMoveCommands.addCursorDown(context, cursors.getAll(), useLogicalLine) ); cursors.reveal(true, RevealTarget.BottomMost, ScrollType.Smooth); }"} {"_id":"q-en-vscode-ebb37f7051085b71024059b63752f6385f4fd3430041633ab27dd968b7fee0cf","text":"this.raw.dispose(); } this.raw = undefined; this.fetchThreadsScheduler = undefined; this.model.clearThreads(this.getId(), true); this._onDidChangeState.fire(); }"} {"_id":"q-en-vscode-ec5b4b2a4e2c231c94c5e66024f3a915da351ab6f5dd9277d5f75e9775d0c1a2","text":"public readonly data: number[] ) { } public static cmp(a: OverviewRulerDecorationsGroup, b: OverviewRulerDecorationsGroup): number { public static compareByRenderingProps(a: OverviewRulerDecorationsGroup, b: OverviewRulerDecorationsGroup): number { if (a.zIndex === b.zIndex) { if (a.color < b.color) { return -1;"} {"_id":"q-en-vscode-ecb0322bf2b3d9a1c57c4d916adbf4e92c2a0675c5aea868794c13d6112fa567","text":"this._register(this.extensionManagementService.onDidInstallExtensions(async (result) => { const hadLastFoucs = await this.hostService.hadLastFocus(); for (const e of result) { if (e.context?.[EXTENSIONS_SYNC_CONTEXT_KEY]) { continue; } // If the window had last focus and the install didn't specify to skip the walkthrough // Then add it to the sessionInstallExtensions to be opened if (hadLastFoucs && !e?.context?.skipWalkthrough) {"} {"_id":"q-en-vscode-ecd7514560412370342023a80697144980d141de6416b87a2eef344dcb5f2412","text":"}); }); test('updateElementHeight with anchor #121723', async function () { test('updateElementHeight with anchor', async function () { await withTestNotebook( [ ['# header a', 'markdown', CellKind.Markup, [], {}],"} {"_id":"q-en-vscode-ed0d0de6193af35bbae6adfd0b20af9a09da2a4187f6f81898cca3b924483865","text":"\"@parcel/watcher\": \"2.1.0\", \"@vscode/iconv-lite-umd\": \"0.7.0\", \"@vscode/proxy-agent\": \"^0.14.1\", \"@vscode/ripgrep\": \"^1.15.4\", \"@vscode/ripgrep\": \"^1.15.5\", \"@vscode/spdlog\": \"^0.13.10\", \"@vscode/vscode-languagedetection\": \"1.0.21\", \"@vscode/windows-process-tree\": \"^0.5.0\","} {"_id":"q-en-vscode-eda50ea242631e8d139a1062ce5bd8c21a6c9fda73e35597428acdaa24773234","text":"const specIcon = gulp.src('resources/linux/rpm/code.xpm', { base: '.' }) .pipe(rename('SOURCES/' + product.applicationName + '.xpm')); const all = es.merge(code, desktops, appdata, icon, bash_completion, zsh_completion, spec, specIcon); const all = es.merge(code, desktops, appdata, workspaceMime, icon, bash_completion, zsh_completion, spec, specIcon); return all.pipe(vfs.dest(getRpmBuildPath(rpmArch))); };"} {"_id":"q-en-vscode-edaa98ddd2bf276952bfdd06ff986c702569533f32784f20a5e18fbfe15f4b95","text":") { } async openReporter(dataOverrides: Partial = {}): Promise { const extensions = await this.extensionManagementService.getInstalled(); const enabledExtensions = extensions.filter(extension => this.extensionEnablementService.isEnabled(extension) || (dataOverrides.extensionId && extension.identifier.id === dataOverrides.extensionId)); const extensionData = enabledExtensions.map((extension): IssueReporterExtensionData => { const { manifest } = extension; const manifestKeys = manifest.contributes ? Object.keys(manifest.contributes) : []; const isTheme = !manifest.activationEvents && manifestKeys.length === 1 && manifestKeys[0] === 'themes'; const isBuiltin = extension.type === ExtensionType.System; return { name: manifest.name, publisher: manifest.publisher, version: manifest.version, repositoryUrl: manifest.repository && manifest.repository.url, bugsUrl: manifest.bugs && manifest.bugs.url, displayName: manifest.displayName, id: extension.identifier.id, isTheme, isBuiltin, }; }); const extensionData: IssueReporterExtensionData[] = []; try { const extensions = await this.extensionManagementService.getInstalled(); const enabledExtensions = extensions.filter(extension => this.extensionEnablementService.isEnabled(extension) || (dataOverrides.extensionId && extension.identifier.id === dataOverrides.extensionId)); extensionData.push(...enabledExtensions.map((extension): IssueReporterExtensionData => { const { manifest } = extension; const manifestKeys = manifest.contributes ? Object.keys(manifest.contributes) : []; const isTheme = !manifest.activationEvents && manifestKeys.length === 1 && manifestKeys[0] === 'themes'; const isBuiltin = extension.type === ExtensionType.System; return { name: manifest.name, publisher: manifest.publisher, version: manifest.version, repositoryUrl: manifest.repository && manifest.repository.url, bugsUrl: manifest.bugs && manifest.bugs.url, displayName: manifest.displayName, id: extension.identifier.id, isTheme, isBuiltin, }; })); } catch (e) { extensionData.push({ name: 'Workbench Issue Service', publisher: 'Unknown', version: '0.0.0', repositoryUrl: undefined, bugsUrl: undefined, displayName: `Extensions not loaded: ${e}`, id: 'workbench.issue', isTheme: false, isBuiltin: true }); } const experiments = await this.experimentService.getCurrentExperiments(); const githubSessions = await this.authenticationService.getSessions('github'); const potentialSessions = githubSessions.filter(session => session.scopes.includes('repo'));"} {"_id":"q-en-vscode-edbf356124ac91860c220d32750c77c8b84c8f0acde62f0ef3d8e531c1b22fb8","text":"import { SideBySideEditorInput } from 'vs/workbench/common/editor/sideBySideEditorInput'; import { AutomaticLanguageDetectionLikelyWrongClassification, AutomaticLanguageDetectionLikelyWrongId, IAutomaticLanguageDetectionLikelyWrongData, ILanguageDetectionService } from 'vs/workbench/services/languageDetection/common/languageDetectionWorkerService'; import { IContextKeyService } from 'vs/platform/contextkey/common/contextkey'; import { TerminalSettingId } from 'vs/platform/terminal/common/terminal'; class SideBySideEditorEncodingSupport implements IEncodingSupport { constructor(private primary: IEncodingSupport, private secondary: IEncodingSupport) { }"} {"_id":"q-en-vscode-edc3d507d39d75a1513de87889c474b115c7799bddc550ff0acb1f92d0b711af","text":"import { Mime, mediaMimes } from '../../util/mimes'; import { Schemes } from '../../util/schemes'; import { createEditForMediaFiles, tryGetUriListSnippet } from './shared'; import { getParentDocumentUri } from '../../util/document'; class ResourceDropProvider implements vscode.DocumentDropEditProvider {"} {"_id":"q-en-vscode-edcd805a884b93b7e58ea4b7cb3c62b25aa201aaa0f4d78f5446ca7fedcf5323","text":") { } public computeSync(anchor: HoverAnchor, lineDecorations: IModelDecoration[]): MarkerHover[] { if (!this._editor.hasModel() || anchor.type !== HoverAnchorType.Range) { if (!this._editor.hasModel() || anchor.type !== HoverAnchorType.Range && !anchor.supportsMarkerHover) { return []; }"} {"_id":"q-en-vscode-edce3446fa45145db5d92572b76b5c865c3b045f09d26cd1cd7c8a8e8ff1c7e9","text":"if (toggleData && groups.filter(g => g.extensionInfo).length) { for (const key in toggleData.settingsEditorRecommendedExtensions) { const extension = toggleData.recommendedExtensionsGalleryInfo[key]; const manifest = await this.extensionGalleryService.getManifest(extension, CancellationToken.None); let manifest: IExtensionManifest | null = null; try { manifest = await this.extensionGalleryService.getManifest(extension, CancellationToken.None); } catch (e) { // Likely a networking issue. // Skip adding a button for this extension to the Settings editor. continue; } const contributesConfiguration = manifest?.contributes?.configuration; let groupTitle: string | undefined;"} {"_id":"q-en-vscode-eddb185266eb71a76d8c34493c29f48795dc3b465444f943a843cc4a66a26973","text":"rows }; this._ptyProcess = pty.spawn(shellLaunchConfig.executable, shellLaunchConfig.args, options); try { this._ptyProcess = pty.spawn(shellLaunchConfig.executable, shellLaunchConfig.args, options); } catch (error) { // The only time this is expected to happen is when the file specified to launch with does not exist. this._exitCode = 2; this._queueProcessExit(); return; } this._ptyProcess.on('data', (data) => { this._onProcessData.fire(data); if (this._closeTimeout) {"} {"_id":"q-en-vscode-ede4865b0ee87042c41d220cfe6885ee74ab054a1589de4624e05d54fe0b3394","text":"} export interface MainThreadWorkspaceShape extends IDisposable { $startFileSearch(includePattern: string | undefined, includeFolder: URI | undefined, excludePatternOrDisregardExcludes: string | false, maxResults: number, token: CancellationToken): Promise; $startFileSearch(includePattern: string | undefined, includeFolder: URI | undefined, excludePatternOrDisregardExcludes: string | false | undefined, maxResults: number, token: CancellationToken): Promise; $startTextSearch(query: IPatternInfo, options: ITextQueryBuilderOptions, requestId: number, token: CancellationToken): Promise; $checkExists(includes: string[], token: CancellationToken): Promise; $saveAll(includeUntitled?: boolean): Promise;"} {"_id":"q-en-vscode-ede8e7a6d278d4a8c939e6044bb0ffc5836d580c42a3e8c14da435b8c777b294","text":"const DEBUG_SELECTED_CONFIG_NAME_KEY = 'debug.selectedconfigname'; const DEBUG_SELECTED_ROOT = 'debug.selectedroot'; const DEBUG_SELECTED_CONFIG = 'debug.selectedconfig'; export class ConfigurationManager implements IConfigurationManager { private debuggers: Debugger[];"} {"_id":"q-en-vscode-ee4dc25324e428bc4b429443755587b117bff2b8f1d577829536afc967d675fd","text":"export interface ProfileContentHandler { readonly name: string; readonly description?: string; saveProfile(name: string, content: string, token: CancellationToken): Thenable<{ readonly id: string; readonly link: Uri } | null>; readProfile(idOrUri: string | Uri, token: CancellationToken): Thenable; }"} {"_id":"q-en-vscode-ee589e58b7df5313f39e5cf70ef3a45923a36f254d11fde27c5715a59092845d","text":"'c:foo/barbaz', 'foo/bar', 'foo/bar', 'foo/[bar]', 'foo/[bar].baz', 'foo/[bar]/baz', 'foobar', 'foo[bar].baz', 'foo[bar]baz', 'foobar+more', ];"} {"_id":"q-en-vscode-ee5c254941b7c605c89dbc1eb33d36639f82b76fa2183ca3d32373509e57201d","text":"await this._revertChanges(textEditor, [...changes.slice(0, index), ...changes.slice(index + 1)]); const firstStagedLine = changes[index].modifiedStartLineNumber - 1; const firstStagedLine = changes[index].modifiedStartLineNumber; textEditor.selections = [new Selection(firstStagedLine, 0, firstStagedLine, 0)]; }"} {"_id":"q-en-vscode-ee5dc300542507fe0b79d18e600c0bc8392abd0d1b27def15bd5f159fc6e3452","text":"dispose(): void { this.disposables.forEach(d => d.dispose()); } } No newline at end of file } "} {"_id":"q-en-vscode-ee859aa565b233015d1e987987136e69a940f26bb2d5ee7cc97fb6e1af94de81","text":"const shellProcessId = await terminal.processId; if (giveShellTimeToInitialize) { // give a new terminal some time to initialize the shell await new Promise(resolve => setTimeout(resolve, 1000)); // give a new terminal some time to initialize the shell (most recently, #228191) // - If shell integration is available, use that as a deterministic signal // - Debounce content being written to known when the prompt is available // - Give a longer timeout otherwise const enum Timing { DataDebounce = 500, MaxDelay = 5000, } const ds = new DisposableStore(); await new Promise(resolve => { const scheduler = ds.add(new RunOnceScheduler(resolve, Timing.DataDebounce)); ds.add(this._terminalService.onDidWriteTerminalData(e => { if (e.terminal === terminal) { scheduler.schedule(); } })); ds.add(this._terminalShellIntegrationService.onDidChangeTerminalShellIntegration(e => { if (e.terminal === terminal) { resolve(); } })); ds.add(disposableTimeout(resolve, Timing.MaxDelay)); }); ds.dispose(); } else { if (terminal.state.isInteractedWith) { if (terminal.state.isInteractedWith && !terminal.shellIntegration) { terminal.sendText('u0003'); // Ctrl+C for #106743. Not part of the same command for #107969 await timeout(200); // mirroring https://github.com/microsoft/vscode/blob/c67ccc70ece5f472ec25464d3eeb874cfccee9f1/src/vs/workbench/contrib/terminal/browser/terminalInstance.ts#L852-L857 }"} {"_id":"q-en-vscode-ee8ce48d8cf1229f35f537ff508381af2aa17e915779b1eaa8d719aca950c6bd","text":"@INotificationService private readonly notificationService: INotificationService, @IEditorResolverService editorResolverService: IEditorResolverService ) { this.run().then(undefined, onUnexpectedError); editorResolverService.registerEditor( `${GettingStartedInput.RESOURCE.scheme}:/**`, {"} {"_id":"q-en-vscode-ee9d37563e9808935229354157b75b25a0a023247ae044fc15e7ddf48ded9fa0","text":"private _isCommentingEnabled: boolean = true; constructor( @IInstantiationService protected instantiationService: IInstantiationService @IInstantiationService protected instantiationService: IInstantiationService, @IWorkbenchLayoutService layoutService: IWorkbenchLayoutService ) { super(); this._register(layoutService.onDidChangeZenMode(e => { this.enableCommenting(!e); })); } get isCommentingEnabled(): boolean {"} {"_id":"q-en-vscode-eea0a751cf248930f35c31d6cc959a289278cf23e2c5ea3291bfa72ec5397fcb","text":"} } private _onEditorMouseMove(mouseEvent: IEditorMouseEvent): void { private _isMouseOverWidget(mouseEvent: IEditorMouseEvent): boolean { const target = mouseEvent.target; if (this._contentWidget?.isFocused || this._contentWidget?.isResizing) { return; } if (this._isMouseDown && this._hoverClicked) { return; } if (this._isHoverSticky && target.type === MouseTargetType.CONTENT_WIDGET && target.detail === ContentHoverWidget.ID) { if ( this._isHoverSticky && target.type === MouseTargetType.CONTENT_WIDGET && target.detail === ContentHoverWidget.ID ) { // mouse moved on top of content hover widget return; return true; } if (this._isHoverSticky && this._contentWidget?.containsNode(mouseEvent.event.browserEvent.view?.document.activeElement) && !mouseEvent.event.browserEvent.view?.getSelection()?.isCollapsed) { if ( this._isHoverSticky && this._contentWidget?.containsNode(mouseEvent.event.browserEvent.view?.document.activeElement) && !mouseEvent.event.browserEvent.view?.getSelection()?.isCollapsed ) { // selected text within content hover widget return; return true; } if ( !this._isHoverSticky && target.type === MouseTargetType.CONTENT_WIDGET && target.detail === ContentHoverWidget.ID !this._isHoverSticky && target.type === MouseTargetType.CONTENT_WIDGET && target.detail === ContentHoverWidget.ID && this._contentWidget?.isColorPickerVisible ) { // though the hover is not sticky, the color picker needs to. return; return true; } if (this._isHoverSticky && target.type === MouseTargetType.OVERLAY_WIDGET && target.detail === MarginHoverWidget.ID) { if (this._isHoverSticky && target.type === MouseTargetType.OVERLAY_WIDGET && target.detail === MarginHoverWidget.ID ) { // mouse moved on top of overlay hover widget return; return true; } return false; } private _onEditorMouseMove(mouseEvent: IEditorMouseEvent): void { const target = mouseEvent.target; if (this._contentWidget?.isFocused || this._contentWidget?.isResizing) { return; } if (this._isMouseDown && this._hoverClicked) { return; } if (this._isHoverSticky && this._contentWidget?.isVisibleFromKeyboard) { // Sticky mode is on and the hover has been shown via keyboard // so moving the mouse has no effect return; } const mouseIsOverWidget = this._isMouseOverWidget(mouseEvent); if (mouseIsOverWidget) { if (this._hideWidgetsTimeout) { clearTimeout(this._hideWidgetsTimeout); this._hideWidgetsTimeout = undefined; } this._mouseWasOverWidget = mouseIsOverWidget; return; } if (this._hideWidgetsTimeout) { return; } const mouseOnDecorator = target.element?.classList.contains('colorpicker-color-decoration'); const decoratorActivatedOn = this._editor.getOption(EditorOption.colorDecoratorsActivatedOn);"} {"_id":"q-en-vscode-eeaaae9b73ab9935f353689ba1e33271c0e0b3f8deaa14344e7f03ce894ea475","text":"\"git\": { \"name\": \"electron\", \"repositoryUrl\": \"https://github.com/electron/electron\", \"commitHash\": \"dc3ce65dd5fd872db86e5308ae005a898142435a\" \"commitHash\": \"67b2739f44ce98aad493170fecc696f76dc12de1\" } }, \"isOnlyProductionDependency\": true, \"license\": \"MIT\", \"version\": \"25.8.1\" \"version\": \"25.8.2\" }, { \"component\": {"} {"_id":"q-en-vscode-eed6ac8408e6523845be574f91a7ba58ba6c69e315bfc79d6daa0af467ea06f6","text":"import { AbstractInitializer, AbstractSynchroniser, getSyncResourceLogLabel, IAcceptResult, IMergeResult, IResourcePreview } from 'vs/platform/userDataSync/common/abstractSynchronizer'; import { IMergeResult as IExtensionMergeResult, merge } from 'vs/platform/userDataSync/common/extensionsMerge'; import { IIgnoredExtensionsManagementService } from 'vs/platform/userDataSync/common/ignoredExtensions'; import { Change, IRemoteUserData, ISyncData, ISyncExtension, ISyncExtensionWithVersion, IUserDataSyncBackupStoreService, IUserDataSynchroniser, IUserDataSyncLogService, IUserDataSyncEnablementService, IUserDataSyncStoreService, SyncResource, USER_DATA_SYNC_SCHEME } from 'vs/platform/userDataSync/common/userDataSync'; import { Change, IRemoteUserData, ISyncData, ISyncExtension, ISyncExtensionWithVersion, IUserDataSyncBackupStoreService, IUserDataSynchroniser, IUserDataSyncLogService, IUserDataSyncEnablementService, IUserDataSyncStoreService, SyncResource, USER_DATA_SYNC_SCHEME, EXTENSIONS_SYNC_CONTEXT_KEY } from 'vs/platform/userDataSync/common/userDataSync'; import { IUserDataProfileStorageService } from 'vs/platform/userDataProfile/common/userDataProfileStorageService'; type IExtensionResourceMergeResult = IAcceptResult & IExtensionMergeResult;"} {"_id":"q-en-vscode-eef3bf7880dd35062ba0c9561e2e96e7a66e03b9cd6aa564477decb2afe0eac3","text":"import { IKeybindingService } from 'vs/platform/keybinding/common/keybinding'; import { Event } from 'vs/base/common/event'; import type { ISearchOptions } from 'xterm-addon-search'; import { TerminalCommandId } from 'vs/workbench/contrib/terminal/common/terminal'; export class TerminalFindWidget extends SimpleFindWidget { private _findInputFocused: IContextKey;"} {"_id":"q-en-vscode-ef0dc1b9e0d43421144a132b42dfe7c0a368ba50198bdce18ae508114eb4bc0f","text":"* Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import * as arrays from 'vs/base/common/arrays'; import { IScrollPosition, Scrollable } from 'vs/base/common/scrollable'; import * as strings from 'vs/base/common/strings'; import { CursorConfiguration, CursorState, EditOperationType, IColumnSelectData, ICursorSimpleModel, PartialCursorState } from 'vs/editor/common/cursorCommon'; import { CursorChangeReason } from 'vs/editor/common/cursorEvents'; import { IViewLineTokens } from 'vs/editor/common/tokens/lineTokens'; import { IPosition, Position } from 'vs/editor/common/core/position'; import { Range } from 'vs/editor/common/core/range'; import { CursorConfiguration, CursorState, EditOperationType, IColumnSelectData, ICursorSimpleModel, PartialCursorState } from 'vs/editor/common/cursorCommon'; import { CursorChangeReason } from 'vs/editor/common/cursorEvents'; import { INewScrollPosition, ScrollType } from 'vs/editor/common/editorCommon'; import { EndOfLinePreference, IModelDecorationOptions, ITextModel, PositionAffinity } from 'vs/editor/common/model'; import { BracketGuideOptions, IActiveIndentGuideInfo, IndentGuide } from 'vs/editor/common/textModelGuides'; import { EditorTheme } from 'vs/editor/common/editorTheme'; import { VerticalRevealType } from 'vs/editor/common/viewEvents'; import { EndOfLinePreference, IModelDecorationOptions, ITextModel, PositionAffinity } from 'vs/editor/common/model'; import { ILineBreaksComputer, InjectedText } from 'vs/editor/common/modelLineProjectionData'; import { BracketGuideOptions, IActiveIndentGuideInfo, IndentGuide } from 'vs/editor/common/textModelGuides'; import { IViewLineTokens } from 'vs/editor/common/tokens/lineTokens'; import { ViewEventHandler } from 'vs/editor/common/viewEventHandler'; import { VerticalRevealType } from 'vs/editor/common/viewEvents'; export interface IViewModel extends ICursorSimpleModel {"} {"_id":"q-en-vscode-ef735ee633b5cec3980165eec86d848f949dc6ff19f2e4d093a144da6f7f5f3b","text":" restart No newline at end of file restart No newline at end of file"} {"_id":"q-en-vscode-ef91118a91501c78e131aa3f79ad8113daf33c5a00c6d29cb9de6abe1f381970","text":"primary: KeyMod.Alt | KeyCode.UpArrow }); CommandsRegistry.registerCommand('scm.openInIntegratedTerminal', async (accessor, provider: ISCMProvider) => { if (!provider || !provider.rootUri) { CommandsRegistry.registerCommand('scm.openInIntegratedTerminal', async (accessor, ...providers: ISCMProvider[]) => { if (!providers || providers.length === 0) { return; } const commandService = accessor.get(ICommandService); const listService = accessor.get(IListService); let provider = providers.length === 1 ? providers[0] : undefined; if (!provider) { const list = listService.lastFocusedList; const element = list?.getHTMLElement(); if (list instanceof WorkbenchList && element && isActiveElement(element)) { const [index] = list.getFocus(); const focusedElement = list.element(index); // Source Control Repositories if (isSCMRepository(focusedElement)) { provider = focusedElement.provider; } } } if (!provider?.rootUri) { return; } await commandService.executeCommand('openInIntegratedTerminal', provider.rootUri); });"} {"_id":"q-en-vscode-f020c0e6f8ed1b29c5355218ac4c3f44c6e153a969fceb35605e5e2080062b2f","text":"resolve(-1); } let tunnelProcess: ChildProcess | undefined; const stdio: StdioOptions = ['ignore', 'pipe', 'pipe']; token.onCancellationRequested(() => { if (tunnelProcess) { this._logger.info(`${logLabel} terminating(${tunnelProcess.pid})`);"} {"_id":"q-en-vscode-f0324e639ed225e2e86e352fdefeb6b004d49ea0b365879f1c666d1a3951c300","text":"if (args.verbose) { fancyLog(`${ansiColors.magenta('BuiltIn extensions')}: ${dedupedBuiltInExtensions.map(e => path.basename(e.extensionPath)).join(', ')}`); fancyLog(`${ansiColors.magenta('Additional extensions')}: ${additionalBuiltinExtensions.map(e => path.basename(e.extensionLocation.path)).join(', ') || 'None'}`); fancyLog(`${ansiColors.magenta('Additional extensions')}: ${additionalBuiltinExtensions.map(e => path.basename(e.path)).join(', ') || 'None'}`); } const secondaryHost = ("} {"_id":"q-en-vscode-f05088ad1c1de6c98aaf60150521e8a56b18bbf1619d713d210d53a9e8acdb97","text":"} .monaco-workbench .predefined-file-icon[class*='codicon-']::before { font-family: 'codicon'; width: 16px; padding-left: 3px; /* width (16px) - font-size (13px) = padding-left (3px) */ padding-right: 3px; } .predefined-file-icon::before { /* do add additional specificity to this selector, so it can be overridden by product themes */ font-family: 'codicon'; } .monaco-workbench:not(.file-icons-enabled) .predefined-file-icon[class*='codicon-']::before { content: unset !important; }"} {"_id":"q-en-vscode-f052e13ebf65e00b97240a6bd38fe94cc9305267a89b44447494d4d35ec828fd","text":"class GitHubGistProfileContentHandler implements vscode.ProfileContentHandler { readonly name = vscode.l10n.t('GitHub'); readonly description = vscode.l10n.t('gist'); private _octokit: Promise | undefined; private getOctokit(): Promise {"} {"_id":"q-en-vscode-f05321c52da3b207319c229ba097bdbdb45d56e9e0ad8038d6a2277896d644e0","text":"} const command = prepareCommand(shell, args.args, !!args.argsCanBeInterpretedByShell, cwdForPrepareCommand, args.env); terminal.sendText(command); if (terminal.shellIntegration) { terminal.shellIntegration.executeCommand(command); } else { terminal.sendText(command); } // Mark terminal as unused when its session ends, see #112055 const sessionListener = this.onDidTerminateDebugSession(s => {"} {"_id":"q-en-vscode-f0735264bd277a51cc1a56780752f6514a352c0eab694575f2f2f9c8e53206eb","text":"private _password = false; private _prompt: string | undefined; private _validationMessage: string | undefined; private _validationMessage2: string | InputBoxValidationMessage | undefined; private _validationMessage: string | InputBoxValidationMessage | undefined; constructor(private readonly extension: IExtensionDescription, onDispose: () => void) { constructor(extension: IExtensionDescription, onDispose: () => void) { super(extension.identifier, onDispose); this.update({ type: 'inputBox' }); }"} {"_id":"q-en-vscode-f09401f9ce6fc0a6de52108bcb490504fe3f637fd0acb25a103ab29a3362de8e","text":"} for (let suggestion of container.suggestions) { if (!options.kindFilter.has(suggestion.kind)) { // skip if not showing deprecated suggestions if (!options.showDeprecated && suggestion?.tags?.includes(modes.CompletionItemTag.Deprecated)) { continue; } // fill in default range when missing if (!suggestion.range) { suggestion.range = defaultRange;"} {"_id":"q-en-vscode-f0bcaf6b8cd2e982b9adc255db11057d590a3a45b53d22692d81e339a599c8ae","text":"integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww== katex@^0.16.2: version \"0.16.3\" resolved \"https://registry.yarnpkg.com/katex/-/katex-0.16.3.tgz#29640560b8fa0403e45f3aa20da5fdbb6d2b83a8\" integrity sha512-3EykQddareoRmbtNiNEDgl3IGjryyrp2eg/25fHDEnlHymIDi33bptkMv6K4EOC2LZCybLW/ZkEo6Le+EM9pmA== version \"0.16.4\" resolved \"https://registry.yarnpkg.com/katex/-/katex-0.16.4.tgz#87021bc3bbd80586ef715aeb476794cba6a49ad4\" integrity sha512-WudRKUj8yyBeVDI4aYMNxhx5Vhh2PjpzQw1GRu/LVGqL4m1AxwD1GcUp0IMbdJaf5zsjtj8ghP0DOQRYhroNkw== dependencies: commander \"^8.0.0\""} {"_id":"q-en-vscode-f0d9e098b7cbe8c86ae9e8d76eb87c08c13b16b7fe619155c314be4d75de106e","text":"# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. rm -f /usr/bin/@@NAME@@ No newline at end of file rm -f /usr/bin/@@NAME@@ # Update mimetype database for removed workspace mimetype if hash update-mime-database 2>/dev/null; then update-mime-database /usr/share/mime fi "} {"_id":"q-en-vscode-f136675b87b92575fa95e5bae489c5c2b0afc43f44ad8f704c05d93f30cb4fda","text":"ca2186313d3cbe5c67d0c08e931a6d290906f4f13c584e63fefa05a04dee9c58 node-v18.15.0-linux-armv7l.tar.gz b298a73a9fc07badfa9e4a2e86ed48824fc9201327cdc43e3f3f58b273c535e7 node-v18.15.0-linux-x64.tar.gz 17fd75d8a41bf9b4c475143e19ff2808afa7a92f7502ede731537d9da674d5e8 win-x64/node.exe d78b2f981465a40a23b964b2db32a390db1970a0dd5371682e121ae2b7422697 win-x86/node.exe "} {"_id":"q-en-vscode-f16680daf45b72e75622b1a4202a4108a54c85b94d2d2bb4de919c44d20098e6","text":"} .merge-editor-block:not(.handled).focused { border: 1px solid var(--vscode-mergeEditor-conflict-unhandledFocused-border); border: 2px solid var(--vscode-mergeEditor-conflict-unhandledFocused-border); } .merge-editor-block.handled:not(.focused) {"} {"_id":"q-en-vscode-f1a2169ba562238a2ba1dce7d156f7abcff5dc1582e3c73178a56b9bb0b377b2","text":"const optionDisabled = (element).optionDisabled; data.optionText.textContent = optionText; data.root.setAttribute('aria-label', nls.localize('selectAriaOption', \"{0}\", optionText)); data.root.setAttribute('aria-label', nls.localize('selectAriaOption', \"{0}\", optionText) + ',.'); if (typeof element.optionDescriptionText === 'string') { const optionDescriptionId = (optionText.replace(/ /g, '_').toLowerCase() + '_description_' + data.root.id); data.root.setAttribute('aria-describedby', optionDescriptionId); data.optionDescriptionText.id = optionDescriptionId; data.optionDescriptionText.setAttribute('aria-label', element.optionDescriptionText); } // Workaround for list labels data.root.setAttribute('aria-selected', 'true');"} {"_id":"q-en-vscode-f1c1b57f1c6bc30840d25be46251e9884a90962caec31baa7acabacb5f16c7ed","text":"this.cachedHeight = height; this.splitview.layout(width); this.list.layout(height - this.virtualDelegate.headerRowHeight, width); const listHeight = height - this.virtualDelegate.headerRowHeight; this.list.getHTMLElement().style.height = `${listHeight}px`; this.list.layout(listHeight, width); } toggleKeyboardNavigation(): void {"} {"_id":"q-en-vscode-f239e1a855d0fa3cc6660a9d257f348aa42f9df2ebcbe0b265c87ca5905459e2","text":"\"jsonc-parser\": \"^3.0.0\", \"request-light\": \"^0.5.8\", \"vscode-json-languageservice\": \"^5.0.0\", \"vscode-languageserver\": \"^8.0.1\", \"vscode-languageserver\": \"^8.0.2-next.4\", \"vscode-uri\": \"^3.0.3\" }, \"devDependencies\": {"} {"_id":"q-en-vscode-f24a9f52937e7a1cc027b73dcfcb55c0bea18f40fcdc83686fdb61eab1b8a109","text":"dependencies: object-keys \"~0.4.0\" xterm-addon-search@0.9.0-beta.21: version \"0.9.0-beta.21\" resolved \"https://registry.yarnpkg.com/xterm-addon-search/-/xterm-addon-search-0.9.0-beta.21.tgz#5348fe25676cdd89ce3be52ae62a316b6f266176\" integrity sha512-jh6kfRCpWRvZZkV9QghFYesSYHjybaLNEyYAD6uilZYfNHoGLa0zPgUkLOqoECL7K6rhBmSYOkKbc9MG4wNFMQ== xterm-addon-search@0.9.0-beta.22: version \"0.9.0-beta.22\" resolved \"https://registry.yarnpkg.com/xterm-addon-search/-/xterm-addon-search-0.9.0-beta.22.tgz#18f2eabda82709cdd64dee003879b586869e28a3\" integrity sha512-1I8W0bwjg6bUoNaESKHSkS9BN3Z9Xe44/zbUb6Un+pbb5Nun4LQvFwSLkAIdRrslxcbcHYIU/2Q7F1wCOWLbaA== xterm-addon-serialize@0.7.0-beta.12: version \"0.7.0-beta.12\""} {"_id":"q-en-vscode-f25026fb4231b7c1631ee7af02c984919e4940dd70f919caa25ecfa2d412fdbc","text":"background-color: transparent!important; color: #333; -webkit-user-select: initial; overflow: hidden; /* prevents the terminal output being incorrectly placed over the title */ position: relative; } .vs-dark .monaco-workbench .panel.integrated-terminal { color: #CCC; }"} {"_id":"q-en-vscode-f25aae426293a32fb4b26296a8775bf584e3eb70422d9f24d85e034bf34ec8e1","text":"ProductQualityContext.bindTo(this.contextKeyService).set(this.productService.quality || ''); EmbedderIdentifierContext.bindTo(this.contextKeyService).set(productService.embedderIdentifier); // Editor Groups this.activeEditorGroupEmpty = ActiveEditorGroupEmptyContext.bindTo(this.contextKeyService); this.activeEditorGroupIndex = ActiveEditorGroupIndexContext.bindTo(this.contextKeyService); this.activeEditorGroupLast = ActiveEditorGroupLastContext.bindTo(this.contextKeyService); this.activeEditorGroupLocked = ActiveEditorGroupLockedContext.bindTo(this.contextKeyService); this.multipleEditorGroupsContext = MultipleEditorGroupsContext.bindTo(this.contextKeyService); // Editors this.editorsVisibleContext = EditorsVisibleContext.bindTo(this.contextKeyService); // Working Copies this.dirtyWorkingCopiesContext = DirtyWorkingCopiesContext.bindTo(this.contextKeyService); this.dirtyWorkingCopiesContext.set(this.workingCopyService.hasDirty);"} {"_id":"q-en-vscode-f27b971b9916b6d9f310fa7b7160e5d2258f351354524c43f7b100c027acfb27","text":"linuxExecutableName: product.applicationName, winIcon: 'resources/win32/code.ico', token: process.env['GITHUB_TOKEN'], repo: product.electronRepository || undefined repo: product.electronRepository || undefined, validateChecksum: true, checksumFile: path.join(root, 'build', 'checksums', 'electron.txt'), }; function getElectron(arch: string): () => NodeJS.ReadWriteStream {"} {"_id":"q-en-vscode-f296333cda7d0ae3ac0097aa7f2d2d9100ea354adfe904a7752c62b36228f40c","text":"if (!suggestOptions.showUsers) { result.add(CompletionItemKind.User); } if (!suggestOptions.showIssues) { result.add(CompletionItemKind.Issue); } return result; return { itemKind: result, showDeprecated: suggestOptions.showDeprecated }; } private _onNewContext(ctx: LineContext): void {"} {"_id":"q-en-vscode-f2c77d9991d041cb1bc6fd9c399252e9710c5a105200619b99ee27771905eb8c","text":"} private readonly _onInput: Emitter = new Emitter(); public get onInput(): Event { public get onDidAcceptInput(): Event { this._checkDisposed(); this._queueApiRequest(this._proxy.$terminalRendererRegisterOnInputListener, [this._id]); // Tell the main side to start sending data if it's not already"} {"_id":"q-en-vscode-f2cd2c8197b8fae1d33af0327ec904ea3e18ef2dcaf4af9be742303a06b61e50","text":"export async function getCurrentAuthenticationSessionInfo(credentialsService: ICredentialsService, productService: IProductService): Promise { const authenticationSessionValue = await credentialsService.getPassword(`${productService.urlProtocol}.login`, 'account'); if (authenticationSessionValue) { const authenticationSessionInfo: AuthenticationSessionInfo = JSON.parse(authenticationSessionValue); if (authenticationSessionInfo && isString(authenticationSessionInfo.id) && isString(authenticationSessionInfo.accessToken) && isString(authenticationSessionInfo.providerId) ) { return authenticationSessionInfo; try { const authenticationSessionInfo: AuthenticationSessionInfo = JSON.parse(authenticationSessionValue); if (authenticationSessionInfo && isString(authenticationSessionInfo.id) && isString(authenticationSessionInfo.accessToken) && isString(authenticationSessionInfo.providerId) ) { return authenticationSessionInfo; } } catch (e) { // ignore as this is a best effort operation. } } return undefined;"} {"_id":"q-en-vscode-f3057acf31234c2876880b0da31298faf84ce7614b1a411d1e842549c0d3a9ce","text":"* Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { createCancelablePromise, firstParallel } from 'vs/base/common/async'; import { createCancelablePromise, firstParallel, timeout } from 'vs/base/common/async'; import { IDisposable } from 'vs/base/common/lifecycle'; import * as platform from 'vs/base/common/platform'; import * as nls from 'vs/nls';"} {"_id":"q-en-vscode-f33345046532927d4ab1160b13035097961396717e3618cc6a921da0a8df9e16","text":"\"update-build-ts-version\": \"npm install typescript@next && tsc -p ./build/tsconfig.build.json\" }, \"dependencies\": { \"@bpasero/watcher\": \"https://github.com/bpasero/watcher.git#3e5e50c275590703f3eb46fac777b720e515d0d5\", \"@microsoft/1ds-core-js\": \"^3.2.13\", \"@microsoft/1ds-post-js\": \"^3.2.13\", \"@parcel/watcher\": \"2.1.0\","} {"_id":"q-en-vscode-f360e089e7cf5878fcd43b69c7674c57a215b058096dd6b9305aa862715255b0","text":"PathSeparatorClause = '/', // '\":; are allowed in paths but they are often separators so ignore them // Also disallow to prevent a catastropic backtracking case #24795 ExcludedPathCharactersClause = '[^0s!`&*()[]'\":;]', ExcludedPathCharactersClause = '[^0s!`&*()'\":;]', ExcludedStartPathCharactersClause = '[^0s!`&*()[]'\":;]', WinOtherPathPrefix = '..?|~', WinPathSeparatorClause = '(|/)', WinExcludedPathCharactersClause = '[^0<>?|/s!`&*()[]'\":;]', WinExcludedPathCharactersClause = '[^0<>?|/s!`&*()'\":;]', WinExcludedStartPathCharactersClause = '[^0<>?|/s!`&*()[]'\":;]', } /** A regex that matches paths in the form /foo, ~/foo, ./foo, ../foo, foo/bar */ export const unixLocalLinkClause = '((' + RegexPathConstants.PathPrefix + '|(' + RegexPathConstants.ExcludedPathCharactersClause + ')+)?(' + RegexPathConstants.PathSeparatorClause + '(' + RegexPathConstants.ExcludedPathCharactersClause + ')+)+)'; export const unixLocalLinkClause = '((' + RegexPathConstants.PathPrefix + '|(' + RegexPathConstants.ExcludedStartPathCharactersClause + RegexPathConstants.ExcludedPathCharactersClause + '*))?(' + RegexPathConstants.PathSeparatorClause + '(' + RegexPathConstants.ExcludedPathCharactersClause + ')+)+)'; export const winDrivePrefix = '(?:?)?[a-zA-Z]:'; /** A regex that matches paths in the form ?c:foo c:foo, ~foo, .foo, ..foo, foobar */ export const winLocalLinkClause = '((' + `(${winDrivePrefix}|${RegexPathConstants.WinOtherPathPrefix})` + '|(' + RegexPathConstants.WinExcludedPathCharactersClause + ')+)?(' + RegexPathConstants.WinPathSeparatorClause + '(' + RegexPathConstants.WinExcludedPathCharactersClause + ')+)+)'; export const winLocalLinkClause = '((' + `(${winDrivePrefix}|${RegexPathConstants.WinOtherPathPrefix})` + '|(' + RegexPathConstants.WinExcludedStartPathCharactersClause + RegexPathConstants.WinExcludedPathCharactersClause + '*))?(' + RegexPathConstants.WinPathSeparatorClause + '(' + RegexPathConstants.WinExcludedPathCharactersClause + ')+)+)'; // TODO: This should eventually move to the more structured terminalLinkParsing /** As xterm reads from DOM, space in that case is nonbreaking char ASCII code - 160,"} {"_id":"q-en-vscode-f370e4da0ffae69cf962e9f73e86b2363d753bd84c5356f5b26c9f23221f4df7","text":"} else if (task.command.presentation.showReuseMessage) { waitOnExit = nls.localize('reuseTerminal', 'Terminal will be reused by tasks, press any key to close it.'); } else { waitOnExit = 'u200B'; waitOnExit = true; } } let shellLaunchConfig: IShellLaunchConfig | undefined = undefined;"} {"_id":"q-en-vscode-f3f56ebe3739f745ab3a47cb07dd29ba6275926f39e4e84e2d50bd88833e7569","text":"\"scope\": \"resource\", \"default\": 10, \"description\": \"%config.detectSubmodulesLimit%\" }, \"git.alwaysSignOff\": { \"type\": \"boolean\", \"scope\": \"resource\", \"default\": false, \"description\": \"%config.alwaysSignOff%\" } } },"} {"_id":"q-en-vscode-f40f8846184edc0ff959c8e40f7fbeada279571d7e098a1b4c71c8e92c4ce37b","text":"const remainingArgs: any = parsedArgs; // https://github.com/microsoft/vscode/issues/58177 cleanedArgs._ = parsedArgs._.filter(arg => arg.length > 0); cleanedArgs._ = parsedArgs._.filter(arg => String(arg).length > 0); delete remainingArgs._;"} {"_id":"q-en-vscode-f41509501167b94e901a6d396d7e47ea2aacf9ed61e5b047b1b41d61b30e2dbb","text":"mapping['method'] = 'showMethods'; mapping['function'] = 'showFunctions'; mapping['constructor'] = 'showConstructors'; mapping['deprecated'] = 'showDeprecated'; mapping['field'] = 'showFields'; mapping['variable'] = 'showVariables'; mapping['class'] = 'showClasses';"} {"_id":"q-en-vscode-f489020afcebfb9030460fcdc6665c4834aacca80102be10113eda4d3fc37fea","text":"[Files] Source: \"*\"; Excludes: \"inno_updater.exe\"; DestDir: \"{code:GetDestDir}\"; Flags: ignoreversion recursesubdirs createallsubdirs Source: \"inno_updater.exe\"; DestDir: \"{app}\"; Flags: ignoreversion recursesubdirs createallsubdirs Source: \"inno_updater.exe\"; DestDir: \"{app}tools\"; Flags: ignoreversion Source: \"vcruntime140.dll\"; DestDir: \"{app}tools\"; Flags: ignoreversion [Icons] Name: \"{group}{#NameLong}\"; Filename: \"{app}{#ExeBasename}.exe\"; AppUserModelID: \"{#AppUserId}\""} {"_id":"q-en-vscode-f49c4fd5260c209a9f12adb39d1329aff6a95ef3e8ef79ae22e222ffd2fea4cc","text":"if (visibleElementsCount === 0) { this.doShow(this.showAtPosition, this.tree.getInput(), false, true); } else { const height = Math.min(visibleElementsCount, MAX_ELEMENTS_SHOWN) * 18; const height = Math.min(visibleElementsCount, MAX_ELEMENTS_SHOWN) * 18 + 10; // add 10 px for the horizontal scroll bar if (this.treeContainer.clientHeight !== height) { this.treeContainer.style.height = `${height}px`;"} {"_id":"q-en-vscode-f4b10ef9e4eed5bc5b0c3733db84db381c5c42b6ad064bcf4e4ca320b4e729eb","text":"\"when\": \"scmProvider == git\" }, { \"command\": \"git.pushToForce\", \"group\": \"1_sync\", \"when\": \"scmProvider == git && config.git.allowForcePush\" }, { \"command\": \"git.publish\", \"group\": \"2_publish\", \"when\": \"scmProvider == git\""} {"_id":"q-en-vscode-f503cdccd907146abf3cf2069dc522d6472407f63d78280a1a2f59046d1f32b9","text":"}, \"xterm\": { \"version\": \"1.0.0\", \"from\": \"git+https://github.com/sourcelair/xterm.js.git#55fb5db\", \"resolved\": \"git+https://github.com/sourcelair/xterm.js.git#55fb5dbcb5353d6fb2a00617be4b1c5de84c6c80\" \"from\": \"git+https://github.com/sourcelair/xterm.js.git#5e662d0\", \"resolved\": \"git+https://github.com/sourcelair/xterm.js.git#5e662d0eb7c2e8b5100f96b45b1110b8f85ba8df\" }, \"yauzl\": { \"version\": \"2.3.1\","} {"_id":"q-en-vscode-f529fc156b8b01bd50cee4794922c860a132b1e7fb784146295011bf796394f6","text":"initialMousePosX: number | undefined, initialMousePosY: number | undefined ) { super(10, owner, part.item.anchor.range, initialMousePosX, initialMousePosY); super(10, owner, part.item.anchor.range, initialMousePosX, initialMousePosY, true); } }"} {"_id":"q-en-vscode-f5a465c700c348ba5481aa852b813beebdbf4ee22daddfca42d19f35aac7b0fd","text":"} return this.addExtensionToWorkspaceFolderConfig(configurationFile, extensionId, shouldRecommend).then(() => { this.notificationService.info(localize('AddToWorkspaceFolderRecommendations.success', 'The extension was successfully added to this workspace folder's recommendations.')); this.notificationService.prompt(Severity.Info, localize('AddToWorkspaceFolderRecommendations.success', 'The extension was successfully added to this workspace folder's recommendations.'), [{ label: localize('viewChanges', \"View Changes\"), run: () => this.openExtensionsFile(configurationFile) }]); }, err => { this.notificationService.error(localize('AddToWorkspaceFolderRecommendations.failure', 'Failed to write to extensions.json. {0}', err)); });"} {"_id":"q-en-vscode-f5dd4af5d7c7888c5f5969792b1a100bb2fb6a5a9b3349e90757afd0057feb11","text":"return; } if (!this.configurationService.getValue('debug').enableAllHovers) { this.nonDebugHoverPosition = mouseEvent.target.position; this.provideNonDebugHoverScheduler.schedule(); } const targetType = mouseEvent.target.type; const stopKey = env.isMacintosh ? 'metaKey' : 'ctrlKey';"} {"_id":"q-en-vscode-f60fd302a0e0ecbc325580e9add0b96d07787b48cbfe18b9cbfda2c6e699a2e9","text":"export interface ISelectOptionItem { optionText: string; optionDescriptionText?: string; optionDisabled: boolean; } interface ISelectListTemplateData { root: HTMLElement; optionText: HTMLElement; optionDescriptionText: HTMLElement; disposables: IDisposable[]; }"} {"_id":"q-en-vscode-f63b2c0a55a7d005f128f430f8906706eb1ca6d88ff4370607306876f4a56066","text":"// FindNext must be false for a first request const findOptions: FindInPageOptions = { forward: options.forward, findNext: false, findNext: true, matchCase: options.matchCase, medialCapitalAsWordStart: options.medialCapitalAsWordStart };"} {"_id":"q-en-vscode-f646d1fb81bbe17d1214087f571ac0a466255bf02dcfb2bef641dc9949f2c215","text":"return [ this.notebookService.getNotebookProviderResourceRoots(), this.notebookService.getRenderers().map(x => dirname(x.entrypoint.path)), Array.from(this.notebookService.getStaticPreloads(this.notebookViewType), x => dirname(x.entrypoint)), ...Array.from(this.notebookService.getStaticPreloads(this.notebookViewType), x => [ dirname(x.entrypoint), ...x.localResourceRoots, ]), workspaceFolders, notebookDir, this.getBuiltinLocalResourceRoots()"} {"_id":"q-en-vscode-f6643c417226dea07dc46bad8f6f9a570f914faf08c00616184fe8546181210c","text":"runtime: layoutRuntimeState, }; const isNewWindow = lifecycleService.startupKind === StartupKind.NewWindow; const activityBarNotDefault = this.configurationService.getValue(LayoutSettings.ACTIVITY_BAR_LOCATION) !== ActivityBarPosition.DEFAULT; // Sidebar View Container To Restore if (this.isVisible(Parts.SIDEBAR_PART)) {"} {"_id":"q-en-vscode-f6dfc120ffb4ef2d31d321a3419d6d6b23dc2074748c60ffd442a7df7eae4958","text":"{ \"name\": \"code-oss-dev\", \"version\": \"1.59.0\", \"distro\": \"4f9399b417ee98731317fbd4616d6fc287172355\", \"distro\": \"74b4e453554c83bca64754d34278aff04e1d78f9\", \"author\": { \"name\": \"Microsoft Corporation\" },"} {"_id":"q-en-vscode-f70161360f418217429eba1d582cdbb3e34be3e9f8d9b6607e4d1f60c7df9902","text":"\"xterm*\" ] } ], \"header/header\": [ 2, \"block\", [ \"---------------------------------------------------------------------------------------------\", \" * Copyright (c) Microsoft Corporation. All rights reserved.\", \" * Licensed under the MIT License. See License.txt in the project root for license information.\", \" *--------------------------------------------------------------------------------------------\" ] ] }, \"overrides\": ["} {"_id":"q-en-vscode-f7534d15aad921a2b48cbde11f4e56d2cfcfd4d85ed24d382fa3f4657fedde9f","text":".quick-input-list { line-height: 22px; margin-top: 6px; padding: 1px; } .quick-input-widget.hidden-input .quick-input-list {"} {"_id":"q-en-vscode-f7d6b1c5a23ea998594ca3a4ef81462a1fe20db83071665b3ce1e33236a823b2","text":"}, \"isOnlyProductionDependency\": true, \"license\": \"MIT\", \"version\": \"19.1.8\" \"version\": \"19.1.9\" }, { \"component\": {"} {"_id":"q-en-vscode-f803723ef5a25eed06f02e4c0e08aabb457896e6ef738fa546b57f2f5863cb0a","text":"id: 'features/audioCues', label: localize('audioCues', 'Audio Cues'), settings: ['audioCues.*'] }, { id: 'features/mergeEditor', label: localize('mergeEditor', 'Merge Editor'), settings: ['mergeEditor.*'] } ] },"} {"_id":"q-en-vscode-f848a3387d5c531364032c40b56b0184f2b53d9c3f00a31ab069656459b63f7c","text":"const extension = await this.extensionService.getExtension(extensionId); if (!extension) { await this.handleUnhandledURL(uri, { id: extensionId }); await this.handleUnhandledURL(uri, { id: extensionId }, options); return true; }"} {"_id":"q-en-vscode-f88226b1298c975cc96a375668e2450b326650f40f9daa35f1ca24a42878562e","text":"if (NotebookEdit.isNotebookCellEdit(edit)) { if (edit.newCellMetadata) { this.replaceNotebookCellMetadata(uri, edit.range.start, edit.newCellMetadata); } else if (edit.newNotebookMetadata) { this.replaceNotebookMetadata(uri, edit.newNotebookMetadata); } else { this.replaceNotebookCells(uri, edit.range, edit.newCells); }"} {"_id":"q-en-vscode-f8859ac4cfba931faf722746bfe3feb428fcb3de5926abfbbda61261d99f814d","text":"\"tab.unfocusedActiveBorder\": \"#f8f8f8\", \"tab.unfocusedActiveBorderTop\": \"#00000015\", \"tab.unfocusedHoverBackground\": \"#6e76811a\", \"terminalCursor.foreground\": \"#005FB8\", \"terminal.foreground\": \"#ffffffc5\", \"terminal.inactiveSelectionBackground\": \"#E5EBF1\", \"terminal.tab.activeBorder\": \"#005fb8\","} {"_id":"q-en-vscode-f88db57e4022e6bbc54b33f8c6f7effe939db26b8d3cd2c875ff0844cd6665e5","text":"arg = { forceNewWindow: arg }; } if (!uri) { return executor.executeCommand('_files.pickFolderAndOpen', arg.forceNewWindow); return executor.executeCommand('_files.pickFolderAndOpen', { forceNewWindow: arg.forceNewWindow }); } const options: IOpenSettings = { forceNewWindow: arg.forceNewWindow, noRecentEntry: arg.noRecentEntry }; uri = URI.revive(uri);"} {"_id":"q-en-vscode-f8eb38c0026c6f2d232da8d1abbf367b64ef094236b55d6d830f536710927c5e","text":"id: 'inlineChat.quickVoice.start', title: localize2('start', \"Start Inline Voice Chat\"), category: AbstractInlineChatAction.category, precondition: ContextKeyExpr.and(HasSpeechProvider, CTX_QUICK_CHAT_IN_PROGRESS.toNegated()), precondition: ContextKeyExpr.and(HasSpeechProvider, CTX_QUICK_CHAT_IN_PROGRESS.toNegated(), EditorContextKeys.focus), f1: true, keybinding: { primary: KeyChord(KeyMod.CtrlCmd | KeyCode.KeyK, KeyCode.KeyI),"} {"_id":"q-en-vscode-f916e54019c8f3075bdc40b158f161a163ba75e2d0ee04dca75d81699943ea13","text":".quick-input-titlebar { display: flex; align-items: center; border-top-left-radius: 5px; /* match border radius of quick input widget */ border-top-right-radius: 5px; } .quick-input-left-action-bar {"} {"_id":"q-en-vscode-f99edc2a18a2f67145470329f593c31c65e6ddfe42be423f2092a5f8ef84f61b","text":"const disposables = new DisposableStore(); try { const userDataProfilesExportState = disposables.add(this.instantiationService.createInstance(UserDataProfileExportState, this.userDataProfileService.currentProfile)); const title = localize('export profile preview', \"Export\"); const exportProfile = await this.selectProfileResources( userDataProfilesExportState, localize('export title', \"{0}: {1} ({2})\", PROFILES_CATEGORY.value, title, this.userDataProfileService.currentProfile.name), localize('export description', \"Choose what to export\") ); if (exportProfile === undefined) { return; } await this.doExportProfile(userDataProfilesExportState, !exportProfile, localize('cancel', \"Cancel\")); await this.doExportProfile(userDataProfilesExportState, true, localize('cancel', \"Cancel\")); } finally { disposables.dispose(); }"} {"_id":"q-en-vscode-f9aacd116c883887c801fed9827f144dee9f9ed0d4d23e549360bb15198c4f12","text":"content.push(`a:hover, .workbenchCommand:hover { color: ${styles.textLinkActiveForeground}; }`); } if (styles.sliderBackgroundColor) { content.push(`::-webkit-scrollbar-thumb { background-color: ${styles.sliderBackgroundColor}; }`); } if (styles.sliderActiveColor) { content.push(`::-webkit-scrollbar-thumb:active { background-color: ${styles.sliderActiveColor}; }`); content.push(`.issue-reporter-body::-webkit-scrollbar-thumb:active { background-color: ${styles.sliderActiveColor}; }`); } if (styles.sliderHoverColor) { content.push(`::--webkit-scrollbar-thumb:hover { background-color: ${styles.sliderHoverColor}; }`); content.push(`.issue-reporter-body::-webkit-scrollbar-thumb { background-color: ${styles.sliderHoverColor}; }`); content.push(`.issue-reporter-body::--webkit-scrollbar-thumb:hover { background-color: ${styles.sliderHoverColor}; }`); } if (styles.buttonBackground) {"} {"_id":"q-en-vscode-f9cd9b2fcd47c9c2665bc5ce18691c2347bd666c6b2aba80258b8cc0a18b3891","text":"// Handle empty if (emptyToRestore.length > 0) { emptyToRestore.forEach(emptyWorkspaceBackupFolder => { const configuration = this.toConfiguration(openConfig); const configuration = this.toConfiguration(openConfig, void 0, filesToOpen, filesToCreate, filesToDiff); const browserWindow = this.openInBrowserWindow(configuration, true /* new window */, null, emptyWorkspaceBackupFolder); usedWindows.push(browserWindow); // Reset these because we handled them filesToOpen = []; filesToCreate = []; filesToDiff = []; openFolderInNewWindow = true; // any other folders to open must open in new window then }); }"} {"_id":"q-en-vscode-f9d0b3f95a946121eb7566d0df2fd4fa9c407367d3a8a9c42fed9b627a389c1c","text":"this._store.add(this._progressBar); let allowRequests = false; this._chatWidget = _instantiationService.createInstance( const scopedInstaService = _instantiationService.createChild( new ServiceCollection([ IContextKeyService, this._store.add(_contextKeyService.createScoped(this._elements.chatWidget)) ]) ); this._chatWidget = scopedInstaService.createInstance( ChatWidget, location, { resource: true },"} {"_id":"q-en-vscode-f9ff722bf249c8c8d250ddcba6c16c78c2aca8023b850e7aa6a6d9539d0fbe0d","text":"text-overflow: ellipsis; } .default-preferences-editor-container > .preferences-header-container > .default-preferences-header, .settings-tabs-widget > .monaco-action-bar .action-item .action-label:not([aria-haspopup]) { display: block; } .settings-tabs-widget > .monaco-action-bar .actions-container { justify-content: flex-start; }"} {"_id":"q-en-vscode-fa59632543b86e204d1a0ef477506d726bb655181f54ad0efee66ed9e640a3c1","text":"nls.localize('addBreakpoint', \"Add Breakpoint\"), null, true, () => this.debugService.addBreakpoints(uri, [{ lineNumber }]) () => this.debugService.addBreakpoints(uri, [{ lineNumber }], `debugEditorContextMenu`) )); actions.push(new Action( 'addConditionalBreakpoint',"} {"_id":"q-en-vscode-fa855af3815b63edc92308a81ea1e482aa2a98175c9ea107bd9bb5e07050bc0a","text":"if (extensionsSelector) { const { selectedExtension } = this.issueReporterModel.getData(); reset(extensionsSelector, this.makeOption('', localize('selectExtension', \"Select extension\"), true), ...extensionOptions.map(extension => makeOption(extension, selectedExtension))); extensionsSelector.selectedIndex = 0; if (!selectedExtension) { extensionsSelector.selectedIndex = 0; } this.addEventListener('extension-selector', 'change', (e: Event) => { const selectedExtensionId = (e.target).value;"} {"_id":"q-en-vscode-fa9536842fb5025124e89009ecae88d74580ce8f071e8bec5ce5cec1be123ead","text":"\"command\": \"git.openChange\", \"title\": \"%command.openChange%\", \"category\": \"Git\", \"icon\": \"$(compare-changes)\" \"icon\": \"$(compare-changes)\", \"enablement\": \"scmActiveResourceHasChanges\" }, { \"command\": \"git.openAllChanges\","} {"_id":"q-en-vscode-fad65e967cfcc6c3d4b580d94e37c2a7b17b3749981ed524f6efe7bf650391b0","text":"if (settingId !== this.currentFileIconTheme.settingsId) { await this.internalSetFileIconTheme(theme.id, undefined); } else if (theme !== this.currentFileIconTheme) { await theme.ensureLoaded(this.extensionResourceLoaderService); this.applyAndSetFileIconTheme(theme, true); } return true;"} {"_id":"q-en-vscode-fb1d17ed1f2226622af3b792a6755987d2ffe934ef9737ce3ae56df8bbca4b6a","text":"} } function compareSourceControlHistoryItemRef(ref1: SourceControlHistoryItemRef, ref2: SourceControlHistoryItemRef): number { const getOrder = (ref: SourceControlHistoryItemRef): number => { if (ref.id.startsWith('refs/heads/')) { return 1; } else if (ref.id.startsWith('refs/remotes/')) { return 2; } else if (ref.id.startsWith('refs/tags/')) { return 3; } return 99; }; const ref1Order = getOrder(ref1); const ref2Order = getOrder(ref2); if (ref1Order !== ref2Order) { return ref1Order - ref2Order; } return ref1.name.localeCompare(ref2.name); } export class GitHistoryProvider implements SourceControlHistoryProvider, FileDecorationProvider, IDisposable { private readonly _onDidChangeDecorations = new EventEmitter(); readonly onDidChangeFileDecorations: Event = this._onDidChangeDecorations.event;"} {"_id":"q-en-vscode-fb32c43436edb6fe572179eb63b732419b289133875c30314ade269c3dca4914","text":"\"resolved\": \"https://registry.npmjs.org/tas-client-umd/-/tas-client-umd-0.2.0.tgz\", \"integrity\": \"sha512-oezN7mJVm5qZDVEby7OzxCLKUpUN5of0rY4dvOWaDF2JZBlGpd3BXceFN8B53qlTaIkVSzP65aAMT0Vc+/N25Q==\" }, \"node_modules/tslib\": { \"version\": \"2.7.0\", \"resolved\": \"https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz\", \"integrity\": \"sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==\", \"peer\": true }, \"node_modules/vscode-oniguruma\": { \"version\": \"1.7.0\", \"resolved\": \"https://registry.npmjs.org/vscode-oniguruma/-/vscode-oniguruma-1.7.0.tgz\","} {"_id":"q-en-vscode-fb681b07e21806034963ba449fdbf51208e2b668c3cf744346e903e155d27136","text":"// Show all results only when filtering begins, this is done so the quick pick will show up // ASAP with only the viewport entries. let accepted = false; const disposables = new DisposableStore(); if (!usingAllLinks) { disposables.add(Event.once(pick.onDidChangeValue)(async () => { const allLinks = await links.all;"} {"_id":"q-en-vscode-fb784ac084752e03b867606d1eebc947ad68cae222bb772a6be084d0e3c2f2bb","text":"// Install the Extension and reload the window to handle. const result = await this.dialogService.confirm({ message: localize('installAndHandle', \"Extension '{0}' is not installed. Would you like to install the extension and reload the window to open this URL?\", galleryExtension.displayName || galleryExtension.name), message: localize('installAndHandle', \"Extension '{0}' is not installed. Would you like to install the extension and open this URL?\", galleryExtension.displayName || galleryExtension.name), detail: `${galleryExtension.displayName || galleryExtension.name} (${extensionIdentifier.id}) wants to open a URL:nn${uri.toString()}`, primaryButton: localize('install', \"&&Install\"), primaryButton: localize('install and open', \"&&Install and Open\"), type: 'question' });"} {"_id":"q-en-vscode-fb8cd1dfaee93c3760e92cab7bff28944b3bc6f7fa93273f3e65f5d217cb4a37","text":"MergeEditorSerializer ); registerAction2(OpenResultResource); registerAction2(SetMixedLayout); registerAction2(SetColumnLayout); registerAction2(OpenMergeEditor);"} {"_id":"q-en-vscode-fb99ebeb10ba14499e9200d8aa8f222440da9ab0470a7deed67b98f30db534ba","text":"commandLineMatcher: GitPushCommandLineRegex, // Example output: // ... // 9: remote: // 8: remote: Create a pull request for 'my_branch' on GitHub by visiting: // 7: remote: https://github.com/microsoft/vscode/pull/new/my_branch // 6: remote: // 5: remote: GitHub found x vulnerabilities on microsoft/vscode's default branch (...). To find out more, visit: // 4: remote: https://github.com/microsoft/vscode/security/dependabot // 3: remote: // 2: To https://github.com/microsoft/vscode // 1: * [new branch] my_branch -> my_branch // 0: Branch 'my_branch' set up to track remote branch 'my_branch' from 'origin'. // 10: remote: // 9: remote: Create a pull request for 'my_branch' on GitHub by visiting: // 8: remote: https://github.com/microsoft/vscode/pull/new/my_branch // 7: remote: // 6: remote: GitHub found x vulnerabilities on microsoft/vscode's default branch (...). To find out more, visit: // 5: remote: https://github.com/microsoft/vscode/security/dependabot // 4: remote: // 3: To https://github.com/microsoft/vscode // 2: * [new branch] my_branch -> my_branch // 1: Branch 'my_branch' set up to track remote branch 'my_branch' from 'origin'. // 0: outputMatcher: { lineMatcher: GitCreatePrOutputRegex, anchor: 'bottom', offset: 3, length: 6 offset: 4, // ~6 should only be needed here for security alerts, but the git provider can customize // the text, so use 12 to be safe. length: 12 }, commandExitResult: 'success', getQuickFixes: (matchResult: ITerminalCommandMatchResult) => {"} {"_id":"q-en-vscode-fbaab12436c5703bdd2b582b6303ca329954130931cb052886212028009e2e93","text":"import { getTitleBarStyle } from 'vs/platform/window/common/window'; import { mainWindow } from 'vs/base/browser/window'; import { isFullscreen, onDidChangeFullscreen } from 'vs/base/browser/browser'; import { IEditorService } from 'vs/workbench/services/editor/common/editorService'; export class WorkbenchContextKeysHandler extends Disposable { private inputFocusedContext: IContextKey; private dirtyWorkingCopiesContext: IContextKey; private activeEditorGroupEmpty: IContextKey; private activeEditorGroupIndex: IContextKey; private activeEditorGroupLast: IContextKey; private activeEditorGroupLocked: IContextKey; private multipleEditorGroupsContext: IContextKey; private editorsVisibleContext: IContextKey; private splitEditorsVerticallyContext: IContextKey; private workbenchStateContext: IContextKey;"} {"_id":"q-en-vscode-fc0615a8d94cf43781aa36521938031156dc826b0185ea9d117f37c77ae522cd","text":"\"command.deleteBranch\": \"Delete Branch...\", \"command.pull\": \"Pull\", \"command.pullRebase\": \"Pull (Rebase)\", \"command.pullFrom\": \"Pull (From Remote)\", \"command.push\": \"Push\", \"command.pushTo\": \"Push to...\", \"command.sync\": \"Sync\","} {"_id":"q-en-vscode-fc0c436c3e4598c70a8febf76ef252e65c9ebe3a47f8e2d231aeec2aed9b50cf","text":"\"vscode-oniguruma\": \"1.7.0\", \"vscode-regexpp\": \"^3.1.0\", \"vscode-textmate\": \"9.0.0\", \"xterm\": \"5.2.0-beta.35\", \"xterm-addon-canvas\": \"0.4.0-beta.9\", \"xterm\": \"5.2.0-beta.40\", \"xterm-addon-canvas\": \"0.4.0-beta.11\", \"xterm-addon-search\": \"0.11.0\", \"xterm-addon-serialize\": \"0.9.0\", \"xterm-addon-unicode11\": \"0.5.0\", \"xterm-addon-webgl\": \"0.15.0-beta.8\", \"xterm-headless\": \"5.2.0-beta.35\", \"xterm-addon-webgl\": \"0.15.0-beta.10\", \"xterm-headless\": \"5.2.0-beta.40\", \"yauzl\": \"^2.9.2\", \"yazl\": \"^2.4.3\" },"} {"_id":"q-en-vscode-fc2d540aad116e09df594f1d78d1d07e9e8c4e7613033005b71e925769ab087b","text":"this._accessibleViewCurrentProviderId.set(provider.verbositySettingKey.replaceAll('accessibility.verbosity.', '')); } const value = this._configurationService.getValue(provider.verbositySettingKey); const readMoreLink = provider.options.readMoreUrl ? localize(\"openDoc\", \"nnPress H now to open a browser window with more information related to accessibility.nn\") : ''; const readMoreLink = provider.options.readMoreUrl ? localize(\"openDoc\", \"nnOpen a browser window with more information related to accessibility (H).\") : ''; let disableHelpHint = ''; if (provider.options.type === AccessibleViewType.Help && !!value) { disableHelpHint = this._getDisableVerbosityHint(provider.verbositySettingKey);"} {"_id":"q-en-vscode-fc3ebe59b618fd0e6674a8b817b99b12ed16bf541983273a4b803645532b3c27","text":"background-color: var(--vscode-chat-list-background); } .interactive-item-container.interactive-request .header .monaco-toolbar { /* Take the partially-transparent background color override for request rows */ background-color: inherit; } .interactive-item-container .header .monaco-toolbar .checked.action-label, .interactive-item-container .header .monaco-toolbar .checked.action-label:hover { color: var(--vscode-inputOption-activeForeground) !important;"} {"_id":"q-en-vscode-fc9e8a35fd1fa4c4e075a84f51c9920e0e43049ee384103ee54d8218bfef1c31","text":"resolved \"https://registry.yarnpkg.com/xterm-addon-unicode11/-/xterm-addon-unicode11-0.5.0.tgz#41c0d96acc1e3bb6c6596eee64e163b6bca74be7\" integrity sha512-Jm4/g4QiTxiKiTbYICQgC791ubhIZyoIwxAIgOW8z8HWFNY+lwk+dwaKEaEeGBfM48Vk8fklsUW9u/PlenYEBg== xterm-addon-webgl@0.15.0-beta.8: version \"0.15.0-beta.8\" resolved \"https://registry.yarnpkg.com/xterm-addon-webgl/-/xterm-addon-webgl-0.15.0-beta.8.tgz#2005198582f6f1f4a9b2612b9354c0bcc9f148d8\" integrity sha512-HjTr9bi3FvdOIPaaIpih6qdHX2z+H7sQPluLj5KzwCqRiEVUVRi19dl8SdHjf6dCmN3GahMhjV7D+zxHi2pLTw== xterm-addon-webgl@0.15.0-beta.10: version \"0.15.0-beta.10\" resolved \"https://registry.yarnpkg.com/xterm-addon-webgl/-/xterm-addon-webgl-0.15.0-beta.10.tgz#39ebbfb1b89c6773a2d8cb8e1d2f3ef1f08b28f9\" integrity sha512-JVv4t5q6QGWyLiEAcAk9H2B83hFlIalzEwWu1VVYso0MJyZAlZ0NP5Za03iSKxYi7RQIA5bOe8r7W24esQDjLg== xterm-headless@5.2.0-beta.35: version \"5.2.0-beta.35\" resolved \"https://registry.yarnpkg.com/xterm-headless/-/xterm-headless-5.2.0-beta.35.tgz#8c3d4d06747e27a5bc4f0bf914479820a5b8f529\" integrity sha512-tq/zKnXEsVXGlhXHGNqPO47x9Fvew2avZ0wfMI1G80AEYrjxGY/3Quxwe9/C5ngIuPwk2CMbgDZwHhSFvyOrMA== xterm-headless@5.2.0-beta.40: version \"5.2.0-beta.40\" resolved \"https://registry.yarnpkg.com/xterm-headless/-/xterm-headless-5.2.0-beta.40.tgz#6edba318d23ed350c8ec6279e6f61f40bde9b163\" integrity sha512-6CHgR64POfa24CTILcq/HHg1im1u1HjJZSHWjlopP18KiS8Rq8dzCurZDsu38atxDK9dyjV8SRw2AB4ijcxZsQ== xterm@5.2.0-beta.35: version \"5.2.0-beta.35\" resolved \"https://registry.yarnpkg.com/xterm/-/xterm-5.2.0-beta.35.tgz#4a0c0aa81c89c42167c22d023648cced44fa3c25\" integrity sha512-6x6i61lucRrLWRKFeMO/ZOx5anvYR6FHpReLO2g0y1bp5zYWyZFzM6DepMV50729gubzxSLB8mvbmb9EpeIugQ== xterm@5.2.0-beta.40: version \"5.2.0-beta.40\" resolved \"https://registry.yarnpkg.com/xterm/-/xterm-5.2.0-beta.40.tgz#c73d5576425dcd4fa6b48ce58b4224a7b5b9dbdf\" integrity sha512-7/Db3KPceM0VX4/YAKL+/ArvEHlGBwE3kt1oN9QP5TLaJ6r2ThMS7z7QwG8g2gy60GFnvjfvpcTv6Ewyste4zg== yallist@^4.0.0: version \"4.0.0\""} {"_id":"q-en-vscode-fd0635fe1b8fa5c3deb674b0497e7c33d06c3791015256ca5d4b591efb4700bf","text":"const editor = await vscode.window.showNotebookDocument(notebook); const notebookChangeEvent = asPromise(vscode.workspace.onDidChangeNotebookDocument); const version = editor.document.version; await editor.edit(editBuilder => { editBuilder.replaceCells(1, 0, [{ kind: vscode.NotebookCellKind.Code, languageId: 'javascript', value: 'test 2', outputs: [], metadata: undefined }]); editBuilder.replaceCellMetadata(0, { inputCollapsed: false }); }); const version = editor.notebook.version; const edit = new vscode.WorkspaceEdit(); const cellEdit = vscode.NotebookEdit.replaceCells(new vscode.NotebookRange(1, 0), [{ kind: vscode.NotebookCellKind.Code, languageId: 'javascript', value: 'test 2', outputs: [], metadata: undefined }]); const metdataEdit = vscode.NotebookEdit.updateNotebookMetadata({ ...notebook.metadata, custom: { ...(notebook.metadata.custom || {}), extraNotebookMetadata: true } }); edit.set(notebook.uri, [cellEdit, metdataEdit]); await vscode.workspace.applyEdit(edit); await notebookChangeEvent; assert.strictEqual(version + 1, editor.document.version); const notebookChangeEvent2 = asPromise(vscode.workspace.onDidChangeNotebookDocument); const edit2 = new vscode.WorkspaceEdit(); const cellMetadataEdit = vscode.NotebookEdit.updateCellMetadata(0, { extraCellMetadata: true }); edit2.set(notebook.uri, [cellMetadataEdit]); await vscode.workspace.applyEdit(edit2); await notebookChangeEvent2; assert.strictEqual(version + 2, editor.notebook.version); const cell = editor.notebook.cellAt(0); assert.ok(editor.notebook.metadata.custom.extraNotebookMetadata, `Test metadata not found`); assert.ok(cell.metadata.extraCellMetadata, `Test cell metdata not found`); }); test('edit API batch edits undo/redo', async function () {"} {"_id":"q-en-vscode-fd08b1fff4d457594766d5611b34bc3fcc91e1707114680936779788067c8294","text":"} if (instance?.shellType) { this._terminalShellTypeContextKey.set(instance.shellType.toString()); } else if (!instance) { } else if (!instance || !(instance.shellType)) { this._terminalShellTypeContextKey.reset(); } }));"} {"_id":"q-en-vscode-fd234fc45d698990e317866068172e69be9f1a90489d53ef7ad160ac8e76c88b","text":"font-family: var(--monaco-monospace-font); font-size: 11px; color: var(--vscode-textPreformat-foreground); background-color: var(--vscode-textPreformat-background); padding: 1px 3px; border-radius: 4px; }"} {"_id":"q-en-vscode-fd6a17e38c0229fc578f32676a79efd7fdfe41b23162a403fc5d284015338e4e","text":"const message = dom.append(extraContainer, $(`#${this.idPrefix}message.quick-input-message`)); const progressBar = new ProgressBar(container, this.styles.progressBar); progressBar.getContainer().classList.add('quick-input-progress'); const list = this._register(new QuickInputList(container, this.idPrefix + 'list', this.options)); this._register(list.onChangedAllVisibleChecked(checked => { checkAll.checked = checked;"} {"_id":"q-en-vscode-fe243f4603370f6523121715bdbb9878b3a013d1fb244d35531a8b9bf972c429","text":"} }, showCommonFindToggles: options.showCommonFindToggles, appendCaseSensitiveLabel: options.appendCaseSensitiveLabel && options.type === 'Terminal' ? this._getKeybinding(TerminalCommandId.ToggleFindCaseSensitive) : undefined, appendRegexLabel: options.appendRegexLabel && options.type === 'Terminal' ? this._getKeybinding(TerminalCommandId.ToggleFindRegex) : undefined, appendWholeWordsLabel: options.appendWholeWordsLabel && options.type === 'Terminal' ? this._getKeybinding(TerminalCommandId.ToggleFindWholeWord) : undefined, appendCaseSensitiveLabel: options.appendCaseSensitiveActionId ? this._getKeybinding(options.appendCaseSensitiveActionId) : undefined, appendRegexLabel: options.appendRegexActionId ? this._getKeybinding(options.appendRegexActionId) : undefined, appendWholeWordsLabel: options.appendWholeWordsActionId ? this._getKeybinding(options.appendWholeWordsActionId) : undefined, showHistoryHint: () => showHistoryKeybindingHint(_keybindingService), inputBoxStyles: defaultInputBoxStyles, toggleStyles: defaultToggleStyles"} {"_id":"q-en-vscode-fe2b580c576485e80b58173123e20a17ecb4a322e63c5001b049fd13cf015102","text":"public focus(): void { this._standaloneColorPickerFocused.set(true); this.body.focus(); this._body.focus(); } private async _start(selection: IRange) {"} {"_id":"q-en-vscode-fe58f6e68d442ab965bf3538501b62dc1021ace53b342a1275837554c9ff2aed","text":"}); } async run(accessor: ServicesAccessor, editSessionId?: string): Promise { await that.progressService.withProgress({ ...resumeProgressOptions, title: resumeProgressOptionsTitle }, async () => await that.resumeEditSession(editSessionId)); async run(accessor: ServicesAccessor, editSessionId?: string, force?: boolean): Promise { await that.progressService.withProgress({ ...resumeProgressOptions, title: resumeProgressOptionsTitle }, async () => await that.resumeEditSession(editSessionId, undefined, force)); } })); }"} {"_id":"q-en-vscode-fe5f7d672f5bf4402caac6580861e076d038811b0d7c72319b5f18876c183c23","text":"constructor() { super({ id: ClearRecentFilesAction.ID, title: { value: localize('clearRecentFiles', \"Clear Recently Opened\"), original: 'Clear Recently Opened' }, title: { value: localize('clearRecentFiles', \"Clear Recently Opened...\"), original: 'Clear Recently Opened...' }, f1: true, category: Categories.File });"} {"_id":"q-en-vscode-fe8419ea0dc616bc9fe6e0d954be871cee0f4b8ae778953a7ea8d8616a1e1b7c","text":"const language = model.getLanguageId(); const languageName = this.languageService.getLanguageName(language); if (importantRecommendations.size && this.promptRecommendedExtensionForFileType(languageName && isImportantRecommendationForLanguage && language !== PLAINTEXT_LANGUAGE_ID ? localize('languageName', \"{0} language\", languageName) : basename(uri), language, [...importantRecommendations])) { this.promptRecommendedExtensionForFileType(languageName && isImportantRecommendationForLanguage && language !== PLAINTEXT_LANGUAGE_ID ? localize('languageName', \"the {0} language\", languageName) : basename(uri), language, [...importantRecommendations])) { return; } }"} {"_id":"q-en-vscode-fef287ad10973d7e679b592410f65bedc256a358a2124c8baf01e8f60cb19dca","text":"version: string; id: string; isTheme: boolean; isBuiltin: boolean; displayName: string | undefined; repositoryUrl: string | undefined; bugsUrl: string | undefined;"} {"_id":"q-en-vscode-ff40eda1ac9738fe5309b72b0941a392f37eee227163d7ede4127baa212852fc","text":"resolved \"https://registry.yarnpkg.com/vscode-textmate/-/vscode-textmate-9.0.0.tgz#313c6c8792b0507aef35aeb81b6b370b37c44d6c\" integrity sha512-Cl65diFGxz7gpwbav10HqiY/eVYTO1sjQpmRmV991Bj7wAoOAjGQ97PpQcXorDE2Uc4hnGWLY17xme+5t6MlSg== xterm-addon-canvas@0.4.0-beta.9: version \"0.4.0-beta.9\" resolved \"https://registry.yarnpkg.com/xterm-addon-canvas/-/xterm-addon-canvas-0.4.0-beta.9.tgz#e570fa4592890f92cc86706f2bba0dd128a8641d\" integrity sha512-BWRVWyUW7NY2g4BBMm3ecPQvbdyKXFgABnpmh4m0TVHqFJMNeXdNuTc94KiDbE+cvw8jtAY9NC/OIM4HcgjAIQ== xterm-addon-canvas@0.4.0-beta.11: version \"0.4.0-beta.11\" resolved \"https://registry.yarnpkg.com/xterm-addon-canvas/-/xterm-addon-canvas-0.4.0-beta.11.tgz#d627050d7e2290ae804c0ec730d5bfc5861afd78\" integrity sha512-yfkx0R7wB3L+fWf1doDmEfwYIeNMVq4uXlq7sCvfPQAVA2H4eOH/s+SS1mhyy0A6DDEbM4eEQ7CroRZIsnVtMA== xterm-addon-search@0.11.0: version \"0.11.0\""} {"_id":"q-en-vscode-ff5633a1bddafe9d734916ad135b3054550dab4c25a23d5dcd3ee63661ad99bd","text":"private readonly _dropdownMenu: IMenu; private readonly _singleTabMenu: IMenu; private _viewShowing: IContextKey; private _disposableStore = this._register(new DisposableStore()); constructor( options: IViewPaneOptions,"} {"_id":"q-en-vscode-ff65133d88c6c7c9bacda66118bbc5d9e533d8fde357299f9e86fd3753e835ad","text":"restoreFocus = true; } let isExpanded = false; // Handle Rename if (oldParentResource && newParentResource && oldParentResource.toString() === newParentResource.toString()) { const modelElements = this.model.findAll(oldResource); modelElements.forEach(modelElement => { //Check if element is expanded isExpanded = this.explorerViewer.isExpanded(modelElement); // Rename File (Model) modelElement.rename(newElement);"} {"_id":"q-en-vscode-ff79920014e23592de782896748f1422c6144e3a40cad92b3d360f12dc09dd4d","text":"} private _renderMessages(anchor: HoverAnchor, messages: IHoverPart[]): void { // update column from which to show let renderColumn = Constants.MAX_SAFE_SMALL_INTEGER; let highlightRange: Range = messages[0].range; let forceShowAtRange: Range | null = null; for (const msg of messages) { renderColumn = Math.min(renderColumn, msg.range.startColumn); highlightRange = Range.plusRange(highlightRange, msg.range); if (msg.forceShowAtRange) { forceShowAtRange = msg.range; } } const { showAtPosition, showAtRange, highlightRange } = ContentHoverController.computeHoverRanges(anchor.range, messages); const disposables = new DisposableStore(); const statusBar = disposables.add(new EditorHoverStatusBar(this._keybindingService));"} {"_id":"q-en-vscode-ffea9d05fad038ba79e7fb07b03327e7963b4b5ab4f0b705bc5a612bdcef871e","text":"override updateOptions(options: IWorkbenchTableOptionsUpdate): void { super.updateOptions(options); this.updateStyles(options.overrideStyles); if (options.overrideStyles !== undefined) { this.updateStyles(options.overrideStyles); } if (options.multipleSelectionSupport !== undefined) { this.listSupportsMultiSelect.set(!!options.multipleSelectionSupport);"} {"_id":"q-en-vscode-ffffad2bf725c0adcfd988611af75675cc35ca9985cc0010bc2fdf64bec3de5d","text":"if (getVirtualWorkspaceLocation(this.contextService.getWorkspace()) !== undefined && isNative) { items.push(new ContinueEditSessionItem( localize('continueEditSessionItem.openInLocalFolder', 'Open In Local Folder'), '$(folder) ' + localize('continueEditSessionItem.openInLocalFolder.v2', 'Open in Local Folder'), openLocalFolderCommand.id, localize('continueEditSessionItem.builtin', 'Built-in') )); }"}