{"query_id": "q-en-vscode-0005f7662b50a0376687cf82b2c38eef3d15c114c08d782dd04ae8edf5c16235", "query": ".interactive-session .interactive-input-part .interactive-execute-toolbar { height: 22px; /* It's bottom-aligned, make it appear centered within the container */ margin-bottom: 7px; } .interactive-session .interactive-input-part .interactive-execute-toolbar .codicon-debug-stop {", "positive_passages": [{"docid": "doc-en-vscode-ba9e610aaad8c4df3322d938125598143ddc1aebd9f3e32f010313018244b9ed", "text": "In VS Code action items inside inputs are vertically aligned to top, in the Chat features they are centered in the middle. This happens when putting in a lot of text or pressing Shift+Enter. Panel: \"image\" @IWorkspaceContextService contextService: IWorkspaceContextService, @ILifecycleService lifecycleService: ILifecycleService, ) { const enabled = isWelcomePageEnabled(configurationService); const enabled = isWelcomePageEnabled(configurationService, contextService); if (enabled && lifecycleService.startupKind !== StartupKind.ReloadedWindow) { backupFileService.hasBackups().then(hasBackups => { const activeEditor = editorService.activeEditor;", "positive_passages": [{"docid": "doc-en-vscode-144371b0f775a58af8a6003099a52decf1400fd6b54e6948474c60fe58b2532f", "text": "When you open a recent project from the welcome screen, the last one remains opened in a tab. VSCode Version: 1.9.1 OS Version: macOS Sierra 10.12.3 Steps to Reproduce: a new VSCode window. a recent project from the welcome screen. project is opened and the welcome screen remains opened.\nThe current behavior was chosen in the hope that this would help new users by staying in the same context.\nI agree that the welcome screen should be closed after taking an action from it. Especially in my case, where I prefer to use the setting, having to close the otherwise empty welcome window after opening from the 'Recents' list or via FileOpen feels like a bug.\nYou can just not show it at all. Or do you need any of the actions on it? (I'm trying to preserve the new user experience here which relies much more on guidance.)\nIt's ok showing the welcome screen, but it should be closed after opening a project from there.\nWith we change the Welcome editor to open in preview mode, this way it will close when the next editor opens. (If preview mode is not disabled in settings.)\nThis could be an additional value for the setting.\nHey, I could look into this. Got any tips on where I should start ?\nGreat: Add an additional enum literal here: Check for that literal and the 'open folder' condition here:\nHey , I've ran into some questions which you might be able to help me with: should I name the enum literal? I can't seem to come up with the right name would I check for the 'open folder' condition?\nYou could use . Check for no folder being open: . You can get at the context service by adding it to the constructor of the calling class, similar to:\nHey everything seems to be working now, just one last question which is confusing me: isn't the objective of this issue to NOT show the Welcome Page when opening a new project? So why is your enum suggestion welcomePageInEmptyWorkbench? What is happening right now after my additions is: upon opening a new project, no Welcome Page is shown. Is this right?\nShow it only in the empty workbench. :)\nHey Now I'm getting upon opening a new window (empty workbench). Any ideas? I did the comparison as you said for no folder being open.\nIs the ?", "commid": "vscode_issue_20303", "tokennum": 501}], "negative_passages": []} {"query_id": "q-en-vscode-002a0129d70f2b1c829022e7767213e73ad3a1122394013575d05b0b390bca18", "query": "@IConfigurationService configurationService: IConfigurationService, @IEditorService editorService: IEditorService, @IBackupFileService backupFileService: IBackupFileService, @IWorkspaceContextService contextService: IWorkspaceContextService, @ILifecycleService lifecycleService: ILifecycleService, ) { const enabled = isWelcomePageEnabled(configurationService); const enabled = isWelcomePageEnabled(configurationService, contextService); if (enabled && lifecycleService.startupKind !== StartupKind.ReloadedWindow) { backupFileService.hasBackups().then(hasBackups => { const activeEditor = editorService.activeEditor;", "positive_passages": [{"docid": "doc-en-vscode-2d5cbd7a01430dde044afcb1347dc76a3ff33642e24299bece8d7478d9a20f75", "text": "You can debug it either in VS Code or in the Developer Tools (Help Toggle Developer Tools in the window running from source).\nUpon opening a new window, it isn't undefined (verified by a console log) but then it turns undefined (verified by the same console log). Edit: and immediately after Edit2: Found it! Seems like isWelcomePageEnabled() is called twice, once in the class constructor and the other one in the onReady method. I'll make the PR in a bit", "commid": "vscode_issue_20303", "tokennum": 115}], "negative_passages": []} {"query_id": "q-en-vscode-00f2ddb026b1ecb9d5cd18157679e1490add6873d4b8cda610bf6ddb9ad0dc26", "query": "import { mainWindow } from 'vs/base/browser/window'; import { IKeybindingService } from 'vs/platform/keybinding/common/keybinding'; import { TitlebarStyle } from 'vs/platform/window/common/window'; import { IPreferencesService } from 'vs/workbench/services/preferences/common/preferences'; // Register Icons const menubarIcon = registerIcon('menuBar', Codicon.layoutMenubar, localize('menuBarIcon', \"Represents the menu bar\"));", "positive_passages": [{"docid": "doc-en-vscode-6f44398c22ddaca98553f2dc7b6c2397d553ab4bb95e7267f58c07a0db9e3be7", "text": "! is not very discoverable. If it would be a submenu of the context menu, it would be much easier to tweak this setting.\n...\nI'm for making these types of settings more discoverable, however, I do not want to add these types of settings to the contextmenu. We mainly use the context menu to change the visibility of elements/features but we don't really use it to configure them/change appearance. Also, the context menu is already pretty full and I don't want to overload it.\nI'm open to other ideas to make them more discoverable. Maybe a \"configure\" entry in the overflow menu of the toolbar?\nYeah I like the idea of an action in the \"...\" menu to configure all things editor related by narrowing down a settings search in the settings editor.\nverification steps: Right click on the tab bar (not on a tab) At the bottom of the context menu there is an action \"Configure Tabs...\", press it Settings editor should open with tabs related settings", "commid": "vscode_issue_205845", "tokennum": 236}], "negative_passages": []} {"query_id": "q-en-vscode-010f099e7dfbb3967567683060469b91daf246c5e08c845c70fcf441db3e4b33", "query": "* Search text in files across all {@link workspace.workspaceFolders workspace folders} in the workspace. * @param query The query parameters for the search - the search string, whether it's case-sensitive, or a regex, or matches whole words. * @param options An optional set of query options. * @param callback A callback, called for each result * @param callback A callback, called for each {@link TextSearchResultNew result}. This can be a direct match, or context that surrounds a match. * @param token A token that can be used to signal cancellation to the underlying search engine. * @return A thenable that resolves when the search is complete. */", "positive_passages": [{"docid": "doc-en-vscode-53fa2ad8601b15a69fb9ace68b904301a31c30c7e8858ebaad47d7df38b6c2d3", "text": "Testing I can see that the of can be . When should I expect each of these types? I'm not sure I understand what the purpose of is.\nis like the surrounding context lines that you see in the search editor. ! For example, here, lines 1791 and 1793 are context lines because they come directly before and after line 1792. I can try to explain this better in the docs, though!", "commid": "vscode_issue_223323", "tokennum": 83}], "negative_passages": []} {"query_id": "q-en-vscode-010f099e7dfbb3967567683060469b91daf246c5e08c845c70fcf441db3e4b33", "query": "* Search text in files across all {@link workspace.workspaceFolders workspace folders} in the workspace. * @param query The query parameters for the search - the search string, whether it's case-sensitive, or a regex, or matches whole words. * @param options An optional set of query options. * @param callback A callback, called for each result * @param callback A callback, called for each {@link TextSearchResultNew result}. This can be a direct match, or context that surrounds a match. * @param token A token that can be used to signal cancellation to the underlying search engine. * @return A thenable that resolves when the search is complete. */", "positive_passages": [{"docid": "doc-en-vscode-691e8a3f3bfc9e07b9a2f0d7ce8d5963ea1f03d18fafaaa7623d0004a7470dec", "text": "Testing From the API: What is the behavior supposed to be in the following cases: The pattern contains . The pattern contains and is false. The pattern is a regex and is false. The pattern contains whitespace and is true.\nIf regex is not on, it just looks for literally. I believe that this actually acts as if is true (if I'm interpreting code correctly). Any time that you have regex enabled and explicitly match a newline, it will be multi-line. I should probably document this. Any characters in the regex will also match the other case. ie: should also match all characters, not just lowercase letters. It will look for the whitespace, and will look for line boundaries on either side of the search string.\nI can also add extra examples for corner cases so that this is more clear.", "commid": "vscode_issue_223310", "tokennum": 173}], "negative_passages": []} {"query_id": "q-en-vscode-0118275d4ce88f87607abc00cc0ff89feda4f17907980da1e4bf69367c256dd9", "query": "if (this._preLaunchInputQueue.length > 0) { this._process.send({ event: 'input', data: this._sanitizeInput(this._preLaunchInputQueue) data: this._preLaunchInputQueue }); this._preLaunchInputQueue = null; }", "positive_passages": [{"docid": "doc-en-vscode-722aca863960362d0731f6eb7130a0082ddbc78473cfe1935ac752f81cbbe0a1", "text": "VSCode Version: Version 1.12.2 (1.12.2) OS Version: OS X E Capitan 10.11.6 Steps to Reproduce: integrated terminal 0) { this._process.send({ event: 'input', data: this._sanitizeInput(this._preLaunchInputQueue) data: this._preLaunchInputQueue }); this._preLaunchInputQueue = null; }", "positive_passages": [{"docid": "doc-en-vscode-230d5dfafcb1596d205bf3baeee10f621af481fcd046c6bf7fa12ff91c30bb9f", "text": "If this is low priority could one of the contributors point me a area/file that might be causing the issue? Thanks!\nI can't look into it any further right now, I'm pretty stumped on where to go from here though. It's a pretty technical problem so it might not be the easiest thing to jump in to. If you want to you can start by cloning and trying to reproduce it using the demo. If you can reproduce it you can check what's sent to the backend by loading up devtools and debugging If works fine, it would be a matter of doing a similar exercise but figuring out why VS Code behaves different by debugging similar code.\n(Copied from ) This was happening because ctrl+j translates to (see ) and since we normalized to all input to the pty, this was getting lost and converted to a new line. The fix here is to never \"sanitize\" data that has already been processed by (ie. key strokes and paste) as knows how to handle them. We only need to process text that we send directly to the terminal such as a script the user is running or text being pasted into vim, etc.\nHmm just updated to 1.14.1 and this still isn't working for me... !\nThis will only be in 1.15.\nOh okay thanks.", "commid": "vscode_issue_26786", "tokennum": 287}], "negative_passages": []} {"query_id": "q-en-vscode-015f61cf8d5914779a174ceb5c07f8db0c8363d5cdc0a27048ee8f98d8e5e452", "query": "private getResourcePath(webviewEditor: vscode.WebviewPanel, resource: vscode.Uri, version: string) { switch (resource.scheme) { case 'data': return encodeURI(resource.toString(true)); return resource.toString(true); case 'git': // Show blank image return encodeURI('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAEElEQVR42gEFAPr/AP///wAI/AL+Sr4t6gAAAABJRU5ErkJggg=='); return 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAEElEQVR42gEFAPr/AP///wAI/AL+Sr4t6gAAAABJRU5ErkJggg=='; default: // Avoid adding cache busting if there is already a query string if (resource.query) { return encodeURI(webviewEditor.webview.asWebviewUri(resource).toString(true)); return encodeURI(webviewEditor.webview.asWebviewUri(resource).toString()); } return encodeURI(webviewEditor.webview.asWebviewUri(resource).toString(true) + `?version=${version}`); return encodeURI(webviewEditor.webview.asWebviewUri(resource).toString() + `?version=${version}`); } }", "positive_passages": [{"docid": "doc-en-vscode-4b4992ec73f5a28ea1fd8fc0b2b75c03fafccbe1cefba3d50627bb81d6ed2298", "text": "Issue Type: import { editorSelectionBackground, iconForeground, registerColor, transparent } from 'vs/platform/theme/common/colorRegistry'; import { FoldingDecorationProvider } from './foldingDecorations'; import { FoldingRegion, FoldingRegions, FoldRange, FoldSource, ILineRange } from './foldingRanges'; import { SyntaxRangeProvider } from './syntaxRangeProvider';", "positive_passages": [{"docid": "doc-en-vscode-381d02b60a3175ae92c04e7d84a5fd2e8b1ff2b847c25c53226f4a4785f969c2", "text": " protected get _localLinkRegex(): RegExp { if (!this._processManager) { throw new Error('Process manager is required'); } const baseLocalLinkClause = this._processManager.os === OperatingSystem.Windows ? winLocalLinkClause : unixLocalLinkClause; // Append line and column number regex return new RegExp(`${baseLocalLinkClause}(${lineAndColumnClause})`); } protected _isLinkActivationModifierDown(event: MouseEvent): boolean { const editorConf = this._configurationService.getValue<{ multiCursorModifier: 'ctrlCmd' | 'alt' }>('editor'); if (editorConf.multiCursorModifier === 'ctrlCmd') {", "positive_passages": [{"docid": "doc-en-vscode-d230795fa46c02d67687a67ef054a2352f9a13430961ec403963c944aa48bb9b", "text": "Originally posted on without success. `); }); test('serializes GPU information when data is provided', () => { const issueReporterModel = new IssueReporterModel({ issueType: 0, systemInfo: { os: 'Darwin', cpus: 'Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2800)', memory: '16.00GB', vmHint: '0%', processArgs: '', screenReader: 'no', remoteData: [], gpuStatus: { '2d_canvas': 'enabled', 'checker_imaging': 'disabled_off' } } }); assert.strictEqual(issueReporterModel.serialize(), ` Type: Bug undefined VS Code version: undefined OS version: undefined Modes:
System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2800)| |GPU Status|2d_canvas: enabled
checker_imaging: disabled_off| |Load (avg)|undefined| |Memory (System)|16.00GB| |Process Argv|| |Screen Reader|no| |VM|0%|
Extensions: none `); }); test('serializes experiment info when data is provided', () => { const issueReporterModel = new IssueReporterModel({ issueType: 0, systemInfo: { os: 'Darwin', cpus: 'Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2800)', memory: '16.00GB', vmHint: '0%', processArgs: '', screenReader: 'no', remoteData: [], gpuStatus: { '2d_canvas': 'enabled', 'checker_imaging': 'disabled_off' } }, experimentInfo: 'vsliv695:30137379nvsins829:30139715' }); assert.strictEqual(issueReporterModel.serialize(), ` Type: Bug undefined VS Code version: undefined OS version: undefined Modes:
System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2800)| |GPU Status|2d_canvas: enabled
checker_imaging: disabled_off| |Load (avg)|undefined| |Memory (System)|16.00GB| |Process Argv|| |Screen Reader|no| |VM|0%|
Extensions: none
A/B Experiments ``` vsliv695:30137379 vsins829:30139715 ```
`); }); test('serializes Linux environment information when data is provided', () => { const issueReporterModel = new IssueReporterModel({ issueType: 0, systemInfo: { os: 'Darwin', cpus: 'Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2800)', memory: '16.00GB', vmHint: '0%', processArgs: '', screenReader: 'no', remoteData: [], gpuStatus: {}, linuxEnv: { desktopSession: 'ubuntu', xdgCurrentDesktop: 'ubuntu', xdgSessionDesktop: 'ubuntu:GNOME', xdgSessionType: 'x11' } } }); assert.strictEqual(issueReporterModel.serialize(), ` Type: Bug undefined VS Code version: undefined OS version: undefined Modes:
System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2800)| |GPU Status|| |Load (avg)|undefined| |Memory (System)|16.00GB| |Process Argv|| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|ubuntu| |XDG_CURRENT_DESKTOP|ubuntu| |XDG_SESSION_DESKTOP|ubuntu:GNOME| |XDG_SESSION_TYPE|x11|
Extensions: none `); }); test('serializes remote information when data is provided', () => { const issueReporterModel = new IssueReporterModel({ issueType: 0, systemInfo: { os: 'Darwin', cpus: 'Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2800)', memory: '16.00GB', vmHint: '0%', processArgs: '', screenReader: 'no', gpuStatus: { '2d_canvas': 'enabled', 'checker_imaging': 'disabled_off' }, remoteData: [ { hostName: 'SSH: Pineapple', machineInfo: { os: 'Linux x64 4.18.0', cpus: 'Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz (2 x 2294)', memory: '8GB', vmHint: '100%' } } ] } }); assert.strictEqual(issueReporterModel.serialize(), ` Type: Bug undefined VS Code version: undefined OS version: undefined Modes: Remote OS version: Linux x64 4.18.0
System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2800)| |GPU Status|2d_canvas: enabled
checker_imaging: disabled_off| |Load (avg)|undefined| |Memory (System)|16.00GB| |Process Argv|| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|SSH: Pineapple| |OS|Linux x64 4.18.0| |CPUs|Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz (2 x 2294)| |Memory (System)|8GB| |VM|100%|
Extensions: none `); }); test('escapes backslashes in processArgs', () => { const issueReporterModel = new IssueReporterModel({ issueType: 0, systemInfo: { os: 'Darwin', cpus: 'Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2800)', memory: '16.00GB', vmHint: '0%', processArgs: 'HOSTpath', screenReader: 'no', remoteData: [], gpuStatus: {} } }); assert.strictEqual(issueReporterModel.serialize(), ` Type: Bug undefined VS Code version: undefined OS version: undefined Modes:
System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2800)| |GPU Status|| |Load (avg)|undefined| |Memory (System)|16.00GB| |Process Argv|HOSTpath| |Screen Reader|no| |VM|0%|
Extensions: none `); }); test('should supply mode if applicable', () => { const issueReporterModel = new IssueReporterModel({ isUnsupported: true, restrictedMode: true }); assert.strictEqual(issueReporterModel.serialize(), ` Type: Bug undefined VS Code version: undefined OS version: undefined Modes: Restricted, Unsupported Extensions: none `); }); test('should normalize GitHub urls', () => { [ 'https://github.com/repo', 'https://github.com/repo/', 'https://github.com/repo.git', 'https://github.com/repo/issues', 'https://github.com/repo/issues/', 'https://github.com/repo/issues/new', 'https://github.com/repo/issues/new/' ].forEach(url => { assert.strictEqual('https://github.com/repo', normalizeGitHubUrl(url)); }); }); test('should have support for filing on extensions for bugs, performance issues, and feature requests', () => { [ IssueType.Bug, IssueType.FeatureRequest, IssueType.PerformanceIssue ].forEach(type => { const issueReporterModel = new IssueReporterModel({ issueType: type, fileOnExtension: true }); assert.strictEqual(issueReporterModel.fileOnExtension(), true); }); }); }); ", "positive_passages": [{"docid": "doc-en-vscode-a73d5e91cae27ace3cc841e59b3b979df5a0743f77ec99e18a52241d9b5fccf2", "text": "was broken for some time and I re-enabled it today. However eslint failures were reported in and I disabled them. I also moved the file into a test folder to avoid some other hygine failures. Please have a look and decide a proper place for the file and fix the corresponding errors.", "commid": "vscode_issue_220055", "tokennum": 63}], "negative_passages": []} {"query_id": "q-en-vscode-8844c63fe08d247735482d69e22dbccc0f1f2f3d995dcf8f3d7341513338a14e", "query": "this._register(AccessibleViewAction.addImplementation(95, 'inline-completions', accessor => { const accessibleViewService = accessor.get(IAccessibleViewService); const codeEditorService = accessor.get(ICodeEditorService); const contextViewService = accessor.get(IContextViewService); const show = () => { const editor = codeEditorService.getActiveCodeEditor() || codeEditorService.getFocusedCodeEditor(); if (!editor) {", "positive_passages": [{"docid": "doc-en-vscode-29f005761b2c01f7cdc70fd17ab721c2ad9bc68f5ab69eeb8601aae35dec9d3a", "text": "Type: { const accessibleViewService = accessor.get(IAccessibleViewService); const codeEditorService = accessor.get(ICodeEditorService); const contextViewService = accessor.get(IContextViewService); const show = () => { const editor = codeEditorService.getActiveCodeEditor() || codeEditorService.getFocusedCodeEditor(); if (!editor) {", "positive_passages": [{"docid": "doc-en-vscode-5d289aeca957328ba5cd80aa92b1c02c76371826bee63719b6c5712c47991ead", "text": "jupyter-keymap1.1.2 jupyter-renderers1.0.17 vscode-jupyter-cell-tags0.1.8 vscode-jupyter-slideshow0.1.5 remote-containers0.305.0 remote-ssh0.105.1 remote-ssh-edit0.86.0 remote-wsl0.81.0 vscode-remote-extensionpack0.24.0 azure-repos0.36.0 cmake-tools1.15.31 cpptools1.17.3 cpptools-extension-pack1.3.0 js-debug-nightly2023.8.1117 powershell2023.6.0 remote-repositories0.38.1 vscode-github-issue-notebooks0.0.129 vscode-selfhost-test-provider0.3.16 vscode-serial-monitor0.10.0 vsliveshare1.0.5877 resourcemonitor1.0.7 autodocstring0.6.1 pandocciter0.10.3 shiny-python0.1.2 shinyuieditor0.4.3 quarto1.94.0 r-debugger0.5.4 java1.21.0 vscode-xml0.26.1 r2.8.1 multi-command1.6.0 vscode-deepl1.0.6 abc-music0.4.0 lua3.6.26 latex-utilities0.4.10 cmake0.0.17 errorlens3.13.0 intellicode-api-usage-examples0.2.7 vscodeintellicode1.2.30 vscode-arduino0.6.0 vscode-java-debug0.53.0 vscode-java-dependency0.23.1 vscode-java-pack0.25.13 vscode-java-test0.39.1 vscode-maven0.42.0 markdown-all-in-one3.5.1 grammarly0.22.1 (1 theme extensions excluded) { const accessibleViewService = accessor.get(IAccessibleViewService); const codeEditorService = accessor.get(ICodeEditorService); const contextViewService = accessor.get(IContextViewService); const show = () => { const editor = codeEditorService.getActiveCodeEditor() || codeEditorService.getFocusedCodeEditor(); if (!editor) {", "positive_passages": [{"docid": "doc-en-vscode-1c25312822fff3904381d8dae47b03f91ee0213f165bba32bf24c6944c1f5754", "text": "With this change, , it just says 'Accessible View', but when I use the keybindings to go to next/previous, I only hear the new suggestion via as expected.\nThat\u2019s odd. I still hear that redundant label info in Accessible View for inline suggestion when pressing Alt+[ and Alt+]. I have tested with NVDA and JAWS on Windows 11.\nWhat happens for me is: inline completion accessible view \"Accessible View, edit text....\" 's some delay before the screen reader moves on from reading the initial text then I'm alerted with the new suggestion\nIf we wanted to prevent this delay, we'd need to hide the context view, wait 50 ms, reshow it. The issue with that is then it would do exactly what you describe and read the aria label + edit text before reading the new suggestion. That's what was happening in insider's yesterday and I realized was not ideal, so changed it.\ncan you reproduce this in today's Insiders?\nit is working for me as described. I also debug with NVDA, and confirmed that it is processing the focus events before the liveRegionChange event. However, if I use Alt + left or right brackets, it behaves as we expect. If you hide the accessible view for 50 ms it might work, simply because NVDA will not receive any focus event before the alert.\nI get slightly nervous about being so prescriptive when it goes to screen reader behavior. You just need a small change in the way the screen reader handle things for all these hacks to turn against us. There are a few that I feel comfortable recommending.\nThanks for confirming I've only tried macOS/ VoiceOver, so maybe the repro happens only when using NVDA. Here was the change where I had that delay\nI can bring that change back if it seems reasonable to you. It's just like the other one that you tested and said works well\nwe still need to setup self hosting for you .\nOh yes. self-hosting is fun.", "commid": "vscode_issue_190718", "tokennum": 430}], "negative_passages": []} {"query_id": "q-en-vscode-886c8430aa20214d968caed4c53c30b3f2f1bb1c5a850080d639edd8bc2161ac", "query": "export interface FileSearchQuery { /** * The search pattern to match against file paths. * To be correctly interpreted by Quick Open, this is interpreted in a relaxed way. The picker will apply its own highlighting and scoring on the results. * * Tips for matching in Quick Open: * With the pattern, the picker will use the file name and file paths to score each entry. The score will determine the ordering and filtering. * The scoring prioritizes prefix and substring matching. Then, it checks and it checks whether the pattern's letters appear in the same order as in the target (file name and path). * If a file does not match at all using our criteria, it will be omitted from Quick Open. */ pattern: string; }", "positive_passages": [{"docid": "doc-en-vscode-aff256f71659ba1a20e442af69b12b57c1ba8e40da910c85e03c8dd0b4052ed0", "text": "From We should add some clarifying comments to this parameter. It should be quite similar to that of , since the quickpick assumes the highlighting and fuzzy matching of the matches.\nadds a description, which will probably get cleaned up once we start cleaning up the APIs more.", "commid": "vscode_issue_214175", "tokennum": 56}], "negative_passages": []} {"query_id": "q-en-vscode-888182725c437c0829ae4462794b1e791c9a10f83abc213811f62a671fb87f0f", "query": " end (?<=S)(1)((?!1)|(?=11)) (?<=S)(1)((?!1)|(?=11))b name markup.italic.markdown patterns", "positive_passages": [{"docid": "doc-en-vscode-29aa47cbcf905e07646d378f08567d1145f5a405bff836c87c6dd5a611c3ff17", "text": "VSCode Version: 1.19.1 In Markdown files, the editor is incorrectly styling every other inner word surrounded by underscores as italicized. The preview correctly shows them as not italicized. !\nI think this is what Text Mate grammars' behavior. Tried in TextMate 2.0 (latest), same there. !\nI think is right on this. The editor has an error as it interprets the other word as if it was a separate word starting and finishing with `` (that would be italized). It is correctly displayed on Github editor :\nI created a PR to fix this", "commid": "vscode_issue_40787", "tokennum": 130}], "negative_passages": []} {"query_id": "q-en-vscode-8896d75346a465356b442cc20498f066e9cfce2a9ff09db9a2ebe10d6fa5d5c9", "query": "} }, { \"name\": \"Markup Setext Header\", \"scope\": \"markup.heading.setext\", \"name\": \"Markup Headings\", \"scope\": [ \"markup.heading\", \"markup.heading.setext\" ], \"settings\": { \"fontStyle\": \"\", \"foreground\": \"#ddbb88\" \"fontStyle\": \"bold\", \"foreground\": \"#6688cc\" } } ],", "positive_passages": [{"docid": "doc-en-vscode-83acfc0a346267028e4a2eeb23c7e62361cbfe1cc7f2ff1d2bf2e54860cab699", "text": " content=\"default-src 'none'; script-src 'sha256-p+nt+yoC/wuG5etLfVS00qSeblDcYdehfpOYYqdWocI=' 'self'; frame-src 'self'; style-src 'unsafe-inline';\"> content=\"default-src 'none'; script-src 'sha256-7T0Xm7l4AYKDwm8oYNQ65wcQX7K/ndvxH/2ZgHWUE3w=' 'self'; frame-src 'self'; style-src 'unsafe-inline';\"> this._register(disposableTimeout(() => this.promptRecommendations(uri, model), 0)); } private promptRecommendations(uri: URI, model: ITextModel): void { if (this.promptImportantRecommendations(uri, model)) { return; } const fileExtension = extname(uri).toLowerCase(); if (!this.processedFileExtensions.includes(fileExtension)) { this.processedFileExtensions.push(fileExtension); this.promptRecommendedExtensionForFileExtension(uri, fileExtension); } this._register(disposableTimeout(() => this.promptImportantRecommendations(uri, model), 0)); } /** * Prompt the user to either install the recommended extension for the file type in the current editor model * or prompt to search the marketplace if it has extensions that can support the file type */ private promptImportantRecommendations(uri: URI, model: ITextModel, extensionRecommendations?: IStringDictionary): boolean { private promptImportantRecommendations(uri: URI, model: ITextModel, extensionRecommendations?: IStringDictionary): void { const pattern = extname(uri).toLowerCase(); extensionRecommendations = extensionRecommendations ?? this.recommendationsByPattern.get(pattern) ?? this.fileOpenRecommendations; const extensionRecommendationEntries = Object.entries(extensionRecommendations); if (extensionRecommendationEntries.length === 0) { return false; return; } const processedPathGlobs = new Map();", "positive_passages": [{"docid": "doc-en-vscode-628657b2da39467893c306bb0c35ccb808da225fa971962dcd660589102139cc", "text": "When a user opens a file extension that does not have a specific recommendation tied to it, we show the general notification that points users to the marketplace. This has the following flaws: Most popular file types are already covered by specific extensions, so what gets left in this experience is leftovers For most of the extensions there is no good extension to handle this experience. Thus opening the Extension page does not provide value This is adding un-needed pings to the Marketplace service Also we had a bug that this feature was not available in stable and only 3 users found it is not there Would love for us to get some telemetry on this actions to see if this is actually bringing value to users. If not, we should either: Remove this flow completely Have a pre-defined set of file extensions for which we show this. Checking with tags seems to be very faulty. In my example below there is not an extension that helps with PowerPoint files. !\nOnly of these notifications end up with users clicking on Search Marketplace ! When it is actually clicked here are the top extensions ! Thus I suggest that we: Remove this dialog Add explicit extension recommendation for and . Since those seem to be missing. what do you think?\nSounds good to me\nGreat. Ok, you remove the dialog when you find time, I will add the recommendations for csv and pdf. Or if you go on vacation, I can also remove the dialog. I am working in August. Thanks\nFeel free to remove it in August, otherwise I can also do it in September. Here it is\nTo verify: a file with some strange extension. For example -make sure no notification shows up a .py file or .go file. Make sure you get an extension recommendation for specific python / go extensions", "commid": "vscode_issue_188467", "tokennum": 358}], "negative_passages": []} {"query_id": "q-en-vscode-b78ee009b3ebf1fbb11b388fc587b83692d43cfd82ebdd63da1d5c8e5536ad9d", "query": "\"publisher\": \"vscode\", \"version\": \"1.0.0\", \"license\": \"MIT\", \"icon\": \"media/icon.png\", \"icon\": \"media/icon.png\", \"engines\": { \"vscode\": \"^1.57.0\" },", "positive_passages": [{"docid": "doc-en-vscode-e1193c8e2e5c49ef23b421bf53f7e2131b1c60a985c4fb180c98c450e67b2146", "text": "Type: \"icon\": \"media/icon.png\", \"icon\": \"media/icon.png\", \"engines\": { \"vscode\": \"^1.57.0\" },", "positive_passages": [{"docid": "doc-en-vscode-7696ae3abb6fbc431dbdf8c317f744092a101e09192906d91784b498d83704e4", "text": "even-better-toml0.19.2 my-vscode-utils0.0.2 pyexec0.0.1 noButton.item(0).on('click', e => { noButton.on('click', e => { if (!this.storageService.get(this.taskExperimentPart5)) { this.telemetryService.publicLog('taskPanel.no'); this.storageService.store(this.taskExperimentPart5, true, StorageScope.GLOBAL);", "positive_passages": [{"docid": "doc-en-vscode-74142053608a60f46e73e35b7e928971750a52ded9b26dbafde3e62f3f48926d", "text": "Title.\nOpens on cmd+click. The external link to documentation in the first line works. !", "commid": "vscode_issue_30953", "tokennum": 21}], "negative_passages": []} {"query_id": "q-en-vscode-b8193743ea7efa1b3a59db51e826294cd4ab70a779a44148b6a5f03554d586b7", "query": "this.notificationService.warn(nls.localize('workbench.action.terminal.runActiveFile.noFile', 'Only files on disk can be run in the terminal')); return TPromise.as(void 0); } let uriPath: string = uri.fsPath; const hasSpace = uriPath.indexOf(' ') !== -1; if (hasSpace && isWindows) { uriPath = '\"' + uriPath + '\"'; } else if (!isWindows) { if (uriPath.indexOf('') !== 0) { uriPath = uriPath.replace(//g, ''); } const hasDoubleQuote = uriPath.indexOf('\"') !== -1; if (!hasSpace && hasDoubleQuote) { uriPath = ''' + uriPath + '''; } else if (hasSpace) { uriPath = uriPath.replace(/ /g, ' '); } } instance.sendText(uriPath, true); return this.terminalService.showPanel(); return instance.preparePathForTerminalAsync(uri.fsPath).then(path => { instance.sendText(path, true); return this.terminalService.showPanel(); }); } }", "positive_passages": [{"docid": "doc-en-vscode-88108b8e7cf944d1c0e71835ba76403f2a64eb0c4e074d0ef469260796f709af", "text": "VSCode Version: 1.17.2 OS Version: Win10 Steps to Reproduce: Terminal to bash import { EditorOptions } from '../../../../editor/common/config/editorOptions.js'; import { WordCharacterClassifier, getMapForWordSeparators } from '../../../../editor/common/core/wordCharacterClassifier.js'; import { WordNavigationType } from '../../../../editor/common/cursor/cursorWordOperations.js'; import { KeybindingsRegistry, KeybindingWeight } from '../../../../platform/keybinding/common/keybindingsRegistry.js'; import { EditorContextKeys } from '../../../../editor/common/editorContextKeys.js'; import { ITextModel } from '../../../../editor/common/model.js'; import { WordLeftCommand, WordRightCommand } from '../../../../editor/contrib/wordOperations/browser/wordOperations.js'; import { CONTEXT_ACCESSIBILITY_MODE_ENABLED } from '../../../../platform/accessibility/common/accessibility.js'; import { IsWindowsContext } from '../../../../platform/contextkey/common/contextkeys.js'; import { KeybindingWeight } from '../../../../platform/keybinding/common/keybindingsRegistry.js'; import { Position } from '../../../../editor/common/core/position.js'; import { registerEditorCommand } from '../../../../editor/browser/editorExtensions.js'; import { FocusedViewContext } from '../../../common/contextkeys.js'; // Register Service", "positive_passages": [{"docid": "doc-en-vscode-87f9546f36761c32bc5d67f300e443e301c6f8756ac209e1d4612942d469452b", "text": "Type: import { EditorOptions } from '../../../../editor/common/config/editorOptions.js'; import { WordCharacterClassifier, getMapForWordSeparators } from '../../../../editor/common/core/wordCharacterClassifier.js'; import { WordNavigationType } from '../../../../editor/common/cursor/cursorWordOperations.js'; import { KeybindingsRegistry, KeybindingWeight } from '../../../../platform/keybinding/common/keybindingsRegistry.js'; import { EditorContextKeys } from '../../../../editor/common/editorContextKeys.js'; import { ITextModel } from '../../../../editor/common/model.js'; import { WordLeftCommand, WordRightCommand } from '../../../../editor/contrib/wordOperations/browser/wordOperations.js'; import { CONTEXT_ACCESSIBILITY_MODE_ENABLED } from '../../../../platform/accessibility/common/accessibility.js'; import { IsWindowsContext } from '../../../../platform/contextkey/common/contextkeys.js'; import { KeybindingWeight } from '../../../../platform/keybinding/common/keybindingsRegistry.js'; import { Position } from '../../../../editor/common/core/position.js'; import { registerEditorCommand } from '../../../../editor/browser/editorExtensions.js'; import { FocusedViewContext } from '../../../common/contextkeys.js'; // Register Service", "positive_passages": [{"docid": "doc-en-vscode-ae252e6a66b4d6fa4b87e15d761683bbfcc40124ef05ca0a7b3c8ed9aa4d7511", "text": "cloudcode2.14.0 overleaf-workshop0.13.0 cslpreview0.2.2 path-autocomplete1.25.0 latex-workshop10.1.0 lilypond-syntax0.1.1 scheme0.2.0 better-cpp-syntax1.17.2 commitlint2.6.0 language-julia1.90.1 google-search0.0.1 vscode-lua-format1.3.8 lilypond-formatter0.2.3 lilypond-pdf-preview0.2.8 lilypond-snippets0.1.1 vslilypond1.7.3 language-matlab1.2.4 zotero0.1.11 git-graph1.30.0 azure-dev0.8.3 vscode-azureappservice0.25.2 vscode-azurecontainerapps0.6.1 vscode-azurefunctions1.15.1 vscode-azureresourcegroups0.8.3 vscode-azurestaticwebapps0.12.2 vscode-azurestorage0.16.0 vscode-azurevirtualmachines0.6.5 vscode-cosmosdb0.22.0 vscode-docker1.29.1 vscode-edge-devtools2.1.5 black-formatter2024.3. debugpy2024.9. flake82023.13. isort2023.13. python2024.11. vscode-pylance2024.7.1 jupyter2024.6. jupyter-keymap1.1.2 jupyter-renderers1.0.18 vscode-jupyter-cell-tags0.1.8 vscode-jupyter-slideshow0.1.5 remote-containers0.377.0 remote-ssh0.113. remote-ssh-edit0.86.0 remote-wsl0.81.8 vscode-remote-extensionpack0.25.0 azure-account0.12.0 azure-repos0.38.0 cmake-tools1.18.43 cpptools1.21.0 cpptools-extension-pack1.3.0 js-debug-nightly2024.7.517 powershell2024.3.2 remote-explorer0.5. remote-repositories0.40.0 remote-server1.6.", "commid": "vscode_issue_221599", "tokennum": 567}], "negative_passages": []} {"query_id": "q-en-vscode-b8c89914f90f2826a3d47b887c98e8f976b3d3d3f4bdc7c4d6e5bef78eb1f8ce", "query": "import { AccessibilitySignal, IAccessibilitySignalService } from '../../../../platform/accessibilitySignal/browser/accessibilitySignalService.js'; import { ILoggerService, LogLevel, LogLevelToLocalizedString, LogLevelToString } from '../../../../platform/log/common/log.js'; import { IDefaultLogLevelsService } from '../../logs/common/defaultLogLevels.js'; import { EditorOptions } from '../../../../editor/common/config/editorOptions.js'; import { WordCharacterClassifier, getMapForWordSeparators } from '../../../../editor/common/core/wordCharacterClassifier.js'; import { WordNavigationType } from '../../../../editor/common/cursor/cursorWordOperations.js'; import { KeybindingsRegistry, KeybindingWeight } from '../../../../platform/keybinding/common/keybindingsRegistry.js'; import { EditorContextKeys } from '../../../../editor/common/editorContextKeys.js'; import { ITextModel } from '../../../../editor/common/model.js'; import { WordLeftCommand, WordRightCommand } from '../../../../editor/contrib/wordOperations/browser/wordOperations.js'; import { CONTEXT_ACCESSIBILITY_MODE_ENABLED } from '../../../../platform/accessibility/common/accessibility.js'; import { IsWindowsContext } from '../../../../platform/contextkey/common/contextkeys.js'; import { KeybindingWeight } from '../../../../platform/keybinding/common/keybindingsRegistry.js'; import { Position } from '../../../../editor/common/core/position.js'; import { registerEditorCommand } from '../../../../editor/browser/editorExtensions.js'; import { FocusedViewContext } from '../../../common/contextkeys.js'; // Register Service", "positive_passages": [{"docid": "doc-en-vscode-60d4b51d141b35fdab9885aee7e94b691aa9c911335227875446358b251a9b66", "text": "vscode-github-issue-notebooks0.0.130 vscode-node-azure-pack1.2.0 vscode-selfhost-test-provider0.3.25 vscode-serial-monitor0.12.0 vscode-speech0.10.0 vscode-speech-language-pack-ko-kr0.4.0 vsliveshare1.0.5932 windows-ai-studio0.3.3 autodocstring0.6.1 pandocciter0.10.4 publisher1.1.3 shiny1.0.0 shinyuieditor0.5.0 quarto1.113.0 r-debugger0.5.4 java1.32.0 vscode-xml0.27.1 vscode-yaml1.14.0 r2.8.4 multi-command1.6.0 AudioQ0.0.2 vscode-deepl1.1.1 abc-music0.4.0 lua3.9.3 latex-utilities0.4.14 cmake0.0.17 vscode-terminal-here0.2.4 windows-terminal0.7.0 errorlens3.16.0 intellicode-api-usage-examples0.2.8 vscodeintellicode1.2.30 vscode-conventional-commits1.25.0 vscode-arduino0.6. vscode-java-debug0.58.0 vscode-java-dependency0.23.7 vscode-java-pack0.27.0 vscode-java-test0.41.1 vscode-maven0.44.0 zotero-cite0.8.6 markdown-all-in-one3.6.2 grammarly0.25.0 (1 theme extensions excluded) MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: ConfigureEditorTabsAction.ID, title: localize('configureTabs', \"Configure Tabs ...\") }, group: '9_configure', order: 10 }); // Editor Title Context Menu MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: localize('close', \"Close\") }, group: '1_close', order: 10 }); MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: localize('closeOthers', \"Close Others\"), precondition: EditorGroupEditorsCountContext.notEqualsTo('1') }, group: '1_close', order: 20 });", "positive_passages": [{"docid": "doc-en-vscode-6f44398c22ddaca98553f2dc7b6c2397d553ab4bb95e7267f58c07a0db9e3be7", "text": "! is not very discoverable. If it would be a submenu of the context menu, it would be much easier to tweak this setting.\n...\nI'm for making these types of settings more discoverable, however, I do not want to add these types of settings to the contextmenu. We mainly use the context menu to change the visibility of elements/features but we don't really use it to configure them/change appearance. Also, the context menu is already pretty full and I don't want to overload it.\nI'm open to other ideas to make them more discoverable. Maybe a \"configure\" entry in the overflow menu of the toolbar?\nYeah I like the idea of an action in the \"...\" menu to configure all things editor related by narrowing down a settings search in the settings editor.\nverification steps: Right click on the tab bar (not on a tab) At the bottom of the context menu there is an action \"Configure Tabs...\", press it Settings editor should open with tabs related settings", "commid": "vscode_issue_205845", "tokennum": 236}], "negative_passages": []} {"query_id": "q-en-vscode-ba30fb2cbae044413749c13465641cd08b2729d14e40cffe40da5f84f9b88dda", "query": "this.domNode = undefined; })); this.toDispose.add(dom.addDisposableListener(this.domNode, dom.EventType.CONTEXT_MENU, (e) => { this.contextMenuService.showContextMenu({ getAnchor: () => { return new StandardMouseEvent(dom.getActiveWindow(), e); }, getActions: () => { return [{ id: 'workench.action.disableTerminalInitialHint', label: localize('disableInitialHint', \"Disable Initial Hint\"), tooltip: localize('disableInitialHint', \"Disable Initial Hint\"), enabled: true, class: undefined, run: () => this.configurationService.updateValue(TerminalInitialHintSettingId.Enabled, false) } ]; } }); })); } return this.domNode; }", "positive_passages": [{"docid": "doc-en-vscode-9de999d6267f4a631fb7892d3744d6714b77c4fe90130fa105315a16e13e85c7", "text": "I've verified that I can see the terminal hint in insiders. Does this also need to be tested in stable?\nYes this needs a stable build as it checks quality. You could verify out of sources by setting quality to stable as well", "commid": "vscode_issue_214475", "tokennum": 49}], "negative_passages": []} {"query_id": "q-en-vscode-ba30fb2cbae044413749c13465641cd08b2729d14e40cffe40da5f84f9b88dda", "query": "this.domNode = undefined; })); this.toDispose.add(dom.addDisposableListener(this.domNode, dom.EventType.CONTEXT_MENU, (e) => { this.contextMenuService.showContextMenu({ getAnchor: () => { return new StandardMouseEvent(dom.getActiveWindow(), e); }, getActions: () => { return [{ id: 'workench.action.disableTerminalInitialHint', label: localize('disableInitialHint', \"Disable Initial Hint\"), tooltip: localize('disableInitialHint', \"Disable Initial Hint\"), enabled: true, class: undefined, run: () => this.configurationService.updateValue(TerminalInitialHintSettingId.Enabled, false) } ]; } }); })); } return this.domNode; }", "positive_passages": [{"docid": "doc-en-vscode-497c942bd8489f00b4f42fb8e0dbbc5a152a814c26c964bb95f3541738e81d2d", "text": "Can this support right click to toggle the setting to hidden? !\nright click shows our terminal context menu, perhaps we should just put it in there rather than adding a new one? !\nthis isn't a feature the others offer, thus not a bug IMO", "commid": "vscode_issue_213813", "tokennum": 54}], "negative_passages": []} {"query_id": "q-en-vscode-ba625fc3acee476cdb866320acef39dae0c4f0a6c7205b49b8a558184ed10007", "query": "\"@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\" },", "positive_passages": [{"docid": "doc-en-vscode-56f0c166bab049bc4f9a72a7166073a99d6e5fd04fcddbef9664ba3ed3c92984", "text": "On Windows: clone open workspace look at the workspace settings: all files are associated with schema . Note that this is a relative path to the workspace file open both files and check that code completion gives back property . You can also click on the JSON language selector ( next to JSON in the status bar) to see the schema that is associated :bug: No code code completion or schema association\n76 candidate PR:", "commid": "vscode_issue_176296", "tokennum": 89}], "negative_passages": []} {"query_id": "q-en-vscode-babc2483bd4be47e197ad8bb59a880c53f23df9c9a458044a89ca6ee89b7fe22", "query": "} switch (e.data.type) { case 'setScale': case 'setScale': { updateScale(e.data.scale); break; case 'setActive': } case 'setActive': { setActive(e.data.value); break; case 'zoomIn': } case 'zoomIn': { zoomIn(); break; case 'zoomOut': } case 'zoomOut': { zoomOut(); break; } case 'copyImage': { copyImage(); break; } } }); document.addEventListener('copy', () => { copyImage(); }); async function copyImage() { try { await navigator.clipboard.write([new ClipboardItem({ 'image/png': fetch(image.src).then(request => request.blob()) })]); } catch (e) { console.error(e); } } }());", "positive_passages": [{"docid": "doc-en-vscode-75d46fb86d9f416d4dd0cb1b9d10aaad7849a8903abcac45602f44606f4a5928", "text": "