text:
caixinha que não permite eu digitar os comandos/box that does not allow me to type the commands

Issue Type: Bug
pt-br:
Uma caixinha de renomear ou inserir um comando aparece e não me permite fazer mias nada no codigo ( já usei todos os comandos referentes a isso e nenhum desativa a caixinha)
in:
A box to rename or insert a command appears and doesn't allow me to do anything else in the code (I've already used all the commands related to this and none disables the box)
VS Code version: Code 1.68.1 (30d9c6cd9483b2cc586687151bcbcd635f373630, 2022-06-14T12:48:58.283Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No

System Info

Item
Value

CPUs
AMD A8-4500M APU with Radeon(tm) HD Graphics    (4 x 1896)

GPU Status
2d_canvas: unavailable_softwarecanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: disabled_softwaremultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: disabled_offrasterization: disabled_softwareraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: disabled_softwarevideo_encode: disabled_softwarevulkan: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_software

Load (avg)
undefined

Memory (System)
3.20GB (1.08GB free)

Process Argv
--crash-reporter-id aa3799d9-7bb8-4cc4-ac2f-3c9e5b960f78

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

vscode-language-pack-pt-BR
MS-
1.68.6150921

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

/gifPlease

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette).
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!


text:
vscode.dev CSP error

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

VS Code Version: https://vscode.dev
OS Version: Windows 10

Steps to Reproduce:

Open MS Edge or Chrome.
Visit https://vscode.dev

Constantly get below error.

Note that it may work if you have local storage. Clear all local storage for vscode.dev to reproduce it.

Not sure why this happened, but it doesn't repro for me right now. @scnwwu does it still repro?

Thanks for creating this issue! We figured it's missing some basic information, such as a version number, 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!

Yes, still same error to me. I reproduced on different clients from different locations. Did you clear all your local storage on your browser for vscode .dev?

Now I see the issue. If you pay close attention to the domain name, something in your network is redirecting and patching scripts for you:

That main.vscode-cdn.net.x.blablabla domain is not owned by us.
The CSP is actually doing you a favor by not trusting this behavior.

source: gharchive/issue

authors: VSCodeTriageBot joaomoreno scnwwu

repo: microsoft/vscode

license: MIT

license_type: permissive

license_source: github-api


text:
Profile Export to GitHub doesn't ask whether the gist it creates should be Public or Secret

Type: Bug
When I tested this Insiders feature today it created a public gist. I wasn't given a choice about this, nor was I warned in advance.
I suggest that export to GitHub presents an extra quickpick whose prompt text says "What type of GitHub gist should be created?" and whose choices are "Secret" and "Public". I suggest the default (first) choice is Secret. Each choice could have a description line below it giving the kind of clarification that the gist.github.com UI already does:

VS Code version: Code - Insiders 1.74.0-insider (58e7c7b8865e3c3ea77055461ffb5d656a7a46af, 2022-11-23T05:25:25.108Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: Yes

/assign @sandy081

CC @isidorn

I think it would be safer to start with secret gists. Imagine if I add a profile-specific setting with a sensitive value, then export the profile. At the moment it's not obvious to me that everyone on the internet can access it.

I think secret gists (the official term, not "private") are the way to go. Anyone I give the URL to will be able to use it (and anyone they pass it on to). And if I do want it listed as public on GH (and become findable by search engines) I can do this at gist.github.com. Once public I can't change it to secret.

Good point, and I agree if that is indeed the case.

authors: gjsjohnmurray isidorn sandy081


text:
Javascript debugger pauses on promiseInitHookWithDestroyTracking (Unknown Source) when stepping into async function

Type: Bug
Issue occurs since upgrade from VSCode 1.76 to 1.77. Downgrade to 1.76 fixes issue.
When stepping into an async function in a javascript project, the debugger pauses on a function "promiseInitHookWithDestroyTracking" and shows "Unknown Source 328:3"
Step Out then returns to expected entry point of async function.

async function fn () {
    return true;
}

async function main () {
    await fn(); // set breakpoint on this line. step into will not go directly into fn
}

main();

Setting skipFiles to [ "<node_internals>/**" ] in launch.json or settings does not fix the issue in version 1.77 (but works in 1.76).
node version 18.15.0
VS Code version: Code 1.77.1 (b7886d7461186a5eac768481578c1d7ca80e2d21, 2023-04-04T23:23:33.779Z)
OS version: Darwin x64 20.6.0
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-4288U CPU @ 2.60GHz (4 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)
75, 57, 34

Memory (System)
16.00GB (0.10GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (18)

Extension
Author (truncated)
Version

aws-toolkit-vscode
ama
1.67.0

vscode-eslint
dba
2.4.0

xml
Dot
2.5.1

gitlens
eam
13.4.0

todo-tree
Gru
0.0.224

vscode-docker
ms-
1.24.0

makefile-tools
ms-
0.6.0

java
red
1.16.0

partial-diff
ryu
1.4.3

language-stylus
sys
1.16.0

pdf
tom
1.2.2

intellicode-api-usage-examples
Vis
0.2.7

vscodeintellicode
Vis
1.2.30

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

Duplicates https://github.com/microsoft/vscode-js-debug/pull/1644

@connor4312 the fix hasn't been released yet, is that correct?

@connor4312 the fix hasn't been released yet, is that correct?

I tried installing 1.77.2, which looks like latest release, and still had the same annoying behaviour. Dowgraded to 1.76.1, working just fine.

@connor4312 the fix hasn't been released yet, is that correct?

I tried installing 1.77.2, which looks like latest release, and still had the same annoying behaviour. Dowgraded to 1.76.1, working just fine.

1.77.2 doesn't have fix in CHANGELOG.
I have tested nightly build* of JavaScript Debugger and it works fine.

For nightly build, don't forget to disable builtin debugger extension

1.77.3 does not address it neither

Downgrade to 1.76.2 solves the problem

Downgrade to 1.76.2 solves the problem. Is it known when it will be fixed @connor4312 ?

As other have mentioned, it's already fixed in the nightly build

@connor4312 - I assume what everyone wants to know is when the current version (the nightly build) will be promoted and automatically installed using for users on the default automatic updates. I just got a notification about the latest update being available and it's 1.77.3.
Have you got any info on that?

On the next VS Code update in a little under 2 weeks

Related on Stack Overflow: VSCode 1.77 JS debugger stops on "non-existing" break points when stepping into an async function

I tried to use the nightly build of vscode-js-debug but I still had weird debug behaviors.
Other issues I encountered were related to source maps while debugging with ts-jest
I still ended up downgrading to 1.76.1 to fix the debugging experience.
Hard to tell if the other issues are related

Please open a new issue for these "weird debug behaviors"


text:
extensions with ffi.Library can not be loaded after 1.78.0

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

VS Code Version: 1.78.0
OS Version: Windows 10/WIndows 11 (64bit)

Steps to Reproduce:

follow https://code.visualstudio.com/api/get-started/your-first-extension, create a new extension
add ffi-napi to this extension, call ffi.Library in any place in your source code.
activate this extension, and see "Activating extension 'xxx' failed: Error in native callback."

Maybe a consequence of 1.78 being the first Stable version using Electron 22 (https://code.visualstudio.com/updates/v1_78#_Electron-22-update)
See https://code.visualstudio.com/updates/v1_77#_upcoming-electron-22-update-may-require-changes-to-native-modules for the advance announcement about this, and #177338 for technical details.

authors: gjsjohnmurray luowenfeng


text:
API to access the product configuration

We should add API to access the product configuration. In the Web there's currently now way to do that, and on the desktop, extension make assumption about the file layout of the VS Code install.
Properties of interest for WSL:
commit, quality, serverDataFolderName, serverApplicationName, updateURL.

I added commit and quality in env as part of the proposed resolvers API. We can add the others perhaps, though they are very "in the weeds". Maybe we have an opaque product configuration variable.


text:
Can’t hit breakpoint using gdb on Cygwin

Does this issue occur when all extensions are disabled?: Yes
VS Code Version: 1.80.1
OS Version: Windows10 LTSC
Steps to Reproduce:
install Cygwin on Windows
install gcc-g++ gdb on Cygwin
Write a HelloWorld
Set a breakpoint and try to debug it. You’ll find it can’t hit the point. It was OK in previous versions.

I have found the solution. Just change "args":[ "${file}" ] to "args":[ "${relativeFile}"] in tasks.json. Like this: github.com/microsoft/vscode-cpptools/issues/10630


text:
Debt: remove no more needed EOL notifications for unsupported OS

I am not sure which one is still needed, but we have:
Windows 8/7 warning:
https://github.com/microsoft/vscode/blob/ccb95fd921349023027a0df25ed291b0992b9a18/src/vs/workbench/electron-sandbox/window.ts#L726
macOS warning:
https://github.com/microsoft/vscode/blob/ccb95fd921349023027a0df25ed291b0992b9a18/src/vs/workbench/electron-sandbox/window.ts#L801

Taking a stab at it: https://github.com/microsoft/vscode/pull/191004


text:
Unable to remote install to firewalled machine

Environment data

VS Code version: 1.80.1
Pylance extension version: v2023.7.30
Local machine: Windows 11
Remote machine: Debian 11.6

Local machine has no internet access restrictions. It is connected via a VPN to a mostly isolated development network where the machines (including the remote machine) are not routed through to the internet (though can still do DNS resolution).
Repro Steps

Install the extension

Expected behavior
Extension gets installed.
Actual behavior
Extension is stuck on "installing" forever. It appears that some part of the remote install process requires reaching out to a MS server (going by the IP addresses), which fails. I'm pretty sure it's worked sometime in the last few months.
Logs
2023-07-27 22:00:27.290 [error] connect ENETUNREACH 20.189.173.9:443 - Local (0.0.0.0:0): Error: connect ENETUNREACH 20.189.173.9:443 - Local (0.0.0.0:0)
	at internalConnect (node:net:1010:16)
	at defaultTriggerAsyncIdScope (node:internal/async_hooks:464:18)
	at GetAddrInfoReqWrap.emitLookup [as callback] (node:net:1156:9)
	at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:111:8)
2023-07-27 22:00:29.081 [error] connect ENETUNREACH 20.189.173.9:443 - Local (0.0.0.0:0): Error: connect ENETUNREACH 20.189.173.9:443 - Local (0.0.0.0:0)
	at internalConnect (node:net:1010:16)
	at defaultTriggerAsyncIdScope (node:internal/async_hooks:464:18)
	at GetAddrInfoReqWrap.emitLookup [as callback] (node:net:1156:9)
	at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:111:8)
2023-07-27 22:01:37.697 [error] Error while installing 'ms-python.vscode-pylance' extension in the remote server. connect ENETUNREACH 13.107.6.175:443 - Local (0.0.0.0:0)

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.81.1. Please try upgrading to the latest version and checking whether this issue remains.
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: JustHereForTheIssues VSCodeTriageBot


text:
Diff editor uses incorrect color when exclusively adding text to a line

Type: Bug
First, let's get some theme assumptions out of the way. My theme currently implements this:
"colors": {
	"diffEditor.insertedLineBackground": "#1f3a1fa9",
	"diffEditor.insertedTextBackground": "#3e743ea9",
	"diffEditor.removedLineBackground": "#3f1a1aa9",
	"diffEditor.removedTextBackground": "#7e3434a9",
}

To sum it up, I use green for inserted lines and red for removed lines; bright colors for text and darker colors for the actual line background. I'll refer to features based on these colors later using my subjective setup, although they could obviously be different across themes.
Now, to the issue. Let's say we have a file
line1
line2
line3

and we edit that file
line1
l2
line3

and we open the changes in the diff editor. I see what I expect: the "removed line" has a dark red background highlighting the removed text, and the "inserted line" is just a dark green background with no text highlighted (because I didn't "insert" anything, only deleted in).

Now, let's go back to our original state:
line1
line2
line3

If instead I modify this file with only additional text
line1
line2 EXTRA
line3

we notice a problem. The "inserted line" is dark green with the inserted text highlighted, however the "removed line" is highlighted entirely with the bright red text!

I would have expected something similar to the first scenario, where the "removed line" is a dark red background with nothing highlighted, since nothing was deleted and only  EXTRA was inserted. I've also tested this with four distinct colors to ensure it is in fact the removedTextBackground that is displayed here, and the diff editor will only display removedLineBackground if some text is deleted. In fact, here's an example of a combination of both scenarios:
line1
l2 EXTRA
line3

You can see all four colors being displayed, as expected.
I hope this makes sense. I tried to make it as clear as possible what I think the issue is. Thank you!
VS Code version: Code 1.79.2 (Universal) (695af097c7bd098fbf017ce3ac85e09bbc5dda06, 2023-06-14T08:58:52.392Z)
OS version: Darwin arm64 21.6.0
Modes:

System Info

Item
Value

CPUs
Apple M1 Max (10 x 24)

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_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
2, 3, 3

Memory (System)
32.00GB (0.67GB free)

Process Argv
--crash-reporter-id 3127eb55-8d69-40f1-bfb7-076e12c7fa7d

Screen Reader
no

VM
0%

Extensions (32)

Extension
Author (truncated)
Version

markdown-mermaid
bie
1.19.0

markdown-preview-github-styles
bie
2.0.2

dart-code
Dar
3.72.2

flutter
Dar
3.72.0

vscode-eslint
dba
2.4.2

vscode-quick-select
dba
0.2.9

gitlens
eam
14.2.1

code-coverage
mar
1.11.0

Kotlin
mat
1.7.1

isort
ms-
2023.10.1

python
ms-
2023.14.0

vscode-pylance
ms-
2023.9.10

cpptools
ms-
1.17.5

hexeditor
ms-
1.9.12

live-server
ms-
0.4.8

vsliveshare
ms-
1.0.5883

vscode-react-native
msj
1.11.2

java
red
1.22.1

multi-command
ryu
1.6.0

memento-inputs
spa
1.0.0

electris
und
0.0.1

cmake
twx
0.0.17

intellicode-api-usage-examples
Vis
0.2.8

vscodeintellicode
Vis
1.2.30

vscode-gradle
vsc
3.12.7

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

markdown-pdf
yza
1.5.0

markdown-all-in-one
yzh
3.5.1

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vsccc:30803844
2e4cg342:30602488
89544117:30613380
showlangstatbar:30737416
03d35959:30757346
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxpt:30805730
pythonnoceb:30805159
asynctok:30821568
dsvsc013:30795093
dsvsc014:30804076
diffeditorv2:30821572
dsvsc015:30829745

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

Oh hey, what do you know, updating actually fixed it! I guess that's how it always goes:

Have you tried turning it on and off again?
Have you tried updating it?

I shoulda tried step 2 before spending all that time posting, haha.


text:
Anoying notification when no workspace opened

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

VS Code Version: 1.82.0 8b617bd08fd9e3fc94d14adb8d358b56e3f72314 x64
OS Version: System: Host: debian Kernel: 6.1.0-12-amd64 arch: x86_64 bits: 64 Console: pty pts/1 Distro: Debian   GNU/Linux 12 (bookworm) Machine: Type: Vmware System: VMware product: VMware Virtual Platform v: N/A serial: <superuser required> Mobo: Intel model: 440BX Desktop Reference Platform serial: <superuser required> BIOS: Phoenix   v: 6.00 date: 11/12/2020

Steps to Reproduce:

Set "debug.javascript.terminalOptions": { "envFile": "${workspaceFolder}/.env", }
Hit CTRL K + F
See notification about "missing directory"

I can't seem to repro this on my end.

I suppose the expectation here is to fail silently and ignore that configuration value?

Yes, since there no workspace opened, and no debugging expected)

authors: bhavyaus connor4312 sequencerr


text:
Unable to az login

Type: Bug
Hi, I am getting error while trying to login via command az login --tenant (with my tenant id) but getting error :decryption failed: key not valid for use in specified state.
Regards
Beena
VS Code version: Code 1.83.1 (f1b07bd25dfad64b0167beb15359ae573aecd2cc, 2023-10-10T23:48:05.904Z)
OS version: Windows_NT x64 10.0.22000
Modes:

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz (8 x 2611)

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)
7.69GB (0.81GB free)

