jiebi/CodeConvo huggingface dataset:
Code change:
'./$foo', '../foo', '/foo/bar', <ins> '/foo/[bar]', '/foo/[bar].baz', '/foo/[bar]/baz', </ins> '/foo/bar+more', 'foo/bar', 'foo/bar+more',

Related discussion:
text: <!-- 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.71.0-insider OS Version: macOS Big Sur 11.6 Steps to Reproduce: a link in terminal containing "[" or "]" characters (ex. ) to cmd+click the link, observe that it is split on those characters. For example, links to , , , , and . In reality this is one valid path (nextjs uses "[ ]" to identify parameters in URLs) <img width="526" alt="Screen Shot 2022-09-22 at 5 12 00 PM" src="https://user-"
This works for urls: ! Not local paths: !
reported that it does (kind of) work: ! We would need to review all link detectors for this.
This happens with local links because [] are currently excluded chars:
Code change:
"git": { "name": "electron", "repositoryUrl": "https://github.com/electron/electron", <del> "commitHash": "5955d53c480a627b016c592931d9d0345ee2564f" </del> <ins> "commitHash": "a07a70e8db21718dd76644d99892d3e15e0ed440" </ins> } }, "isOnlyProductionDependency": true, "license": "MIT", <del> "version": "30.5.0" </del> <ins> "version": "30.5.1" </ins> }, { "component": {

Related discussion:
text: Testing Version: 1.90.0-insider Commit: Date: 2024-05-29T05:51:07.154Z Electron: 29.4.0 ElectronBuildId: Chromium: 122.0.6261.156 20.9.0 V8: 12.2.281.27-electron.0 OS: Linux x64 5.15.0-107-generic open a file in an editor run . This opens a file selection dialog initialized to the home folder
Same problem with open folder dialog
VS Code is awesome, but the open file dialog on Linux has been ridiculously buggy for years. More than two years to fix the problem of the dialog opening in the background. The fix, in the latest version, involves using a dialog inside a portal with no type-ahead support that opens in $HOME or recent files. The open/save file dialog is a crucial control in any application. There should be a way to use the native OS dialog. I'm going to downgrade to the previous version (1.89.1) and keep it as long as it takes.
cc
We hadn't patched the portal code to support most of the file dialogs options, it is being addressed via
This is now addressed in the runtime via , fix will be available once we adopt
Reopening since we have reverted the updated due to other regressions , will be revisited in August.
This issue is not resolved for me, here is for comparison how the file dialog opens in an older version of VS Code vs. now: Good behaviour: ! Bad behaviour: !
Filed
I'm on xfce on xubuntu 22.04. Version 1.89.1-1715060508_amd64 does not have the issue. Later versions do have it. The problem is that instead of forcing the "Open File" path, to that of the current file being edited, vscode delegates the path selection to the operating system, which resolves the "Recent Files" path. Since recent files is truly not useful in vscode, I can at least pilot the path to be that of the home folder with $gsettings set startup-mode 'cwd' from the previous value. Clearly this is very inconvenient. Is there any update about it?
The issue is not resolved for me either.
Code change:
"git": { "name": "electron", "repositoryUrl": "https://github.com/electron/electron", <del> "commitHash": "5955d53c480a627b016c592931d9d0345ee2564f" </del> <ins> "commitHash": "a07a70e8db21718dd76644d99892d3e15e0ed440" </ins> } }, "isOnlyProductionDependency": true, "license": "MIT", <del> "version": "30.5.0" </del> <ins> "version": "30.5.1" </ins> }, { "component": {

Related discussion:
text: The file-open and directory-open dialogs still do not appear even though built on Electron 30.1.2. This is reproducible 100% of the time in openSUSE Tumbleweed and in Leap.
The file-open/directory-open or save dialog not being shown remains unresolved on Linux in release 1.93.1 built with electron 30.4.0.
Code change:
if (type === 'chat') { content.push(descriptionForCommand('chat.action.focus', localize('workbench.action.chat.focus', 'The Focus Chat command ({0}) focuses the chat request/response list, which can be navigated with UpArrow/DownArrow.',), localize('workbench.action.chat.focusNoKb', 'The Focus Chat List command focuses the chat request/response list, which can be navigated with UpArrow/DownArrow and is currently not triggerable by a keybinding.'), keybindingService)); content.push(descriptionForCommand('workbench.action.chat.focusInput', localize('workbench.action.chat.focusInput', 'The Focus Chat Input command ({0}) focuses the input box for chat requests.'), localize('workbench.action.interactiveSession.focusInputNoKb', 'Focus Chat Input command focuses the input box for chat requests and is currently not triggerable by a keybinding.'), keybindingService)); <del> content.push('Chat responses may contain code blocks which can be tabbed to. Use typical editor keybindings to select and copy text. To further interact with these code blocks, run the following commands:'); content.push(descriptionForCommand('workbench.action.chat.insertCodeBlock', localize('workbench.action.chat.insertCodeBlock', 'Insert Code Block ({0}) inserts the code at the current cursor location in last active editor'), localize('workbench.action.chat.insertCodeBlockNoKb', 'Insert Code Block inserts the code at the current cursor location and is currently not triggerable by a keybinding.'), keybindingService)); content.push(descriptionForCommand('workbench.action.chat.insertIntoNewFile', localize('workbench.action.chat.insertIntoNewFile', 'Insert into New File ({0}) creates a new file with the code block as its content'), localize('workbench.action.chat.insertIntoNewFileNoKb', 'Insert into New File creates a new file with the code block as its content and is currently not triggerable by a keybinding.'), keybindingService)); content.push(descriptionForCommand('workbench.action.chat.runInTerminal', localize('workbench.action.chat.runInTerminal', 'Run in Terminal ({0}) runs the code block in the terminal'), localize('workbench.action.chat.runInTerminalNoKb', 'Run in Terminal runs the code block in the terminal and is currently not triggerable by a keybinding.'), keybindingService)); </del> } else { content.push(localize('interactiveSession.makeRequest', "Tab once to reach the make request button, which will re-run the request.")); const regex = /^(/fix|/explain)/;

Related discussion:
text: We should not translate the PHP parser error messages, but we should localize the strings that appear in the Code UI. !
Code change:
return; } <ins> if (!(context.cell instanceof SideBySideDiffElementViewModel)) { return; } </ins> const original = context.cell.original; const modified = context.cell.modified; <del> if (!original || !modified) { </del> <ins> const modifiedCellIndex = context.cell.mainDocumentTextModel.cells.indexOf(modified.textModel); if (modifiedCellIndex === -1) { </ins> return; } <del> modified.textModel.metadata = original.metadata; </del> <ins> const rawEdits: ICellEditOperation[] = [{ editType: CellEditType.Metadata, index: modifiedCellIndex, metadata: original.metadata }]; if (context.cell.original.language && context.cell.modified.language !== context.cell.original.language) { rawEdits.push({ editType: CellEditType.CellLanguage, index: modifiedCellIndex, language: context.cell.original.language }); } context.cell.modifiedDocument.applyEdits(rawEdits, true, undefined, () => undefined, undefined, true); </ins> } });

