text:
Can not save on a Read-Only file. Getting a message - Insufficient permissions. Select 'Retry as Admin' to retry as administrator

VSCode Version: 1.48.0
OS Version:Win 10 Enterprise v1809

Steps to Reproduce:

Open a Read-Only File
Make a change
Save it
On save we get error popup

Insufficient permissions. Select 'Retry as Admin' to retry as administrator

click on Retry as Admin
other error is displayed

Failed to save 'abc.js': Command failed: "Some-PATH\AppData\Local\Programs\Microsoft VS Code\bin\code.cmd" --file-write

NOTE- It was working on previous versions of VS code. There was an option to "Overwrite".

Does this issue occur when all extensions are disabled?: Yes/No

/duplicate https://github.com/microsoft/vscode/issues/104822

Can I get the original Issue ID or link?

I think there is a confusion about Read-only file owned by the current user vs. ownership (which user owns the file) issues. The file can be owned by the same user but may be read-only, in such situations offering an action to Retry as Administrator does not make sense. The files are read-only in many VCSs like PErforce when the file is not checked out. BTW this started happening since very recent update.

The issue was fixed after an update this morning. 😃

authors: bpasero mayankrockss sandipchitale


text:
Typescript Intellisense & Automatic Type Acquisition doesn't work

VSCode Version:    1.51.1
OS Version:             macOS 11.0.1  x64

Steps to Reproduce:

clone https://github.com/cgarrovillo/broken-ts-intellisense
try to get intellisense to trigger in the index.ts & index.js files.  (like app.listen() or something ).  You'll notice that IntelliSense works for index.js but not index.ts

Does this issue occur when all extensions are disabled?: Yes

Changing the global property "typescript.tsdk"  doesn't fix it.
Switching to use the project workspace's "typescript.tsdk"  by installing typescript to the project's node/modules folder  doesn't fix it.
VSCode also warned me about needing to install @types through npm (@types/node) which was weird as I never had to do this since Automatic Type Acquisition does it for me automatically. That leads me to believe it also doesn't work.
I assumed it was an issue with nvm, but manually pointing to npm using the "typescript.npm" property doesn't fix it.

Automatic type acquisition is only used for JavaScript. For TypeScript, you need to explicitly install the types (they are also used by tsc)

Automatic type acquisition is only used for JavaScript. For TypeScript, you need to explicitly install the types (they are also used by tsc)

Cool. Can you tell me why there seem to be consistent problems with typescript intellisense?
A quick google search yields lots of results, many of which just end up having the issue prematurely closed while still being unsolved.

As I explained, the behavior you described is by-design. What still doesn't work?

IntelliSense suggestions / content assist / code hinting/ code completion (whatever proper term is)

Insider builds yielded no changes,  and neither does  removing typescript.tsdk properties from settings.json

This is also consistent with tsc.
const http = require('http');

Is an untyped import in TS files. If you hover over http, you will see it listed as any.
To have a type checked import use import http = require('http') (or import * as http from 'http')

source: gharchive/issue

authors: cgarrovillo mjbvz

repo: microsoft/vscode

license: MIT

license_type: permissive

license_source: github-api


text:
Right click menu closes on right click release

Issue Type: Bug
I am using VS Code on ubuntu 20.04.1LTS 5.8.0-43-generic, x86_64.
VS Code is installed using deb file, not snap.
I am developing in C++ (linux-gcc-arm).
Problem:
In the editor window, when I right click (to find all references, or whatever), the right click menu is only shown for as long as I hold the right button down - releasing the button behaves as if I had left clicked whichever menu item the pointer is currently over.
I have confirmed behaviour is normal outside VS Code.
I have read of a similar issues with GitLense, so I have disabled that extension, which had no effect.
VS Code version: Code 1.53.2 (622cb03f7e070a9670c94bae1a45d78d7181fbd4, 2021-02-11T11:48:44.518Z)
OS version: Linux x64 5.8.0-43-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-10810U CPU @ 1.10GHz (12 x 3291)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
1, 1, 1

Memory (System)
30.97GB (14.66GB free)

Process Argv
--no-sandbox --unity-launch --crash-reporter-id b83f6678-03cd-4f96-a387-0f2fce063f0e

Screen Reader
no

VM
0%

DESKTOP_SESSION
ubuntu

XDG_CURRENT_DESKTOP
Unity

XDG_SESSION_DESKTOP
ubuntu

XDG_SESSION_TYPE
x11

Extensions (25)

Extension
Author (truncated)
Version

bracket-pair-colorizer-2
Coe
0.2.0

systemd-unit-file
coo
1.0.6

vscode-great-icons
emm
2.1.64

shell-format
fox
7.0.1

gc-excelviewer
Gra
3.0.41

vscode-back-forward-button
gri
0.1.4

easy-icons
jam
0.3.1

theme-dark-plus-contrast
k3a
0.1.101

ruby-rubocop
mis
0.8.5

prettify-json
moh
0.0.3

vscode-docker
ms-
1.9.1

python
ms-
2021.1.502429796

jupyter
ms-
2020.12.414227025

remote-containers
ms-
0.158.0

cpptools
ms-
1.2.0

deepdark-material
Nim
3.3.0

ruby
reb
0.28.1

c-cpp-definition-generator
rei
0.0.2

code-spell-checker
str
1.10.2

sort-lines
Tyr
1.9.0

vscode-icons
vsc
11.1.0

debug
web
0.25.0

vscode-ruby
win
0.28.0

linkerscript
Zix
1.0.1

vscode-proto3
zxh
0.5.3

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vstry914:30256638
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30251590

This might be a duplicate of https://github.com/microsoft/vscode/issues/113175.

Yes, it looks like a duplicate - should I just close this one or is there some way to mark it as a duplicate?

authors: cmsolomon jayschwa


text:
Repeated messages: No source control provider registered

open SCM view
reload the workbench
the placeholder message that shows before extensions are ready is repeated a few times

https://user-images.githubusercontent.com/1794099/108714128-71deef80-7519-11eb-897d-c9927ef4023d.mov

This is a BIG whoopsie.

authors: joaomoreno jrieken


text:
gphp.exe opens itself on vscode

I disabled all my extensions but gphp.exe opens itself too many times while I'm working on vscode

vscode doesn't touch gphp.exe?

authors: Tyriar moaazseven


text:
Ability to collapse and expand all files in search results

It may help to find what I am looking for when got results in many files.
Thank you!

Try focusing on one of the file headers in the results then pressing Ctrl+LeftArrow (probably different modifier on macOS).

Thyere are two commands (unbound to any keybinding) you can use from the Command Palette or make your own keybinding:
Search: Expand All search.action.expandSearchResults
Search: Collapse All: search.action.collapseSearchResults

Yes, and the expand/collapse actions are in the search view toolbar. Thanks @gjsjohnmurray and @ArturoDent

Found it,
Thanks

authors: ArturoDent gjsjohnmurray hilel roblourens


text:
Native Interactive - Debugging a cell causes a second copy of the target file to open.

Open a script with cells
Debug the first cell

A second copy of the debugged file is opened on top of the IW. Closing the extra will just open it again on next step.

Duplicate of https://github.com/microsoft/vscode/issues/127792

authors: greazer joyceerhl


text:
GUI broken for manual settings sync

Does this issue occur when all extensions are disabled?: Yes/No
Yes

VS Code Version: 1.58.2
OS Version: Windows_NT x64 10.0.18363

Steps to Reproduce:

Settings sync is already enabled on one setup
Change some settings on a second setup
Turn on settings sync on second setup
In the appearing conflict window select merge manually

Effect:

(This image is taken in my "normal" editor, but it also happens without any extensions)

This is coming from the diff editor.
@alexdima Any insights why this can happen?

@sandy081 Yes, the inline diff editor still consists of two editors, one on the left, with a very small width.
I have seen something similar in https://github.com/microsoft/vscode/issues/118461 . There I simply opted to not show the "Open Workspace" button in the diff editor.

authors: AlexanderLanin alexdima sandy081


text:
Cannot double click code-insiders to launch on Linux (zip archive)

This drives me nuts during endgame weeks... I know Linux is rough and wants me to use terminals, but this seems like we can & need to do something to resolve it.

Never seen or heard about this issue before, maybe Electron changed something recently how the executable it created? 🤔

I wasn't able to click the binary for quite some time now, maybe a year?

I might not be remembering right then, I've mainly been on WSL for a long time now.

authors: Tyriar bpasero


text:
Output is showing Request textDocument/codeAction failed.

[Error - 6:46:41 pm] Request textDocument/codeAction failed.
Message: Internal error, please look at the server's logs.
Code: -32603

Hi @gjsjohnmurray ,
It looks like LanguageTool Client is my output channel. I have attached a screenshot of the same below.

/causedByExtension


text:
Extension Api : How to change the hover message