Process Argv
--crash-reporter-id 70e5e693-19c2-4337-a510-77329d8b7d2d

Screen Reader
no

VM
0%

Extensions (17)

Extension
Author (truncated)
Version

codespaces
Git
1.16.2

remotehub
Git
0.62.0

vscode-github-actions
git
0.26.2

vscode-pull-request-github
Git
0.74.1

go
gol
0.39.1

terraform
has
2.28.2

vscode-azurefunctions
ms-
1.13.1

vscode-azureresourcegroups
ms-
0.7.5

vscode-azureterraform
ms-
0.3.2

remote-ssh
ms-
0.106.5

remote-ssh-edit
ms-
0.86.0

azure-account
ms-
0.11.6

azure-repos
ms-
0.38.0

azurecli
ms-
0.5.0

remote-explorer
ms-
0.4.1

remote-repositories
ms-
0.40.0

vsliveshare
ms-
1.0.5883

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263cf:30856253
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
282f8724:30602487
f6dab269:30613381
showlangstatbar:30737416
a2ce3375:30757347
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxpt:30866567
pythonnoceb:30805159
copilotsettingt:30859503
dsvsc013:30795093
dsvsc014:30804076
dsvsc015:30845448
pythontestfixt:30871694
pythonregdiag2:30871582
pyreplss1:30865275
pythontbext0:30864172

Hi 👋  this looks like an issue with the Azure CLI. Can you please open an issue there: https://github.com/Azure/azure-cli/issues

authors: TylerLeonhardt beenadhami


text:
NULL isn't working

Type: Bug
Basically almost every time I use NULL, it is being underlined by a red wavery line. Including  does not sort it out. The files still compile and work as intended. Thats what the error explains:
identifier "__null" is undefinedC/C++(20)
#define NULL __null
Expands to:
__null
VS Code version: Code 1.84.2 (Universal) (1a5daa3a0231a0fbba4f14db7ec463cf99d7768e, 2023-11-09T10:52:33.687Z)
OS version: Darwin x64 19.6.0
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-10500 CPU @ 3.10GHz (12 x 3100)

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_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
1, 1, 1

Memory (System)
8.00GB (0.09GB free)

Process Argv
--crash-reporter-id 205dc778-c9bd-4853-8b2e-2ef0011fa0d9

Screen Reader
no

VM
0%

Extensions (20)

Extension
Author (truncated)
Version

vscode-notes
dio
1.1.0

42-ft-count-line
DoK
0.4.2

norminette-42
evi
1.0.8

code-runner
for
0.12.1

vscode-pull-request-github
Git
0.76.1

42-c-format
key
0.0.5

42header
kub
0.42.9

git-graph
mhu
1.30.0

vscode-docker
ms-
1.28.0

remote-containers
ms-
0.321.0

cmake-tools
ms-
1.16.32

cpptools
ms-
1.18.5

cpptools-extension-pack
ms-
1.3.0

hexeditor
ms-
1.9.12

