jiebi/CodeConvo huggingface dataset:
Change:
"from": "vscode-textmate@2.2.0", "resolved": "https://registry.npmjs.org/vscode-textmate/-/vscode-textmate-2.2.0.tgz" }, <ins> "windows-foreground-love": { "version": "0.1.0", "from": "windows-foreground-love@0.1.0", "resolved": "https://registry.npmjs.org/windows-foreground-love/-/windows-foreground-love-0.1.0.tgz" }, </ins> "windows-mutex": { "version": "0.2.0", "from": "windows-mutex@>=0.2.0 <0.3.0",

Discussion:
This can happen when code is already running and you start it again from the command line: The process that is started is killed very early after sending a IPC message to the running instance and that running instance is then trying to restore/focus the last active window which often fails. Related: As a workaround if you have access to the windows registry: find change its value to (decimal) restart windows
Pushed a workaround.
Reopening, using the () workaround causes issues as it will undock windows it seems.
This happens EVERY time for me - on all 3 machines I use it on, Windows 7 and Windows 10.
As a workaround if you have access to the windows registry: find change its value to (decimal) restart windows
Just tried the suggested workaround and it did not work. Using Windows 10 Home
I've been hit with this bug suddenly after having style execution from WinSCP work flawlessly for months. On top of that, the suggested workaround doesn't work as is nowhere to be found in my registry. Reading this it looks like the issue was fixed but has there been a regression?
Seems to have re-emerged for me. On first launch of VSCode it will focus on top of other windows, but on subsequent launches it stays in the background and flashes in the taskbar. I searched the registry but can't find any reference to . I'm on Win10 Build
Must have made the rookie mistake of not starting the search in the registry root earlier. It turns out there are several hits and the first one in seems to have worked.
I started running into this issue today. Started when I would open a new window from my current window and the new window would not appear on screen, only in the taskbar. Upon restarting the PC, no windows now appear. Tried the workaround but with no luck. Windows10 Build
Update: I made it to work by right clicking the task bar editor thumbnail of VSC and clicking on move. This made my cursor move to the edge of the desktop. I then dragged the corner of the VSC window to bring it to the center. It looks like VSC window was off the desktop boundary for some reason I have made registry changes to hkeylocalmachine and hkeycurrentuser as mentioned but it still doesn't work. Any other suggestions? Reinstalling doesn't fix the issue either.
This is happening to me also since the previous 2 releases. Changing the value of did not help
Change:
shellLaunchConfig.args = windowsShellArgs ? combinedShellArgs.join(' ') : combinedShellArgs; if (task.command.presentation && task.command.presentation.echo) { if (needsFolderQualification && workspaceFolder) { <del> const folder = cwd ? path.posix.basename(cwd.toString()) : workspaceFolder.name; </del> <ins> const folder = cwd && typeof cwd === 'object' && 'path' in cwd ? path.basename(cwd.path) : workspaceFolder.name; </ins> shellLaunchConfig.initialText = this.taskShellIntegrationStartSequence(cwd) + formatMessageForTerminal(nls.localize({ key: 'task.executingInFolder', comment: ['The workspace folder the task is running in', 'The task command line or label']

Discussion:
<!-- Do Not Delete This! bugreporttemplate --<!-- Please read our Rules of Conduct: --<!-- Read our guide about submitting issues: --<!-- Search existing issues to avoid creating duplicates. --<!-- Test using the latest Insiders build to see if your issue has already been fixed: --<!-- Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --<!-- Launch with to check. --Does this issue occur when all extensions are disabled?: Yes <!-- If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --<!-- Issues caused by an extension need to be reported directly to the extension publisher. The 'Help Report Issue' dialog can assist with this. --- VS Code Version: 1.85.0 OS Version: Windows 11, 23H2 build .2792 Steps to Reproduce: a shell task in user level Minimal example with PowerShell: the task in a non-workspace folder and it's fine (no path is printed in this case). Execute it in a saved workspace and the shell will print a mangled path: I believe this path was printing correctly before the 1.85.0 update. !
do you set a for the task? if so, what is it? here's where we do this
I did not have a cwd set, so I tried , which had the same result. So I tried absolute paths and it seems to be a problem with the seperators in a Windows path, which I am guessing is also using on Windows. = = =
Change:
backupPath: string; } <ins> export interface CrashReporterStartOptions { companyName?: string; submitURL: string; productName?: string; uploadToServer?: boolean; ignoreSystemCrashHandler?: boolean; extra?: any; crashesDirectory?: string; } export interface OpenDialogOptions { title?: string; defaultPath?: string; buttonLabel?: string; filters?: FileFilter[]; properties?: Array<'openFile' | 'openDirectory' | 'multiSelections' | 'showHiddenFiles' | 'createDirectory' | 'promptToCreate' | 'noResolveAliases' | 'treatPackageAsDirectory'>; message?: string; } export interface FileFilter { extensions: string[]; name: string; } export interface MessageBoxOptions { type?: string; buttons?: string[]; defaultId?: number; title?: string; message: string; detail?: string; checkboxLabel?: string; checkboxChecked?: boolean; cancelId?: number; noLink?: boolean; normalizeAccessKeys?: boolean; } export interface SaveDialogOptions { title?: string; defaultPath?: string; buttonLabel?: string; filters?: FileFilter[]; message?: string; nameFieldLabel?: string; showsTagField?: boolean; } export interface OpenDialogOptions { title?: string; defaultPath?: string; buttonLabel?: string; filters?: FileFilter[]; properties?: Array<'openFile' | 'openDirectory' | 'multiSelections' | 'showHiddenFiles' | 'createDirectory' | 'promptToCreate' | 'noResolveAliases' | 'treatPackageAsDirectory'>; message?: string; } </ins> export interface IWindowsService { _serviceBrand: any;

Discussion:
There a few usages of in which is against our layering rules. I'd suggest to move the whole file into an folder
Unfortunately this might not be so simple given 62 references of which some would also need to be lifted up... An alternative would be to define similar interfaces that contain the properties we actually need instead of depending on Electron.
Also: and
I'd favour to lift them all instead blowing up our code size
with our current code organisation I cannot express the proper way for these references. Here are the issues: Moving this service into src/workbench This was my first idea, but it doesn't work. There are references from (our main side of things) into the windows service because the main side basically implements that service. We should not depend from to other than the file that we load into a window. The only way out I see here is to have something like for services that are shared between and . Moving the service from common into electron-browser This will not help because we have depending on the windows service and thus we would reach from into . The only option would be to introduce a new layer that contains the service and that can be accessed by and . To unblock your 2-CU scenario and to use ES6 features in workbench I suggest to that will inline the Electron references. However if we ever want to tackle this properly it needs some serious new code-structure layout on disk. Thoughts?
Yeah, makes sense... It's unfortunate but reality...
Change:
return part.command.title; } else if (part.kind === 'textEditGroup') { return ''; <ins> } else if (part.kind === 'progressMessage') { return ''; </ins> } else { return part.content.value; }

Discussion:
Testing Send a request to This participant shows 3 progress messages The screen reader reads them but they get read multiple times in random order I'm not scrolling or anything, this is just what happens as the response renders normally. I'm assuming this is due to progress messages being re-rendered, and the screenreader hooking into the rendering flow
I cannot reproduce (at least on macOS), I am only seeing the progress messages once and they occur when I expect them to. Can you provide a gif?
They each appear once, it's just that the screenreader reads them multiple times
I don't see the screen reader reading them multiple times. Can you make a gif?
It reads them once as they come in, and a second time when it reads the content of the response when the response is done. Pushing a change to not consider the progress message part of the 'content', which I think is correct since the progress messages disappear from the view once more content has loaded. This also fixes the fact that the progress messages appear when I Copy a chat response (never noticed that before)
Change:
}); } else { [terminal, error] = this._terminalForTask ? [this._terminalForTask, undefined] : await this._createTerminal(task, resolver, workspaceFolder); <ins> this._terminalForTask = undefined; </ins> if (error) { return Promise.reject(new Error((<TaskError>error).message));

Discussion:
to repro: run the build task reload the window delete the build task terminals run the build task you can't and see an error abt the terminal now existing ! Originally posted by in
Change:
}; // Inline Decorations <del> private updateInlineDecorations(stackFrame: IStackFrame): void { </del> <ins> private updateInlineValueDecorations(stackFrame: IStackFrame): void { </ins> const model = this.editor.getModel(); if (!this.configurationService.getValue<IDebugConfiguration>('debug').inlineValues || !model || !stackFrame || model.uri.toString() !== stackFrame.source.uri.toString()) { <del> if (!this.removeInlineValuesScheduler.isScheduled()) { this.removeInlineValuesScheduler.schedule(); </del> <ins> if (!this.removeInlineValueDecorationsScheduler.isScheduled()) { this.removeInlineValueDecorationsScheduler.schedule(); </ins> } return; } <del> this.removeInlineValuesScheduler.cancel(); </del> <ins> this.removeInlineValueDecorationsScheduler.cancel(); </ins> stackFrame.getMostSpecificScopes(stackFrame.range) // Get all top level children in the scope chain

Discussion:
Right now we expose an API to cells, and to webviews, but we don't publish types for this. The webview API is very simple, but the renderer will be somewhat more complex. We should consider either publishing these in or in a separate package.
This would be helpful for I think a or something would be a good place for it. Aside, it'd be cool if ts s could be contributed to... Right now we'd need a whole separate NPM scope to have separate I believe.
We can just PR a package called The naming of packages is only constrained by the maintainers' policy, and there are types that don't correspond to single packages, e.g.
Poor wording, I mean the project would need a different and for the client code vs the extension host code. (Or just know not call acquireApi outside of the client context of course. )
Oh, yea. In the sample renderer/code generator I'm using project references to keep things separated -- that also lets us use only in the renderer and output es6 modules (only) for webpack.
PR submitted

Bug Set "debug.inlineValues": true. Set breakpoint somewhere. After paused on the step, goto the end of the line and hit enter. Before After VS Code version: Code 1.20.0 (, 2018-02-07T17:02:34.244Z) OS version: Darwin x64 16.7.0 <details<summarySystem Info</summary </details<details<summaryExtensions (9)</summaryExtensionVersion ------ EditorConfig0.12.0 vscode-eslint1.4.5 vscode-great-icons2.1.24 auto-rename-tag0.0.15 code-beautifier1.7.2 vscode-scss0.6.2 mssql1.3.0 cpptools0.14.6 licenser1.1.1 (1 theme extensions excluded) </detailsReproduces only with extensions
I acknowledge the bug. This is just how decoartions are behaving, unfortunetly the inline decorations do not seem to have an option to not grow beyond the line. maybe you have an idea how to solve this? fyi in case you are interested into looking for a fix
debugger.inlineValues uses the editor's decorator api. A fix we can do is that if the editor is edited , then we re-sync the inlineValue decorators I'm not sure how this works but would love it if the bug was assigned to me so I can see it in my issues list
that's a good idea. can you please add to our project so we can assign some issues to him?
Change:
if (this.configurationService.getValue<IDebugConfiguration>('debug').console.historySuggestions) { const history = this.history.getHistory(); <del> history.forEach(h => suggestions.push({ </del> <ins> const idxLength = String(history.length).length; history.forEach((h, i) => suggestions.push({ </ins> label: h, insertText: h, kind: CompletionItemKind.Text, range: computeRange(h.length), <del> sortText: 'ZZZ' </del> <ins> sortText: 'ZZZ' + String(history.length - i).padStart(idxLength, '0') </ins> })); }

Discussion:
<!-- Do Not Delete This! featurerequesttemplate --<!-- Please read our Rules of Conduct: --<!-- Please search existing issues to avoid creating duplicates. --<!-- Describe the feature you'd like. --When I start to type a command in the Debug Console, it suggests matching entries from my command history, which is great. However, the suggestions are presented in alphabetical order, instead of chronological order, which would be more intuitive. Most of the time, the debug console history is full of mistyped commands or iterations over the same function calls, and alphabetical order does not make sense here. Moreover, since the display of the preview of the command is shortened in the suggestion list, it is difficult (or impossible) to distinguish between many similar-looking commands. Having them listed from the newest to the oldest would clearly improve usability.
I don't have total control over the order of the filtered contents of the suggest widget currently, so we can't put history in a separate section and set the order. Because of this I find console history to be not that useful and I generally disable it: . However, it seems when commands are otherwise a tie in fuzzy filtering, I can change the order of the tie-breaking. For example, I evaluated in this order the first 3 that tie are sorted in recency order but the last is forced to the bottom due to being a worse match. Does this help at all? <img width="173" alt="image" src="https://user-"If not what you had in mind, maybe give an example
Change:
*--------------------------------------------------------------------------------------------*/ import * as assert from 'assert'; <ins> import { CancellationToken } from 'vs/base/common/cancellation'; </ins> import { DisposableStore } from 'vs/base/common/lifecycle'; import { URI } from 'vs/base/common/uri'; <ins> import { mock } from 'vs/base/test/common/mock'; </ins> import { Position } from 'vs/editor/common/core/position'; <ins> import { Range } from 'vs/editor/common/core/range'; </ins> import { CompletionContext, CompletionItem, CompletionItemKind, CompletionItemProvider, CompletionList, InlineCompletionTriggerKind, ProviderResult } from 'vs/editor/common/languages'; <del> import { createTextModel } from 'vs/editor/test/common/testTextModel'; </del> <ins> import { ITextModel } from 'vs/editor/common/model'; import { TextModel } from 'vs/editor/common/model/textModel'; import { ILanguageFeaturesService } from 'vs/editor/common/services/languageFeatures'; </ins> import { SuggestInlineCompletions } from 'vs/editor/contrib/suggest/browser/suggestInlineCompletions'; <ins> import { ISuggestMemoryService } from 'vs/editor/contrib/suggest/browser/suggestMemory'; </ins> import { createCodeEditorServices, instantiateTestCodeEditor, ITestCodeEditor } from 'vs/editor/test/browser/testCodeEditor'; <del> import { EditorOption } from 'vs/editor/common/config/editorOptions'; import { CancellationToken } from 'vs/base/common/cancellation'; import { ILanguageFeaturesService } from 'vs/editor/common/services/languageFeatures'; import { ITextModel } from 'vs/editor/common/model'; import { Range } from 'vs/editor/common/core/range'; </del> <ins> import { createTextModel } from 'vs/editor/test/common/testTextModel'; </ins> import { ServiceCollection } from 'vs/platform/instantiation/common/serviceCollection'; <del> import { ISuggestMemoryService } from 'vs/editor/contrib/suggest/browser/suggestMemory'; import { mock } from 'vs/base/test/common/mock'; import { TextModel } from 'vs/editor/common/model/textModel'; </del> import { TestInstantiationService } from 'vs/platform/instantiation/test/common/instantiationServiceMock';

Discussion:
Due to an oversight, does not enforce arguments or its return type. Fixing this exposes around 80 typings errors in our codebase that should be addressed To fix this issue in your code: , comment out the . (Do not check in this change. I will check in the change to the signature once all error have been fixed) look at the file assigned to you and fix the type error (you may need to restart the compile since we are changing such a core type) [x] — [x] — [x] — [x] — [x] — [x] — [x] — [ ] — [ ] — [ ] — [ ] — [x] — [x] — [x] — [x] — [x] — [x] — [ ] — [x] —
Change:
public writeText(text: string): void { clipboard.writeText(text); } <ins> public readText(): string { return clipboard.readText(); } </ins> }  No newline at end of file

Discussion:
when i want to compare a local file with a online resource file, i need to save the online file in project folder, and then do compare. it's a little inconvenient. It'll be great if i can copy the content of the online file, and right-click the local file, and choose "compare with clipboard".
An extension would be ideal for a feature like this.
fyi
It would be great too if also is allowed to compare selection with clipboard.
It would be great if we could compare unsaved files...
I would be open to a PR here, I think it is not a lot of work. Some pointers: register a new text document content provider to be able to open the left hand side of the diff editor to be the contents of the clipboard (pointers: ) register a new action to diff the current editor with the resource that can be handled with from the text document content provider (similar to ) Due to sensitivity of data inside the clipboard it would probably make sense to ask the user for confirmation that the clipboard is accessed. Related to
Has someone taken up this issue? I am a complete beginner to the VSCode codebase, would I be able to contribute to this issue?
not yet, but it seems has started a similar PR in which could be used as input to this one. The difference is that the contents of the left hand side are coming from the clipboard instead of the file on disk.
Change:
import { IIdentifiedSingleEditOperation, ITextModel, TrackedRangeStickiness } from 'vs/editor/common/model'; import { ModelDecorationOptions } from 'vs/editor/common/model/textModel'; import { IClipboardService } from 'vs/platform/clipboard/common/clipboardService'; <ins> import { IWorkspaceContextService } from 'vs/platform/workspace/common/workspace'; </ins> import { optional } from 'vs/platform/instantiation/common/instantiation'; import { Choice, Placeholder, SnippetParser, Text, TextmateSnippet } from './snippetParser'; <del> import { ClipboardBasedVariableResolver, CompositeSnippetVariableResolver, ModelBasedVariableResolver, SelectionBasedVariableResolver, TimeBasedVariableResolver, CommentBasedVariableResolver } from './snippetVariables'; </del> <ins> import { ClipboardBasedVariableResolver, CompositeSnippetVariableResolver, ModelBasedVariableResolver, SelectionBasedVariableResolver, TimeBasedVariableResolver, CommentBasedVariableResolver, WorkspaceBasedVariableResolver } from './snippetVariables'; </ins> import { registerThemingParticipant } from 'vs/platform/theme/common/themeService'; import * as colors from 'vs/platform/theme/common/colorRegistry';

Discussion:
It would be really helpful if a variable with the repository name (workspace name or opened folder) that was available to use in the snippets. In my case, i use the snippets to create copyright messages, and i am using the project name (the same of the repository) as part of this message.
Hey I'd like to work on this. Can I give it a shot? I appreciate if you have any quick guidance.
Snippet variables are implemented and instantiated . add a variable resolver that uses the (like the and ) add a test here
Thanks :)
Change:
amend?: boolean; signoff?: boolean; signCommit?: boolean; <ins> defaultMsg?: string; </ins> } export interface GitResourceGroup extends SourceControlResourceGroup {

Discussion:
VSCode Version: Code - Insiders 1.17.0-insider (, 2017-09-26T05:24:48.911Z) OS Version: Windows_NT x64 10.0. Extensions: none Testing Steps to Reproduce: some change Staged (Amend) I'm asked for a new commit message without the existing one as the default. I usually want to keep the existing one.
yeah may be we can add an option to keep the older message. I mean prefill the text box with the latest commit message..
I'm assuming this is not in version 1.18.1. Can I expect this in 1.18.2? Because I'm looking for this to amend the commit properly (both the diff and the message). I keep having to go back to the command line and issue because VSCode's Commit Staged (Amend) option shows a blank message.
No, this will be in 1.19.
I upgrade to 1.19, and this works, however we use gerrit which has a Change-Id in the commit message, and the newline is removed when to the commit message box. Which means when I upload the change to gerrit, it becomes a new patchset. Can this please not remove the newlines.
I see... I created this to track that issue:
Change:
), primary: KeyCode.Enter, weight: NOTEBOOK_EDITOR_WIDGET_ACTION_WEIGHT <del> }, { // when: NOTEBOOK_CELL_LIST_FOCUSED, when: ContextKeyExpr.equals('activeEditor', 'workbench.editor.interactive'), primary: KeyMod.CtrlCmd | KeyCode.Enter, weight: NOTEBOOK_EDITOR_WIDGET_ACTION_WEIGHT </del> }], menu: [ {

Discussion:
Testing From gear icon, enable the setting Switch back to the interactive window and see no hint in the input box Reloading the workspace does not help as well <img width="1031" alt="Screenshot 2024-06-25 at 18 49 24" src=""
does shift+enter work as a keybinding?
Yes the keybinding works, issue is only about the hint UI.
the hint text keeps saying "Press Command+Enter to execute" and doesn't update depending on the setting. I was expecting the hint to display "Enter" or "Shift+Enter" depending on the setting.
- can you enable the shift+enter option, run and try to press enter in the input box? Do you get something like this in the troubleshooting logs?
it looks like you may have a custom keyboard layout that changes the key label to . I don't know how many ways there are to modify key labels, so I'll just rely on the order of the keybinding registration to show shift+enter instead of always showing cmd/ctrl+enter. It might still show cmd+enter when in the python REPL experiment with a custom keyboard layout, but I think this is as close as I can reliably get.
verification: with Jupyter and python extensions installed run The execution hint should show in the input box click the gear, change the setting shift+enter setting the hint should update should at least show in the hint with the setting enabled. When disabled, it will either show or
<img width="1381" alt="Screenshot 2024-06-27 at 10 21 16 AM" src=""still occurring - key bindings come in as Resolving meta+[Enter] and Resolving shift+[Enter]