Related discussion:
text: Testing Before reverting metadata ! After reverting ! language remains . If I try to revert, nothing happens.
I was expecting the revert will revert the content to the version on the left side if the diff editor is opened from the timeline view, but it seems reverting to something different.
I think this can be fixed next month.
Thats a duplicate of Marking as as metadta gets reverted
Yes, the plan is to fix next month, I have a PR, but do not want to merge it just yet Its a slightly convoluted issue,
Code change:
z-index: 3; } <ins> .monaco-workbench .zone-widget.inline-chat-widget .interactive-session { max-width: unset; } </ins> .monaco-workbench .zone-widget-container.inside-selection { background-color: var(--vscode-inlineChat-regionHighlight); }

Related discussion:
text: Just asked hi: ! Expected: ! Version: 1.88.0-insider (user setup) Commit: Date: 2024-03-25T05:49:32.344Z Electron: 28.2.6 ElectronBuildId: Chromium: 120.0.6099.291 18.18.2 V8: 12.0.267.19-electron.0 OS: Windows_NT x64 10.0. GitHub Copilot Chat v0.14. (pre-release)
because of
To verify configure have a very wide view port ask AI to change some code make sure the input widget is full width of the zone widget
Code change:
z-index: 3; } <ins> .monaco-workbench .zone-widget.inline-chat-widget .interactive-session { max-width: unset; } </ins> .monaco-workbench .zone-widget-container.inside-selection { background-color: var(--vscode-inlineChat-regionHighlight); }