makefile-tools
ms-
0.7.0

vscode-spotify
shy
3.2.1

pdf
tom
1.2.2

cmake
twx
0.0.17

vim
vsc
1.27.1

txt-syntax
xsh
0.2.2

(2 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
vstes263:30335439
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263:30899288
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
3biah626:30602489
89544117:30613380
showlangstatbar:30737416
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
dsvsc013:30795093
dsvsc014:30804076
dsvsc015:30845448
pythontestfixtcf:30871695
pythonregdiag2:30871582
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
aa_t_chat:30882232

/extC++

It looks like this is caused by the C++ extension. Please file the issue to the C++ extension repository. Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.
Happy Coding!

authors: VSCodeTriageBot antoan02bb mjbvz


text:
"Open editors" should be able to sort in order of most recently viewed

Currently VS Code (while editing a Dart project with Dart-Code) shows the open tabs in a list at top right, called "OPEN EDITORS". This is sorted in the same order as the open tabs.
It would be really awesome if there were an option button at the top left of this list that allowed the user to sort in different orders, specifically adding the ability for the user to view the tabs in order of most recently viewed, so that the most recently viewed editor is at the top of the list.
This would help a lot when a lot of tabs are open, and you can't remember which file you made an edit in a few tab switches ago.

Alphabetical (lexicographical) sort order would also be useful for quickly visually finding files in the open editors list.

Alphabetical (lexicographical) sort order would also be useful for quickly visually finding files in the open editors list.

Did you look at the explorer.openEditors.sortOrder setting?

I didn't (I didn't know that setting existed, but then again, I have no idea how anyone is supposed to know what all the settings are, out of the hundreds that exist). But that's not what I'm asking for, I'm asking for a filter button at the top of the list (that sets that setting). UIs should be discoverable and contextual. Putting a button on the list itself would expose that setting, and make it easy to set in context.

authors: gjsjohnmurray lukehutch


text:
Explorer: save/restore collapsed state of views based on current language mode

Some extensions add views to explorer. Depending on current task some views are more useful than others. Currently it requires manual collapsing/expanding of views when switching active files to give more space to more useful views. It would improve explorer usability if collapsed state would be saved and restored for language mode of an active file.

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 vldmr-bus


text:
Test: Custom Editor Labels

Refs: #41909

[x] macOS @paulacamargo25
[x] linux @andreamah
[x] windows @hediet

Complexity: 5
Create Issue

In this iteration we added support to change the labels of open editors (Name displayed in the tabs and open editors view). Users can do this by adding an entry in the workbench.editor.customLabels.patterns setting. An entry consists of:

Item: Glob Pattern that matches the file path of the editor. If the pattern is a relative pattern, then it is matched against the relative file path of the editor (relative to current workspace). If the pattern is an absolute pattern (starts with /), then it is matched against the absolute file path of the editor.
Value: Template which defines how the label should be rendered. The template can include the following variables which will then be replaced with the respective values of the current matched pattern:

${extname}: The file extension of the current editor (txt, py, ts).
${filename}: The name of the file of the current editor. Does not include the extension. (root/parentFolder/folder/file.txt => file)
${dirname}: The name of the folder the file of the current editor is placed in. (root/parentFolder/folder/file.txt => folder)
${dirname(N)}: The name of the nth parent folder in which the file is located:

${dirname(0)} is the same as ${dirname}: (root/parentFolder/folder/file.txt => folder)
${dirname(1)} is the parent folder of ${dirname(0)}: root/parentFolder/folder/file.txt => parentFolder
${dirname(2)} is the parent folder of ${dirname(1)}: root/parentFolder/folder/file.txt => root
${dirname(3)} is the parent folder of ${dirname(2)}: For the file path root/parentFolder/folder/file.txt, root is at level 2 and does not have a parent folder. In this case there is no value we can replace ${dirname(3)} with so we render the variable name as is. The reason we render the variable in the name is so that the user is aware that his template doesn't properly work for his case and hence should fix it.

Testing:

Add a simple patern and a template and see how the editor names are changed. A very simple option could be:

Pattern: **, Template: Hello World:
The ** pattern will match with every single editor. This means no matter which editor you open it will be called Hello World. Check both the name rendered in the tab and the name rendered in the open editors view

Set workbench.editor.customLabels.enabled to false: All editors will have the REAL name again.
Set workbench.editor.customLabels.enabled back to true: All editor will have the Hello World name again
Remove the previously added pattern.
Add a more complex pattern. Here an example for the AbstractTree.ts file in the vscode repository located at src/vs/base/browser/ui/tree/abstractTree.ts. Open the file and add the pattern, see how it will be renamed.

Pattern: src/**/abstractTree.ts, Template: ${dirname}/${filename}:
The file will now be rendered as tree/abstractTree. As this is the only editor that matches with the pattern, no other editor is renamed.

Add one more pattern (you should then have 2 patterns total) which will also match with that file. Make the pattern more specific then the previous one. For example:

Pattern: src/vs/base/**/abstractTree.ts, Template: ${dirname(1)}/${dirname}/${filename}:
The file will now be rendered as ui/tree/abstractTree because this pattern is more specific compared to the pattern previously

Super nice feature!

Nifty feature!

Nice work 👍 ❤

If I want my vscode extension to set the workbench.editor.customLabels.enabled setting to true, and more importantly, the workbench.editor.customLabels.patterns setting inside its contribution point in package.json, how would I go about doing it?
Thanks

@ronsig You can use configurationDefaults to set the default value of a setting. We are working on a better way for extensions to provide patterns such that a user can have multiple extensions providing patterns. Tracking this issue here: #211632

authors: andreamah benibenj hediet paulacamargo25 ronsig


text:
Is the graph suppose to be chronological?

Testing #217398
I found myself in this state:

