jiebi/CodeConvo huggingface dataset:
Change:
<!-- 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?: N/A <!-- 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: Version: 1.78.2 Commit: Date: 2023-05-10T14:39:26.248Z Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.78.2 Chrome/108.0.5359.215 Electron/22.5.2 Safari/537.36 Steps to Reproduce: Jupyter extension a dummy extension and install it: Interactive Window shows up shows up signature help works on new files though, just not in the interactive.

Discussion:
import { KeybindingWeight } from 'vs/platform/keybinding/common/keybindingsRegistry'; import { ParameterHintsWidget } from './parameterHintsWidget'; <del> class ParameterHintsController extends Disposable implements IEditorContribution { </del> <ins> export class ParameterHintsController extends Disposable implements IEditorContribution { </ins> public static readonly ID = 'editor.controller.parameterHints';

import { createActionViewItem, createAndFillInActionBarActions } from 'vs/platform/actions/browser/menuEntryActionViewItem'; import { IAction } from 'vs/base/common/actions'; import { EditorExtensionsRegistry } from 'vs/editor/browser/editorExtensions'; <ins> import { ParameterHintsController } from 'vs/editor/contrib/parameterHints/browser/parameterHints'; </ins> import { MenuPreventer } from 'vs/workbench/contrib/codeEditor/browser/menuPreventer'; import { SelectionClipboardContributionID } from 'vs/workbench/contrib/codeEditor/browser/selectionClipboard'; import { ContextMenuController } from 'vs/editor/contrib/contextmenu/browser/contextmenu';

SelectionClipboardContributionID, ContextMenuController.ID, SuggestController.ID, <ins> ParameterHintsController.ID, </ins> SnippetController2.ID, TabCompletionController.ID, ModesHoverController.ID,
Change:
Recently I noticed that my account icon shows a notification, despite there being no notification :bug: <img width="498" alt="Screenshot 2023-05-31 at 15 03 30" src=""
I think it wants you to turn on settings sync.
in that case perhaps we could show a little (1) in front of to signify that an action is prompted?
I agree it's not obvious at the moment, but that's what it turned out to be for me.
Looks like there used to be an extra clue:
This is pretty unusual. The number on the account icon is supposed to be the sum of the s in the menu... and in fact, I have the 1 for settings sync: ! Do you still see this issue? I wonder if maybe your screenshot is a case of you clicking on the Account menu right as it was about to add the to the Menu native menus can't be updated once they're shown (electron issue) so the addition of wasn't applied until the menu is reshown.
hi I tried again and also signed into the settings sync to see if the problem would disappear, but strangely it persists. That is I have settings sync enabled and I still see the blue badge icon. In the video below I also show my current settings.
How odd! if you turn on those other things, does the badge go away? I'm trying to rule out some things.
Hi thanks for the reply. I clicked on the button and the blue badge icon disappeared.
Interesting... any thoughts?
If you get into desktop via a Continue On flow from the browser and have pending changes, we first prompt you to enable Cloud Changes in order to retrieve those pending changes. If you ignore the prompt, that's when this badge would appear in the accounts menu, and on hover there would have been a message. Also, this badge goes away after you fully close and reopen VS Code. assuming you used Continue On at some point, which is the only way that the Cloud Changes badge would appear, this behavior is all as expected. We'll likely rework this soon, but in the meantime I think the change that I should make here to reduce confusion is to also add the to the hover message.

Discussion:
return this.accountsMenuBadgeDisposable.clear(); } <del> const badge = new NumberBadge(1, () => localize('check for pending cloud changes', 'Check for pending cloud changes')); this.accountsMenuBadgeDisposable.value = this.activityService.showAccountsActivity({ badge, priority: 1 }); </del> <ins> const badge = new NumberBadge(1, () => localize('check for pending cloud changes', 'Check for pending cloud changes (1)')); this.accountsMenuBadgeDisposable.value = this.activityService.showAccountsActivity({ badge }); </ins> } private async autoStoreEditSession() {
Change:
<img width="945" alt="image" src=""There is a gap between selected cells when we have multi cells selection.
Friendly ping! Looks like this issue requires some further steps to be verified. Please provide us with the steps necessary to verify this issue.
I'm unsure if what I'm seeing is expected: ! ! ! For the last scenario, I selected a top cell first, and then shift-clicked a bottom cell.

Discussion:
styleSheets.push(`.notebookOverlay .monaco-list .monaco-list-row .cell-shadow-container-bottom { top: ${cellBottomMargin}px; }`); styleSheets.push(` <ins> .notebookOverlay .monaco-list .monaco-list-row:has(+ .monaco-list-row.selected) .cell-focus-indicator-bottom { height: ${bottomToolbarGap + cellBottomMargin}px; } `); styleSheets.push(` </ins> .monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .input-collapse-container .cell-collapse-preview { line-height: ${collapsedIndicatorHeight}px; }
Change:
Steps to repro: (prereq) make sure Python is installed in or (also repros with stable , does not repo in Desktop) open or wait a bit see that Python gets activated even though this repo has nothing python-y in it (just XML files) ! informed me of which gave me a very curious output: What’s interesting about this is that this repo has no , no , no … so this takes me to the original question. Why is this causing activation? After chatting a bit, pointed out: as suspicious.
I think these host methods are not implemented correctly and they might be the root cause:
Yeah, the function isn't really implemented. Tho, I could change the default to to but the bigger challenge is that the interface assumes local file access - it talks about paths, not uris and therefore this will be hard to implement. And by extension I also think this is buggy for the node EH with workspace not hosted on local disk
NVM - I found the magic and will use that for web EH

Discussion:
readonly _serviceBrand: undefined; readonly pid: number | undefined; exit(code: number): void; <del> exists(path: string): Promise<boolean>; realpath(path: string): Promise<string>; </del> <ins> fsExists?(path: string): Promise<boolean>; fsRealpath?(path: string): Promise<string>; </ins> } type TelemetryActivationEventFragment = {

* Applies realpath to file-uris and returns all others uris unmodified */ private async _realPathExtensionUri(uri: URI): Promise<URI> { <del> if (uri.scheme !== Schemas.file) { return uri; </del> <ins> if (uri.scheme === Schemas.file && this._hostUtils.fsRealpath) { const realpathValue = await this._hostUtils.fsRealpath(uri.fsPath); return URI.file(realpathValue); </ins> } <del> const realpathValue = await this._hostUtils.realpath(uri.fsPath); return URI.file(realpathValue); </del> <ins> return uri; </ins> } // create trie to enable fast 'filename -> extension id' look up

const host: IExtensionActivationHost = { logService: this._logService, folders: folders.map(folder => folder.uri), <del> forceUsingSearch: localWithRemote, exists: (uri) => this._hostUtils.exists(uri.fsPath), </del> <ins> forceUsingSearch: localWithRemote || !this._hostUtils.fsExists, exists: (uri) => this._hostUtils.fsExists!(uri.fsPath), </ins> checkExists: (folders, includes, token) => this._mainThreadWorkspaceProxy.$checkExists(folders, includes, token) };

declare readonly _serviceBrand: undefined; public readonly pid = process.pid; exit(code: number) { nativeExit(code); } <del> exists(path: string) { return Promises.exists(path); } realpath(path: string) { return realpath(path); } </del> <ins> fsExists(path: string) { return Promises.exists(path); } fsRealpath(path: string) { return realpath(path); } </ins> }; // Attempt to load uri transformer

exit(_code?: number | undefined): void { nativeClose(); } <del> async exists(_path: string): Promise<boolean> { return true; } async realpath(path: string): Promise<string> { return path; } </del> };
Change:
Type: <bBug</bup and down in the file a few times Bug In the dev tools see two potential leaks reported: VS Code version: Code - Insiders 1.79.0-insider (Universal) (, 2023-06-06T15:04:36.424Z) OS version: Darwin x64 22.5.0 Modes: <details<summarySystem Info</summary </details<!-- generated by issue reporter --
Notebook is a good place for catching memory leaks.

Discussion:
this._currentDocumentRequestCancellationTokenSource.cancel(); this._currentDocumentRequestCancellationTokenSource = null; } <ins> dispose(this._documentProvidersChangeListeners); this._documentProvidersChangeListeners = []; </ins> this._setDocumentSemanticTokens(null, null, null, []); this._isDisposed = true;
Change:
Type: <bBug</bIt's a UI fault in the merge editor. I have written the steps to reproduce it and also attached a screen recording for better understanding. Note: What I mean by , and in this issue ! First things first i) Need a code base which have conflicts You can clone this repository with both & branches and merge branch into to produce merge conflict. ii) Open the conflicted file in the Merge Editor And then: (Please watch the video for better understanding) in the Result tab, place the conflicted code block's widget aligned with 'Complete Merge' button in bottom-right corner in a way that the conflict actions bar is intersecting with the button (as shown in the video below). code from any stream, incoming or current doesn't matter. try to hover over same straight horizontal line as conflict actions bar towards the 'Complete Merge' button, You will notice that the cursor does not become a pointer, and you cannot even click the button. Now, If you reload the window, the issue will be fixed. However, as soon as you select any action from the actions bar, such as 'remove incoming/current', the issue will occur again. From my understanding, what is happening here is that after we select any action from the actions bar, the actions bar is overlapping the 'Complete Merge' button in the z-index's stacking context. I have tried to fix this on my local setup, and I believe I have solved the issue. If the maintainers want, I can raise a PR! VS Code version: Code 1.78.2 (, 2023-05-10T14:39:26.248Z) OS version: WindowsNT x64 10.0. Modes: Sandboxed: Yes <details<summarySystem Info</summary </details<details<summaryExtensions (26)</summaryExtensionVersion ------ vscode-tailwindcss0.9.11 vscode-eslint2.4.0 docs-markdown1.0.1 docs-preview1.0.1 es7-react-js-snippets4.4.3 auto-rename-tag0.1.10 live-sass6.0.5 githd2.3.3 vscode-text-pastry1.3.1 vscode-peacock4.2.2 vscode-selfhost-test-provider0.3.15 material-icon-theme4.28.0 vscode-react-refactor1.1.3 prisma4.15.0 vscode-thunder-client2.7.5 reactree1.0.8 LiveServer5.7.9 mongo-snippets-for-node-js1.3.12 svg-preview2.8.3 vscode-fileutils3.10.1 vscode-wakatime24.0.11 console-ninja0.0.141 vscode-import-cost3.3.0 JavaScriptSnippets1.8.0 pretty-ts-errors0.4.1 html-css-class-completion1.20.0 </details<details<summaryA/B Experiments</summary</details<!-- generated by issue reporter --
Thanks for this detailed bug report! That would be awesome!
Hey I have raised the PR

Discussion:
this._domNode.style.padding = '6px 11px'; this._domNode.style.borderRadius = '2px'; this._domNode.style.cursor = 'pointer'; <ins> this._domNode.style.zIndex = '1'; </ins> if (keyBindingAction) { const keybinding = keybindingService.lookupKeybinding(keyBindingAction);
Change:
Steps: open a GH issues notebook switch to an empty profile make the notebook dirty save it from the error notification pick "Save As..." nothing happens and the toast closes Best fix here is to simply re-show the toast as it was because it gives the correct hint to install the extension. ! //cc

Discussion:
primaryActions.push(toAction({ id: 'fileWorkingCopy.saveAs', label: localize('saveAs', "Save As..."), <del> run: () => { </del> <ins> run: async () => { </ins> const editor = this.workingCopyEditorService.findEditor(this); if (editor) { <del> this.editorService.save(editor, { saveAs: true, reason: SaveReason.EXPLICIT }); </del> <ins> const result = await this.editorService.save(editor, { saveAs: true, reason: SaveReason.EXPLICIT }); if (!result.success) { this.doHandleSaveError(error); // show error again given the operation failed } </ins> } } }));
Change:
Steps to Reproduce: VS Code and open a folder/workspace that contains one git repository to the "Source Control" viewlet, and open the "Source Control Repositories" view click on the repository and choose "Close Repository" viewlet will be into a weird state Expected: If there is only one repository opened, the "Close Repository" command should be disabled
I still see it being enabled, but there's technically no weird state.
After consideration we have decided that one should be able to close the last repository. In that scenario we will be showing a welcome view with a primary action for the user to reopen the closed repository.
The described behavior is how it is expected to work. If you disagree, please explain what is expected and what is not in more detail. See also our . Happy Coding!

Discussion:
"command": "git.close", "title": "%command.close%", "category": "Git", <del> "enablement": "!operationInProgress" </del> <ins> "enablement": "!operationInProgress && gitOpenRepositoryCount > 1" </ins> }, { "command": "git.refresh",

}, { "command": "git.close", <del> "when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0" </del> <ins> "when": "config.git.enabled && !git.missing && gitOpenRepositoryCount > 1" </ins> }, { "command": "git.refresh",
Change:
In my debugger, I sometimes have StackFrames that have a known named source file, but that file's text isn't available. To represent this, I created a Source object with a name and presentationHint set to "deemphasize", which according to the docs "can be used to indicate that the source is not available or that it is skipped on stepping": However, VS Code still automatically tries to open the source for the StackFrame. I think that behavior is a conflict with the documentation. If that behavior is expected, how should I represent these frames? I don't want to exclude a Source entirely since the name alone is useful information, but I don't want an editor to open automatically for a document whose text can't be resolved.
This is happening when the deemphasized frame is first in the callstack? I think this can happen if the deemphasized frame is the only one available, but we try to skip deemphasized frames and pick the first one off the top that is not deemphasized
Yes, this happens when the deemphasized frame is first in the callstack. In the exact case I'm testing, all 8 frames are deemphasized. I would expect that in this case, none of the frames would be opened.
Hm, I think I agree, and in this case it opens an editor with an error message for you?
Yes, exactly. I'd like for it to not do that, but still allow me to supply a Source with a name because I have that information. I think using deemphasize to signal this is fine, or allowing a Source without a sourceReference or path.
Thanks for the quick fix! I verified that in the latest insiders the "deempasize" stack frame isn't automatically opened when the debugger breaks.
verified based on comment

Discussion:
const firstAvailableStackFrame = callStack.find(sf => !!(sf && ((this.stoppedDetails?.reason === 'instruction breakpoint' || (this.stoppedDetails?.reason === 'step' && this.lastSteppingGranularity === 'instruction')) && sf.instructionPointerReference) || (sf.source && sf.source.available && sf.source.presentationHint !== 'deemphasize'))); <del> return firstAvailableStackFrame || (callStack.length > 0 ? callStack[0] : undefined); </del> <ins> return firstAvailableStackFrame; </ins> } get stateLabel(): string {
Change:
I see the second entry being selected shortly after the recent results appear: ! My settings:
I did extension bisect and the issue is caused by copilot chat extension. Here is the profile you can use to repro this bug -

Discussion:
this._listElementChecked ); <ins> const resultIndex = result.length; </ins> result.push(element); <del> elementsToIndexes.set(element.item ?? element.separator!, index); </del> <ins> elementsToIndexes.set(element.item ?? element.separator!, resultIndex); </ins> return result; }, [] as IListElement[]); this.elementsToIndexes = elementsToIndexes;

import { CancelablePromise, createCancelablePromise, raceCancellablePromises, timeout } from 'vs/base/common/async'; import { IDisposable } from 'vs/base/common/lifecycle'; import { InstantiationType, registerSingleton } from 'vs/platform/instantiation/common/extensions'; <ins> import { StopWatch } from 'vs/base/common/stopwatch'; import { ILogService } from 'vs/platform/log/common/log'; </ins> export const ISemanticSimilarityService = createDecorator<ISemanticSimilarityService>('ISemanticSimilarityService');

private readonly _providers: ISemanticSimilarityProvider[] = []; <ins> constructor(@ILogService private readonly logService: ILogService) { } </ins> isEnabled(): boolean { return this._providers.length > 0; }

throw new Error('No semantic similarity providers registered'); } <ins> const stopwatch = StopWatch.create(); </ins> const cancellablePromises: Array<CancelablePromise<number[]>> = []; const timer = timeout(SemanticSimilarityService.DEFAULT_TIMEOUT);

throw new Error('Semantic similarity provider timed out'); })); <del> const result = await raceCancellablePromises(cancellablePromises); return result; </del> <ins> try { const result = await raceCancellablePromises(cancellablePromises); return result; } finally { stopwatch.stop(); this.logService.trace(`[SemanticSimilarityService]: getSimilarityScore took ${stopwatch.elapsed()}ms`); } </ins> } }
Change:
<!-- 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. --A change was made in which the method to the Monaco (see ). Given that the rest of the properties and methods on the are optional, I believe that should be as well. There is already a , and it would be helpful for type-checking when creating a new .
/duplicate
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for . See also our . Happy Coding!

Discussion:
/** * Create a trusted types policy (same API as window.trustedTypes.createPolicy) */ <del> createTrustedTypesPolicy( </del> <ins> createTrustedTypesPolicy?( </ins> policyName: string, policyOptions?: ITrustedTypePolicyOptions, ): undefined | ITrustedTypePolicy;
Change:
sure the File Explorer is visible temporary profile window Welcome editor fails to open. cc
Due to:
and I also reproduced this when testing out her walkthrough changes:

Discussion:
@INotificationService private readonly notificationService: INotificationService, @IEditorResolverService editorResolverService: IEditorResolverService ) { <del> this.run().then(undefined, onUnexpectedError); </del> editorResolverService.registerEditor( `${GettingStartedInput.RESOURCE.scheme}:/**`, {

} } ); <ins> this.run().then(undefined, onUnexpectedError); </ins> } private async run() {
Change:
Type: <bBug</b- Open VSCode on MacOS Run . Note the PID using port 9229 Help Open Process Explorer The PID of is using Node's default debug port This blocks a user-level Node application from using 9229 VS Code version: Code 1.79.0 (Universal) (, 2023-06-07T14:29:00.206Z) OS version: Darwin arm64 22.5.0 Modes: <details<summarySystem Info</summary </details<details<summaryExtensions (7)</summaryExtensionVersion ------ vscode-eslint2.4.0 gitlens13.6.0 EditorConfig0.16.4 prettier-vscode9.13.0 flow-for-vscode2.2.1 copilot1.89.156 material-icon-theme4.28.0 </details<details<summaryA/B Experiments</summary</details<!-- generated by issue reporter --
That might mean that a process in a vscode terminal is using that port?
I guess I would expect to point at that child process but it's worth considering?
is this related to message ports?
This is an issue with the pty host process spawning, it always gets spawned with flag from which causes to invoke the debugger with default debug port. Steps to confirm: Open Open process explorer and see the command line of contains
thanks!

Discussion:
this.utilityProcess = new UtilityProcess(this._logService, NullTelemetryService, this._lifecycleMainService); const inspectParams = parsePtyHostDebugPort(this._environmentService.args, this._environmentService.isBuilt); <del> let execArgv: string[] | undefined = undefined; if (inspectParams) { execArgv = ['--nolazy']; if (inspectParams.break) { execArgv.push(`--inspect-brk=${inspectParams.port}`); } else if (!inspectParams.break) { execArgv.push(`--inspect=${inspectParams.port}`); } } </del> <ins> const execArgv = inspectParams.port ? [ '--nolazy', `--inspect${inspectParams.break ? '-brk' : ''}=${inspectParams.port}` ] : undefined; </ins> this.utilityProcess.start({ type: 'ptyHost',
Change:
There is an alignment difference between the initial editor and the inline preview editor.
How do you get that inline diff to appear? Is there a setting for that?
You may enable the inline diff by clicking on the arrow icon which opens a menu, where you can select

Discussion:
}, editor); this._disposables.add(this._diffEditor); this._diffEditor.setModel({ original: this._session.textModel0, modified: editor.getModel() }); <ins> this._diffEditor.updateOptions({ lineDecorationsWidth: editor.getLayoutInfo().decorationsWidth }); </ins> const doStyle = () => { const theme = themeService.getColorTheme();
Change:
Type: <bBug</bSimple Browser to visit a webpage that offers a download. the download. happens :bug: I plan to submit a PR. VS Code version: Code - Insiders 1.80.0-insider (, 2023-06-14T09:02:23.566Z) OS version: Windows_NT x64 10.0. Modes: <!-- generated by issue reporter --
<!-- AUTHORVERIFICATIONREQUEST --This bug has been fixed in the latest release of ! you can help us out by commenting if things are now working as expected. If things still don't seem right, please ensure you're on version of Insiders (today's or later - you can use in the command palette to check), and leave a comment letting us know what isn't working as expected. Happy Coding!
/verified

Discussion:
</header> <div class="content"> <div class="iframe-focused-alert">${vscode.l10n.t("Focus Lock")}</div> <del> <iframe sandbox="allow-scripts allow-forms allow-same-origin"></iframe> </del> <ins> <iframe sandbox="allow-scripts allow-forms allow-same-origin allow-downloads"></iframe> </ins> </div> <script src="${mainJs}" nonce="${nonce}"></script>