connection.onHover((params: TextDocumentPositionParams): Hover|undefined => {
  let doc : MarkedString[] = ["# Title","### description"]
  return {
    contents: doc
  }
}

I expect to translate and replace the hover hint content.

Webstrom

We currently do not allow extensions to alter the results of other extensions.

need！

upvote, this is a good idea.

upvote, this is a good idea.

ファボ、役に立つですね、お願いします。

Why not add such an extremely fantastic feature as soon as possible?

Impressionnant

we need!

we need!

I need need

need it

I need！

I maintain the translation plugin Comment Translate, I can't replace the hover content of other plugins, but I can get their content and translate it.

I maintain the translation plugin Comment Translate, We can't replace the hover content of other extensions, but we can get their content and translate it.

@intellism  Glad you can implement this function

I need！

authors: 15814596022 TaiAiAc a1730214056 cai1994214 hyroge intellism jrieken liyanana mrzhouxl mtrucc pomopopo yao83472709 z-juln


text:
Filtering snippets in IntelliSense

We have written the needed data into your clipboard because it was too large to send. Please paste.
Issue Type: Bug
Filtering snippets in Python (.py) and notebook (.ipynb) editors with the IntelliSense popup has become over-sensitive to the '.' (dot) character in snippet prefixes. Typing a '.' appears to break the snippet navigation and hides the IntelliSense popup, although it is possible to get it back by typing Ctrl+Space.
I believe this is due to a change in snippet filtering behaviour starting from version 1.63(?)
In my snippet extension (analytic-signal.snippets-plotly) I use '.' to organize a hierarchy of snippets. This was working very smoothly - typing prefix elements separated by '.' allowed you to progressively navigate a snippet hierarchy and simultaneously see the filtered results in the IntelliSense popup.
Note that snippet filtering with the Insert Snippet command still works as expected.
VS Code version: Code 1.63.2 (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:37:28.172Z)
OS version: Darwin x64 21.1.0
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz (12 x 2900)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
1, 2, 2

Memory (System)
32.00GB (8.42GB free)

Process Argv
--crash-reporter-id a9c98a1c-f474-4ebb-9a4d-d2a82c17d6b6

Screen Reader
no

VM
0%

Extensions (22)

Extension
Author (truncated)
Version

essential-data-science-pack
ana
1.0.2

preview-html
ana
1.0.0

preview-jp2
ana
0.0.4

preview-mp4
ana
0.0.1

preview-pdf
ana
1.0.0

preview-tiff
ana
1.0.1

snippets-geojson
ana
1.0.0

snippets-plotly
ana
1.0.3

vscode-azureresourcegroups
ms-
0.4.0

vscode-azurestorage
ms-
0.12.1

vscode-azurevirtualmachines
ms-
0.4.1

vscode-dotnet-runtime
ms-
1.5.0

python
ms-
2021.12.1559732655

vscode-pylance
ms-
2021.12.2

jupyter
ms-
2021.11.1001550889

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.4

remote-ssh
ms-
0.70.0

remote-ssh-edit
ms-
0.70.0

azure-account
ms-
0.9.11

azurerm-vscode-tools
msa
0.15.5

vscode-sanddance
msr
3.3.0

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
vscop804cf:30404767
vs360:30404995
vsrem710cf:30416617
py55gd98cf:30411515
vscexrecpromp3c:30407761

Please attach a sample snippet and a code sample in which this reproduces

See the following for a set of snippets that follow a '.' separated hierarchy. They are set up for python (where I observe the issue) and json by way of comparison (where there is no issue).
To reproduce the problem:

create a new python code file (.py or .ipynb)
start typing the snippet prefixes
the IntellisSense popup appears
as soon as you type '.' the popup disappears

For comparison if you do the same thing with a (.json) file the IntelliSense popup stays up and continues to filter as you continue to type the prefix. This is how the python experience worked until recently (before 1.63 I believe).
{
// Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
// Placeholders with the same ids are connected.
// Example:
// "Print to console": {
// 	"scope": "javascript,typescript",
// 	"prefix": "log",
// 	"body": [
// 		"console.log('$1');",
// 		"$2"
// 	],
// 	"description": "Log output to console"
// }
"Example 1": {
"scope": "python,json",
"prefix": "px.fig.histogram",
"body": [
"$1",
"$0"
],
"description": "Example 1"
},
"Example 2": {
"scope": "python,json",
"prefix": "px.fig.scatter",
"body": [
"$1",
"$0"
],
"description": "Example 2"
},
"Example 3": {
"scope": "python,json",
"prefix": "px.read.csv",
"body": [
"$1",
"$0"
],
"description": "Example 3"
},
"Example 4": {
"scope": "python,json",
"prefix": "px.read.json",
"body": [
"$1",
"$0"
],
"description": "Example 4"
}
}

This is a consequence of https://github.com/microsoft/vscode/issues/136611. When completion trigger characters are typed (like . for member completion) then snippets must start with that. Unsure if that can be relaxed to containment

I had quite a few snippets organised in a hierarchy using a dot (.) separator. I have now changed them all to use a dash (-) instead. Not quite so nice but at least the navigation/filtering now works as expected.


text:
Copying content in problem hover is extremely painful

I was trying to copying a new setting in the problems hover and it was extremely painful to do so:
https://user-images.githubusercontent.com/35271042/148260276-749293ec-9c9b-461b-8875-1fbaf3733c67.mp4

This is editor hover and hence assigning to @alexdima

FWIW this works fine for me on Windows.

authors: Tyriar misolori sandy081


text:
text on scroll area

The issue is that when I resize the page to see it along with other content, I can see some text over the scroll page area. I think it wasn't supposed to work like this, that's why i'm reporting it here.

.

The scrollbar is intentionally transparent. We have a color editorOverviewRuler.background that is used only when the minimap is enabled. We could potentially use it always if set to allow defining opaque scrollbars.

Oh. Thank you for explaining :)
In this case, sorry for bothering!
Best,
Alvaro
Sent from my Galaxy
-------- Original message --------
From: Alexandru Dima @.>
Date: 4/27/22 17:29 (GMT-03:00)
To: microsoft/vscode @.>
Cc: Alvin @.>, Author @.>
Subject: Re: [microsoft/vscode] text on scroll area (Issue #148150)
The scrollbar is intentionally transparent. We have a color editorOverviewRuler.background that is used only when the minimap is enabled. We could potentially use it always if set to allow defining opaque scrollbars.
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode/issues/148150#issuecomment-1111450600, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYTOHLIO4DS2PMRJBJJPEHDVHGPRXANCNFSM5ULZ7UUA.
You are receiving this because you authored the thread.Message ID: @.***>

To verify, configure the color editorOverviewRuler.background and that will be applied and will make the overview ruler opaque. e.g.
"workbench.colorCustomizations": {
	"editorOverviewRuler.background": "#ff0000ff",
}

authors: alexdima gkalvarog


text:
New modal is not supporting keyboard actions (MacOS)

Issue Type: Bug
New modal that for example pop's up when closing unsaved files doesn't support selecting other options with keyboards (with TAB and SPACE for instance).
This certainly an accessibility issue but as well an issue for ergonomy that forces me to use mouse way too frequently.
VS Code version: Code 1.68.1 (Universal) (30d9c6cd9483b2cc586687151bcbcd635f373630, 2022-06-14T12:52:13.188Z)
OS version: Darwin x64 21.5.0
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (1.36GB free)

Process Argv
--crash-reporter-id be162a70-9f3c-40b0-a4de-3ddc6d6cbe74

Screen Reader
no

VM
0%

Extensions (10)

Extension
Author (truncated)
Version

atlascode
atl
2.10.12

gitlens
eam
12.1.1

vscode-cfn-lint
kdd
0.21.0

python
ms-
2022.10.0

vscode-pylance
ms-
2022.7.20

jupyter
ms-
2022.5.1001601848

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.8

makefile-tools
ms-
0.5.0

vscode-yaml
red
1.8.0

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
vsclangdf:30486550

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.69.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!

To clarify: VSCode is not doing anything special, we do not read this setting, nor can we change how native dialogs work. We leverage Electron: https://github.com/electron/electron

authors: VSCodeTriageBot bpasero ldeflandre


text:
Task Quick Pick

https://dev.azure.com/monacotools/Monaco/_build/results?buildId=178862&view=logs&j=e5bbec05-0f06-558d-ebe9-5973d52063d2&t=a671546b-2469-5fb1-b2c9-08e628dcad6d&l=129
1) VSCode Smoke Tests (Web)
       Task
         Task Quick Pick
           "after each" hook for "hide property - undefined":
     Error: Timeout: get elements '#terminal .terminal-wrapper' after 20 seconds.
      at Code.poll (/__w/1/s/test/automation/src/code.ts:256:11)
      at Code.waitForElements (/__w/1/s/test/automation/src/code.ts:205:10)
      at Terminal.runCommand (/__w/1/s/test/automation/src/terminal.ts:96:5)
      at Context.<anonymous> (src/areas/task/task-quick-pick.test.ts:23:4)

Similar https://github.com/microsoft/vscode/issues/155573, maybe the new tasks smoke tests are flaky.

Another failed pipeline - https://dev.azure.com/monacotools/Monaco/_build/results?buildId=178883&view=logs&j=4801dce2-64f3-53d6-b366-d49a1977c639&t=525606ab-8bc1-59bd-2d29-e98f94fa71fe

Same failure just a different target
/duplicate https://github.com/microsoft/vscode/issues/155573

authors: Tyriar bpasero lszomoru


text:
runTests from  @vscode/test-electron modifies package.json only when the application name is "latex-workshop"

Version: 1.71.0-insider (Universal)
Commit: 73fd3f11032e7b83c2ae011b5516e6ddd19e3db2
Date: 2022-08-05T07:38:07.005Z
Electron: 19.0.11
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Darwin arm64 20.6.0
Sandboxed: Yes
Steps to Reproduce:

Clone https://github.com/tamuratak/issue-vscode-modifies-packagejson
Run npm i and npm run compile and npm run test
The test fails and package.json is modified. "__metadata": {...} is added.

I am one of LaTeX Workshop's maintainers, https://github.com/James-Yu/LaTeX-Workshop, a VS Code extension.
When I run the extension's test locally and it fails, package.json is modified. To investigate the issue, I have created a minimal working example. The example consists of an empty implementation of the extension and a test that always fails.
The most interesting part of the issue is that, if I change "name": "latex-workshop" to "name": "lalalatex-workshop" at package.json, package.json is NOT modified.  If I change  the name to gitlens, and change the publisher to eamodio, package.json IS modified again!!
A similar issue is reported at https://github.com/microsoft/vscode/issues/148975#issuecomment-1130298298.

/duplicate


text:
Virtual desktop not maintained on restart