checkout a topic branch from main
[topic] change something & commit
[topic] push
switch to main branch
[main] change something & commit
switch to the same topic branch as before
[topic] change another thing & commit
Merge main into `topic

Which gave me this:

I did have a merge conflict that I had to fight, but addressed it.
Here's what's odd to me...
commit something local was committed after stuff 2... so idk... I feel like I would expect commit something local to be above stuff 2 in the graph (making the graph sorted chronologically where newest is on top)... but in this case, it's under stuff 2.
Is this expected?

Thanks for the feedback. The commits are in topological order as we are using the --topo-order flag. This is the flag that is being used when you run git log --graph as it makes sure that the graph is more readable.

authors: TylerLeonhardt lszomoru


text:
open folder with vscode not work under kubuntu24.04LTS

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

VS Code Version:  code_1.89.1-1715060508_amd64.deb is not available when code_1.84.2-1699528352_amd64.deb is available.
OS Version: Linux myUbt 6.8.0-36-generic #36-Ubuntu SMP PREEMPT_DYNAMIC Mon Jun 10 10:49:14 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

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

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

I want to claim the latest version is remain unavailable. I have tried code_1.91.0-1719861592_amd64.deb.

/gifPlease

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.
Happy coding!

This "Open with Code" issue has been raised multiple times in this forum, specifically for windows 11 and it keeps getting closed but it's not fixed. There are several things at play here. First when you right click a file, like an .md or .cs or .txt you should have an option to "Open w&ith Code" and likewise on ANY directory you should have the same option. Thats how it is in Windows 10. if you uninstall VSCode and do a clean user install the installer gives you some checkboxes to implement it into the shell...And it just works! OK...Now on Windows 11, you do the same thing, but it is not handled the same way. There is the default context menu (That has Show more Options at the bottom) and the classic context menu (the same one as in Windows 10) Everything is fine if you go to the bottom and click Show more Options, THEN click "Open With Code" but it gets really tiresome adding just ONE extra step, especially when you have a demanding workload and constantly opening up directories with customer data all day.  The "Open with Code" is kind of there for files in the default context menu, but still not the same as in Windows 10.  The only thing i hear is "Use this workaround".... or ...Hey just set the classic context menu as the default, If you want to get technical you can right click a directory and then click Open in a terminal, then type "code ." and it will open VSCode to that directory, but Noone should have to do all that And I must use what my customers use, which is windows 11, and we require all our support to become proficient with the Windows 11 defaults, so they can help customers more efficiently. We can't tell our customers to click on "Open with Code", when it's not available, because they are using the CORRECT context menu and I'm using some workaround with something different. And They couldn't use the workaround anyway because they are locked down with group policies and can't change such things as "setting their context menu to the classic".
Now of course there are people who have implemented the windows API and windows shell ....they are on GitHub, but again, I am not using 3rd party software just to make my context menu show the hidden handlers and I can't very well have my customers change it either as I do not control their group policies but I'm sure they are not allowed to install 3rd party shell implementations or even modify their registry, and they shouldn't have to.
But it seems like VSCode is putting the registry entries where they should go but, the windows API (windows shell, specifically) seems to be overriding that. Is there anything we can do to help with this issue to get it fixed once and for all?

authors: VSCodeTriageBot alexr00 johnottone wyjBot


text:
Java files are not loading

Type: Bug
Whenever i try to run a java file at the bottom of the screen it shows Java: Activating..... for ever help me pls
VS Code version: Code 1.91.0 (ea1445cc7016315d0f5728f8e8b12a45dc0a7286, 2024-07-01T18:52:22.949Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i5-11400H @ 2.70GHz (12 x 2688)

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_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
15.73GB (2.30GB free)

Process Argv
--crash-reporter-id ce2fb043-90cd-47f4-b134-a6ce4ab30e86

Screen Reader
no

VM
0%

Extensions (37)

Extension
Author (truncated)
Version

html-snippets
abu
0.2.1

askia-qexml-generator-extension
Ask
1.0.1

vscode-django
bat
1.15.0

codeium
Cod
1.8.80

python-environment-manager
don
1.2.4

python-extension-pack
don
1.7.0

xml
Dot
2.5.1

vscode-html-css
ecm
2.0.10

html-preview-vscode
geo
0.2.5

vscode-javac
geo
0.2.46

vsc-python-indent
Kev
1.18.0

python-path
mge
0.0.14

csdevkit
ms-
1.8.14

csharp
ms-
2.34.12

vscode-dotnet-runtime
ms-
2.0.8

vscode-ros
ms-
0.9.2

debugpy
ms-
2024.8.0

python
ms-
2024.10.0

vscode-pylance
ms-
2024.7.1

cmake-tools
ms-
1.18.43

cpptools
ms-
1.20.5

cpptools-extension-pack
ms-
1.3.0

autodocstring
njp
0.6.1

java
red
1.33.2024062908

vscode-xml
red
0.27.1

html5-boilerplate
sid
1.1.1

java-generate-setters-getters
soh
8.0.1

code-spell-checker
str
3.0.1

cmake
twx
0.0.17

intellicode-api-usage-examples
Vis
0.2.8

vscodeintellicode
Vis
1.3.1

vscode-java-debug
vsc
0.58.0

vscode-java-dependency
vsc
0.23.7

vscode-java-pack
vsc
0.27.0

vscode-java-test
vsc
0.41.1

vscode-maven
vsc
0.44.0

jinja
who
0.0.8

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
chatpanelc:31048052
dsvsc021:30996838
jg8ic977:31013176
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
newcmakeconfigv2:31071590
impr_priority:31082723
pythonrstrctxtcf:31093870

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. If you don't know which extension is causing the problem, you can run Help: Start extension bisect from the command palette (F1) to help identify the problem extension.
Happy Coding!

authors: Aniket-world VSCodeTriageBot


text:
Impossible to open secondary sidebar with native title bar

This is what my editor looks like:

How am I supposed to access the secondary sidebar? When I have window.titleBarStyle set to "custom" I can see the buttons:

But since you moved copilot chat to its own panel that has no button to open it's impossible to find if you don't already know what you're doing.

@GammaGames when you configure window.customTitleBarVisibility to auto or windowed, you can see the command center, chat controls and layout controls appear:

Does that work for you?

authors: GammaGames bpasero


text:
Stable version is broken since you forced me to use insiders version that is broken too.

I can't access anything in github.dev, everthing is broken, not usable anymore since you forced me to use insiders crap version.
FIX YOUR SHIT !
Version: 1.95.1
Commit: 65edc4939843c90c34d61f4ce11704f09d3e5cb6
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
Embedder: github.dev

\gifPlease


text:
The code colors in VSCode look strange.

Type: Bug

When a comment is added directly before a preprocessor directive without any whitespace, the colors appear normal.
#if 1//Comment
#endif

When there is whitespace before the preprocessor directive and a comment is added, the code colors often appear incorrect.
#if 1       //Comment
#endif

VS Code version: Code 1.95.3 (f1a4fb101478ce6ec82fe9627c43efbf9e98c813, 2024-11-13T14:50:04.152Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info

Item
Value

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

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_graphite: disabled_offvideo_decode: disabled_softwarevideo_encode: disabled_softwarevulkan: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_softwarewebgpu: unavailable_softwarewebnn: unavailable_software

Load (avg)
undefined

Memory (System)
31.82GB (17.65GB free)

Process Argv
--crash-reporter-id db904be4-a81b-420a-ade3-6086584ffb5c

Screen Reader
no

VM
0%

Extensions (24)

Extension
Author (truncated)
Version

Bookmarks
ale
13.5.0

vscode-log-viewer
ber
0.14.1

doxdocgen
csc
1.4.0

dart-code
Dar
3.102.0

flutter
Dar
3.102.0

LogFileHighlighter
emi
3.3.4

prettier-vscode
esb
11.0.0

cmake-language-support-vscode
jos
0.0.9

csdevkit
ms-
1.13.9

csharp
ms-
2.55.29

vscode-dotnet-runtime
ms-
2.2.3

vscodeintellicode-csharp
ms-
2.2.3

remote-containers
ms-
0.388.0

remote-ssh
ms-
0.115.1

remote-ssh-edit
ms-
0.87.0

remote-wsl
ms-
0.88.5

cmake-tools
ms-
1.19.52

cpptools
ms-
1.23.1

cpptools-extension-pack
ms-
1.3.0

hexeditor
ms-
1.11.1

remote-explorer
ms-
0.4.3

LiveServer
rit
5.7.9

cmake
twx
0.0.17

vscode-icons
vsc
12.9.0

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt551cf:31179979
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
dvdeprecation:31068756
dwnewjupyter:31046869
2f103344:31071589
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc2:31185842
cf971741:31144450
iacca1:31171482
notype1cf:31157160
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530

dup:

https://github.com/jeff-hykin/better-c-syntax/issues/4
https://github.com/jeff-hykin/better-cpp-syntax/issues/602
https://github.com/microsoft/vscode/issues/200301
https://github.com/microsoft/vscode/issues/157626
https://github.com/microsoft/vscode/issues/161180

Thanks for linking the dupes!

authors: RedCMD alexr00 captiveking


text:
Add ability to open files with the OS's default application

A context menu option can be added to the file browser that allows files to be opened in the default application for that file type. For example if the file is a PDF document, opening the context menu and click "Open with desktop" will open the file with the default PDF reader.
This can be accomplished with the openItem() method from Electron's shell module.
I am aware that this particular feature has been suggested before in #50383 and #45989 but my suggestion is not the same as that.

For now you can reveal the program in the finder/desktop and open the file from there.

Yes but that's very cumbersome, it would be much easier if it can be done directly from VS code.

I also wanted this feature, I found an extension that does that, Open - sandcastle.vscode-open, repository. But it would be great to have natively.

I just wanted to open an HTML file but always have to open the folder to open with the default application.

Is this feature is planned ? It is really annoying to open the folder and open the desired file. All the extensions in the VSCode marketplace does not work under Linux

authors: PapsOu egamma hugonasciutti nabeelomer


text:
VS Code cannot handle network drives when run as Administrator

Steps to reproduce: run VS code as administrator. attempt to open any folder or file on a mapped network drive (e.g., 'Y:'). VS Code stalls/hangs/does nothing.
Cannot install things using terminal because VS Code doesn't have admin rights, but running as admin means I can no longer access my files... completely screwed by this and can't find a way around it.

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

Network Share Unavailable As Admin (#64768)

It's an issue, and it hasn't been fixed yet, therefore a new one will be created. I'm not going to +1 an issue, I'm going to make my frustration known. Thanks though, bot.

It's an issue, and it hasn't been fixed yet, therefore a new one will be created. I'm not going to +1 an issue [...]

@justinTM, does this mean you advocate that whenever a user as a problem, no matter if that problem was reported, it should be reported again? So if 200 users face a general problem, there should be 200 issues on a repo about this same problem? Are you seriously this dense? Don't you understand that when you have a backlog of issues, having duplicates is a complete waste of time since you need to triage them all, which at the scale of 5600+ issues and 100+ issues / day is a time vortex that prevents you from actually fixing these issues?

I'm going to make my frustration known.

Yes, it can be frustrating to stumble upon a bug into a program that you use. It may very well be frustrating. What prevents you from sharing your frustrations in the comments of the already existing issue, therefore making the issue heavier and more prone to be fixed earlier? Having two issues of the same time is simply annoying - having one big issue is a pressure to actually act upon.
You could respond with "I didn't know the issue existed before" - fine, then I could say that you should've searched before. Maybe your search was unsuccessfull then? Sure, then proactively make your voice heard on the initial issue, close your own, and fix what then would be your mistake.
Closing thought : in general, when you demand something, don't be sassy. "Thanks though, bot." - how does that help your cause? The maintainers (Microsoft, in this case) of any repo has no obligations toward you, you are not a special snowflake. Or maybe you are, but it wouldn't be in a positive way...
This issue is a direct duplicate of #64768 and should therefore be closed as such.

This issue seems to originate from an upstream component and is not something VSCode can fix by making a change to the code. As such, I will go ahead and close it. If you can identify the component that is causing the issue, please report it upstream:

for UI, OS integration: https://github.com/electron/electron
for Rendering: https://bugs.chromium.org/p/chromium/issues/list
for file IO: https://github.com/nodejs/node

Thanks for understanding.

authors: V-ed bpasero justinTM


text:
Support searches for CommonJS modules on Typescript

When I code the following example, vs-code will not display the correct types
const Koa = require('koa')
const server = new Koa()

server.listen(3000)

but when I code import Koa = require('koa') or import Koa from 'koa', it works.
{
  "name": "test2",
  "version": "1.0.0",
  "main": "index.js",
  "license": "MIT",
  "dependencies": {
    "koa": "^2.7.0",
    "typescript": "^3.5.3"
  },
  "devDependencies": {
    "@types/koa": "^2.0.49",
    "@types/node": "^12.6.8"
  }
}

{
  "compileOnSave": true,
  "compilerOptions": {
    "target": "es6",
    "module": "commonjs",
    "moduleResolution": "node",
    "sourceMap": true,
    "baseUrl": "."
  }
}

This is by-design for TS files. TypeScript requires using import for typed imports

but Webstorm support this feature

@mjbvz Could there perhaps be a warning that IntelliSense won't work for const requires? It took me a good amount of Googling just to find an answer that explained how to import corectly using import, and only after finding that was I able to find this issue that explains that it's not supposed to work. I guess it's not abundantly clear why it works in JS files and not in TS files, and a quick Info in the Problems pane would be nice (especially since TS compiles the import to const for Node modules).

This is the designed behavior. It is perfectly valid to write const x = require(...) in TS, and in-fact this lets you import files that TS would otherwise complain about.
If you want to have type checking on the import, use import x = require(...) or the modern import x from ... form. import from is what you should probably be using in almost all cases anyways

I understand that it's designed, but it's not consistent. Generally, anything valid in JS is also valid in TypeScript. So, one would assume that writing const x = require(...) would have the same effect on IntelliSense as import x = require(...). They're both valid, but TS treats one as an import and one as...nothing, which seems inconsistent from my point of view. It's not just type checking, it's all IntelliSense. Methods and variables aren't suggested, VS Code just treats the object as if it's nothing, and it's not clear why to someone first stepping into TS on VS Code.

authors: Himself65 michaelkolber mjbvz


text:
Test: Webview.asWebviewUri

Test for #79242

[ ] Mac @chrmarti
[ ] Linux @bpasero
[x] Windows @alexr00

Complexity: 4
Overview
This iteration, we finalized two apis on the Webview object:

webview.asWebviewUri(resource) — Converts resource from a file resource uri to a uri that can be used in webviews to load local content

webview.cspSource —  Content security policy root for local resources.

Test using these two apis to load local resources inside the webview in both desktop and web versions of vs code. You can use the webview sample as a starting point: https://github.com/microsoft/vscode-extension-samples/tree/master/webview-sample

Test in desktop and in web.

I forgot to check the platform and did macOS. Seems to work fine after a little bit of hiccup understanding it.

@mjbvz I can't get it to work on Linux with an image. The URL is vscode-resource:/home/chrmarti/Downloads/coding.gif and the CSP is content="default-src 'none'; img-src vscode-resource: https:; [...]. The webview dev tools show an net::ERR_ACCESS_DENIED for the coding.gif. 🤔

Figured it out: The file needs to be in the extension's folder it seems - which makes sense. Maybe the API could throw or log a warning if that is not the case. Will open an issue.

authors: alexr00 bpasero chrmarti mjbvz


text:
Duplicate files in search, file open when accessed via absolute path

Issue Type: Bug
VS Code version: Code 1.40.1 (8795a9889db74563ddd43eb0a897a2384129a619, 2019-11-13T16:49:35.976Z)
OS version: Windows_NT x64 10.0.18363
When files have been opened using an absolute path (e.g. by clicking a link in a compiler output):

VS code doesn't seem to realize they are part of the workspace, and opens an editor associated with the absolute path. From this point forward, any search, CTRL+P, and problem reports will show the file twice, using both the absolute and workspace-root-relative paths, until I manually clear "recently opened":

VS Code should be able to recognize that files opened with absolute paths are within the workspace root and not open a duplicate editor. I am not sure if this is a windows-specific problem or not.
System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz (8 x 2112)

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)
15.93GB (6.71GB free)

Process Argv
.

Screen Reader
no

VM
0%

Extensions (7)

Extension
Author (truncated)
Version

vscode-eslint
dba
1.9.1

gitlens
eam
10.2.0

prettier-vscode
esb
3.8.0

vue
jcb
0.1.5

terraform
mau
1.4.0

remote-wsl
ms-
0.40.3

csharp
ms-
1.21.7

Also, the debugger seems similarly confused. e.g. trying to debug Jest:
node --inspect ./node_modules/jest/bin/jest --watch someTest

It can't bind breakpoints in the test files unless I make them in the absolute-path version of the file.

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

@basero the related issue you linked to only discusses casing and drive letter convention issues, afaict. This issue has to do with workspace-relative versus absolute paths. They seem to be different issues to me, but if they are the same root cause then maybe this should be mentioned as another consequence in that issue?

authors: bpasero jamietre


text:
Firstline not working

Issue Type: Bug

I am making an extension and firstline does not work.
When I add
{
"firstLine": "-- #\/Teverse"
}

to my package.json, it won't work.
The first line of the file is:
-- #/Teverse

in test.lua

The workaround for this is if I set add:
{
    "extensions": [
        ".lua"
    ],
}

to package.json. But, every lua file has the custom language.

VS Code version: Code 1.42.0 (ae08d5460b5a45169385ff3fd44208f431992451, 2020-02-06T10:51:34.058Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz (4 x 2904)

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)
15.85GB (7.16GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (22)

Extension
Author (truncated)
Version

lua-debug
act
1.22.3

npm-intellisense
chr
1.3.0

vscode-eslint
dba
2.0.15

vscode-npm-script
eg2
0.3.11

vscode-rojo
eva
1.11.1

glitch
gli
0.1.5

beautify
Hoo
1.5.0

discord-vscode
icr
3.13.0

path-autocomplete
ion
1.13.3

vscode-peacock
joh
3.3.1

chat
kar
0.31.0

electron-debug
kod
18.11.1

remote-wsl
ms-
0.42.3

vsliveshare
ms-
1.0.1615

vsliveshare-audio
ms-
0.1.80

vsliveshare-pack
ms-
0.3.4

debugger-for-chrome
msj
4.12.6

vscode-react-native
msj
0.14.0

LiveServer
rit
5.6.1

ejs-snippets
Tao
0.1.0

vscodeintellicode
Vis
1.2.5

vscode-icons
vsc
9.7.0

See https://regex101.com/r/ryzHjf/1 for regex info.

@sasial-roblox  That works for me.
When using:
"contributes": {
    "languages": [
      {
        //...
        "firstLine": "-- #\/Teverse",
      }
    ]
}

And opening a file with an unknown extension, like test.tssss with the contents:
-- #/Teverse

This is interesting

The file is associated with the language I have chosen. Do you perhaps try to open a file with a file extension that is defined by another extension?

Yeah.
I'm doing .lua, so it is overwritten by lua.
Is there anyway to get around that?

@alexdima
Yeah.
I'm doing .lua, so it is overwritten by lua.
Is there anyway to get around that?

Also,
If there an activation event for on save?

@sasial-dev No, extension matches get higher priority. First line matches are only considered if a file is not recognized by its filename. You can write an extension and change the language of the lua documents after they have been opened.

authors: alexdima sasial-dev sasial-roblox


text:
Typescript died 5 times

Issue Type: Bug
Open a split screen and start coding in both of them and the Typescript extension start failing.
VS Code version: Code 1.42.1 (c47d83b293181d9be64f27ff093689e8e7aed054, 2020-02-11T14:45:59.656Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz (4 x 2712)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: disabled_softwaremetal: 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: enabled_readbackwebgl2: enabled_readback

Load (avg)
undefined

Memory (System)
11.89GB (6.79GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (4)

Extension
Author (truncated)
Version

vscode-eslint
dba
2.1.1

Angular-BeastCode
Mik
8.1.2

vscode-typescript-tslint-plugin
ms-
1.2.3

material-icon-theme
PKi
3.9.3

Does this reproduce in the latest VS Code insiders build with all extensions disabled?

authors: Immutare mjbvz


text:
Intellisense tip "Process keyword" was not localized

VSCode Version: 1.44.2
OS Version: Windows x64 10.0.18363
Language: Non-English

Steps to Reproduce:

Open a workspace which contains a .cpp file
Open a cpp file
Type "#include" in the cpp file

Expected:
The intellisense tip "Process keyword"  was localized
Actual:
"Process keyword" was not localized

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

This only happens when you have the C++ extension installed.


text:
If find and replace is launched with multiple cursors present, automatically send first to find and the second to replace

When we have text selected and press the ctrl+F key combination to launch find, the selected text is directly sent to the find field. However, if we select text and press the ctrl+H key combination to launch find and replace, highlighted text is only sent to the find field and the replace field is left blank.
This is an understandable limitation in most applications as they only support a single cursor. However, as Visual Studio supports multiple cursors and selections, I think a feature to send the first highlighted text to the find field and the next highlighted text to the replace field would fit perfectly in VS Code.
The feature would work as follows -

Select the text you wish to find.
Preserving the previous selection, make a new selection (multi-cursor - can be done by pressing and holding the alt key while making the second selection).
Launch find and replace(ctrl+H, by default).

At the end of these three steps, the first selection will be placed in the find field and the second selection will be placed in the replace field.
The following image would be the result after completing the above three steps. Here, "Hello" was selected first, then "World"

I have managed to locally implement this feature and I have been using the modified build for a while now. I will attach a PR of the same for whoever wishes to try/test the same.
Small, simple but usable features like this are what make VS Code great and I think this feature will add to the overall convenience of using VS Code.
What do you guys think?

This is certainly not how I would expect it to work so it's opening up users to getting confused imo.

I have managed to locally implement this feature and I have been using the modified build for a while now.

You can probably write an extension to do this?

Interesting idea. I'm not sure yet how we are going to introduce it without breaking existing users' expectations. Let's see how others think about it.

authors: Tyriar rebornix veddandekar


text:
vs-code crash issue

Issue Type: Bug
I have many times crash on vs-code recently . please check
VS Code version: Code 1.45.1 (5763d909d5f12fe19f215cbfdd29a91c0fa9208a, 2020-05-14T08:27:35.169Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

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

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.85GB (4.34GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (2)

Extension
Author (truncated)
Version

typescript-hero
rbb
3.0.0

vscode-scss-formatter
sib
2.0.1

/needsMoreInfo


text:
Option to clear debug console suggestions

I'd like there to be an option to clear debug console suggestions. For me, clearing the debug console history does not clear the debug console suggestions. I have tried setting debug.console.historySuggestions to false in settings.json, but it's not quite what I'm looking for: I still want to have suggestions in the debug console, I just want to clear all of the existing ones. For me, I can't make this history suggestions go away, either by reloading the window, or by closing and reopening VSCode entirely.
I'm using a Windows 10 64-bit computer. My VSCode "about" details are as follows:
Version: 1.45.1 (user setup)
Commit: 5763d909d5f12fe19f215cbfdd29a91c0fa9208a
Date: 2020-05-14T08:27:35.169Z
Electron: 7.2.4
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363

Let me get this precise: you want the debug console history suggestions to be dropped on vscode reload / restart?
I think this is a fair feature request

Hi @isidorn , thank you for looking into this. To be more precise, ideally I'd like there to be either a button or a VSCode command (that can be bound to a keyboard shortcut), so that when the debug console history gets too long/annoying, I can use that button/command to clear the suggestion history (without having to reload/restart VSCode)

(sorry I think I must have pressed the "Close and comment" button by mistake instead of "comment")

Thanks for clarifying.


text:
Fixes extension activation fail after upgrade with Error: Cannot find module 'vscode'

Fixes #185733
cc @alexdima
Can this be scheduled for next release 1.80 or recovery release 🙏?  it's affecting my extension as it will fail to activate using onUri event

ping @alexdima

Appologies I only saw this now, I'll try to get it with the next recovery.

source: gharchive/pull-request


text:
Split TS' AI-backed code actions into separate entries

Lets the user decide whether to add AI to their code action, which shows intent, which is good for us to learn whether people actually want this.
Related: this should be unflagged for insiders. To do this, do I just delete the flags? But I think the code should check whether github copilot chat is installed then, instead of checking for the flag.

Quick note: don't merge this yet; my current testing still shows it replacing the original codefix. Not sure what I was doing when I tested it 3 weeks ago.

I pushed a hacky workaround for quickfixes -- refactors are already fine, which must have been what I actually tested when I wrote this in December.
I still haven't figured out how to mark actions with isAI, but maybe that's not worth putting in this PR.

I modified the CodeActionSet class, but the change is only worthwhile if I have access to isAI so that I can skip the deduping code when isAI=true. @mjbvz, you linked me to a commit with a proposed change -- is this available on main? How do I get access to it in the typecript extension?

@sandersn I've pushed the changes to use isAi. Let me know if you want me to review the PR again and do some local testing

Sorry, I'm not sure how I missed this. I'll rewrite my change to use isAI and push another commit.

I couldn't get the codeActionAI proposal to compile, and it's not compiling on CI either, but I changed the code to use isAI to put AI-backed codeactions last.

Compiles on my (mac) laptop, so I pushed a small fix + a merge from main.

I removed the experimental flag for AI code actions and instead checked for github.copilot-chat.

authors: mjbvz sandersn


text:
Update to use node 12 typings

Fixes #82514

@joaomoreno Could use your help with the errors related to es6-promise.d.ts

@jrieken Should jump in. :+1:

@jrieken I need help with es6-promise.d.ts so Let's try to fix this in December for debt week

authors: joaomoreno mjbvz


text:
New Option: editor.deleteAllLeadingBlankCharacters

This PR addresses #95642 by adding the option mentioned in the issue and making the option language-specific. For example, the user can enable it for C++ and Java and disable it for languages that rely on indentation such as Python.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: coffee-sgr sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

authors: coffee-sgr msftclas


text:
live server extension

Issue Type: Bug
I have installed an live serer extension but it is not being active
VS Code version: Code 1.60.0 (e7d7e9a9348e6a8cc8c03f877d39cb72e5dfb1ff, 2021-09-01T10:41:52.311Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No

Hi,
Thanks for reaching out to the VS Marketplace Team. This issue has been resolved, and the mentioned extension is now active in the VS Marketplace. Please let us know if you encounter any further issues.
Regards,
VS Marketplace Team

Closing the issue since there has been no updates on the information requested. If the issue still persists, please feel free to reopen or create a new issue.

repo: microsoft/vsmarketplace


text:
Add bindings for the aligned* allocation functions

Suggestion
Neither the libc, windows, nor windows-core crates declare these Windows-specific functions from <malloc.h>/<cstdlib>. Would they be in scope of this project? Or are they considered part of MSVC runtime instead of the Windows API?
My use case is a situation where the alignment is known when allocating memory but not when freeing memory, so I cannot use std::alloc, but I could use _aligned_malloc and _aligned_free.

Oh :confused: it turns out they are in libc, but for some reason without the leading underscore:
https://github.com/rust-lang/libc/blob/1b11393b68c0cf4a0541fed5c393c31482801ab2/src/windows/mod.rs#L511-L514

repo: microsoft/windows-rs


text:
What type of update are you requesting?
A new version of an existing package
Current Package Identifier
VirtualHere.USBClient
Package Version
5.6.8+
Please describe the changes you would like to see

Reference: https://github.com/microsoft/winget-pkgs/pull/164484

Related https://github.com/microsoft/winget-pkgs/pull/164484#issuecomment-2249203836

Package seems still valid.

It's a vanity URL, and the hash has changed. There's supposed to be an addition PR to complement the removal, but here it seems missing.

repo: microsoft/winget-pkgs


text:
Package Requested

[X] I would like someone else to build the manifest.
[ ] I would like help so I can submit the manifest.
[X] I have performed a search and couldn't find this package.
[X] I have checked that the installer for this package is not a standalone or portable executable or a .zip file
[ ] I think there is a new version available and I have provided the URL.

Please provide the following information
Publisher: IDRIX
Publisher Url: https://veracrypt.fr/
Package Name: VeraCrypt
Description: Free Open source disk encryption with strong security for the Paranoid
Package Version: 1.24-Update7
Installer URL: https://launchpad.net/veracrypt/trunk/1.24-update7/+download/VeraCrypt Setup 1.24-Update7.exe

https://github.com/veracrypt/VeraCrypt/issues/447

Duplicate of #18101

This issue should be closed because of the existence of "http://github.com/microsoft/winget-pkgs/issues/18101".

authors: BEEDELLROKEJULIANLOCKHART EricMGVS KaranKad Trenly


text:
Newer Version: FujiApple.Trippy 0.8.0

Holding off merged due to Winget v1.5 and higher version is not yet released. Converting to draft.

Microsoft Reviewers: Open in CodeFlow

Do you know what happens to this pull request?

What the pull request gives me Validation-Executable-Error?

This package is expecting arguments:
error: the following required arguments were not provided:
  <TARGETS>...

Usage: trip.exe <TARGETS>...

For more information, try '--help'.

What the pull request gives me Validation-Executable-Error?

It can't tell if the program launched successfully or not. So a human reviews.

@mdanish-kh Do you know when the newer version winget-cli will release?

I'm not an MS employee so I can't say exactly but I recall it being mentioned that it's targeted for the end of this month.

Marking pull request is ready to review.

@stephengillie

@wingetbot waivers Add Validation-Executable-Error

Hmm, what the pipeline is happening.

/azp run

/azp run


text:
Fix WK Radar 7.5.0.405

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[x] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/110611&drop=dogfoodAlpha

Hello @stephengillie how are you?
Thank you for yesterday's support, but I believe the same situation is happening today.
Can we get around it again, please?
And, is there anything that can be done so that the process does not crash in the next few times?


text:
New version: Brave.Brave.Nightly version 116.1.59.5

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?
[X] This PR only modifies one (1) manifest
[X] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[X] Does your manifest conform to the 1.4 schema?

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/116366&drop=dogfoodAlpha

/azp run

authors: SpecterShell stephengillie


text:
Youdao.YoudaoDict 8.10.4.0 -> Youdao.YoudaoTranslate 8.10.4.0 [Move]

Microsoft Reviewers: Open in CodeFlow

@wingetbot waivers Add Validation-Domain


text:
Added MysqlShell 8.1.1

New updated PR of previous #47644 with dependencies defined in manifest file.

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[x] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.5 schema?
[x] Have you tested your manifest locally with winget install --manifest <path> --silent?
[x] Have you tested your manifest locally with winget remove --manifest <path>?
[x] Have you tested your manifest locally with winget install --manifest <path> --silent?

Note: the MySQL Shell documentation says:

For the Community and Commercial versions of MySQL Shell: Before installing MySQL Shell, make sure you have the Visual C++ Redistributable for Visual Studio 2015 (available at the Microsoft Download Center) installed on your Windows system.

Microsoft Reviewers: Open in CodeFlow

Looks like this is getting stuck on dependencies, since the feature is not yet released as stable

Yes, it's not getting through validation until we have the dependency support included in the validation pipelines. We're expecting the WinGet 1.6 client to be released at the end of the month. It will likely take a couple of weeks after that for >50% of clients to be updated, and then we'll begin validation with dependencies in earnest.

1.6 is ready, so can we run the pipelines again?

The pipelines are paused while we make some updates. Once they are re-enabled, the validation can be re-run.

Automatic Validation ended with:

Installation failed with exit code -1978335226
2023-09-18 06:32:58.953 [CLI ] ShellExecute installer failed: 1603 Property(S): ErrorDialog = ErrorDlg
MSI (s) (BC:F8) [06:32:58:557]: Product: MySQL Shell 8.1.1 -- Installation failed.
MSI (s) (BC:F8) [06:32:58:572]: Windows Installer installed the product. Product Name: MySQL Shell 8.1.1. Product Version: 8.1.1. Product Language: 1033. Manufacturer: Oracle and/or its affiliates. Installation success or error status: 1603.

@wingetbot waivers Add Validation-Shell-Execute

authors: Trenly denelon fabiang stephengillie


text:
New version: SmartSoft.SmartFTP version 10.0.3195.0

Pull request has been created with WinGet Automation 🪟📦🤖
Microsoft Reviewers: Open in CodeFlow

Merge Conflicts.


text:
New version: RussellBanks.Komac version 2.0.3

Pull request has been created with komac v2.0.3 :rocket:
Microsoft Reviewers: Open in CodeFlow

/AzurePipelines run

Policy 1.8 check here is likely due to the author's last name. It's happened before.

@wingetbot waivers Add

@wingetbot waivers Add Policy-Test-1.8

authors: russellbanks stephengillie


text:
Fix DisplayVersion for Google.AndroidStudio 2023.1.1.28

Related to #108921

Microsoft Reviewers: Open in CodeFlow

This is weird:

@wingetbot run

This is weird:

The error is actually because pipelines don't allow a duplicate DisplayVersion. This was included in another version that you removed :') Error should be gone now

Probably needs rebase before?

I re-ran the pipelines, this should fix itself. I believe the other PR needs to be Publish-Pipeline-Succeeded first for the check to work again, we may get the label again if that hasn't happened yet

@wingetbot run

authors: mdanish-kh treysis


text:
New version: GiulioSorrentino.CBriscola.Avalonia version 0.8.0

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Hi @numerunix,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 870.)

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-03-12 17:37:36.843 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(757)\WindowsPackageManager.dll!00007FFAFD16C11F: (caller: 00007FFAFCEF8D6F) LogHr(1) tid(56c) 8A15005E     Msg:[D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Rest\Schema\HttpClientHelper.cpp(30)\WindowsPackageManager.dll!00007FFAFD072B08: (caller: 00007FFAFD11BC20) Exception(1) tid(56c) 8A15005E ]
2024-03-12 17:37:36.843 [REPO] Failed to open available source: msstore
2024-03-12 17:37:40.347 [CLI ] Caught wil::ResultException: D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Rest\Schema\HttpClientHelper.cpp(30)\WindowsPackageManager.dll!00007FFAFD072B08: (caller: 00007FFAFD11BC20) Exception(1) tid(56c) 8A15005E
2024-03-12 17:37:51.124 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(757)\WindowsPackageManager.dll!00007FFAFBE2C11F: (caller: 00007FFAFBBB8D6F) LogHr(1) tid(8d8) 8A15005E     Msg:[D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Rest\Schema\HttpClientHelper.cpp(30)\WindowsPackageManager.dll!00007FFAFBD32B08: (caller: 00007FFAFBDDBC20) Exception(1) tid(8d8) 8A15005E ]
2024-03-12 17:37:51.124 [REPO] Failed to open available source: msstore
2024-03-12 17:39:49.793 [FAIL] Installer failed security check. Url: https://github.com/numerunix/CBriscola.Avalonia/releases/download/0.8.0/CBriscola.Avalonia-0.8.0-amd64.msi Result: 0x80004005
MSI (s) (64:C4) [17:38:13:620]: Executing op: ComponentRegister(ComponentId={AEF93A1C-8596-5F1B-918E-36EDE0A6E322},KeyPath=2285\SOFTWARE\Microsoft\Windows\Windows Error Reporting\RuntimeExceptionHelperModules\C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.2\mscordaccore.dll,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=1)
MSI (s) (64:C4) [17:38:16:292]: Executing op: RegOpenKey(Root=-2147483646,Key=SOFTWARE\Microsoft\Windows\Windows Error Reporting\RuntimeExceptionHelperModules,,BinaryType=1,,)
Property(S): ErrorDialog = ErrorDlg
MSI (s) (64:E4) [17:38:32:807]: An error occured while refreshing environment variables updated during the installation of ''. Some users logged on to the machine may not see these changes until they log off and then log back on.

(Automated response - build 870.)

it's the smart screen

I'm sorry, i for error deleted the msi from github, i recompiled it, the hash has changed.
Thanks.

authors: numerunix stephengillie


text:
Update Aurora Windows Optimizer to version 17.0

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[x] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[x] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Verify:

@stephengillie  What does this image mean besides how can I find my package in winget

This puts the Registry data into the PR, for easy comparison with the manifest. It's a key part of evaluating the manifest for a new package, and this lets community members review and check the PR without having to install the package.

authors: azurejoga stephengillie


text:
Remove Amazon.Corretto.11 11.0.12.7.1 to Amazon.Corretto.11.JDK 11.0.12.7.1

Microsoft Reviewers: Open in CodeFlow

URL: https://corretto.aws/downloads/resources/11.0.12.7.1/amazon-corretto-11.0.12.7.1-windows-x64.msi
OK
(Automated message - build 910)


text:
Remove version: NelsonNumericalSoftware.Nelson version 0.7.11.3470

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/Nelson-numerical-software/nelson/releases/download/v0.7.11/Nelson-0.7.11.3470-x86-64.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 911)


text:
New version: voidtools.Everything.Lite version 1.4.1.1026

Created by 🥟 Dumplings in workflow run #7018.

Log
Updated: 1.4.1.1025 → 1.4.1.1026
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

@SpecterShell FYI: this PR linked to the wrong edition. see #166039

authors: a-mnich spectopo


text:
New version: charmbracelet.markscribe 0.8.1

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[x] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[x] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Automated with GoReleaser
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Executable C:\Users\validator\AppData\Local\Microsoft\WinGet\Links\markscribe.exe returned exit code: 1
Executable C:\Users\Validator\AppData\Local\Microsoft\WinGet\Links\markscribe.exe returned exit code: 1

(Automated response - build 887.)

authors: charmcli stephengillie


text:
Remove version: 7S2P.Effie version 3.11.3

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://download.effie.pro/effie/effieapp_setup_3.11.3.exe
Response status code does not indicate success: 403 (Forbidden).
(Automated message - build 896)


text:
New version: Universal-Debloater-Alliance.uad-ng version 1.1.0

Pull request has been created with komac v2.6.0 :rocket:

Resolves #180527

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -1978335140
2024-10-09 20:49:48.639 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\Archive.cpp(33)\WindowsPackageManager.dll!00007FF905E0413B: (caller: 00007FF905D7EBB5) ReturnHr(1) tid(140c) 80004005 Unspecified error
2024-10-09 20:49:48.640 [CLI ] Failed to extract archive with code -2147467259

Automated error analysis suggests -1978335140 may mean Failed to extract archive. Does the InstallerUrl actually end in .zip - or does it have a different extension?
Automated error analysis suggests 80004005 may mean Resource missing
(Automated response - build 896.)

Duplicate of #182045

authors: Trenly fancybody stephengillie


text:
Remove version: WilbertBerendsen.Frescobaldi version 3.2

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: Package still available.;


text:
Added OctopusDeploy.Tentacle version 6.1.790

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[x] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

PS C:\Users\WDAGUtilityAccount\Desktop\manifests> winget install -m "C:\Users\WDAGUtilityAccount\Desktop\manifests\o\OctopusDeploy\Tentacle\6.1.790"  Found Octopus Deploy Tentacle [OctopusDeploy.Tentacle]
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://download.octopusdeploy.com/octopus/Octopus.Tentacle.6.1.790-x64.msi
  ██████████████████████████████  6.88 MB / 6.88 MB
Successfully verified installer hash
Starting package install...
Successfully installed


text:
Update: Insecure.Nmap version 7.80

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?
[X] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[X] Does your manifest conform to the 1.0 schema?

Resolves #28523

Microsoft Reviewers: Open in CodeFlow

@OfficialEsco Hello, Wondering when we can expect support for nmap 7.92? See https://nmap.org/dist/nmap-7.92-setup.exe
Also is there any plan to add npcap too? I'm new to winget, not sure how fast I can expect packages to get updated or added.

Someone did try to add Nmap 7.92 in https://github.com/microsoft/winget-pkgs/pull/33862
Just checked my self and this appears

There are 3 ways to get new versions added
(0. Dynamic URLs gets picked up by wingetbot)

Make a Package request issue and mark it as a update https://github.com/microsoft/winget-pkgs/issues/new/choose
Submit it your self by using wingetcreate
Submit it your self by using YamlCreate.ps1 (Probably for more dedicated people :))
If they have a API that we can use, submit a new package request to winget-pkgs-automation

If the package is released via GitHub or SourceForge we usually add the new versions within a Day because they have RSS feeds, there is NO WAY we can keep track of any new releases without a RSS feed/API call.

authors: OfficialEsco willemdh


text:
Update: MarkText.MarkText version 0.16.2

Removing old versions to reduce clutter
Microsoft Reviewers: Open in CodeFlow

/azp run


text:
Add Python-3.8.3 x86

Add Python-3.8.3 x86
Microsoft Reviewers: Open in CodeFlow

Duplicate of #304   https://github.com/microsoft/winget-pkgs/pull/304


text:
New version: TTKN.CNKIExpress version 0.2.29 [FP-O]

Result: Installation Successful

Manifest
Add/Remove Programs

Name
全球学术快报
全球学术快报 0.2.29

Version
0.2.29
0.2.29

Publisher
同方知网(北京)技术有限公司
同方知网（北京）技术有限公司

ProductCode

fdb21ffe-a525-5be7-af3a-a9436d18cc4f

Auto-updated by vedantmgoyal2009/winget-pkgs-automation in workflow run 3398

@msftbot reset feedback

@msftbot Blocking-Issue

Validation is blocked by

https://github.com/microsoft/winget-cli/issues/2057

@wingetbot run

/AzurePipelines run

authors: ItzLevvie Trenly stephengillie vedantmgoyal2009


text:
tenantRelationships/delegatedAdminRelationships and tenantRelationships/delegatedAdminCustomers returns no results

Describe the bug
Attempting to hit either of those list endpoints returns no results. I have a customer that I have both DAP and GDAP relationships with.
To Reproduce
Steps to reproduce the behavior:

Have a customer with a DAP or GDAP relationship
Request https://graph.microsoft.com/v1.0/tenantRelationships/delegatedAdminRelationships or https://graph.microsoft.com/v1.0/tenantRelationships/delegatedAdminCustomers
Examine Result

Expected behavior
I would expect the relationship or customer to be returned

Hi @dbcfd ,
Are you still experiencing this issue?

authors: ElinorW dbcfd


text:
How to test our own dialogs,prompts

@microsoftly, I looked over code samples [1] from your README.md file. and those are really helpful to get started. But, I have a doubt about testing my own dialogs or prompts which has a specific conversation flow. I see in your examples you are creating a sample dialog '/' with prompts & and testing it with BotTester but how do we test how our actual bot is responding the way we want if sample data/input is provided.
[1]
    it('can test prompts', () => {
        bot.dialog('/', [(session) => {
            new Prompts.text(session, 'Hi there! Tell me something you like');
        }, (session, results) => {
            session.send(`${results.response} is pretty cool.`);
            new Prompts.text(session, 'Why do you like it?');
        }, (session) => session.send('Interesting. Well, that\'s all I have for now')]);

        return new BotTester(bot)
            .sendMessageToBot('Hola!', 'Hi there! Tell me something you like')
            .sendMessageToBot('The sky', 'The sky is pretty cool.', 'Why do you like it?')
            .sendMessageToBot('It\'s blue', 'Interesting. Well, that\'s all I have for now')
            .runTest();
    });

The framework simulates a conversation through the bot. You can build up the conversation to get to any point with your bot. You are not limited to using one BotTester instance to move the conversation flow around. Here's an example of a test where I have a BotTester utility function that will move the conversation forward to a default state for a set of tests.
If you want to jump directly to a particular dialog, that could require putting some checks in the code to behave differently during test modes (which I wouldn't recommend).
Instead, if you break your dialogs down into their own exportable files, you could create a new bot, attach the relevant dialogs/flows, and mock the initial state to reach it. Think of it as unit testing a dialog by mocking the bot the dialog lives in.
Let me know if it helps! Check out the rest of the test files on the AgentHandoff project (simplify model branch). That project is why I made this framework. The cases are much more advanced and showcase the power of the BotTester framework.

@microsoftly, Sorry but I could not quite get you. I think I wasnt clear on my question so let me ask  you this about one if test cases from your project. Your test case 'can handle multiple responses'
is testing if user says Hola! then from bot you will have 2 responses back. hello & how are you doing?
For this test you wrote the dialog as a part of test inside it('.....') block. So let do you really have any dialog in your project which responses like this ? If yes, shouldn't we test that instead re-writing that dialog code inside t('.....') block & then testing it.
//# Test for multiple responses
//```javascript
it('can handle multiple responses', () => {
bot.dialog('/', (session) => {
session.send('hello!');
session.send('how are you doing?');
});
    new BotTester(bot)
        .sendMessageToBot('Hola!', 'hello!', 'how are you doing?')
        .runTest();
});