Related discussion:
text: cmd+i now cmd+backspace invokes instead of deleting the line in the text editor The ChatWidget is writing its context keys to the editor's ContextKeyService, so we need a scoped CKS at some point, either inside the ChatWidget or outside in the inline widgets
pushing a fix to use a scoped CKS but this does look like debt. Isn't a better fix to reset context keys when hiding/dispose the chat widget?
I don't think those context keys should be applied on the editor at all, they are intended to just be active inside the widget's dom tree.
Code change:
await this.userDataSyncService.resetLocal(); } } catch (error) { <ins> this.logService.error(error); </ins> if (softTurnOffOnError) { <del> this.logService.error(error); </del> this.updateEnablement(false); } else { throw error;

Related discussion:
text: Error while turning off settings sync ! Might happen when turning off settings sync while a sync is happening
Can't repro this anymore.
Code change:
return 1; } <del> if (isSCMViewSeparator(one)) { if (!isSCMHistoryItemGroupTreeElement(other) && !isSCMResourceGroup(other)) { throw new Error('Invalid comparison'); } return 0; } </del> if (isSCMResourceGroup(one)) { <del> if (!isSCMResourceGroup(other)) { throw new Error('Invalid comparison'); } </del> <ins> return isSCMResourceGroup(other) ? 0 : -1; } </ins> <del> return 0; </del> <ins> if (isSCMViewSeparator(one)) { return isSCMResourceGroup(other) ? 1 : -1; </ins> } if (isSCMHistoryItemGroupTreeElement(one)) { <del> if (!isSCMHistoryItemGroupTreeElement(other) && !isSCMResourceGroup(other) && !isSCMViewSeparator(other)) { throw new Error('Invalid comparison'); } return 0; </del> <ins> return isSCMHistoryItemGroupTreeElement(other) ? 0 : 1; </ins> } if (isSCMHistoryItemTreeElement(one)) {

Related discussion:
text: Steps to Reproduce: a directory with Git initialized. "Incoming/Outgoing" section in the SCM pane appear. Could be done by either: Make sure the current branch has an upstream branch, then commit something. Or Set and to . the page. a change to a file. Expected result: the file appears under "Changes" section in SCM pane. Actual result: the "Changes" section doesn't appear in SCM pane. Expected result: the file appears under "Staged changes" section in SCM pane. Actual result: the "Staged changes" section doesn't appear in SCM pane. Happens on Firefox 121.0, Ubuntu 22.04. Doesn't seem to happen on Chromium 120 and WebKitGTK 2.42.3. Happens in GitHub Codespaces: Also happens with code-server: Also happens with OpenVSCode Server insider:
I'm experiencing the same or a very similar issue in latest code-server using Firefox. I can no longer open the repository in source control if there are any incoming/outgoing changes and instead am getting an exception in the browser console without the repository opening. Likely the reason the issue appears slightly differently for me is because I have multiple repositories in source control. For anyone else affected the following settings are making this issue to not occur:
Same here but not consistent: Version: 1.85.1 (user setup) Commit: Date: 2023-12-13T09:49:37.021Z Electron: 25.9.7 ElectronBuildId: Chromium: 114.0.5735.289 18.15.0 V8: 11.4.183.29-electron.0 OS: Windows_NT x64 10.0.
could you please try VS Code Insiders and see if you are still able to reproduce the problem? I have fixed couple of issues in this area and it would be great if you could try Insiders to make sure that this issue is covered by my fixes as well. Thanks!
Tested with OpenVSCode-server insiders, which is rebased on top of commit ("Sanity Bounds for "window.zoomLevel" ( ()") [1]. The issue still exists.
Code change:
return 1; } <del> if (isSCMViewSeparator(one)) { if (!isSCMHistoryItemGroupTreeElement(other) && !isSCMResourceGroup(other)) { throw new Error('Invalid comparison'); } return 0; } </del> if (isSCMResourceGroup(one)) { <del> if (!isSCMResourceGroup(other)) { throw new Error('Invalid comparison'); } </del> <ins> return isSCMResourceGroup(other) ? 0 : -1; } </ins> <del> return 0; </del> <ins> if (isSCMViewSeparator(one)) { return isSCMResourceGroup(other) ? 1 : -1; </ins> } if (isSCMHistoryItemGroupTreeElement(one)) { <del> if (!isSCMHistoryItemGroupTreeElement(other) && !isSCMResourceGroup(other) && !isSCMViewSeparator(other)) { throw new Error('Invalid comparison'); } return 0; </del> <ins> return isSCMHistoryItemGroupTreeElement(other) ? 0 : 1; </ins> } if (isSCMHistoryItemTreeElement(one)) {

Related discussion:
text: code-server doesn't release insider builds, and I don't know how to test insider builds of GitHub codespaces' web UI, so I can't test those. (Off topic, but does GitHub codespaces provide an insider build for web interface by any chance?) [1]:
if you open a GitHub Codespace, you can click on the "Gear" icon in the activity bar, and there is a menu item to switch to VS Code Insiders. You can try that out and let me know if you are still able to reproduce the issue. Thank you!
Thank you. Tested with the GitHub Codespaces + VSCode insiders [1], the issue can still be reproduced. Interestingly, if I change the to and then to again, the "Source control" pane essentially freeze: the "Incoming/Outgoing" section doesn't comeback, and further changes to the working directory is not shown anymore (like, if you add another file, it doesn't show up, even after I click "Refresh" button). [1]
thanks for trying this out. Could you please confirm that this indeed can only be reproduce in Firefox and everything works as expected in a Chromium based browser (ex: Chrome, Edge, etc)? Could you please the developer tools console and see if there are any relevant errors there? Could you also invoke the "Git: Show Git Output" command and send me the contents of it?
Yes. This only happens in Firefox. It doesn't happen in Chromium [1], and Gnome Web (WebKit-based) [2]. <details[1] <preVersion: 1.86.0-insider Commit: Date: 2024-01-23T06:18:07.155Z Browser: Mozilla/5.0 (X11; Linux x8664) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 </pre[2] <preVersion: 1.86.0-insider Commit: Date: 2024-01-23T06:18:07.155Z Browser: Mozilla/5.0 (X11; Ubuntu; Linux x8664) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15 </pre</detailsThere seems to be.
Code change:
return 1; } <del> if (isSCMViewSeparator(one)) { if (!isSCMHistoryItemGroupTreeElement(other) && !isSCMResourceGroup(other)) { throw new Error('Invalid comparison'); } return 0; } </del> if (isSCMResourceGroup(one)) { <del> if (!isSCMResourceGroup(other)) { throw new Error('Invalid comparison'); } </del> <ins> return isSCMResourceGroup(other) ? 0 : -1; } </ins> <del> return 0; </del> <ins> if (isSCMViewSeparator(one)) { return isSCMResourceGroup(other) ? 1 : -1; </ins> } if (isSCMHistoryItemGroupTreeElement(one)) { <del> if (!isSCMHistoryItemGroupTreeElement(other) && !isSCMResourceGroup(other) && !isSCMViewSeparator(other)) { throw new Error('Invalid comparison'); } return 0; </del> <ins> return isSCMHistoryItemGroupTreeElement(other) ? 0 : 1; </ins> } if (isSCMHistoryItemTreeElement(one)) {

Related discussion:
text: As soon as I change to , this error pops up in the brower's console. And it seems to pop up every time I press "Refresh" in the source control pane too. <details<preUncaught (in promise) Error: Invalid comparison compare K K z w F E D C B z updateChildren Cc a promise callbackqueue Cc queue Cc W y fire z y z fire Lb wb reloadLocalUserConfiguration Hb updateValue updateValue Pc Mc b promise callbacktrigger Mc Lc ge y </pre</detailsHere it is. Although, I'm not sure how useful it is. <details<pre2024-01-23 10:40:31.442 [info] Log level: Info 2024-01-23 10:40:31.442 [info] Validating found git in: "git" 2024-01-23 10:40:31.442 [info] Using git "2.43.0" from "git" 2024-01-23 10:40:31.442 [info] git rev-parse --show-toplevel [126ms] 2024-01-23 10:40:31.442 [info] git rev-parse --git-dir --git-common-dir [9ms] 2024-01-23 10:40:31.442 [info] Open repository: /workspaces/core-base 2024-01-23 10:40:31.442 [info] git config --get commit.template [78ms] 2024-01-23 10:40:31.442 [info] git rev-parse --show-toplevel [65ms] 2024-01-23 10:40:31.481 [info] git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) refs/heads/main refs/remotes/main [22ms] 2024-01-23 10:40:31.483 [info] git rev-parse --show-toplevel [5ms] 2024-01-23 10:40:31.501 [warning] ENOENT: no such file or directory,
Code change:
return 1; } <del> if (isSCMViewSeparator(one)) { if (!isSCMHistoryItemGroupTreeElement(other) && !isSCMResourceGroup(other)) { throw new Error('Invalid comparison'); } return 0; } </del> if (isSCMResourceGroup(one)) { <del> if (!isSCMResourceGroup(other)) { throw new Error('Invalid comparison'); } </del> <ins> return isSCMResourceGroup(other) ? 0 : -1; } </ins> <del> return 0; </del> <ins> if (isSCMViewSeparator(one)) { return isSCMResourceGroup(other) ? 1 : -1; </ins> } if (isSCMHistoryItemGroupTreeElement(one)) { <del> if (!isSCMHistoryItemGroupTreeElement(other) && !isSCMResourceGroup(other) && !isSCMViewSeparator(other)) { throw new Error('Invalid comparison'); } return 0; </del> <ins> return isSCMHistoryItemGroupTreeElement(other) ? 0 : 1; </ins> } if (isSCMHistoryItemTreeElement(one)) {

Related discussion:
text: open '/workspaces/core-' 2024-01-23 10:40:31.523 [info] git rev-parse --show-toplevel [5ms] 2024-01-23 10:40:31.523 [info] git rev-parse refs/remotes/origin/main [23ms] 2024-01-23 10:40:31.630 [info] git status -z -uall [89ms] 2024-01-23 10:40:31.631 [info] git rev-parse --show-toplevel [70ms] 2024-01-23 10:40:31.674 [info] git rev-parse --show-toplevel [18ms] 2024-01-23 10:40:31.675 [info] git config --get commit.template [4ms] 2024-01-23 10:40:31.716 [info] git rev-parse --show-toplevel [26ms] 2024-01-23 10:40:31.718 [info] git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) refs/heads/main refs/remotes/main [12ms] 2024-01-23 10:40:31.736 [warning] ENOENT: no such file or directory, open '/workspaces/core-' 2024-01-23 10:40:31.755 [info] git rev-parse refs/remotes/origin/main [20ms] 2024-01-23 10:40:31.784 [info] git merge-base refs/heads/main refs/remotes/origin/main [30ms] 2024-01-23 10:40:31.855 [info] git status -z -uall [84ms] 2024-01-23 10:40:31.863 [info] git rev-list --count --left-right [17ms] 2024-01-23 10:40:33.111 [info] git config --local [138ms] 2024-01-23 10:40:33.
Code change:
return 1; } <del> if (isSCMViewSeparator(one)) { if (!isSCMHistoryItemGroupTreeElement(other) && !isSCMResourceGroup(other)) { throw new Error('Invalid comparison'); } return 0; } </del> if (isSCMResourceGroup(one)) { <del> if (!isSCMResourceGroup(other)) { throw new Error('Invalid comparison'); } </del> <ins> return isSCMResourceGroup(other) ? 0 : -1; } </ins> <del> return 0; </del> <ins> if (isSCMViewSeparator(one)) { return isSCMResourceGroup(other) ? 1 : -1; </ins> } if (isSCMHistoryItemGroupTreeElement(one)) { <del> if (!isSCMHistoryItemGroupTreeElement(other) && !isSCMResourceGroup(other) && !isSCMViewSeparator(other)) { throw new Error('Invalid comparison'); } return 0; </del> <ins> return isSCMHistoryItemGroupTreeElement(other) ? 0 : 1; </ins> } if (isSCMHistoryItemTreeElement(one)) {

Related discussion:
text: 111 [warning] git config failed: Failed to execute git 2024-01-23 10:40:49.678 [info] git config --get commit.template [2ms] 2024-01-23 10:40:49.709 [info] git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) refs/heads/main refs/remotes/main [5ms] 2024-01-23 10:40:49.732 [warning] ENOENT: no such file or directory, open '/workspaces/core-' 2024-01-23 10:40:49.733 [info] git rev-parse refs/remotes/origin/main [1ms] 2024-01-23 10:40:49.768 [info] git status -z -uall [9ms] 2024-01-23 10:40:49.854 [info] git merge-base refs/heads/main refs/remotes/origin/main [2ms] 2024-01-23 10:40:49.873 [info] git rev-list --count --left-right [2ms] 2024-01-23 10:41:41.011 [info] git config --get commit.template [15ms] 2024-01-23 10:41:41.012 [info] git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) refs/heads/main refs/remotes/main [3ms] 2024-01-23 10:41:41.026 [warning] ENOENT: no such file or directory, open '/workspaces/core-' 2024-01-23 10:41:41.029 [info] git rev-parse refs/remotes/origin/main [2ms] 2024-01-23 10:41:41.049 [info] git status -z -uall [7ms] 2024-01-23 10:41:41.
Code change:
return 1; } <del> if (isSCMViewSeparator(one)) { if (!isSCMHistoryItemGroupTreeElement(other) && !isSCMResourceGroup(other)) { throw new Error('Invalid comparison'); } return 0; } </del> if (isSCMResourceGroup(one)) { <del> if (!isSCMResourceGroup(other)) { throw new Error('Invalid comparison'); } </del> <ins> return isSCMResourceGroup(other) ? 0 : -1; } </ins> <del> return 0; </del> <ins> if (isSCMViewSeparator(one)) { return isSCMResourceGroup(other) ? 1 : -1; </ins> } if (isSCMHistoryItemGroupTreeElement(one)) { <del> if (!isSCMHistoryItemGroupTreeElement(other) && !isSCMResourceGroup(other) && !isSCMViewSeparator(other)) { throw new Error('Invalid comparison'); } return 0; </del> <ins> return isSCMHistoryItemGroupTreeElement(other) ? 0 : 1; </ins> } if (isSCMHistoryItemTreeElement(one)) {

Related discussion:
text: 112 [info] git merge-base refs/heads/main refs/remotes/origin/main [2ms] 2024-01-23 10:41:41.131 [info] git rev-list --count --left-right [3ms] </pre</details