Type: Bug
Have multiple virtual desktops on windows 10, with several VScode open on different desktops.
If VScode wants to update and restart, or Windows update causes a restarts, upon restarting VScode it remembers the windows that were open and relaunches them all on the current virtual desktop rather than the one they were on before.
Chrome used to suffer from this, but it has been addressed, meaning there should be nothing in the way of VScode from being able to address this too.
VS Code version: Code 1.70.0 (da76f93349a72022ca4670c1b84860304616aaa2, 2022-08-04T04:38:16.462Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Connection to 'ssh-remote+bkvm1.eng.stormagic.com' could not be established
Connection to 'ssh-remote+bkvm1.eng.stormagic.com' could not be established
Connection to 'ssh-remote+bkvm1.eng.stormagic.com' could not be established

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz (8 x 4008)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.96GB (15.27GB free)

Process Argv
--crash-reporter-id 3616ca5f-95ae-48ba-9c39-73166c030edf

Screen Reader
no

VM
40%

Connection to 'ssh-remote+bkvm1.eng.stormagic.com' could not be established
Connection to 'ssh-remote+bkvm1.eng.stormagic.com' could not be established
Connection to 'ssh-remote+bkvm1.eng.stormagic.com' could not be established
Extensions (8)

Extension
Author (truncated)
Version

path-intellisense
chr
2.8.1

vscode-eslint
dba
2.2.6

prettier-vscode
esb
9.5.0

go
gol
0.35.1

vscode-docker
ms-
1.22.1

remote-containers
ms-
0.241.3

remote-ssh
ms-
0.84.0

remote-ssh-edit
ms-
0.80.0

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
pylanb8912cf:30529770
vsclangdf:30486550
c4g48928:30535728
hb751961:30541207
dsvsc012:30540252

/duplicate of #146915

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 similar existing issues. See also our issue reporting guidelines.
Happy Coding!


text:
Sticky scroll header covers up minimap

The Sticky scroll bar extends all the way to the right edge of the window which means it covers up the minimap and scrollbar. I've found this very disorienting multiple times when I go to click the top of the minimap to jump to the top of the file only to realize I've clicked below the sticky header and not actually reached the top.
Same file scrolled to a point with and without the sticky scroll headers:

I would expect the sticky headers to either

behave like the breadcrumb header and actually "push" the top of the scrollbar down (could get annoying seeing the minimap "reflow"
only extend to the inner/left edge of the minimap/scrollbar not the edge of the window itself so the full minimap/scroll bar is always visible

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.70.1
OS Version: Kubuntu 20.04

Steps to Reproduce:

Turn on editor.experimental.stickyScroll.enabled
Open or create a long file with some nested blocks to trigger the sticky scroll headers
Turn on the minimap next to the scrollbar
Scroll down so there are some headers "Stuck"

/duplicate and already fixed in Insiders

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 similar existing issues. See also our issue reporting guidelines.
Happy Coding!

authors: VSCodeTriageBot gjsjohnmurray jjspace


text:
Formatting HTML inserts newline before end-style tag

Type: Bug
Press Shift-Option-F (on Mac) to format an HTML file containing this:
<!doctype html>
<html>
    <head>
        <style>
            p {
                color: black
            }
        </style>
    </head>
</html>

I get this:
<!doctype html>
<html>
    <head>
        <style>
            p {
                color: black
            }

        </style>
    </head>
</html>

Happens despite using the setting "html.format.extraLiners": "".
My full settings:
{
    "editor.codeLens": false,
    "editor.folding": false,
    "editor.quickSuggestions": {
        "comments": "off",
        "other": "off",
        "strings": "off"
    },
    "explorer.openEditors.visible": 0,
    "files.insertFinalNewline": true,
    "git.autofetch": true,
    "go.editorContextMenuCommands": {
        "testAtCursor": true,
        "testFile": true,
        "testPackage": true
    },
    "go.enableCodeLens": {
        "references": false,
        "runtest": false
    },
    "go.formatTool": "goimports",
    "go.toolsManagement.autoUpdate": true,
    "gopls": {
        "ui.semanticTokens": true
    },
    "html.format.extraLiners": "",
    "html.format.indentHandlebars": true,
    "html.format.indentInnerHtml": true,
    "html.format.wrapLineLength": 0,
    "workbench.editor.untitled.hint": "hidden",
    "workbench.startupEditor": "newUntitledFile"
}

VS Code version: Code 1.70.2 (e4503b30fc78200f846c62cf8091b76ff5547662, 2022-08-16T05:36:37.829Z)
OS version: Darwin x64 21.6.0
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7600K CPU @ 3.80GHz (4 x 3800)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
1, 1, 1

Memory (System)
16.00GB (0.50GB free)

Process Argv
. --crash-reporter-id eb1623a8-9d11-4cf3-a88f-63713e940c9e

Screen Reader
no

VM
0%

Extensions (7)

Extension
Author (truncated)
Version

gitignore
cod
0.9.0

githistory
don
0.6.19

go
gol
0.35.2

python
ms-
2022.12.1

vscode-pylance
ms-
2022.8.40

fish-vscode
sky
0.2.1

gitblame
wad
9.0.1

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
pylanb8912:30545647
vsclangdc:30486549
c4g48928:30535728
hb751961:30553087
dsvsc012:30540252
azure-dev_surveyone:30548225
i497e931:30553904

duplicate of https://github.com/microsoft/vscode/issues/156639

authors: aeschli willfaught


text:
Defer showing 'Resuming edit session' progress indicator till remote is resolved

    So can't you wait for the workspace to be resolved, then show the status bar item if there is an edit session to resume?

Originally posted by @roblourens in https://github.com/microsoft/vscode/issues/161408#issuecomment-1260198636

If you specifically want to wait for the remote, then I think this what you want https://github.com/microsoft/vscode/blob/4c3c06f46d48f63a79a0f734ed45a8a0b8d28cde/src/vs/workbench/services/remote/common/remoteAgentService.ts#L29
I don't know what your code looks like but maybe there is a way to do it in a more generic way, like wait until you can talk to your service and know for sure whether there is an edit session, then show the status bar itemm.

Actually, I'm not sure whether this is a result of some of the testing I've been doing or whether it's always like this, but I see the "Resuming edit session" status bar item in every window I open until the window has fully loaded, and these workspaces have never been used with edit sessions.

Verified this for remote-ssh. Are there any other remote scenarios to verify?

That should be sufficient. All other first party remote scenarios: Codespaces, WSL, Containers, Tunnels

authors: bhavyaus joyceerhl roblourens


text:
Can't open some CPU profiles with the builtin flame chart editor

Testing #164476

2022-10-26 09:06:11.198 [error] TypeError: Cannot read properties of undefined (reading 'selfTime')
    at e.buildModel (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/ms-vscode.vscode-js-profile-table/out/extension.js:1:37873)
    at e.CpuProfileEditorProvider.openCustomDocument (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/ms-vscode.vscode-js-profile-table/out/extension.js:1:34838)
    at f.$createCustomDocument (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:94:194986)

renderer-profile-1666722014345.cpuprofile.zip

I say "some" profiles because I see some that were apparently stored yesterday that I can open. But today now that I'm looking in the right place for the logs, I've only managed to produce several .cpuProfiles that all show this error when opened.

@roblourens where exactly does the file come from? The renderer-profile-prefix doesn't look like an autogenerated one

Am I not looking at the right thing? I see
2022-10-26 09:54:52.147 [info] [perf] stored profile to DISK '/tmp/renderer-profile-1666803292101.cpuprofile' fc0d1267-d194-4c27-9b80-cdba8250f123 in the main log, and when I open that I get the same error.

@roblourens Are you sure that you are on latest? That message used to be printed in the main-log but got removed a couple of days ago (https://github.com/microsoft/vscode/commit/fec87f38cbd82f6603a44cf1686c54c3f08ffd73). Now the message is printed in the renderer log (it confusingly starts with exthost which will be fixed tomorrow)

it might be that the analysis (to find the heavy samples) mutates the actual profile but with latest insiders that shouldn't matter anymore

Hm. I'm using the snap on linux, I thought I'd checked that it had actually updated, but must have been out of date, sorry. Today I have the latest, and I tried the scenario again. Got a few profiles like /tmp/renderer-397b7e.cpuprofile, and can open all of them in vscode

authors: jrieken roblourens


text:
Merge Editor does not automatically resolve identical changes

Type: Bug
When both Incoming and Current contain identical change, Merge Editor still offers manual conflict resolution instead of resolving it automatically by default:

Merge Editor State JSON:
{
    "languageId": "plaintext",
    "base": "A\r\nB\r\n",
    "input1": "A\r\nC\r\n",
    "input2": "A\r\nC\r\n",
    "result": "A\r\nB\r\n",
    "initialResult": "A\r\nB\r\n"
}

VS Code version: Code 1.73.1 (6261075646f055b99068d3688932416f2346dd3b, 2022-11-09T04:27:29.066Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: No
Remote OS version: Linux x64 5.15.74.2-microsoft-standard-WSL2

/duplicate This is fixed in the latest insider build.

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 similar existing issues. See also our issue reporting guidelines.
Happy Coding!

I just tried with Code Insiders 1.74.0 c87fa19 and the same issue happens when Merge Editor is started from the command line.

authors: VSCodeTriageBot dslijepcevic hediet


text:
VS Code does not show changes in the file in gutter for one file

Type: Bug
Language: JS, Typescript, React.
Project folder is opened in VS Code.
One of the files is marked as modified (4, M) in the explorer panel, and when I change this file the counter increases.
But there are no lines marked as changed in gutter for this file.
git status and git diff shows the changes in this file. Moreover, other IDEs works as expected
For all other files it is not reproducible.
VS Code version: Code 1.74.0 (5235c6bb189b60b01b1f49062f4ffa42384f8c91, 2022-12-05T16:38:16.075Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 x 2995)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
31.50GB (4.22GB free)

Process Argv
D:\supplyon\supplyon-sourcing-frontend --crash-reporter-id cc6ba7c9-9ed6-4213-a88f-295d9e17b846

Screen Reader
no

VM
0%

Extensions (14)

Extension
Author (truncated)
Version

npm-intellisense
chr
1.4.3

doxdocgen
csc
1.4.0

vscode-markdownlint
Dav
0.48.1

vscode-eslint
dba
2.2.6

gitlens
eam
13.1.1

vscode-firefox-debug
fir
2.9.8

intellij-idea-keybindings
k--
1.5.4

vscode-language-babel
mgm
0.0.36

remote-ssh
ms-
0.94.0

remote-wsl
ms-
0.72.0

remote-explorer
ms-
0.0.3

vscode-typescript-next
ms-
5.0.202212110

vscode-react-native
msj
1.10.0

open-in-browser
tec
2.0.0

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vscaat:30438848
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyonecf:30548226
pyindex848cf:30577861
nodejswelcome1cf:30587006
2e4cg342:30602488
gswce1:30612156
iaj6b796:30613358
dbltrim-noruby:30604474
f6dab269:30613381
fim-prod:30623723

I'm having the same issue but it affects an entire project, not a single file. When I modify any of the files in the project the git tab sees the changes but the explorer won't change the colour of the file and the gutter won't reflect the changes.
No symlinks in the project as far as I can see. I've tried removing basically every file in the project to see if one was causing this problem, but the explorer never reflects any changes.
The current version of Insiders does work well with that same project.

@GraninNikita, would you be able to create a recording (https://gifcap.dev) of the issue so that I can further investigate it?
@albireox, the code that is currently available in Insiders, will be release to Stable towards the end of this month.

Unfortunately at some point it randomly started working again with the current stable version, and I haven't seen the problem again, so I cannot provide more details at this point.

Hey @lszomoru, this issue might need further attention.
@GraninNikita, you can help us out by closing this issue if the problem no longer exists, or adding more information.

authors: GraninNikita VSCodeTriageBot albireox lszomoru


text:
Tunnel not working on arm64: server component 404s

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: Visual Studio Code CLI 1.74.3
OS Version: Microsoft Windows [Version 10.0.22621.963] (Windows/ARM64)

Steps to Reproduce:

Download https://az764295.vo.msecnd.net/stable/97dec172d3256f8ca4bfb2143f3f76b503ca0534/vscode_cli_win32_arm64_cli.zip

unzip code.exe

Run code.exe tunnel

Go through device code authentication

Connect to the device in VS Code's remote explorer

On the CLI side, observe:
[2023-01-20 14:46:04] info [tunnels::connections::relay_tunnel_host] Opened new client on channel 2
[2023-01-20 14:46:04] info [rpc.0] Checking C:\Users\me/.vscode-cli\server-stable\.97dec172d3256f8ca4bfb2143f3f76b503ca0534.log and C:\Users\me/.vscode-cli\server-stable\.97dec172d3256f8ca4bfb2143f3f76b503ca0534.pid for a running server...
[2023-01-20 14:46:05] warn [rpc.0] error handling call: StatusError(StatusError { url: "https://update.code.visualstudio.com/commit:97dec172d3256f8ca4bfb2143f3f76b503ca0534/server-win32-arm64/stable", status_code: 404, body: "Not Found" })
[2023-01-20 14:46:05] info [rpc.0] Disposed of connection to running server.
[... this repeats a couple of times ...]

Indeed, https://update.code.visualstudio.com/commit:97dec172d3256f8ca4bfb2143f3f76b503ca0534/server-win32-arm64/stable seems not to be pointing to anything that can be found.

Download https://az764295.vo.msecnd.net/stable/97dec172d3256f8ca4bfb2143f3f76b503ca0534/vscode_cli_win32_arm64_cli.zip

Note that everything works splendidly if replacing arm64 with x64 in this URL. Then the server is found and the connection succeeds.


text:
Conditionally enable or activate extensions by context

Problem
I operate in a mixed Deno & node.js/browser typescript environment, but have to manually toggle the deno extension on and off based on the context/files/folders i'm working in.
Discussion
Could there be such an API so as to programatically allow me to toggle an extension on and off or activate/deactivate the extension based on the file I'm in?
hypothetical use:
// .vscode/settings.json
{
  "deno.enable": true,
   // ...snip...
  editor.extensions.editor.activationFilemap: {
    // Record<ExtensionName, ListOfModulesToActivateExtension>
    deno: ["./src/deno/**", "foo.ts"]
  }
}

or similar. Then, when opening foo.ts the deno extension is active, but if I open src/browser/index.ts, the deno extension for all intents and purposes is disabled.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

authors: VSCodeTriageBot cdaringe


text:
Slow and glitchy

Type: Bug
Even basic operations like scroll, opeining a file too are very slow and glitchy.  Scrolling is not aatall smooth. and we scroll fast theme is not applied towards the end
VS Code version: Code 1.76.2 (Universal) (ee2b180d582a7f601fa6ecfdad8d9fd269ab1884, 2023-03-14T17:54:09.061Z)
OS version: Darwin x64 21.6.0
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
43, 28, 20

Memory (System)
16.00GB (0.37GB free)

Process Argv
--crash-reporter-id 07170a90-4aac-45c2-b0e6-193a9832ded3

Screen Reader
no

VM
0%

Extensions (4)

Extension
Author (truncated)
Version

vscode-eslint
dba
2.4.0

gitlens
eam
13.4.0

code-spell-checker
str
2.20.3

ReactSnippets
xab
2.4.0

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscoreces:30445986
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vsccc:30610678
nodejswelcome1:30587005
282f8724:30602487
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
2i9eh265:30646982
6233i204:30672705
vsccsb:30677849
pythonb192cf:30669361
azdwalk:30687957
pythonms35:30686772

/needsMoreInfo
Please use this guide to provide more information: https://github.com/Microsoft/vscode/wiki/Performance-Issues. Thanks.

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

authors: VSCodeTriageBot jrieken karishma-mhatre


text:
Code editor  desynchronized in Java

Type: Bug
Often, editor with java seems to be desynchronized with code, errors aren't shown.
Java, maven project
VS Code version: Code 1.77.0 (7f329fe6c66b0f86ae1574c2911b681ad5a45d63, 2023-03-29T10:05:35.165Z)
OS version: Linux x64 5.15.0-69-generic
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 1700)

GPU Status
2d_canvas: unavailable_softwarecanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: disabled_softwaremultiple_raster_threads: enabled_onopengl: disabled_offrasterization: disabled_softwareraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: disabled_softwarevideo_encode: disabled_softwarevulkan: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_softwarewebgpu: disabled_off

Load (avg)
1, 2, 2

Memory (System)
15.39GB (9.14GB free)

Process Argv
--unity-launch --crash-reporter-id 0687bad5-4ad1-429f-8c09-0d432bbed7b0

Screen Reader
no

VM
0%

DESKTOP_SESSION
ubuntu

XDG_CURRENT_DESKTOP
Unity

XDG_SESSION_DESKTOP
ubuntu

XDG_SESSION_TYPE
x11

Extensions (20)

Extension
Author (truncated)
Version

vscode-asana
bro
0.0.2

AndroidLauncher
Dan
0.0.7

maven-dependency-explorer
dhr
1.0.13

githistory
don
0.6.20

git-project-manager
fel
1.8.2

copilot
Git
1.78.9758

junitgenerator
liv
0.0.2

Kotlin
mat
1.7.1

vscode-language-pack-fr
MS-
1.77.2023032909

makefile-tools
ms-
0.6.0

fabric8-analytics
red
0.3.6

java
red
1.16.0

intellicode-api-usage-examples
Vis
0.2.7

vscodeintellicode
Vis
1.2.30

vscode-gradle
vsc
3.12.7

vscode-java-debug
vsc
0.49.1

vscode-java-dependency
vsc
0.21.2

vscode-java-pack
vsc
0.25.10

vscode-java-test
vsc
0.38.2

vscode-maven
vsc
0.41.0

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

authors: VSCodeTriageBot realjench


text:
VS Code Buffering Issue when Printing Outputs in Jupyter Notebooks

Does this issue occur when all extensions are disabled?: Not sure (need extensions to use Jupyter)

VS Code Version: 1.78.2
OS Version: Windows 11 Enterprise 22H2
Using Jupyter Notebooks in VS Code
Launching VS Code from WSL2 Ubuntu 18.04 terminal
Connecting Jupyter Notebook with conda environment (although issue seems to repro without conda)
Jupyter extension v2023.4.10112418018

Steps to Reproduce:

Open VS code from WSL2 with code . (where conda environments are already initialized)
Create a new Jupyter Notebook in VS Code
Connect the Jupyter Notebook to a conda environment as the python kernel (select Kernel >> Python Environments >> conda environment)
Populate the first python cell of the jupyter notebook with the following code:# Prompt the user 10 times (0-9 times) and ask them to enter the answer number
# this will then print the question number and answer number together
for question_num in range(0, 10):
    answer_num = input("Enter the Answer Number:")
    print(f"Question Num = #{question_num}; Answer Num = #{answer_num}")

Execute the cell and enter your answers as 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 (one at a time). Note that the answer numbers always remain in sync with the question numbers, but the bug shows up when the question-answer pairs aren't always being displayed to the console after providing the answer number. For example:

Here I'm about to enter 3 as an answer after having entered "0", "1", and "2"; Only "0" and "1" have flushed:

Here I just entered 3 and am about to enter 4 and all 4 previous response ("0", "1", "2", "3") have flushed:

Note that this issue doesn't occur on IDEs such as JupyterLab and Jupyter Notebooks, only on VS Code Jupyter Notebooks.
Solution/Workaround:
The solution/workaround was to add a sys.stdout.flush() before prompting the next time around, as shown below:

It would be good however for VS Code to not do this buffering, especially since JupyterLab and Jupyter Notebook don't run into this issue.

I can actually reproduce. I can't recall if we have any buffering in Jupyter or core.

authors: diftimieMSFT rebornix


text:
Format specifiers in strings are syntax-highlighted even when not involved in a format

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: latest
OS Version: Windows

Steps to Reproduce:

Create a variable with a string containing a format specifier:
s = "hi there %0.4f see how it's highlighted?"

Observe syntax highlighting on the %0.4f:

Which language?

Ahh sorry--this is in Python.

We use the grammar from https://github.com/MagicStack/MagicPython. Can you file the issue there?
Maybe this is a duplicate of https://github.com/MagicStack/MagicPython/issues/243

Hi @aeschli, this does indeed look like a duplicate of that issue. You can close here. That issue was posted in 2021 and hasn't been resolved though, so I'm not holding my breath.
Thanks for the guidance.

authors: aeschli mcrumiller


text:
Welcome screen is not showing: The editor could not be opened due to an unexpected error: Unable to resolve resource walkThrough://vscode_getting_started_page

Does this issue occur when all extensions are disabled?: Yes

Version: 1.80.1 (Universal)
Commit: 74f6148eb9ea00507ec113ec51c489d6ffb4b771
Date: 2023-07-12T17:20:23.298Z
Electron: 22.3.14
ElectronBuildId: 21893604
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Darwin arm64 22.5.0

Steps to Reproduce:

Download vs code  Version: 1.80.1 (Universal)
Install on m1 Mac
Open vscode and work on your cool ai project and close vscode(⌘ + Q)
Reopen vscode to see the error.

Got resolved after deleting editorAssociations:{*: default} from dettings


text:
Unable to sync settings as there are <REDACTED: user-file-path> in settings file.

LocalInvalidContent (UserDataSyncError) syncResource:settings operationId:unknown: Unable to sync settings as there are <REDACTED: user-file-path> in settings file.
at d.w [as toUserDataSyncError] in src/vs/platform/userDataSync/common/userDataSync.ts:314:11
at <anonymous> in src/vs/platform/userDataSync/common/userDataSyncServiceIpc.ts:162:53
at async h.run in src/vs/workbench/contrib/userDataSync/browser/userDataSync.ts:1115:5

Go to Errors Site

@sandy081 this should use ErrorNoTelemetry as it's expected and handled in the UI

All sync errors are handled, therefore I would not want to change. Unfortunately I am not getting enough information here. Hence closing it.

authors: Tyriar VSCodeTriageBot sandy081


text:
In-built video preview in VS Code plays video with audio muted!

Please provide a solution to play audio alongwith video.

Is this #167685?

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 similar existing issues. See also our issue reporting guidelines.
Happy Coding!

Yep! Hope it gets solved.


text:
breakpoints not working on vscode extension development

Type: Bug
I'm developing an extension for vscode and breakpoints don't work. I can set them without any problem, but when I launch F5, it just won't stop on them.
I have tried disabling all the extensions and it still happens.
Related to https://github.com/microsoft/vscode/issues/192507.
VS Code version: Code 1.82.2 (abd2f3db4bdb28f9e95536dfa84d8479f1eb312d, 2023-09-14T05:55:25.390Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (16 x 2304)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
31.79GB (17.12GB free)

Process Argv
--crash-reporter-id ccedd11e-cbe3-4aab-835a-b81d8cc295d7

Screen Reader
no

VM
0%

Extensions (40)

Extension
Author (truncated)
Version

codesnap
adp
1.3.4

tsl-problem-matcher
amo
0.6.2

ng-template
Ang
16.1.8

cssrem
cip
3.1.1

continue
Con
0.0.394

vscode-eslint
dba
2.4.2

es7-react-js-snippets
dsz
4.4.3

gitlens
eam
14.3.0

prettier-vscode
esb
10.1.0

fetch-client
Gan
1.3.0

todo-tree
Gru
0.0.226

Angular2
joh
16.0.1

vscode-peacock
joh
4.2.2

vscode-colorize
kam
0.11.1

git-graph
mhu
1.30.0

isort
ms-
2023.10.1

python
ms-
2023.16.0

vscode-pylance
ms-
2023.9.20

live-server
ms-
0.4.9

vsliveshare
ms-
1.0.5883

vscode-versionlens
pfl
1.7.3

postman-for-vscode
Pos
0.9.0

vscode-thunder-client
ran
2.12.1

fabric8-analytics
red
0.7.0

java
red
1.22.1

vscode-xml
red
0.26.1

vscode-yaml
red
1.14.0

vs-code-prettier-eslint
rve
5.1.0

partial-diff
ryu
1.4.3

errorlens
use
3.13.0

intellicode-api-usage-examples
Vis
0.2.8

vscodeintellicode
Vis
1.2.30

vscode-java-debug
vsc
0.54.0

vscode-java-dependency
vsc
0.23.1

vscode-java-pack
vsc
0.25.14

vscode-java-test
vsc
0.39.1

vscode-maven
vsc
0.42.0

vscode-icons
vsc
12.5.0

JavaScriptSnippets
xab
1.8.0

markdown-all-in-one
yzh
3.5.1

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
3biah626:30602489
89544117:30613380
a9j8j154:30646983
showlangstatbar:30737416
03d35959:30757346
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxptcf:30805731
pythonnoceb:30805159
copilotsettingc:30839828
synctok:30821570
dsvsc013:30795093
dsvsc014:30804076
diffeditorv2:30821572
dsvsc015cf:30829746

this is the log file
vscode-debugadapter-f18a293c.json.gz

this is my webpack.config.js:
//@ts-check

'use strict';

const path = require('path');
const terserPlugin = require('terser-webpack-plugin');
const miniCssExtractPlugin = require('mini-css-extract-plugin');

//@ts-check
/** @typedef {import('webpack').Configuration} WebpackConfig **/

const commonConfig = (webpackEnv) => {
  const isEnvDevelopment = webpackEnv === 'development';
  const isEnvProduction = webpackEnv === 'production';

  return {
    mode: isEnvProduction ? 'production' : isEnvDevelopment && 'development',
    bail: isEnvProduction,
    devtool: isEnvProduction
      ? 'source-map'
      : isEnvDevelopment && 'eval-cheap-module-source-map',
    resolve: {
      extensions: ['.ts', '.tsx', '.js', '.jsx']
    },
    module: {
      rules: [
        {
          test: [/\.bmp$/, /\.gif$/, /\.jpe?g$/, /\.png$/, /\.svg$/],
          type: 'asset/resource'
        },
        {
          test: /\.tsx?$/,
          exclude: /node_modules/,
          use: [
            {
              loader: require.resolve('ts-loader')
            }
          ]
        },
        {
          test: /\.(woff|woff2|eot|ttf|otf)$/i,
          type: 'asset/resource'
        },
        {
          test: /\.m?js/,
          resolve: {
            fullySpecified: false
          }
        },
        {
          test: /\.css$/i,
          use: [miniCssExtractPlugin.loader, 'css-loader']
        }
      ]
    },
    optimization: {
      minimize: true,
      minimizer: [
        new terserPlugin({
          terserOptions: {
            format: {
              comments: false
            }
          },
          extractComments: false
        })
      ]
    },
    plugins: [new miniCssExtractPlugin()]
  };
};

// extension sources
const extensionConfig = (webpackEnv) => {
  return {
    ...commonConfig(webpackEnv),
    target: 'node',
    entry: './src/extension.ts',
    output: {
      path: path.resolve(__dirname, 'dist'),
      filename: 'extension.js',
      libraryTarget: 'commonjs2'
    },
    externals: {
      vscode: 'commonjs vscode',
      // eslint-disable-next-line @typescript-eslint/naming-convention
      'better-sqlite3': 'commonjs better-sqlite3'
    }
  };
};

// react sources
const seekerUIConfig = (webpackEnv) => {
  return {
    ...commonConfig(webpackEnv),
    entry: './src/infraestructure/views/SeekerUI/index.tsx',
    output: {
      path: path.resolve(__dirname, 'dist'),
      filename: 'seeker-ui.js'
    }
  };
};

module.exports = [extensionConfig, seekerUIConfig];

this is my tsconfig.json:
{
  "compilerOptions": {
    "module": "CommonJS",
    "target": "ES2020",
    "lib": ["ES2020", "DOM"],
    "sourceMap": true,
    "rootDir": "src",
    "outDir": "dist",
    "strict": true /* enable all strict type-checking options */,
    /* Additional Checks */
    // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
    // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
    // "noUnusedParameters": true,  /* Report errors on unused parameters. */

    "jsx": "react",
    "esModuleInterop": true
  },
  "exclude": ["src/test/**/*"]
}

this is my launch.json ( none of them works):
 {
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Launch Extension",
      "args": [
        "--extensionDevelopmentPath=${workspaceFolder}",
        "--disable-extensions"
      ],
      "preLaunchTask": "npm: watch",
      "request": "launch",
      "type": "extensionHost"
    },
    {
      "name": "Run Extension",
      "type": "extensionHost",
      "request": "launch",
      "args": [
        "--extensionDevelopmentPath=${workspaceFolder}",
        "--disable-extensions"
      ],
      "outFiles": ["${workspaceFolder}/dist/**/*.js"],
      "preLaunchTask": "${defaultBuildTask}"
    },
    {
      "name": "Extension Tests",
      "type": "extensionHost",
      "request": "launch",
      "args": [
        "--extensionDevelopmentPath=${workspaceFolder}",
        "--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
      ],
      "outFiles": [
        "${workspaceFolder}/out/**/*.js",
        "${workspaceFolder}/dist/**/*.js"
      ],
      "preLaunchTask": "tasks: watch-tests"
    },
    {
      "name": "Launch Extension with logs",
      "args": [
        "--extensionDevelopmentPath=${workspaceFolder}",
        "--disable-extensions"
      ],
      "preLaunchTask": "npm: watch",
      "request": "launch",
      "type": "extensionHost",
      "trace": true
    }
  ]
}

It looks like the trace log you collected got corrupted, could you try grabbing another one for us? Thanks!

There you have
vscode-debugadapter-4d1cf32b.json.gz

Same corruption there 🤔 you can capture a .txt to avoid issues by using "trace": {"logFile": "${workspaceFolder/log.txt" },
But, I'm curious if removing your terser plugin fixes the issue for you?

"trace": { "logFile": "${workspaceFolder/log.txt" }

The workspaceFolder didn't work. was unable to see where the logs was saved. I changed to "trace": { "logFile": "c:/log.txt" } but the log is still not created.
At this point I removed the terser plugin from webpack.
I ran the launch again with the configuration: "trace": { "logFile": "c:/log.txt" } but again, no log was created.
So i runed it again but with the "trace": true. So this is the new logs with terser removed from webpack.config.json
vscode-debugadapter-798d1511.json.gz

Apologies, I was missing a curly brace there. ${workspaceFolder}/log.txt will save the file in your workspace folder. It looks like that log has the same corruption issue.

There you have the log with terser off and the "trace": {"logFile": "${workspaceFolder}/log.txt" }:
log.txt
I am curious about why all previous logs are corrupted.

THere we go.
From the logs I can see that your resulting c:/workspace/adeso-seeker/dist/extension.js does not have an associated sourcemap. Something in your build setup is probably dropping the sourcemap in the processing step.
As a quick check, you should be able to see a line containing "sourceMappingURL" in that file when sourcemaps are present.

Sorry. With your last comment I'm not sure what I should do.
My project is an extension with TypeScript and Webpack. There is a front end with React.
In webpack the 2 parts are divided (react and the rest of the extension) because I am a junior developer and it was the only example on how to set react in an extension I found.
source map is declared on the webpack.cong and the tsconfig. ( look above).
Can I do something else? I'm sorry for not being more helpful, but I don't see anything strange.

I would confirm that the value of webpackEnv is what you expect. If it's neither development nor production you would not make a sourcemap.
It's also strange (and would make debugging worse anyway) to set minimization in optimization when you're in development, though I don't think that would be removing the sourcemap (if you don't have the terser plugin enabled.)


text:
Integrate Git tools and login to VScode

Currently getting Git running and then connected to a service like Github is very cumbersome with VSCode, Git needs to be installed externally, and then you need to authorise and bounce back and forth from the website logging in and then add global configs via command line. Please consider shipping VSCode with the same Git implementation that ships with Github desktop, it works seamlessly (or give us an option to add that functionality), and just requires login and its done. I am doing this in an educational setting with students, and I have pages of screenshots in the setup guide. I know VScode is not aimed at students, but if something is this cumbersome it could be improved. It is so good having the functional integration.

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!

authors: VSCodeTriageBot fred-dev


text:
Substitution performed when accepting a Kanji conversion of Japanese input method

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: Version: 1.83.0 (Universal) Commit: e7e037083ff4455cf320e344325dacb480062c3c
OS Version: macOS 13.5.2（22G91）

Steps to Reproduce:

Setup Japanese keyboard. Add 日本語 - ローマ字 (Japanese - Romaji) keyboard to your environment. For details, see Set up a Japanese input source on Mac.
Disable live conversion. For details, see the section Use traditional conversion in Enter Japanese text using a Japanese input source on Mac.
Create new text file and paste the following text to multiple lines:これを置換したい。

Open the Find & Replace box. (Select "Edit > Replace" in menu.)
Click the Find field.
Switch to Japanese keyboard. (⌃⇧J)
Type korewo. The input text would be これを with underline, which shows the text has not been accepted yet.
Type ↵ (return key). The input text is accepted without conversion.
Type chikanshi. The input text would be ちかんし with underline.
Type ␣ (space bar). The input text would be converted to 置換し.
Type ↵. The input text is now accepted.
Type ⇥ (tab key). The focus is now on the Replace field.
Type korewo. The input text would be これを with underline.
Type ↵ to accept.
Type okikae. The input text would be おきかえ with underline.
Type ␣ to convert. The input text would be converted to 置き換え.
Type ↵ to accept.
Type ↵ to execute the replacement.

The above steps show a typical example of Japanese input; note that the return key is used both to accept the conversion and to execute the process (in this case, replacement).
Expected result:
Replacements are performed only if there is no unaccepted text.
Actual result:
When a conversion is accepted, replacement is performed at the same time.
https://github.com/microsoft/vscode/assets/1079715/729b6538-5cf1-4946-9a77-89072d31e5a9

Looks like what happens is that when you press the Enter key this is sent as a replace occurrence with event, instead of being used just to accept the composition from the IME. To fix this, when we are doing a composition, the Enter key or other key events should not be propagated to the Find widget.


text:
Postfix Snippets

I know that #126549 exists, but it has been closed for a long time and it seems like nothing has came out of it.
I feel like this would be a great QoL feature for a lot of people. Rather than having to use a extension you would be able to make your own snippets.
One major benefit of this is you wouldn't be locked to Javascript/Typescript when you want to use the Postfix Completetions. It would allow you to use them on other languages.
Another huge benefit would be that you can make your own Project-Specific Snippets. The extension only has a limited number of snippets and you can't really add on top of it unless you fork it and then build the extension yourself.
Other IDE's such as IntelliJ already have this feature built into them, allowing you to make postfix snippets/completions.
Edit: I know there is some language specific stuff so full support for all languages would be hard, but even basic support such as the statement or the whole line would be nice.

We try to keep VS Code lean and we think the functionality you're asking for is great for a VS Code extension. Maybe you can already find one that suits you in the VS Code Marketplace. Just in case, in a few simple steps you can get started writing your own extension. See also our issue reporting guidelines.
Happy Coding!

for instance https://marketplace.visualstudio.com/items?itemName=ipatalas.vscode-postfix-ts

authors: ATK422 VSCodeTriageBot jrieken


text:
I had this configuration in my launchsettings.json:

          I had this configuration in my `launchsettings.json`:

// ...
    "MyProject": {
      "commandName": "Project",
      "dotnetRunMessages": "true",
      "launchBrowser": true,
      "launchUrl": "swagger",
      "applicationUrl": "https://localhost:5001;http://localhost:5000",
      "environmentVariables": {
        "ASPNETCORE_ENVIRONMENT": "Development"
      }
    }
// ...

I've changed it to:
// ...
    "MyProject": {
      "commandName": "Project",
      "dotnetRunMessages": "true",
      "launchBrowser": true,
      "launchUrl": "swagger",
      "applicationUrl": "https://*:5001;http://*:5000",
      "environmentVariables": {
        "ASPNETCORE_ENVIRONMENT": "Development"
      }
    }
// ...

I can't click on https://localhost:5001 in the debug console anymore because it's now https://[::]:5001 but clicking on the
Open in Browser button on the Ports view does the job and it doesn't opens any additional ports.

I will test if the problem still exists and if so I will create a test project
Originally posted by @MBAatEJOT in https://github.com/microsoft/vscode-remote-release/issues/5446#issuecomment-1031411410

Sorry, so what is the problem here?

          I had this configuration in my `launchsettings.json`:

// ...
   "MyProject": {
     "commandName": "Project",
     "dotnetRunMessages": "true",
     "launchBrowser": true,
     "launchUrl": "swagger",
     "applicationUrl": "https://localhost:5001;http://localhost:5000",
     "environmentVariables": {
       "ASPNETCORE_ENVIRONMENT": "Development"
     }
   }
// ...

I've changed it to:
// ...
    "MyProject": {
      "commandName": "Project",
      "dotnetRunMessages": "true",
      "launchBrowser": true,
      "launchUrl": "swagger",
      "applicationUrl": "https://*:5001;http://*:5000",
      "environmentVariables": {
        "ASPNETCORE_ENVIRONMENT": "Development"
      }
    }
// ...

I can't click on https://localhost:5001 in the debug console anymore because it's now https://[::]:5001 but clicking on the Open in Browser button on the Ports view does the job and it doesn't opens any additional ports.

I will test if the problem still exists and if so I will create a test project
Originally posted by @MBAatEJOT in microsoft/vscode-remote-release#5446 (comment)

authors: MonitorOlympics roblourens


text:
Nâo aparece as sugestôes de codigo

Type: Feature Request
Meu VSCOD não está completando os codigos, nunhuma das sugestoes de codigos estão aparecendo.
VS Code version: Code 1.91.0 (ea1445cc7016315d0f5728f8e8b12a45dc0a7286, 2024-07-01T18:52:22.949Z)
OS version: Windows_NT x64 10.0.22631
Modes:

Obrigado por criar este problema!
No entanto, como a descrição não está em inglês, é difícil para nós trabalharmos nela. Se puder, edite esta edição para ser em inglês. Por favor, não adicione um novo comentário ou crie um novo problema, mas edite o problema existente.
Infelizmente, os serviços de tradução automática não são capazes de lidar com a linguagem técnica necessária para se comunicar efetivamente sobre problemas de software, por isso recomendamos encontrar um tradutor humano familiarizado com nossa tecnologia para ajudar a traduzir.
Caso contrário, este problema foi marcado como precisando de tradução e um membro da comunidade pode ajudar a traduzi-lo.

Thanks for creating this issue!
Unfortunately, as the description is not in English, it's hard for us to work on. If possible, please edit the original issue to be in English.
In our experience, automatic translation services are not able to handle the technical language needed to effectively communicate about software issues, so we recommend finding a human translator who is familiar with our technology to help.
Otherwise, we have marked this as needing translation and a community member may be able to help out.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

authors: Michael-silva-code VSCodeTriageBot


text:
SCM Graph: Branch selection doesn't persist

Type: Bug

Choose specific branches to display on the graph (in my case main, origin/main and upstream/main).
Restart VS Code, or close and reopen the workspace.
Selector has reverted to 'Auto'

VS Code version: Code - Insiders 1.94.0-insider (6e9d8a281003211220a6732ec538a28c483ff78b, 2024-09-11T05:04:03.124Z)
OS version: Windows_NT x64 10.0.22631
Modes:

even if you move away from the source control tab and come back it is changed back to auto.

even if you move away from the source control tab and come back it is changed back to auto.

I'm not seeing that happen on today's Insiders.

ohh, may be i am on different version than you. (i do not see a pending update though)
Version: 1.94.0-insider
Commit: 6e9d8a281003211220a6732ec538a28c483ff78b
Date: 2024-09-11T05:04:03.124Z
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code-Insiders/1.94.0-insider Chrome/124.0.6367.243 Electron/30.4.0 Safari/537.36

authors: gjsjohnmurray sanket-bhalerao


text:
Explorer tree does not show correct content on case sensitive file system

Issue Type: Bug
Opening a project on a volume using case sensitive file system does not show all files/folders in the explorer tree. Quick Open does work as expected.
VS Code version: Code 1.37.0 (036a6b1d3ac84e5ca96a17a44e63a87971f8fcc8, 2019-08-08T01:22:37.660Z)
OS version: Darwin x64 18.7.0

Can you please provide reproducable steps?
Can you reproduce with vscode insiders https://code.visualstudio.com/insiders/
Can you please post some picture?

Create a case sensitive volume with Disk Utility.
In a terminal window, execute touch file.txt File.txt; mkdir dir Dir
Verify that ls shows something like

The Explorer tree shows only

The Quick Open menu shows e.g.

This works fine for me on Linux.
The issue for you is that you are on a case insenstive platform and you are connecting to a case sensitive one. That case we are not fully supporting it seems. Leaving this open as a feature request for the future.

It will really relevant with more users of Remote-* extensions

@IllusionMH agree, adding it to On-Deck so we tackle this soon.

Should be fixed via https://github.com/microsoft/vscode/issues/48258
Please try out vscode insiders from tomorrow

@isidorn not fixed for me for WSL1.
Is it expected that this case is not handled by #48258 fix?

VS Code version: Code - Insiders 1.42.0-insider (4636be2b71c87bfb0bfe3c94278b447a5efcc1f1, 2019-12-18T05:41:55.003Z)
OS version: Windows_NT x64 10.0.18362
Remote OS version: Linux x64 4.4.0-18362-Microsoft

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (12 x 3192)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.72GB (16.68GB free)

Process Argv

Screen Reader
no

VM
0%

Item
Value

Remote
WSL: Ubuntu

OS
Linux x64 4.4.0-18362-Microsoft

CPUs
Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (12 x 3192)

Memory (System)
31.72GB (16.68GB free)

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

remote-wsl
ms-
0.41.6

It should be fixed by 8bc277fa7b
So the next insiders should have it. Sorry for the confusion!

authors: IllusionMH isidorn svenax


text:
Trusted domains polishing

Issue Type: Bug
VS Code version: Code - Insiders 1.39.0-insider (6a54c8176fd60745ad7f2ba9dc89af4631752bae, 2019-09-18T15:26:55.541Z)
OS version: Darwin x64 18.6.0

generated file contents

// Links matching one or more entries in the list below can be opened without link protection.
// The following examples show what entries can look like:
// - "https://microsoft.com": Matches this specific domain
// - "*.microsoft.com": Match all domains ending in "microsoft.com" using either http or https
// - "*": Match all domains using either http or https
//
// By default, VS Code trusts the following domains as well as "localhost".
// "https://github.com"
// "https://microsoft-my.sharepoint.com"
// "https://code.visualstudio.com"
// "https://go.microsoft.com"
// "https://marketplace.visualstudio.com"
// "https://vscode-auth.github.com"
// "https://*.gallerycdn.vsassets.io"
//
// You can use the "Manage Trusted Domains" command to open this file.
[
     // "https://microsoft.com"
]

The examples do not make any statement about protocols. That needs clarification.

In the command list

omit all "and open link"
Use "Trust all domains (disables link protection)"
Use "Manage Trusted Domains"

Rename command to "Manage Trusted Domains"

Modified the content a little bit:
// Links matching one or more entries in the list below can be opened without link protection.
// The following examples show what entries can look like:
// - "https://microsoft.com": Matches this specific domain
// - "https://*.microsoft.com": Match all domains ending in "microsoft.com" using https
// - "*.microsoft.com": Match all domains ending in "microsoft.com" using either http or https
// - "*": Match all domains using either http or https
//
// By default, VS Code trusts "localhost" as well as the following domains:
// - "https://code.visualstudio.com"
//
// You can use the "Manage Trusted Domains" command to open this file.
// Save this file to apply the trusted domains rules.
[
	// "https://microsoft.com"
]

By default, VS Code trusts "localhost" as well as the following domains: list is generated from productService
Added // Save this file to apply the trusted domains rules.

Top part became the following (with added microsoft.com since #81246):
// Links matching one or more entries in the list below can be opened without link protection.
// The following examples show what entries can look like:
// - "https://microsoft.com": Matches this specific domain using https
// - "https://*.microsoft.com": Match all domains ending in "microsoft.com" using https
// - "microsoft.com": Match this specific domain using either http or https
// - "*.microsoft.com": Match all domains ending in "microsoft.com" using either http or https
// - "*": Match all domains using either http or https

authors: kieferrm octref


text:
Integrated Terminal not opening

Issue Type: Bug
on pressing ctrl + `, the integrated terminal does not open while it opens the command powershell.
VS Code version: Code 1.38.1 (b37e54c98e1a74ba89e03073e5a3761284e3ffb0, 2019-09-11T13:35:15.005Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (8 x 1992)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.85GB (9.07GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (3)

Extension
Author (truncated)
Version

composer-support-client
Hyp
0.19.12

python
ms-
2019.9.34911

remote-wsl
ms-
0.39.5

The PowerShell terminal must capture the keypress before VS Code receives it. Try to disable the shortcut in the PowerShell terminal settings or assign a different keybinding to it in VS Code.

Hi,
This does not seem to work. I changed it to another shortcut but still its opening powershell instead of integrated terminal.
I also deleted the shortcut in settings but it is still opening the powershell instead of integrated terminal.
Thanks,
Amit
From: Christof Marti notifications@github.com
Sent: Friday, September 27, 2019 3:45 AM
To: microsoft/vscode vscode@noreply.github.com
Cc: Amit Pandey amit420102@gmail.com; Author author@noreply.github.com
Subject: Re: [microsoft/vscode] Integrated Terminal not opening (#81524)
The PowerShell terminal must capture the keypress before VS Code receives it. Try to disable the shortcut in the PowerShell terminal settings or assign a different keybinding to it in VS Code.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/81524?email_source=notifications&email_token=AIQT2HFMPCDCU3LOD6WUNKLQLW2WZA5CNFSM4I3A3R2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7YB3NY#issuecomment-535829943 , or mute the thread https://github.com/notifications/unsubscribe-auth/AIQT2HBYQCPAIDPGSNC3S7LQLW2WZANCNFSM4I3A3R2A .  https://github.com/notifications/beacon/AIQT2HB32KZT4TNC6QRT45LQLW2WZA5CNFSM4I3A3R2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7YB3NY.gif

Open the keybindings editor and search for Toggle Integrated Terminall to check what the current assignment is:

Sometimes this is auto-reassigned to Ctrl + ' (tick ' instead of backtick `).

Hi Christof,
There is no shortcut assigned as of now:
From: Christof Marti notifications@github.com
Sent: Friday, September 27, 2019 8:47 AM
To: microsoft/vscode vscode@noreply.github.com
Cc: Amit Pandey amit420102@gmail.com; Author author@noreply.github.com
Subject: Re: [microsoft/vscode] Integrated Terminal not opening (#81524)
Open the keybindings editor and search for Toggle Integrated Terminall to check what the current assignment is:
https://user-images.githubusercontent.com/9205389/65769934-3037f280-e135-11e9-91d2-22e91ed25f21.png
Sometimes this is auto-reassigned to Ctrl + ' (tick ' instead of backtick `).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/81524?email_source=notifications&email_token=AIQT2HBMRLGDHMLYT77HHBLQLX6FZA5CNFSM4I3A3R2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7YYY4A#issuecomment-535923824 , or mute the thread https://github.com/notifications/unsubscribe-auth/AIQT2HBO63YYFSJJBYL2EODQLX6FZANCNFSM4I3A3R2A .  https://github.com/notifications/beacon/AIQT2HBZFZSOC7P2465IJW3QLX6FZA5CNFSM4I3A3R2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7YYY4A.gif

@amit420102 Unfortunately images don't make it through email. Could you attach them directly on GitHub's website?
If there is none assigned, try assigning Ctrl + ' to it.

i have added keyboard shortcut of ctrl + `, but still on pressing the shortcut it opens powershell instead of integrated terminal. I have attached the images

Try adding the shortcut with a single quote (') instead of a backtick (`).

hi Christof,
I am getting same result, its opening the powershell.
Thanks,
Amit
On Sat, Sep 28, 2019 at 7:08 AM Christof Marti notifications@github.com
wrote:

Try adding the shortcut with a single quote (') instead of a backtick (`).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/81524?email_source=notifications&email_token=AIQT2HBHSCJFS4Y6NSCBS2LQL43JVA5CNFSM4I3A3R2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD72WVRI#issuecomment-536177349,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIQT2HCBZ32EZNPWMV5BWBDQL43JVANCNFSM4I3A3R2A
.

Hi Christof,
I found the solution, turning off ConPTY worked for me.
I can now have integrated terminal opening in the Visual studio code and not in a new window.
Thanks,
Amit
From: Christof Marti notifications@github.com
Sent: Saturday, September 28, 2019 7:08 AM
To: microsoft/vscode vscode@noreply.github.com
Cc: Amit Pandey amit420102@gmail.com; Mention mention@noreply.github.com
Subject: Re: [microsoft/vscode] Integrated Terminal not opening (#81524)
Try adding the shortcut with a single quote (') instead of a backtick (`).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/81524?email_source=notifications&email_token=AIQT2HBHSCJFS4Y6NSCBS2LQL43JVA5CNFSM4I3A3R2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD72WVRI#issuecomment-536177349 , or mute the thread https://github.com/notifications/unsubscribe-auth/AIQT2HCBZ32EZNPWMV5BWBDQL43JVANCNFSM4I3A3R2A .  https://github.com/notifications/beacon/AIQT2HDC42HZFHATA4MSJJ3QL43JVA5CNFSM4I3A3R2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD72WVRI.gif

Closing as solved. Thanks.


text:
Integrated Pylint Does Not Work

VSCode Version: 1.39
OS Version: macOS Mojave 10.14.6

Steps to Reproduce:

Modify a Python file so that when you run pylint command in terminal with that file, pylint will give you some kind of complaints.
Enable VSCode to run pylint on save, the integrated pylint does not complain about anything like the pylint command in terminal.

Expected result: the VSCode integrated pylint should complain about the same thing as the pylint command in terminal does.

Does this issue occur when all extensions are disabled?: N/A

I do not think this is caused by an extension because this is built-in in VSCdoe right?
https://code.visualstudio.com/docs/python/linting


text:
Ctrl+F6 does not work

VSCode Version: 1.42
OS Version: Windows 7

Steps to Reproduce:

Open several files in one project
Press Ctrl+F6
Nothing happens

However, here is a different behavior:

Open several files in one project
Press Ctrl+Shift+F6 (once or several times)
It works
Press Ctrl+F6
Now that also works

Does this issue occur when all extensions are disabled?: Yes

/needsMoreInfo
What do you expect to happen?
I don't see Ctrl+F6 in list of default Windows keybindings.

Sorry, I did not remember that these were not default mappings. I have had the following mappings  since 2016 or 2017, and their behavior changed in the past few days:
{
  "key": "ctrl+f6",
  "command": "workbench.action.openNextRecentlyUsedEditorInGroup"
}
{
  "key": "ctrl+shift+f6",
  "command": "workbench.action.openPreviousRecentlyUsedEditorInGroup"
}

Have you checked release noted for latest update specifically Navigate most recently used editors section?
Looks like you need to change command (and may be condition) to have restore previous behavior.

I took a look at the notes but I was looking for Ctrl+F6, since this key combination is universal in Windows, and I thought it was a default key combination in VSCode also. I will take time to read that section and adapt my key bindings. Thanks!

authors: ConnorsFan IllusionMH


text:
Asked to sign in whenever turning on sync

Repro:

Turn on sync
Do sign in flow
Turn off sync
Turn on sync, I'm presented with the sign in window

Sync is separate to login, shouldn't the auth session be retained between turning off and turning on sync? Saw this a lot in UX study, people were confused why they kept having to sign in.
Note that we may want to sign out when clearing all the server data, but I don't think it makes sense when just turning off regularly.

Caused by https://github.com/microsoft/vscode/issues/90867
I would also expect to stay signed in when turning off sync, especially as sign in may eventually be used by other things

I changed the behaviour to sign out because I remember few of us expected to sign out (@joaomoreno @misolori ) when turned off sync.
I will revert it to what it is originally - do not sign out. I had this because of the reason that login and sync are independent. Some other feature might be still using the account.
@RMacfarlane currently sign out is a core command which I think should not be and hence removing it. Feel free to add it as a command in the extension.

@RMacfarlane currently sign out is a core command which I think should not be and hence removing it. Feel free to add it as a command in the extension.

Does this meant that every extension needs to create their own sign out? Shouldn't it be a core command with an account selector if there are multiple accounts?

Not sure who provides this command, but definitely not part of settings sync.

authors: RMacfarlane Tyriar sandy081


text:
Prompt for GPG passphrase to sign commits not displayed

VSCode Version: 1.44.2
OS Version: macOS Mojave

Steps to Reproduce:
Where VSCode is supposed to ask for the passphrase to sign commits when creating them directly through the interface and not with a terminal?
When I already entered my passphrase, by creating a commit through the terminal, I don't have any problem, creating another one within VSCode works.
But when it is not the case, or when my passphrase is expired and I need to type it again, creating a commit with VSCode interface does do anything.
I can see something is waiting:

But in the end I don't have anything at all, neither in my VSCode terminal, nor if I open/kill a new terminal tab, or in my iTerm terminal. I can't type my passphrase anywhere.
Shortly after, once the timeout is over:

After all of this, when I try to create the commit in a VSCode terminal by simply typing git commit, I am invited to type my commit message, fine, then I am usually asked to type my passphrase in the terminal but again nothing shows up, the terminal is kind of waiting without anything else. And I need to kill the agent with gpgconf --kill gpg-agent to make everything work again.

Does this issue occur when all extensions are disabled?: Yes

#43809

authors: MrChocolatine joaomoreno


text:
VSCode should support msys git on windows

Note: Probably related to #87102.
I actually haven't noticed for a while, until I realized vscode doesn't work well with msys's git (not the git for windows install). From my little research this appears to be because git init outputs a different format depending on how git was compiled.
msys git:
Reinitialized existing Git repository in /g/Dokumente/GitHub/vscode/.git/
Git for Windows:
Reinitialized existing Git repository in G:/Dokumente/GitHub/vscode/.git/
Other features, like merge conflict diffing, seem to work, so I believe this output difference is what makes vscode not working with msys git. Could support for this format be added? I would appreciate being able to work with msys git instead of using the git for windows install.
I found this statement, so if this is the final stand, I'd appreciate a reason for why this is the only supported git version.

I found this statement, so if this is the final stand, I'd appreciate a reason for why this is the only supported git version.

There's plenty of reasons why Git for Windows is the only supported version:

It's the official Git distribution on Windows from git-scm.com
It's what pretty much every user has installed
It can be installed side by side to other git versions
Supporting more versions is dev effort which can be applied to other areas of Code

Thanks for elaborating. I do see your point, although I'd argue the development effort to support it would likely not be great, as in the end it is still a fully functional windows git version.
I just personally don't like to duplicate files or programs, and installing git for windows means installing lots of mingw files too, that are already present on my system if I'm already using a mingw / msys2 setup.

For completeness, Git for Windows 'Comes with MSYS2 runtime'. Hence, supporting the standard MSYS2 environment does not involve supporting more versions. Just a different location.
Moreover, I find it doubtfult that Git for Windows is 'what pretty much every user has installed'. I see MSYS2 to be much widely used than Git for Windows, precisely because developers prefer the upstream product instead of a limited rebranding. I found several users that changed from Git for Windows to MSYS2 or WSL, but not a single one that did the other way. I'd be glad if such decisions were backend by data. There are ~40 issues about MSYS2 and +500 reactions.

authors: Morilli eine joaomoreno


text:
Start Without Debugging still launches program in debug mode

VSCode Version: 1.45.0 (user setup)
OS Version: Windows_NT x64 10.0.18363

Steps to Reproduce:

I run a python file through run without debugging.

however, vscode launch program in debug mode. the same issue:  #1957, but the solution doesn't work.

My launch configuration:
{
  // Use IntelliSense to learn about possible attributes.
  // Hover to view descriptions of existing attributes.
  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Python: Current File",
      "type": "python",
      "request": "launch",
      "program": "${file}",
      "console": "integratedTerminal"
    }
  ]
}

Does this issue occur when all extensions are disabled?: Yes
how do I fixed it?

"Start Without Debugging" for a python program works fine for me.
Please note that "Start Without Debugging" still starts a debug session but breakpoints will be not hit.

authors: pszrux weinand


text:
speech recording stops after log pause in audio (fix #203189)

@bpasero looking good but we should do the same of inline chat quick voice which is here: https://github.com/microsoft/vscode/blob/e5a6595f135c2fb27ee1d83dbfb6d4bc2115b55f/src/vs/workbench/contrib/inlineChat/electron-sandbox/inlineChatQuickVoice.ts#L63

source: gharchive/pull-request

authors: bpasero jrieken


text:
chore: update smoke test deps

chore: update smoke test deps

Updating dependencies is not something we accept unless maybe it fixes an issue?

Some of the versions that are used are depcrated so I update them and it dont fix a spefic issue @bpasero


text:
Cannot install the following packages

Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Installation issue.
Brief description of your issue
When I try to install the following list of packages
Bandizip [Bandisoft.Bandizip]
GOM Player [GOMLab.GOMPlayer]
IObit Uninstaller [IObit.Uninstaller]
MEGAsync [Mega.MEGASync]
MiniTool Partition Wizard Free [MiniTool.PartitionWizard.Free]
Webex [Cisco.WebexTeams]
EA app [ElectronicArts.EADesktop]
I am facing the messages bellow :
Installer hash does not match; this cannot be overridden when running as admin
Steps to reproduce
winget install --id=Bandisoft.Bandizip -e; winget install --id=GOMLab.GOMPlayer -e; winget install --id=IObit.Uninstaller -e; winget install --id=Mega.MEGASync-e; winget install --id=MiniTool.PartitionWizard.Free -e; winget install --id=Cisco.WebexTeams -e; winget install --id=ElectronicArts.EADesktop -e
Actual behavior
I am facing the messages bellow :
Installer hash does not match; this cannot be overridden when running as admin
Expected behavior
Installed succesfully
Environment
PS C:\Users\> winget --info
Windows Package Manager v1.6.2771
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.2506
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.2771.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled

Screenshots and Logs
No response

Reproduced by downloading the installer with Aria2. Bandisoft.Bandizip does have this Hash-Mismatch problem.
I can make help.

Does Powershell allow me to use URL instead of File to get SHA256? But a critical problem, Powershell can't extract the file. Because some of burn file contains 0 file. Also, some of the exe is in bin of the setup.

Reproduced by downloading the installer with Aria2. Bandisoft.Bandizip does have this Hash-Mismatch problem.

Bandisoft.Bandizip using a "static" installer URL which allways point to the latest version. The installer URL is version-unrelated.

## Pull requests related `ElectronicArts.EADesktop`
- [x] https://github.com/microsoft/winget-pkgs/pull/126158
- [x] https://github.com/microsoft/winget-pkgs/pull/125848
- [x] https://github.com/microsoft/winget-pkgs/pull/125856
- [x] https://github.com/microsoft/winget-pkgs/pull/125872
- [x] https://github.com/microsoft/winget-pkgs/pull/125883
- [x] https://github.com/microsoft/winget-pkgs/pull/125890
- [x] https://github.com/microsoft/winget-pkgs/pull/125895
- [x] https://github.com/microsoft/winget-pkgs/pull/125898
- [x] https://github.com/microsoft/winget-pkgs/pull/125901
- [x] https://github.com/microsoft/winget-pkgs/pull/126165

Pull requests related IObit.Uninstaller

https://github.com/microsoft/winget-pkgs/pull/126088

Pull requests related Cisco.WebexTeams

https://github.com/microsoft/winget-pkgs/pull/125313
https://github.com/microsoft/winget-pkgs/pull/126095
https://github.com/microsoft/winget-pkgs/pull/126090
https://github.com/microsoft/winget-pkgs/pull/126083

OOPS! https://www.virustotal.com/gui/file/46d5482980d028aa875115471bf01e5c9480283df74de6f242d67638c855ffff/details Is this false positive?

Hi @ivonenchev,
Are you still seeing a hash mismatch for any of these applications?

authors: BrandonWanHuanSheng Dragon1573 ivonenchev stephengillie

repo: microsoft/winget-pkgs