//```

Ahh. I see.
As long as the dialogs are defined on the bot when you're running the tests, you'll be fine. I wrote the dialogs in line with the tests so it is clear what the expected responses were when looking at the readme.
Alternatively, if you wanted to test just a single (or subset of all) dialogs, you could implement your test(s) like the README and create a new bot with those dialogs inside the tests. These tests would require more mocking, hacking, or abstractions to allow each dialog to be functionally independent of each other such that they can be tested.
Does that clear things up?

Yes, so you mean I should encapsulate actual dialog and unite test together ?

It depends on what you're looking to gain from the test.
If you want to test the dialog independent of any other bot functionality, I would follow a similar path to the tests in this repo's readme (e.g. bot defined in test scope with 1 (or n relevant dialogs) applied to it with one of them being the root).
If you want to test how your bot will actually run, you need to register all the dialogs to the bot and simulate the conversation upto the point you wish to test.
I would recommend looking at the former option as a unit test for a dialog and the latter as a component test for the bot/conversation. They both have their places in a proper testing strategy, they can both compliment each other, but there is a correct time and place for each. Whether either or both fit your needs is beyond what I can offer (at least with the info I have).
At the very least, I'd recommend making some simple bots and dialogs and testing your hypotheses on your own. If you do go down that path, I'd very much like to see the results of it if you don't mind sharing

When you say,
.........you need to register all the dialogs to the bot and simulate the conversation upto the point you wish to test.

Do you mean use same bot object for testing and for actual chat bot. Because, I noticed bot might have different connector.
ex: builder.ConsoleConnector() for bot object we gonna use for testing and
new builder.ChatConnector for actual chat bot.
Any example you could copy ?

Yes, I'm going to refer to the test file that most of the README is from.
The BotTester framework exports a TestConnector
That you can use when creating bots
But you're under no obligation to do so. The BotTester framework would work with any connector, there just may be unintended side effects if a ChatConnector is used and it is significantly slower with a ConsoleConnector.
I would recommend testing out your questions locally. You will get much faster feedback than responses from me.

repo: microsoftly/BotTester

license: mit

license_source: bigquery


text:
Microweber the base of a shopify like ?

hello,
First thank you for sharing such an amazing platform,
i was wondering if Microweber is a start for a shopify or multi commerce saas platform ?
if yes, can you please let me know if the github source code has everything your Hosted solution offers ?
how is the license work ?
is the auto user account setup (new instance) automated or it has to happen manually ?
the super admin can setup plans and manage billing ?
thank you

Hello,
We use exactly the same version in our site and all users sites as here in gihub
If you use the license you will be able to change the logos and the system's name.
For the user account creation we use external systems.
The process is on 2 parts

We use https://www.whmcs.com/ 's software to define user plans
The WHMCS software is connected to cPanel , where the Microweber site is installed automatically with those scripts

You will need to buy separate licenses for WHMCS and Cpanel from them, in order to use this process.
If you want you can setup Virtualmin + WHMCS which also works.
Hope this information helps.

Thank you Peter for your reply,
i think you have explained it properly, i will be contacting you privately for some custom work like Customer Loyalty points, Service booking module (for restaurants and spas) and few more in mind.
Cheers.

authors: chrigui peter-mw

repo: microweber/microweber


text:
Reimplement REST API with Swagger

I really like the REST API, but I want to remake / update it using Swagger.

Closing this issue as I think I'm moving away from the API and to something cooler...

repo: midnightfreddie/McpeTool


text:
Project64 4.0+ support

Project64 version 4 is currently in development and has a new JavaScript API with a new feature that would allow us to automatically start the companion app from the script.
However, events.ondraw was removed in project64/project64#2110. Unless project64/project64#2307 is implemented, adjustments would have to be made to the randomizer to support not being able to reliably run code once per frame. This would also open the possibility of RetroArch support, so it's probably a good idea anyway.

The necessary adjustments to the randomizer have been PR'd as TestRunnerSRL/OoT-Randomizer#1783.

Progress on this is blocked since some (but not all) seeds produce an “Unknown memory action” error after the N64 logo. Unsure whether this is a bug in PJ64 or in the randomizer. Will have to investigate further.

repo: midoshouse/ootr-multiworld


text:
After launching to heroku, local app with flask run or heroku start broken

After I launched last night I went to back to my local development and tried  registering a new user. When I did, the following trace snippit is occured.
File "/Users/richardkhillah/Developer/levelup/app/models/models.py", line 112, in __init__
    self.follow(self)
  File "/Users/richardkhillah/Developer/levelup/app/models/models.py", line 207, in follow
    if not self.is_following(user):
  File "/Users/richardkhillah/Developer/levelup/app/models/models.py", line 226, in is_following
    followed_id=user.id).first() is not None
  File "/Users/richardkhillah/Developer/levelup/venv/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 1897, in filter_by
    return self.filter(*clauses)
  File "<string>", line 2, in filter

  File "/Users/richardkhillah/Developer/levelup/venv/lib/python3.7/site-packages/sqlalchemy/orm/base.py", line 224, in generate
    self = args[0]._clone()
  File "/Users/richardkhillah/Developer/levelup/venv/lib/python3.7/site-packages/sqlalchemy/orm/dynamic.py", line 349, in _clone
    % (orm_util.instance_str(instance), self.attr.key)
sqlalchemy.orm.exc.DetachedInstanceError: Parent instance <User at 0x10df53160> is not bound to a Session, and no contextual session is established; lazy load operation of attribute 'followed' cannot proceed (Background on this error at: http://sqlalche.me/e/bhk3)

Nothing in the auth module changed between development and deployment, so I'm confused what's going on.
Locally, I'm using Posgtres (if that's helpful at all)

Did anything change at all? Did you upgrade any packages, like maybe SQLAlchemy?

Thank you for responding. Many of the dependencies are upgraded. I ran my version under flasky_venv (loaded from the flasky requirements) and reproduced the same error.
I take that to mean there is a bug elsewhere and I'm not seeing it. Would you happen to know other causes of this error so I might direct my attention to seeking those out?
I don't imagine you'd want to look at the source code but if you do it is here.

Fixed the issue with self follow. It was due to a naming inconsistency on my part. I'll close and comment.

authors: miguelgrinberg richardkhillah

repo: miguelgrinberg/flasky