text:
JS/TS语言功能一直崩溃，然后初始化

Type: Bug
修改代码
VS Code version: Code 1.85.1 (Universal) (0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2, 2023-12-13T09:48:06.308Z)
OS version: Darwin arm64 23.1.0
Modes:

System Info

Item
Value

CPUs
Apple M1 (8 x 24)

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)
2, 2, 2

Memory (System)
16.00GB (1.26GB free)

Process Argv
--crash-reporter-id 95eb4dad-8008-48f1-a5f2-ae8eeba1b4c3

Screen Reader
no

VM
0%

Extensions (36)

Extension
Author (truncated)
Version

preview-mp4
ana
0.0.1

z-reader
aoo
1.1.15

vscode-tailwindcss
bra
0.10.4

simple-react-snippets
bur
1.2.7

npm-intellisense
chr
1.4.5

cssrem
cip
3.1.1

read-novel
DaH
1.0.3

vscode-eslint
dba
2.4.2

umi-pro
Dia
0.7.2

githistory
don
0.6.20

gitlens
eam
14.6.1

prettier-vscode
esb
10.1.0

auto-close-tag
for
0.5.15

auto-complete-tag
for
0.1.0

auto-rename-tag
for
0.1.10

todo-tree
Gru
0.0.226

vscode-react-typescript
inf
1.3.1

vscode-leetcode
Lee
0.18.1

juejin
luz
2.5.1

code-beautifier
mic
2.3.3

vscode-language-pack-zh-hans
MS-
1.85.2023121309

vscode-typescript-next
ms-
5.4.20240101

color-highlight
nau
2.5.0

vscode-vue2-snippets
Nic
1.3.2

vs-code-prettier-eslint
rve
5.1.0

vue-vscode-snippets
sdr
3.1.1

vue-helper
she
2.4.7

svg-preview
Sim
2.8.3

autoimport
ste
1.5.4

code-spell-checker
str
3.0.1

vscode-stylelint
sty
1.3.0

sass-indented
syl
1.8.28

open-in-browser
tec
2.0.0

volar
Vue
1.8.27

vscode-todo-highlight
way
1.0.5

vuter
yoy
0.1.2

A/B Experiments
vsliv368:30146709
vsreu685:30147344
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vslsvsres303:30308271
vserr242:30382549
vsjup518:30340749
vshan820:30294714
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
py29gd2263:30899288
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
f6dab269:30613381
a9j8j154:30646983
showlangstatbar:30737416
962ge761:30917236
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
dsvsc013:30795093
dsvsc014:30804076
dsvsc015:30845448
pythontestfixt:30902429
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:30885898
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
aa_t_chat:30882232
dsvsc019:30917259
cp7184t:30925682

感谢您创建此问题！
然而，由于您没有使用英语，我们很难进行处理。如果可能，请您将此问题描述修改为英文。请您直接编辑此问题，不要提交回复或新问题。
请注意，机器翻译服务通常无法处理用于讨论软件问题所需的技术性语言，所以我们推荐您寻找一位熟悉相关技术的人来协助翻译。
如果您无法做到，没有关系。此问题已经被标记为需要翻译，等待社区成员志愿进行翻译。

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

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


text:
No hint shown when a mod is not enabled

This is the mod in question.
And it's not enabled as can be seen here.
VScode has no hint about that:

But jetbrains has the hint:

Thank you for filing this issue,
seems like this is an issue thats related to an extension
Please can you disable All extensions in VS Code and try to replicate this issue,
If you do not get the same error message, then please file the issue against the relevant extension repo.

@DonJayamanne how can I disable All extensions?

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!

source: gharchive/issue

authors: DonJayamanne VSCodeTriageBot zhiqiangxu

repo: microsoft/vscode

license: MIT

license_type: permissive

license_source: github-api


text:
add and keep regular expressions on search and replace area as "code refactoring - bookmarks" after sync

maybe this can be solve like a snippet

Visual code keep settings of user online and sync it
I want a new feature for add and keep my regular expressions on search and replace area like "bookmarks".
This allow me to be fast when parse data.
If reinstall Visual Code I want to have this feature on my search and replace area after Visual Studio sync online with my profile.
Let's say is a "code refactoring" as the process of restructuring existing computer code using "search and replace"

You can use the Search Editor feature and save the editor on disk. From here, you can send the configurations wherever you would like. Would this help?

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

authors: VSCodeTriageBot andreamah catafest


text:
Workspace-level snippets

As far as I know, vscode now (v1.87.2) supports workspace-level snippet as .vscode/xxx.code-snippets. It would be better I can structure .vscode/some_folder/xxx.code-snippets for better readibility.

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 ktrNozomi


text:
Token Helight Color Not Working Fine!

Type: Bug
I use the same settings in my windows laptop and mac. But vsccode in mac always show me the different syntax helight from windows. Windows version is exactily what I need and is correct helight. Bty, I find that inspect Editor tokens and scopes is different in macos vscode from windows.
language: C++ 17
Theme: GitHub Dark
settings json:
       "editor.tokenColorCustomizations": {
        "enabled": true, // enable for all themes
        "textMateRules": [
            {
                "scope": "comment.block",
                "settings": {
                    "foreground": "#62c27a"
                }
            },
            {
                "scope": "entity.name.function.preprocessor",
                "settings": {
                    "foreground": "#b74fe0"
                }
            },
            {
                "scope": "entity.name.function.macros",
                "settings": {
                    "foreground": "#b74fe0"
                }
            },
            {
                "scope": "keyword.control.directive",
                "settings": {
                    "foreground": "#687f8d"
                }
            },
            {
                "scope": "entity.name.function",
                "settings": {
                    "foreground": "#dbd40c"
                }
            },
            {
                "scope": "string.quoted",
                "settings": {
                    "foreground": "#c8e4d8"
                }
            },
            {
                "scope": "variable.other.local",
                "settings": {
                    "foreground": "#fba741"
                }
            },
            {
                "scope": "constant.numeric",
                "settings": {
                    "foreground": "#788ee0"
                }
            },
            {
                "scope": "comment.line",
                "settings": {
                    "foreground": "#41de7d"
                }
            },
            {
                "scope": "punctuation.separator.namespace.access.cpp.cpp",
                "settings": {
                    "foreground": "#8993d3"
                }
            },
            {
                "scope": "entity.name.class",
                "settings": {
                    "foreground": "#1d1d1d"
                }
            }
        ]
    },

I try all :
 {
                "scope": "entity.name.function.preprocessor",
                "settings": {
                    "foreground": "#b74fe0"
                }
            },
            {
                "scope": "entity.name.function.macros",
                "settings": {
                    "foreground": "#b74fe0"
                }
            },
{
                "scope": "entity.name.function",
                "settings": {
                    "foreground": "#dbd40c"
                }
            },

Macros and functions show the same color and Scape in mac. And variables never be helighted.
VS Code version: Code 1.87.2 (Universal) (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:21:31.043Z)
OS version: Darwin arm64 23.3.0
Modes:

System Info

Item
Value

CPUs
Apple M2 Max (12 x 24)

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: enabledwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
2, 2, 2

Memory (System)
32.00GB (0.50GB free)

Process Argv
--crash-reporter-id 1f5fcdd0-1d46-4d2c-8b1f-817b7e88448f

Screen Reader
no

VM
0%

Extensions (20)

Extension
Author (truncated)
Version

asciidoctor-vscode
asc
3.2.3

solidity
Jua
0.0.174

vscode-clang
mit
0.2.4

debugpy
ms-
2024.2.0

python
ms-
2024.2.1

vscode-pylance
ms-
2024.3.2

remote-ssh
ms-
0.109.0

remote-ssh-edit
ms-
0.86.0

cmake-tools
ms-
1.17.17

cpptools
ms-
1.20.0

cpptools-extension-pack
ms-
1.3.0

hexeditor
ms-
1.9.14

makefile-tools
ms-
0.9.10

remote-explorer
ms-
0.4.3

sqltools
mtx
0.28.1

sqltools-driver-mssql
mtx
0.4.2

shader
sle
1.1.5

cmake
twx
0.0.17

vim
vsc
1.27.2

json
Zai
2.0.2

(2 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
2e7ec940:31000449
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
d34g3935:30971562
fegfb526:30981948
bg6jg535:30979843
ccp1r3:30993539
dsvsc020:30976470
pythonaic:30996667
dsvsc021:30996838
gd77d436:30999572

Can you also add a small code sample, and screenshots?
You say  Editor tokens and scopes is different. How so? Can you take screenshots of the two?

It seems that some settings might be causing this outcome, and I've ruled out plugins. I've encountered similar results using the same project on Windows as well. This project can compile successfully.

Need more information?

So what is wrong? All three screenshots show a function call and all of them are rendered with the same color as I would expect.

Syntax highlighting is only based on the structure of the program. It can't look up symbols and doesn't know that VK_MAKE_VERSION is macro.
To resolve symbols (possibly across files) a language server is needed. It will add 'semantic highlighting' on top of the syntax highlighting.
Looking at your screenshots, there's no semantic highlighting active here.

make sure you have a C++ language extension installed
make sure it is properly configured, e.g. knows the project setup
make sure semantic highlighting is not disabled. Note: Not all themes support that. Best to use the default themes for testing.

If that's all properly configured, you will see a semantic token section showing up in the Inspect editor scopes.. hover

authors: EinOnly aeschli


text:
border-radius

Type: Bug
my border radius is not doing his work . mean its not working
VS Code version: Code 1.91.1 (f1e16e1e6214d7c44d078b1f0607b2388f29d729, 2024-07-09T22:06:49.809Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info

Item
Value

CPUs
AMD Ryzen 5 5600H with Radeon Graphics          (12 x 3294)

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)
7.34GB (1.59GB free)

Process Argv
--crash-reporter-id c1b1e6f5-7e6f-4fa8-9e47-11b011a88ca2

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

live-server
ms-
0.4.14

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
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
dsvsc021:30996838
g316j359:31013175
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
impr_priority:31102340
nativerepl1:31104043
refactorc:31101458
ccplc:31103425
pythonrstrctxt:31103193
wkspc-onlycs-t:31102394

/question

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


text:
/lib64/libc.so.6: version `GLIBC_2.18' not found

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

VS Code Version: latest portable
OS Version: linux

Steps to Reproduce:

cd VSCOde
./code --no-sandbox
error

 ./code --no-sandbox
./../code: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by ./../code)
./../code: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by ./../code)

Can you provide the details of the OS (/etc/os-release) ?

NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"


text:
Reactivating terminals...

Type: Bug

i open the vs code
yesterday it was ok but today i see the errror:
Sorry, something went wrong activating IntelliCode support for Python. Please check the "Python" and "VS IntelliCode" output windows for details.
3.code is not executing

VS Code version: Code 1.94.2 (384ff7382de624fb94dbaf6da11977bba1ecd427, 2024-10-09T16:08:44.566Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info

Item
Value

CPUs
AMD Ryzen 5 5500U with Radeon Graphics          (12 x 2096)

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: enabledwebnn: disabled_off

Load (avg)
undefined

Memory (System)
5.86GB (0.87GB free)

Process Argv
--crash-reporter-id 79af77fe-e5f6-4737-ab2a-93f57a21e146

Screen Reader
no

VM
0%

Extensions (13)

Extension
Author (truncated)
Version

vscode-django
bat
1.15.0

blackbox
Bla
1.4.22

prettier-vscode
esb
11.0.0

vscode-dotnet-runtime
ms-
2.2.0

debugpy
ms-
2024.13.2024101402

python
ms-
2024.17.2024101402

vscode-pylance
ms-
2024.10.100

cpptools
ms-
1.22.9

LiveServer
rit
5.7.9

intellicode-api-usage-examples
Vis
0.2.8

vscodeintellicode
Vis
1.3.0

vscodeintellicode-completions
Vis
2.0.0

vscodeintellicode-insiders
Vis
1.1.10

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
accentitlementst:30995554
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
945dj816:31013170
a69g1124:31058053
dvdeprecation:31068756
dwnewjupyter:31046869
newcmakeconfigv2:31071590
impr_priority:31102340
nativerepl1:31139838
refactort:31108082
pythonrstrctxt:31112756
wkspc-onlycs-t:31132770
nativeloc1:31134641
wkspc-ranged-t:31151552
cf971741:31144450
autoexpandse:31146404
iacca1:31156133
notype1cf:31157160
showbadge:31153266
5fd0e150:31155592
iconenabled:31158251

How did you solve this problem， I have the same problem.


text:
terminal: strange font after update

Issue Type: Bug
After the last nightly update the font in console it's broken.
VS Code version: Code - Insiders 1.35.0-insider (94f7de61ece171f4390ece488a220d22cbb0fddd, 2019-05-23T05:15:43.589Z)
OS version: Darwin x64 18.6.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7660U CPU @ 2.50GHz (4 x 2500)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
4, 10, 6

Memory (System)
16.00GB (5.33GB free)

Process Argv
-psn_0_262208

Screen Reader
no

VM
0%

Extensions (19)

Extension
Author (truncated)
Version

rainbow-brackets
2gu
0.0.6

angulardoc-vscode
Ang
6.1.3

ng-template
Ang
0.1.11

githistory
don
0.4.6

gitlens
eam
9.7.4

tslint
eg2
1.0.43

jira-plugin
gio
0.16.1

svn-scm
joh
1.48.4

vscode-kubernetes-tools
ms-
1.0.0

csharp
ms-
1.19.1

vscode-typescript-tslint-plugin
ms-
1.0.0

debugger-for-chrome
msj
4.11.3

angular-console
nrw
7.4.25

vetur
oct
0.21.0

vscode-docker
Pet
0.6.2

vscode-versionlens
pfl
0.23.0

material-icon-theme
PKi
3.7.0

vscode-yaml
red
0.4.0

code-settings-sync
Sha
3.2.9

(1 theme extensions excluded)

--- UPDATE ---
Changing any font setting solve the issue.
e.g. actual font-size: 12 (issue) - change to 13 (fixed) - return to 12 (fixed)
if I open a new terminal the problem will occur.

FYI: Setting the Terminal Renderer Type, fixed it for me

Render type: auto or canvas solve the issue. Thanks 👍

Other report:

https://twitter.com/code/status/1131600226479890432

Might be related to https://github.com/xtermjs/xterm.js/pull/2067

I can't reproduce for some reason. @gioboa what's your rendererType set to? It looks like your g's are cut off which normally happens on the canvas renderer but @frankintrahouse is saying switching to that fixed the issue 🤔

I had dom rendererType. I solved the issue by change renderer type into auto

@gioboa thanks for clarifying 🙂

Can confirm, "auto" as rendererType  fixes the issue

I'm not sure this was actually fixed.

Tracking the xterm.js side https://github.com/xtermjs/xterm.js/issues/2136

It looks like the width of cells is correctly measured for a monospace font, but the font being used is proportional.

Managed to repro with these settings on macOS thanks to @yairEO
  "terminal.integrated.rendererType": "dom",
  "terminal.integrated.fontFamily": "Fira Mono",
  "terminal.integrated.fontSize": 14,
  "terminal.integrated.fontWeight": "400",

Upstream PR is out https://github.com/xtermjs/xterm.js/pull/2140, will probably pull into the build tonight.

authors: Tyriar frankintrahouse fritz-flaconi gioboa


text:
"Code Helper" uses too much CPU on macOS

Issue Type: Performance Issue
See #74755. This seems to happen mostly when I have more than one VS Code window open.
VS Code version: Code 1.35.0 (553cfb2c2205db5f15f3ee8395bbd5cf066d357d, 2019-06-04T01:16:40.241Z)
OS version: Darwin x64 18.2.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz (8 x 2500)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
3, 2, 2

Memory (System)
16.00GB (0.49GB free)

Process Argv
-psn_0_5998008

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
   23	   115	  8865	code main
    7	    66	  8866	   gpu-process
    0	   246	  8867	   window (train-page.js — ui)
    0	    49	  9017	     extensionHost
    0	    33	  9202	       electron_node tsserver.js
    0	    16	  9237	         electron_node typingsInstaller.js typesMap.js
    0	    33	  9205	       electron_node eslintServer.js
    0	    33	  9218	       electron_node server.js
    0	    33	 14193	       /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/json-language-features/server/dist/jsonServerMain --node-ipc --clientProcessId=9017
    0	    33	  9176	     watcherService
    0	   164	  8869	   window (package.json — context-easy)
    0	     0	  9024	     /usr/local/bin/fish -l
    0	    49	  9098	     extensionHost
    0	    33	  9228	       electron_node tsserver.js
    0	    16	  9253	         electron_node typingsInstaller.js typesMap.js
    0	    33	  9231	       electron_node eslintServer.js
    0	    33	  9278	       electron_node server.js
    0	    33	 12284	       /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/json-language-features/server/dist/jsonServerMain --node-ipc --clientProcessId=9098
    0	    33	  9177	     watcherService
    0	    98	  9023	   shared-process
    0	   164	 13294	   window (package.json — vuex-easy)
    0	    49	 13298	     extensionHost
    0	    33	 13302	       electron_node tsserver.js
    0	    16	 13327	         electron_node typingsInstaller.js typesMap.js
    0	    33	 13304	       electron_node eslintServer.js
    0	    33	 13316	       electron_node server.js
    0	    33	 13355	       /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/json-language-features/server/dist/jsonServerMain --node-ipc --clientProcessId=13298
    0	    33	 13300	     watcherService
    0	   164	 14677	   window (App.svelte — context-demo)
    0	   115	 14679	     extensionHost
    0	    33	 14685	       electron_node server.js
    0	    33	 14705	       electron_node eslintServer.js
    0	    33	 14716	       electron_node tsserver.js
    0	    16	 14719	         electron_node typingsInstaller.js typesMap.js
   47	  1212	 18935	       electron_node server.js
    0	    33	 14680	     watcherService
    0	   197	 14871	   window (Grandchild.svelte — store-demo)
    0	   131	 14875	     extensionHost
    0	    33	 14881	       electron_node server.js
    0	    33	 14899	       electron_node eslintServer.js
    0	    33	 14921	       electron_node tsserver.js
    0	    33	 14924	         electron_node typingsInstaller.js typesMap.js
   49	  1212	 18934	       electron_node server.js
    0	    33	 14876	     watcherService
    3	    82	 18964	   window (Issue Reporter)
    0	     0	 18967	   /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=

Workspace Info
|  Window (Grandchild.svelte — store-demo)
|  Window (App.svelte — context-demo)
|  Window (package.json — vuex-easy)
|  Window (package.json — context-easy)
|  Window (train-page.js — ui)
|    Folder (store-demo): 17 files
|      File types: js(4) svelte(3) json(2) css(2) map(2) gitignore(1) md(1)
|                  png(1) html(1)
|      Conf files: package.json(1)
|    Folder (context-demo): 16 files
|      File types: js(3) svelte(3) json(2) map(2) css(2) gitignore(1) md(1)
|                  png(1) html(1)
|      Conf files: package.json(1)
|    Folder (vuex-easy): 20 files
|      File types: js(8) vue(5) json(3) gitignore(1) md(1) html(1) ico(1)
|      Conf files: package.json(1) settings.json(1)
|    Folder (context-easy): 31 files
|      File types: js(16) json(4) DS_Store(2) md(2) babelrc-save(1)
|                  gitignore(1) prettierrc(1) babelrc(1) png(1) txt(1)
|      Conf files: package.json(1) settings.json(1)
|    Folder (ui): 117 files
|      File types: js(35) json(23) scss(18) jpeg(8) DS_Store(6) jpg(4) map(4)
|                  css(3) png(3) ico(2)
|      Conf files: package.json(1) settings.json(1);

Extensions (19)

Extension
Author (truncated)
Version

bracket-pair-colorizer
Coe
1.0.61

vscode-markdownlint
Dav
0.27.0

vscode-eslint
dba
1.9.0

gitlens
eam
9.8.1

prettier-vscode
esb
1.9.0

lintlens
ghm
2.3.0

vscode-settings-cycler
hoo
1.0.1

vscode-go-to-file
jac
0.0.1

svelte-vscode
Jam
0.9.1

vscode-duplicate
mrm
1.2.1

Go
ms-
0.10.2

printcode
nob
3.0.0

vscode-versionlens
pfl
0.23.0

code-spell-checker
str
1.7.16

sort-lines
Tyr
1.8.0

vscodeintellicode
Vis
1.1.6

vscode-icons
vsc
8.7.0

vim
vsc
1.8.1

vscode-todo-highlight
way
1.0.4

Sorry, why did you open this second issue? Also, can you share full command line arguments of the server.js processes that have the high cpu usage. I suspect they are coming from an extension

The second issue got opened because the instructions said I should use
"Help ... Report an Issue" to send in data collected from VS Code. I didn't
want to open a new one.
I don't know how to get detail about the server.js processes and I don't
see that described at
https://github.com/Microsoft/vscode/wiki/Performance-Issues. If you can
tell me how to get the information I'd be happy to provide it.
On Thu, Jun 6, 2019 at 2:04 PM Matt Bierner notifications@github.com
wrote:

Sorry, why did you open this second issue? Also, can you share full
command line arguments of the server.js processes that have the high cpu
usage. I suspect they are coming from an extension
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/74960?email_source=notifications&email_token=AAATLUAVCJ6ITAZLK5JA5A3PZFNUJA5CNFSM4HVAFYPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXD233A#issuecomment-499625452,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAATLUAL7TJZRXLWXX4M6NDPZFNUJANCNFSM4HVAFYPA
.

--
R. Mark Volkmann
Object Computing, Inc.

Ok, let's continue to track the issue here then.
To get the process info on mac, open the VS Code process explorer and hover over the process name to see the full set of launch arguments:

Or, from the command line, using the PID of one the server.js processes run ps aux | grep PROCESS_PID

Here's the info:
/Applications/Visual Studio Code.app/Contents/Frameworks/Code
Helper.app/Contents/MacOS/Code Helper
/Users/Mark/.vscode/extensions/jamesbirtles.svelte-vscode-0.9.1/node_modules/svelte-language-server/bin/server.js
--node-ipc --clientProcessId=26810
I see this is identifying things related to Svelte, but using this
extension is a recent thing for me and the performance issues existed well
before starting to use the Svelte extension. I really doubt it is related
to that.
On Thu, Jun 6, 2019 at 2:50 PM Matt Bierner notifications@github.com
wrote:

Ok, let's continue to track the issue here then.
To get the process info on mac, open the VS Code process explorer and
hover over the process name to see the full set of launch arguments:
[image: Screen Shot 2019-06-06 at 12 46 45 PM (3)]
https://user-images.githubusercontent.com/12821956/59061829-3f7af380-8859-11e9-9933-6ec0e7afcd88.png
Or, from the command line, using the PID of one the server.js processes
run ps aux | grep PROCESS_PID
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/74960?email_source=notifications&email_token=AAATLUEL7ENOLWVSJD4JSKLPZFTB7A5CNFSM4HVAFYPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXD6WPA#issuecomment-499641148,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAATLUHYV4PTSMJYKNZCXFTPZFTB7ANCNFSM4HVAFYPA
.

--
R. Mark Volkmann
Object Computing, Inc.

Is it ever correct for a "VSCode Helper" process to continue running after
the VS Code application has stopped running?
On Sat, Jun 8, 2019 at 5:44 AM Mark Volkmann r.mark.volkmann@gmail.com
wrote:

Here's the info:
/Applications/Visual Studio Code.app/Contents/Frameworks/Code
Helper.app/Contents/MacOS/Code Helper
/Users/Mark/.vscode/extensions/jamesbirtles.svelte-vscode-0.9.1/node_modules/svelte-language-server/bin/server.js
--node-ipc --clientProcessId=26810
I see this is identifying things related to Svelte, but using this
extension is a recent thing for me and the performance issues existed well
before starting to use the Svelte extension. I really doubt it is related
to that.
On Thu, Jun 6, 2019 at 2:50 PM Matt Bierner notifications@github.com
wrote:

Ok, let's continue to track the issue here then.
To get the process info on mac, open the VS Code process explorer and
hover over the process name to see the full set of launch arguments:
[image: Screen Shot 2019-06-06 at 12 46 45 PM (3)]
https://user-images.githubusercontent.com/12821956/59061829-3f7af380-8859-11e9-9933-6ec0e7afcd88.png
Or, from the command line, using the PID of one the server.js processes
run ps aux | grep PROCESS_PID
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/74960?email_source=notifications&email_token=AAATLUEL7ENOLWVSJD4JSKLPZFTB7A5CNFSM4HVAFYPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXD6WPA#issuecomment-499641148,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAATLUHYV4PTSMJYKNZCXFTPZFTB7ANCNFSM4HVAFYPA
.

--
R. Mark Volkmann
Object Computing, Inc.

--
R. Mark Volkmann
Object Computing, Inc.

Please file this issue against that extension. Child process should generally stop along with VS Code but depends on how the extension has spawned the process

authors: mjbvz mvolkmann


text:
Sudden memory peak

Issue Type: Performance Issue
There is an sudden memory peak of 3.0GiB when I am using Visual Studio Code. It last for about 10 seconds, but is enough to generate performance issues
VS Code version: Code 1.39.1 (88f15d17dca836346e787762685a40bb5cce75a8, 2019-10-10T23:30:33.955Z)
OS version: Linux x64 5.0.16-100.fc28.x86_64

Process Info
CPU %	Mem MB	   PID	Process
    0	   127	  3700	code main
    0	    32	  3736	   zygote
    0	    95	  3864	     shared-process
    0	     0	 11030	       /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	   174	 10898	     window (cable_mesh_with_tt3.ini - MonoAlg3D_C - Visual Studio Code)
    0	    95	 10933	       extensionHost
    0	   127	 10937	       watcherService
    0	    79	 10998	     window (Issue Reporter)
    0	   111	  3769	   gpu-process

In what process? What did you do when this happenedd? Does it happen often or just one time ranodmly? Need more details.

authors: bergolho roblourens


text:
Check update not work

Issue Type: Bug
Help -> Check for updates -> Server return 404
VS Code version: VSCodium 1.40.2 (f359dd69833dd8800b54d458f6d37ab7c78df520, 2019-11-27T10:22:53.349Z)
OS version: Windows_NT x64 10.0.17763

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz (4 x 3192)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: 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.87GB (3.83GB free)

Process Argv

Screen Reader
no

VM
33%

Extensions (3)

Extension
Author (truncated)
Version

dart-code
Dar
3.7.0

flutter
Dar
3.7.0

vim
vsc
1.11.3

@zhaowy313 please file the issue against VSCodium.


text:
Source Control Broken

The same issues as the other people are reporting, but for some reason those issues are being closed? Can we get a definitive answer on what is occurring? Does anyone know?

/needsMoreInfo which reported issues are you referring to?

authors: buckspencer gjsjohnmurray


text:
Intellisense autosuggest not working properly

I have updated to the newest verison 1.43.1 , the feature of auto-completion of javascript is not working properly it's always on relaoding , it just works on the first time for the first 2 seconds and doesn't work anymore et keep reloading.

I have the same problem for typescript.

I've tried to test if it work with other version like 1.31 but still don't work properly

/needsMoreInfo

The Auto-Completion of Javascript stopped working , you can see here an example :

The Suggestions of variables , functions , ... doesn't appear anymore.
Thank you in advance

Does this reproduce with all extensions disabled?

I disabled all my extensions and now it works fine 💯  , thank you for you help !

If you figure out which extension caused this, please file a bug against them so they can fix the issue

authors: Hanawa02 elmehdibm mjbvz


text:
No indication of selected container in panel when moving a view into the panel

Testing https://github.com/microsoft/vscode/issues/96318
Usually the corresponding panel view container gets an underline. But when I move the output into some sidebar view container, then move it back to it's own container in the panel, it isn't clear which view container in the panel is visible (no underline on output)

I think this also fails to repro after the fixes with listeners


text:
Editor not showing text beyond column 10000 in long line

Issue Type: Bug
I have a file with very long lines, like 18000 characters long.
I'm searching for a string in this file and the editor tells me that I have 1 search hit for the string. But it does not scroll to the right to show the actual string. It does tell me the position (Ln 1, Col 14171)  and (23 selected) so it seems that it has actually found and selected the string. But it is not moving the editor to visually show that position, and there is no easy way for me to get there without manually scrolling, which is tedious.
Expected behavior: When getting search hits, the editor should visually scroll to the part of the code where the hit occurs. It does for normal files and lines as far as I know.
CPUs | Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (8 x 3000)
GPU Status | 2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: disabled_softwareskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: unavailable_offviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

VS Code version: Code 1.38.0 (3db7e09f3b61f915d03bbfa58e258d6eee843f35, 2019-09-03T21:51:09.716Z)
OS version: Linux x64 5.0.0-38-generic
Extensions (2)

Extension
Author (truncated)
Version

json-tools
eri
1.0.2

python
ms-
2020.2.64397

Update: I tried to manually scroll to the position and it turns out the editor is actually not able to scroll beyond column 10000. So that's probably the actual problem. I cannot manually see it either.

Workaround: By moving to position 9999 and pressing "Enter" to add a newline, I can now find the string on the second line in the file, since the 8000 remaining characters are shown on line 2.

Duplicate of #7772

authors: alexdima otolabqu


text:
Screen deformation

Issue Type: Bug
While using VSCode(1.45.1), there are so many blue, red and type of green or yellow squares on the screen. In the explorer pane, there are more less but they are everywhere in editor pane.
On previous versions, I had no problem like this.
screenshot

VS Code version: Code 1.45.1 (5763d909d5f12fe19f215cbfdd29a91c0fa9208a, 2020-05-14T08:27:35.169Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
AMD Ryzen 5 3600 6-Core Processor               (12 x 3593)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: 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.94GB (8.96GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (6)

Extension
Author (truncated)
Version

ng-template
Ang
0.901.7

todo-tree
Gru
0.0.175

Angular2
joh
9.1.2

vscode-typescript-tslint-plugin
ms-
1.2.3

debugger-for-chrome
msj
4.12.7

vscode-icons
vsc
10.1.1

/needsMoreInfo
is it reproducible when you launch it as code --disable-gpu flag?
See alternative solution https://code.visualstudio.com/updates/v1_40#_disable-gpu-acceleration

/needsMoreInfo
is it reproducible when you launch it as code --disable-gpu flag?
See alternative solution https://code.visualstudio.com/updates/v1_40#_disable-gpu-acceleration

Hi,
I applied your solution. It worked. It's related hardware or gpu driver. When I disabled hardware acceleration, I didn't see any deformation.
Thank you!

authors: IllusionMH atakilic


text:
Fixed tab switching too fast when wheeling/scrolling

This PR fixes #96409 - Trackpad: Tab switch on mouse scroll: horizontal scrolling sensitivity too high.
PS: I created this new PR to avoid unrelated commits from the old one (#111901).

Thanks for the feedback, @bpasero. I adopted all your suggestions.

source: gharchive/pull-request


text:
Use css variables for editor scrollbar

Fix for issue #165169 task 2
I have replaced the registerThemingParticipant in the file with the appropriate css variables.
I needed to add the rules for the last three since they did not exist in scrollbars.css
Note: This is my first PR ever, and I'm really looking forward to Open Source Development. Let me know if there's anything wrong and I'll fix it asap, and I'll be glad to do a few of the other tasks as well if this one gets merged.

@rzhao271 Thanks! Can I pick up a few of the other tasks as well then? Or if you could assign me any, that would be great

You can pick up some of the other ones. The src/vs/workbench/contrib/codeEditor ones are probably fine to work on.

@rebornix @rzhao271 This introduced a regression. See https://github.com/microsoft/vscode/pull/166690


text:
Fixes Aria Label Showing [Object object]

closes #195661
Switches aria-label titles to tooltip titles for certain instances where options.title is a markdown string.

Thanks so much for looking into this @amaust. Have you made sure this works well for all of these areas?

@lramos15 this changes some code that you added

@meganrogge I ran the unit tests but I did not think about double checking those. My apologies, I'll look into it ASAP.

Sorry about that @lramos15, I was thinking about trying what you suggested as soon as I began looking at the other cases. Lemme know how you wanna proceed.

@lramos15 I did go ahead and made the fix you suggested. I also went and verified the case you specified and it worked as expected. Let me know if any other changes need to be made!

authors: amaust meganrogge


text:
cant update extensions

Type: Bug
I am not able to update extensions or even uninstall them I have reinstalled vscode as a admin and also a user and still have the same issue only have had this issue recently
VS Code version: Code 1.76.2 (ee2b180d582a7f601fa6ecfdad8d9fd269ab1884, 2023-03-14T17:55:54.936Z)
OS version: Windows_NT x64 10.0.22624
Modes:
Sandboxed: No

//cc @isidorn

repo: microsoft/vsmarketplace


text:
Fix possible trx logger NRE

Fix possible trx logger NRE
Fixes https://github.com/microsoft/vstest/issues/4224

Could we add some test?

I was doing it

repo: microsoft/vstest


text:
Optimizing docs generation

I had brought up the size of the generated rustdoc for windows-rs on the Rust Community Discord and rustdoc team member @jyn514 mentioned that adding the #![doc(html_no_source)] to the crate should suppress the HTML rendering of the crate source.
https://doc.rust-lang.org/stable/rustdoc/the-doc-attribute.html#html_no_source

Thanks!

Thanks!

I can't build the docs on linux:
  = note: /usr/bin/ld: cannot find -loleaut32
          /usr/bin/ld: cannot find -lkernel32
          /usr/bin/ld: cannot find -loleaut32
          /usr/bin/ld: cannot find -lkernel32
          /usr/bin/ld: cannot find -lole32
          /usr/bin/ld: cannot find -lkernel32
          /usr/bin/ld: cannot find -lkernel32
          /usr/bin/ld: cannot find -lkernel32
          /usr/bin/ld: cannot find -loleaut32

I'd be interested how long rustdoc takes to run after you add html_no_source. Could someone generate some timing info for me?
$ rustup install nightly
$ time -v cargo +nightly rustdoc -Z time-passes

and then upload windows-PID.mm_profdata.
(time -v tells the total memory usage; if it's not on windows anything else that gives the max RSS works too)

I can't build the docs on linux:
  = note: /usr/bin/ld: cannot find -loleaut32
          /usr/bin/ld: cannot find -lkernel32
          /usr/bin/ld: cannot find -loleaut32
          /usr/bin/ld: cannot find -lkernel32
          /usr/bin/ld: cannot find -lole32
          /usr/bin/ld: cannot find -lkernel32
          /usr/bin/ld: cannot find -lkernel32
          /usr/bin/ld: cannot find -lkernel32
          /usr/bin/ld: cannot find -loleaut32

I'd be interested how long rustdoc takes to run after you add html_no_source. Could someone generate some timing info for me?
$ rustup install nightly
$ time -v cargo +nightly rustdoc -Z time-passes

and then upload windows-PID.mm_profdata.
(time -v tells the total memory usage; if it's not on windows anything else that gives the max RSS works too)

Hey @jyn514 thanks for the help! @rylev may have some tips for how to build on Linux - I have no idea.
Note that you need to build a separate repo. The docs are too huge that I didn't want to include them inside the windows-rs repo. Instead, you can clone the https://github.com/microsoft/windows-docs-rs repo and build the crates/bindings package. Something like this:
C:\git\windows-docs-rs\crates\bindings>cargo doc --no-deps
This takes about 30 minutes and 20GB of memory. I updated the lib.rs file to look like this:
#![doc(html_no_source)]
::windows::include_bindings!();

Note that time -v is not available on Windows. I ran the following:
cargo +nightly rustdoc -- -Z time-passes
It took about 52 mins and it's peak working set (memory) is over 21GB.
I could not find a windows-PID.mm_profdata anywhere.

Hey @jyn514 thanks for the help! @rylev may have some tips for how to build on Linux - I have no idea.
Note that you need to build a separate repo. The docs are too huge that I didn't want to include them inside the windows-rs repo. Instead, you can clone the https://github.com/microsoft/windows-docs-rs repo and build the crates/bindings package. Something like this:
C:\git\windows-docs-rs\crates\bindings>cargo doc --no-deps
This takes about 30 minutes and 20GB of memory. I updated the lib.rs file to look like this:
#![doc(html_no_source)]
::windows::include_bindings!();

Note that time -v is not available on Windows. I ran the following:
cargo +nightly rustdoc -- -Z time-passes
It took about 52 mins and it's peak working set (memory) is over 21GB.
I could not find a windows-PID.mm_profdata anywhere.

Hmm, it should be there somewhere - do you see any file ending in .mm_profdata? It may be in the workspaces root, not the directory you ran cargo in.
If not, what version of rustdoc are you using? I think the format of the self-profile files changed a few months ago.

Hmm, it should be there somewhere - do you see any file ending in .mm_profdata? It may be in the workspaces root, not the directory you ran cargo in.
If not, what version of rustdoc are you using? I think the format of the self-profile files changed a few months ago.

Not from what I can tell:

Not from what I can tell:

C:\git\windows-docs-rs>rustdoc --version
rustdoc 1.49.0 (e1884a8e3 2020-12-29)

C:\git\windows-docs-rs>rustdoc --version
rustdoc 1.49.0 (e1884a8e3 2020-12-29)

Oh shoot, I'm sorry, it should have been -Z self-profile, not -Z time-passes. It's ok, time-passes gave some useful info too. In particular it shows most of the time is spent on get_blanket_impls, which I've been meaning to improve for a while. It doesn't show where the memory usage is coming from, though, it already uses 18 GB before looking at impls.
You posted the default version of rustdoc - can you post the nightly version instead? rustdoc +nightly --version.

Oh shoot, I'm sorry, it should have been -Z self-profile, not -Z time-passes. It's ok, time-passes gave some useful info too. In particular it shows most of the time is spent on get_blanket_impls, which I've been meaning to improve for a while. It doesn't show where the memory usage is coming from, though, it already uses 18 GB before looking at impls.
You posted the default version of rustdoc - can you post the nightly version instead? rustdoc +nightly --version.

C:\git\windows-docs-rs>rustdoc +nightly --version
rustdoc 1.51.0-nightly (a4cbb44ae 2021-01-20)

OK, I'll rerun with self-profile.

C:\git\windows-docs-rs>rustdoc +nightly --version
rustdoc 1.51.0-nightly (a4cbb44ae 2021-01-20)

OK, I'll rerun with self-profile.

Hmm, it's rather large. 😉

Hmm, it's rather large. 😉

Not sure if it will work, but I've uploaded to OneDrive. Let me know if you can download it.

Not sure if it will work, but I've uploaded to OneDrive. Let me know if you can download it.

That worked, thanks! Downloading it now, I'll let you know what I find :)

That worked, thanks! Downloading it now, I'll let you know what I find :)

By the way, you can analyze it yourself with measureme: https://github.com/rust-lang/measureme/

By the way, you can analyze it yourself with measureme: https://github.com/rust-lang/measureme/

A surprisingly long time is being spent not in rustdoc, but in the compiler itself:

In particular, resolve_crate and item_types_checking both take a lot longer than I would expect.

A surprisingly long time is being spent not in rustdoc, but in the compiler itself:

In particular, resolve_crate and item_types_checking both take a lot longer than I would expect.

The Rust compiler certainly has a lot of trouble with the resulting 300M windows.rs containing the definitions for the entire Windows API. While it is a lot of code, the Rust compiler has a long way to go before it can compete with the like of the C++ compiler in terms of throughput.

The Rust compiler certainly has a lot of trouble with the resulting 300M windows.rs containing the definitions for the entire Windows API. While it is a lot of code, the Rust compiler has a long way to go before it can compete with the like of the C++ compiler in terms of throughput.

For those following along at home, the summarize summary can be seen here.

For those following along at home, the summarize summary can be seen here.

I have applied the html_no_source update - thanks for the suggestion!
GitHub no longer refuses to accept some of the files but continues to warn about the huge search-index.js file:
remote: warning: File docs/doc/search-index.js is 57.14 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB

The size of this file also seems to hurt page load and search performance.

I have applied the html_no_source update - thanks for the suggestion!
GitHub no longer refuses to accept some of the files but continues to warn about the huge search-index.js file:
remote: warning: File docs/doc/search-index.js is 57.14 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB

The size of this file also seems to hurt page load and search performance.

Yeah, it's a known issue: https://github.com/rust-lang/rust/issues/31387. I'll look into it after fixing https://github.com/rust-lang/rust/issues/81251.

Yeah, it's a known issue: https://github.com/rust-lang/rust/issues/31387. I'll look into it after fixing https://github.com/rust-lang/rust/issues/81251.

Thanks again for all your help.

Thanks again for all your help.

FYI, what we've found is that the actual CPU time is not all that high (comparable to compiling docs.rs), the problem is that compiling shoots up to 20 GB of memory usage which sets almost everyone's computer thrashing. @rylev compiled this on a computer with more than that amount of memory and it took about 2.5 minutes. https://rust-lang.zulipchat.com/#narrow/stream/247081-t-compiler.2Fperformance/topic/windows-rs.20perf/near/223954279

FYI, what we've found is that the actual CPU time is not all that high (comparable to compiling docs.rs), the problem is that compiling shoots up to 20 GB of memory usage which sets almost everyone's computer thrashing. @rylev compiled this on a computer with more than that amount of memory and it took about 2.5 minutes. https://rust-lang.zulipchat.com/#narrow/stream/247081-t-compiler.2Fperformance/topic/windows-rs.20perf/near/223954279

Was that on a Windows box? IO performance is very different between Windows and Linux. My dev box has 32GB of memory and it took around 30 minutes without much disk thrashing. It was definitely CPU bound and largely chugging away on a single thread. But maybe I missed something.

Was that on a Windows box? IO performance is very different between Windows and Linux. My dev box has 32GB of memory and it took around 30 minutes without much disk thrashing. It was definitely CPU bound and largely chugging away on a single thread. But maybe I missed something.

Oh, that's really strange. Maybe @rylev measured the wrong thing? It definitely took him no more than 3 minutes.

Oh, that's really strange. Maybe @rylev measured the wrong thing? It definitely took him no more than 3 minutes.

Sorry, I should have made this more clear to @jyn514 that I was testing a subset of the full windows API surface. So it's perfectly conceivable that it would take ~30 minutes on my machine as well. I also have 32 GB of RAM.

Sorry, I should have made this more clear to @jyn514 that I was testing a subset of the full windows API surface. So it's perfectly conceivable that it would take ~30 minutes on my machine as well. I also have 32 GB of RAM.

FYI: The changes I made in https://github.com/rust-lang/rust/pull/81419 and https://github.com/rust-lang/rust/pull/81414 reduce cargo build build times of the bindings in this repo from ~43m45s to ~32m45s! I've not measured the impact on cargo doc runs but I imagine it will also have a fairly large impact.

FYI: The changes I made in https://github.com/rust-lang/rust/pull/81419 and https://github.com/rust-lang/rust/pull/81414 reduce cargo build build times of the bindings in this repo from ~43m45s to ~32m45s! I've not measured the impact on cargo doc runs but I imagine it will also have a fairly large impact.

If anyone is interested what the timings look like for a smaller subset of the bindings, here they are.

If anyone is interested what the timings look like for a smaller subset of the bindings, here they are.

That's fantastic. Looks like some more low-hanging fruit... 😄

That's fantastic. Looks like some more low-hanging fruit... 😄

Turns out its much slower than I first imagined. I was looking at the summary time reported by cargo but it's lying. Process Explorer reports that's its off by quite a bit. 😉

Also take a look at how much memory its using.

I've done all I can to optimize this from my end. Going to close this issue unless someone has a reason to keep it open.

Hmm, I don't know if anyone has permissions to transfer this from microsoft/windows-rs to rust-lang/rust but if so that would be ideal.

I've asked someone at GitHub to take a look.

Unfortunately, GitHub doesn't support this. Happy to leave the issue open if you'd prefer.

Hmm that's weird, there's definitely a "transfer issue" button on rustc-dev-guide for me. Maybe GitHub doesn't support transferring between organizations?

Anyway, I think most of the rustdoc side of this is tracked elsewhere so I'd be ok with closing this.

Yes, you can transfer within an organization - I do that regularly - but you cannot do so across organizations (at least according to my GitHub contact).

repo: microsoft/windows-rs


text:
Wildcards for building Win32 APIs don't work in latest git

If I depend on windows = "0.8.0" then I can generate bindings like this:
fn main() {
    windows::build!(
        Windows::Win32::Direct3D12::*,
    );
}

If I depend on windows = { git = "https://github.com/microsoft/windows-rs" } then I get the following error:
error: proc macro panicked
 --> build.rs:2:5
  |
2 | /     windows::build!(
3 | |         Windows::Win32::Direct3D12::*,
4 | |     );
  | |______^
  |
  = help: message: Could not find type def `Windows.Win32.WinRT.IInspectable`

Should I expect this to work?

Ah that's a regression introduced with #719 - I'll get a fix (and test) our shortly.

authors: damyanp kennykerr


text:
Could not find namespace 'Windows.Win32.UI.WindowsAndMessaging'

Hello,
I tried the instructions in the "Get started" video and have hit the following obstacle:
When defining the bindings in my build.rs file, I am told that the binding(s) are not found in the namespace.
This only happens when my Cargo.toml file has the dependencies and build-dependencies defined like they are in the video tutorial:
[dependencies]
windows = "0.9.1"

[build-dependencies]
windows = "0.9.1"

Once I change them to windows = { git = "https://github.com/microsoft/windows-rs" } everything works just fine.
Am I missing a crucial step here?
Repo for reproduction: https://github.com/markonyango/message-box
See the actions log to find that the first commit runs cargo check just fine but after I change the dependencies, the build is broken.
I am using: rustc 1.52.1 (9bc8c42bb 2021-05-09) on Windows 10.

As you noticed the git version is quite a ways ahead of 0.9.1 where a lot of namespaces were shuffled around. I think the "Get started" video was made with longevity in mind and prepares for 0.10. In that sense there's nothing "crucial" you're missing, just waiting for the next release on crates.io :grin:
However, the "Getting started" video in the readme clearly links to a video made for 0.9 without UI:: in the namespace: https://www.youtube.com/watch?v=-oZrsCPKsn4. Is the newer video hidden somewhere?

Wow, thank you for the fast answer. I now see where I obviously went wrong. The missing "UI" was easy to oversee.
Thank you very much. This can obviously be closed.

Hehe, it's always a bit of a mix and match when looking at a git repository while using a crate release and vice versa, glad you noticed and solved it :)


text:
winget upgrade RealVNC.VNCViewer pulls 32-bit installer on 64-bit machine, resulting in failure

Brief description of your issue
winget upgrade RealVNC.VNCViewer fails to upgrade 64-bit version 7.5.1.50075 to 64-bit version 7.6.0.50657, because it pulls a 32-bit installer.
Steps to reproduce
Run winget upgrade RealVNC.VNCViewer on a machine where version 7.5.1.50075 of the application is installed.
Expected behavior
The application should be upgraded to version 7.6.0.50657 as reported by winget list RealVNC.VNCViewer:
PS❯ winget list RealVNC.VNCViewer
Name                 Id                Version     Available   Source
---------------------------------------------------------------------
RealVNC Viewer 7.5.1 RealVNC.VNCViewer 7.5.1.50075 7.6.0.50657 winget

Actual behavior
PS❯ winget upgrade RealVNC.VNCViewer
Found VNC Viewer [RealVNC.VNCViewer] Version 7.6.0.50657
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Extracting archive...
Successfully extracted archive
Starting package install...
Installer failed with exit code: 1603
Installer log is available at: C:\Users\<REDACTED>\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-RealVNC.VNCViewer.7.6.0.50657-2023-09-22-06-43-55.116.log
NativeCommandExitException: Program "winget.exe" ended with non-zero exit code: -1978335226.

Here are the logs:
WinGet-2023-09-22-06-36-34.075.zip
Environment
Windows Package Manager v1.5.2201
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.2283
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.20.2201.0

Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages

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

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

Looking at this, it seems that the MSI is the installer being selected. I looked at the website
2023-09-22 06:36:35.813 [CLI ] Starting installer selection.
2023-09-22 06:36:35.813 [CLI ] Installer [X86,exe,Machine,] is current best choice
2023-09-22 06:36:35.813 [CLI ] Installer [X64,exe,Machine,] is better than [X86,exe,Machine,] due to: Machine Architecture
2023-09-22 06:36:35.813 [CLI ] Installer [X64,exe,Machine,] is current best choice
2023-09-22 06:36:35.813 [CLI ] Installer [X86,portable,Unknown,] not applicable: Installed package type 'msi' is not compatible with installer type portable, or with accepted type(s) unknown
2023-09-22 06:36:35.813 [CLI ] Installer [X64,portable,Unknown,] not applicable: Installed package type 'msi' is not compatible with installer type portable
2023-09-22 06:36:35.813 [CLI ] Installer [X86,msi,Unknown,] is better than [X64,exe,Machine,] due to: Installed Type
2023-09-22 06:36:35.813 [CLI ] Installer [X86,msi,Unknown,] is current best choice
2023-09-22 06:36:35.813 [CLI ] Installer [X86,msi,Unknown,] is better than [X64,wix,Unknown,] due to: Installed Type
2023-09-22 06:36:35.813 [CLI ] Completed installer selection.
2023-09-22 06:36:35.813 [CLI ] Selected installer Architecture: 1
2023-09-22 06:36:35.813 [CLI ] Selected installer URL: https://downloads.realvnc.com/download/file/viewer.files/VNC-Viewer-7.6.0-Windows-msi.zip
2023-09-22 06:36:35.813 [CLI ] Selected installer InstallerType: msi
2023-09-22 06:36:35.813 [CLI ] Selected installer Scope: Unknown

I see that it specifically is choosing MSI over WIX because it sees the current install is an MSI, despite WIX also being an MSI.

Caused by #2565

I'll see if the manifest can be updated to consider both of them as MSI as a temporary fix

Isn't there a MSI for the 64-bit version?

There is, and it is in the manifest. However, its built using WIX, and the winget client doesn’t intepret WIX and MSI to be the same installer type for purposes of an upgrade even though they are.

Duplicate of #2265
I've moved #2265 one into the 1.7 milestone.

Fix confirmed
(4/4) Found RealVNC Viewer [RealVNC.VNCViewer] Version 7.6.1.50931
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://downloads.realvnc.com/download/file/viewer.files/VNC-Viewer-7.6.1-Windows.exe
  ██████████████████████████████  11.0 MB / 11.0 MB
Successfully verified installer hash
Starting package install...
Successfully installed

Thanks!

authors: Trenly denelon sba923

repo: microsoft/winget-cli


text:
[Update Request]: Ruby 3.2 with MSYS2

What type of update are you requesting?
A new version of an existing package
Current Package Identifier
RubyInstallerTeam.RubyWithDevKit.3.2
Package Version
old: 3.2.0-1; new: 3.2.2-1
Please describe the changes you would like to see
No response

That one look like is in preview build.

authors: BrandonWanHuanSheng RDKRACZ

repo: microsoft/winget-pkgs


text:
Please confirm these before moving forward

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

Category of the issue
Installer hash mismatch.
Brief description of your issue
Downloading https://dl.google.com/dl/chrome/install/googlechromestandaloneenterprise64.msi
Installer hash does not match; this cannot be overridden when running as admin
Steps to reproduce
run winget install google.chrome
Actual behavior
Installer hash does not match.
Expected behavior
installer hash matches and google chrome installs
Environment
Windows Package Manager v1.4.10173
Windows: Windows.Desktop v10.0.22621.1105
Package: Microsoft.DesktopAppInstaller v1.19.10173.0

Screenshots and Logs
No response

There has got to be a way to automate the hash update for Chrome right? This has to be one of the more popular packages.

@Shoehorner we do automatically check for hash mismatches daily, and we attempt to update the manifest via automation. In some cases, these hash mismatches are detected and repaired more quickly with community involvement. We've been looking at something like:

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

The intent is to make this a bit easier to deal with, and to help us automatically fix them more quickly.

Chrome is a flagship app I deploy using Autopilot. Can't afford for it to really fail on hash mismatch, I've dumped winget altogether because of this.

authors: Shoehorner absmith82 denelon maumeerally


text:
Google.AndroidM3Emulator version m3-rc20a

[ ] 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.4 schema?

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

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

This package runs from its local directory, but the symlink gives the error:

Cannot locate system directory, pluse use -system  to specify one

I think it needs to be run as emulator -system %appdatalocal%\Microsoft\WinGet\Packages\Google.AndroidM3Emulator__DefaultSource\android_sdk_windows_m3-rc20a\tools\ but I'm unsure how to specify this argument for the symlink.

https://github.com/microsoft/winget-pkgs/pull/106155#discussion_r1187722917

@wingetbot run

[Policy] Blocking-Issue

@upintheairsheep - Support for zipped binaries has now been added and is available in the pipelines. This will require you to update your submission to ManifestVersion: 1.9.0 and set ArchiveBinariesDependOnPath: true in the installer node. To keep things clean, this PR is being closed. Please submit a new PR for the latest version of this package. Thank you for your contributions!

authors: ItzLevvie Trenly stephengillie upintheairsheep


text:
Updating SHA256 and PackageVersion of ElectronicArts.EADesktop

[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
[ ] 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?

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

Microsoft Reviewers: Open in CodeFlow

Adding


text:
Update D:\Git\winget-pkgs\manifests\x\Xiaoe\Xiaoetong\1.10.30

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

@wingetbot run


text:
New version: ChilliBits.Spice version 0.17.4

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

@wingetbot waivers Add Validation-Executable-Error

authors: marcauberer stephengillie


text:
Add version: SonicTeamJr.SonicRoboBlast2 version .2.13

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Standard error:  Exception during executable launch operation System.AggregateException: One or more errors occurred. (The system cannot find the file specified.)  ---
System.ComponentModel.Win32Exception (2): The system cannot find the file specified.
--- End of stack trace from previous location where exception was thrown ---    --- End of inner exception stack trace ---    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) The FileSystemWatcher has detected an error System.IO.ErrorEventArgs

Manual Validation ended with:

Hi @vedantmgoyal2009,
Is there a missing dependency?


text:
New version: VirtusLab.ScalaCLI version 1.0.6

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

@wingetbot waivers Add Validation-Executable-Error

authors: scala-steward stephengillie


text:
New package: SDCC.SDCC version 3.3.0

Pull request has been created with Komac v1.11.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

@wingetbot waivers Add Validation-Unapproved-URL

authors: BiosPlus stephengillie


text:
New version: ZetaSoftwareGmbH.ZetaResourceEditor version 2.3.72.0

- [X] Have you signed the Contributor License Agreement?

[ ] 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?

Microsoft Reviewers: Open in CodeFlow

Sequence contains no elements

https://github.com/microsoft/winget-pkgs/issues/133371

(Automated response - build 660.)

Automatic Validation ended with:

2024-01-25T23:34:12.4546271Z -----------------------------------------------------
2024-01-25T23:34:12.4550124Z Status: Started
2024-01-25T23:34:12.4555425Z Manifest file is Added
2024-01-25T23:34:12.6006995Z Manifest content validated.
2024-01-25T23:34:12.6013761Z Manifest contains installer: https://www.zeta-resource-editor.com/zetaresourceeditor-setup.exe
2024-01-25T23:34:12.6635514Z Status: Completed
2024-01-25T23:34:12.6644581Z Result: Succeeded
2024-01-25T23:34:12.7727867Z
2024-01-25T23:34:12.7751930Z -----------------------------------------------------
2024-01-25T23:34:12.7758611Z Status: Started
2024-01-25T23:34:12.7766955Z Manifest file is Deleted
2024-01-25T23:34:13.0182907Z Status: Completed
2024-01-25T23:34:13.0196148Z ##[error] Result: Failed
2024-01-25T23:34:13.0248566Z ##[error] Sequence contains no elements
2024-01-25T23:34:13.0817337Z ##[error]Manifest Validation Failed
2024-01-25T23:34:13.0829415Z

(Automated response - build 660.)

@wingetbot run

@wingetbot run

Automatic Validation ended with:

--- End of inner exception stack trace ---

(Automated response - build 785.)

@wingetbot waivers Add Validation-Executable-Error

authors: Trenly stephengillie


text:
New version: AppFlowy.AppFlowy version 0.4.6

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

Hi @Exorcism0666,
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 695.)

Automatic Validation ended with:

Installation failed with exit code -1978335187 2024-02-03 06:22:46.861 [FAIL] Installer failed security check. Url: https://github.com/AppFlowy-IO/AppFlowy/releases/download/0.4.6/AppFlowy-0.4.6-windows-x86_64.exe Result: 0x80004005

(Automated response - build 695.)

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping @Exorcism0666, I'll get a notification.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！


text:
New version: Nikse.SubtitleEdit version 4.06

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

@stephengillie This should be reverted. There is no 4.06 version.
This is 4.0.6 typoed, which was already (correctly) added to the index with PR #156067 as 4.0.6.0
It's making winget get stuck in a perpetual "there's a new version!" cycle, thinking there's an update because it installs 4.0.6.0 and the 4.06 string looks newer because it treats it like it's 4.6.0 which is > 4.0.6.0, so it installs it but it's still not "new" enough.

Hello @stephengillie

I'm not seeing this version in the tree - can you help me to locate it to revert?

Looks like someone beat us to it ~3 hours ago with PR #156464 😄

Is there a way that I could have known before approving?

Maybe looking at the InstallerUrl and ReleaseNotesUrl which had "4.0.6" hints in their strings vs PackageVersion saying "4.06" could have been a clue. Easy to miss when glancing quickly though!

I am truly sorry I didn't check the version number when submitting this. I've seen that the fix PR has been merged, I hope everything goes well


text:
New Version: OO-Software.Defrag.Server version 28.1.10015

Microsoft Reviewers: Open in CodeFlow

Verify by recent addition: https://github.com/microsoft/winget-pkgs/pull/160068

authors: oo-cmatuschka stephengillie


text:
New version: OK1ZIA.Tucnak version 4.61

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

Resolves #162374

Microsoft Reviewers: Open in CodeFlow

https://github.com/microsoft/winget-pkgs/issues/142854

authors: fancybody stephengillie


text:
Remove version: Diladele.WebProxy version 3.0.0.0

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

For moderators or/and anyone else

[!Caution]
As a result of several personal problems I've had over the last few months + my final exams coming up very soon, I'm currently unable to look at my GitHub notifications every day and maintain my executions correctly.
If you detect a certain problem on a certain pul request:

Either you can close the pull request directly without mentioning me.
Or you can send me a message on X (Twitter): @Exorcism0666

Thank you for your understanding, and I'm sorry if some pull requests can't be approved due to the situation I'm in.

This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping Exorcism0666.

[!warning]
With the new version of Komac, numerous Pull Requests may contain bugs or unwanted elements. If such issues arise, please tag russellbanks so that these bugs can be addressed in future updates.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

/azp run

URL: https://packages.diladele.com/webproxy/3.0.0.3E6A/amd64/release/windows/webproxy-3.0.0.3E6A_amd64.msi
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 912)

authors: Exorcism0666 hackean-msft stephengillie


text:
Remove version: Microsoft.Edge.Dev version 125.0.2506.0

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

URL: https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/3b0f87a2-2547-48b9-8039-d34aefb47372/MicrosoftEdgeDevEnterpriseX86.msi
OK
(Automated message - build 912)


text:
New version: MarekJasinski.FreeCommanderXE version 2024.0.0.901

Checklist for Pull Requests

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

Fixes #167900

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.

Microsoft Reviewers: Open in CodeFlow

Manually validated. I can't reproduce https://github.com/microsoft/winget-pkgs/labels/Validation-Unattended-Failed
23:07:41 C:\...\winget-pkgs  [pull/167958 +0 ~1 -0 !] 1ms pwsh> .\Tools\SandboxTest.ps1 .\manifests\m\MarekJasinski\FreeCommanderXE\2024.0.0.901\
--> Validating Manifest
清单验证成功。

--> Checking dependencies
--> Starting Windows Sandbox, and:
    - Mounting the following directories:
      - C:\Users\Dragon1573\AppData\Local\Temp\SandboxTest as read-only
      - C:\Repository\winget-pkgs as read-and-write
    - Installing WinGet
    - Configuring Winget
    - Installing the Manifest 2024.0.0.901
    - Refreshing environment variables
    - Comparing ARP Entries

--> Installing WinGet
--> Disabling safety warning when running installer
Tip: you can type 'Update-EnvironmentVariables' to update your environment variables, such as after installing a new software.

--> Configuring Winget
Enabled admin setting 'LocalManifestFiles'.
Enabled admin setting 'LocalArchiveMalwareScanOverride'.

--> Installing the Manifest 2024.0.0.901

Found FreeCommander XE [MarekJasinski.FreeCommanderXE] Version 2024.0.0.901
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://freecommander.com/downloads/FreeCommanderXE-32-public_setup.zip
  ██████████████████████████████  14.5 MB / 14.5 MB
Successfully verified installer hash
Extracting archive...
Successfully extracted archive
Starting package install...
Successfully installed

--> Refreshing environment variables

--> Comparing ARP Entries

DisplayName                       DisplayVersion Publisher      ProductCode                                Scope
-----------                       -------------- ---------      -----------                                -----
FreeCommander XE Build 901 32-bit 2024.0.0.901   Marek Jasinski {D3C705DC-9743-4FEF-8358-E1AC9FA69C73}_is1 Machine

Automatic Validation ended with:
(Automated response - build 887.)

@aisgbnok & @Dragon1573 - is another installer switch needed to clear this message?

Yeah, as part of redoing this package/manifest, because it hasn't been touched in a while, I removed the InstallerSwitches. Winget is usually pretty good at passing the needed ones automatically based on InstallerType. During manual validation in a VM (W11 build 26120.1350) the install prompt never appeared. However, based on the results of this validation pipeline things may be different in Windows 10 and older builds.
Therefore, I've added back:
InstallerSwitches:
  Silent: /SP- /VERYSILENT /NORESTART
  SilentWithProgress: /SP- /SILENT /NORESTART

It should pass appropriately now. Thanks.

authors: Dragon1573 aisgbnok stephengillie


text:
Remove version: Jackett.Jackett version 0.20.2163

404 - release deleted
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/Jackett/Jackett/releases/download/v0.20.2163/Jackett.Installer.Windows.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 917)

authors: russellbanks stephengillie


text:
New version: Gruntwork.Terragrunt version 0.67.0

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] 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.

Microsoft Reviewers: Open in CodeFlow

Where I can see what is wrong?

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-08-28 00:50:21.078 [FAIL] Installer failed security check. Url: https://github.com/gruntwork-io/terragrunt/releases/download/v0.67.0/terragrunt_windows_386.exe Result: 0x80004005

Automated error analysis suggests -1978335187 may mean Installer failed security check. Another script should retry this every 18 hours.
Automated error analysis suggests 80004005 may mean Resource missing
(Automated response - build 891.)

/azp run

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-08-29 08:50:33.969 [FAIL] Installer failed security check. Url: https://github.com/gruntwork-io/terragrunt/releases/download/v0.67.0/terragrunt_windows_386.exe Result: 0x80004005

Automated error analysis suggests -1978335187 may mean Installer failed security check. Another script should retry this every 18 hours.
Automated error analysis suggests 80004005 may mean Resource missing
(Automated response - build 891.)

@wingetbot run

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-08-30 10:17:42.403 [FAIL] Installer failed security check. Url: https://github.com/gruntwork-io/terragrunt/releases/download/v0.67.0/terragrunt_windows_386.exe Result: 0x80004005

Automated error analysis suggests -1978335187 may mean Installer failed security check. Another script should retry this every 18 hours.
Automated error analysis suggests 80004005 may mean Resource missing
(Automated response - build 894.)

@wingetbot run

authors: KaiKorla stephengillie


text:
Remove version: TuxGuitar.TuxGuitar version 1.5.6

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

URL: https://sourceforge.net/projects/tuxguitar/files/TuxGuitar/TuxGuitar-1.5.6/tuxguitar-1.5.6-windows-x86-installer.exe/download
Status Code: 200
(Automated message - build 896)


text:
New version: PDFsam.PDFsam version 5.2.9

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

Automatic Validation ended with:

Installation failed with exit code -1978335215
2024-11-01 18:43:48.690 [CORE] DeliveryOptimization error: 0x80d05001, extended error: 0x00000000
2024-11-01 18:43:48.823 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\DODownloader.cpp(289)\WindowsPackageManager.dll!00007FFC3FD1A465: (caller: 00007FFC3FD1AD01) Exception(1) tid(177c) 80D05001
2024-11-01 18:44:00.115 [CLI ] Package hash verification failed. SHA256 in manifest [ad6fb02bcf2b96888d3686b2d033a5798d25623f0db0a239d835152dc11af405] does not match download [fabbfab41db02257d3aab1b2d3cb7d12fff88ff24165f7ea3e2ebfdaf9563327]

Automated error analysis suggests -1978335215 may mean The installer files hash does not match the manifest
(Automated response - build 897.)

@wingetbot run

authors: ItzLevvie jahvari stephengillie


text:
New version: Hugo.Hugo.Extended version 0.139.2

Created by 🥟 Dumplings in workflow run #9763.

Log
Updated: 0.139.1 → 0.139.2
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-11-23 08:19:40.772 [FAIL] Installer failed security check. Url: https://github.com/gohugoio/hugo/releases/download/v0.139.2/hugo_extended_0.139.2_windows-amd64.zip Result: 0x80004005

Automated error analysis suggests -1978335187 may mean Installer failed security check. Another script should retry this every 18 hours.
Automated error analysis suggests 80004005 may mean Resource missing
(Automated response - build 899.)

@stephengillie manual validation needed.

authors: SpecterShell spectopo stephengillie


text:
Add: Timber1900.WebDL version v10

[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

Duplicate #19644


text:
Remove version: YouXiao.YXFile version 2.1.11.3

All InstallerUrls returned 404 Not Found

https://static.youxiao.cn/yxfile/yxfile_v2.1.11.3.exe

Microsoft Reviewers: Open in CodeFlow

URL: https://static.youxiao.cn/yxfile/yxfile_v2.1.11.3.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 924)


text:
Remove version: YouXiao.YXFile version 2.1.12.21

All InstallerUrls returned 404 Not Found

https://static.youxiao.cn/yxfile/yxfile_v2.1.12.21.exe

Microsoft Reviewers: Open in CodeFlow

URL: https://static.youxiao.cn/yxfile/yxfile_v2.1.12.21.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 924)


text:
BiglyBT - Add verion 2.8.0.0, Remove older versions

[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

You must open two separate PRs. One for deleting older versions, and another for adding newer versions.

yay seems to be the case


text:
WestWind.MarkdownMonster version 2.0.8

[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

So the v2 installer has a second sub-installer for the WebView2 runtime that pops up with UI. I suspect that's what's causing the problem. There's no prompt (ie. it runs without user interaction) but it visually pops up. Could this be the issue?


text:
7+ Taskbar Tweaker v5.9.1

[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>, where <manifest> is the name of the manifest you're submitting?
[X] Have you tested your manifest locally with winget install -m <manifest>?

Microsoft Reviewers: Open in CodeFlow

PR fails because the rename deleted the old file..

think the new PR will fix the issue


text:
Add version: TTKN.CNKIExpress version 0.0.8

[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?

Microsoft Reviewers: Open in CodeFlow

/azp run

authors: SpecterShell palenshus


text:
Added VirtualBox

Let's make some VMs!
Microsoft Reviewers: Open in CodeFlow

I am closing this PR because VirtualBox is incompatible with the package system:

VirtualBox installer comes ina .exe extension but it is a MSI installer, just use "/extract" parameter on the .exe to get the MSI.
Using "--silent --ignore-reboot" on .exe returns "Error 1"


text:
Remove: Discord.Discord.Development version 1.0.657

## .\Tools\YamlCreate.ps1 -SkipPRCheck -Mode 5 -PackageIdentifier Discord.Discord.Development -PackageVersion 1.0.657

[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?

Microsoft Reviewers: Open in CodeFlow

/azp run


text:
New version: Coldlake.StellarPlayer version 1.22.913.1004

[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.2 schema?

Microsoft Reviewers: Open in CodeFlow

@wingetbot run

authors: ItzLevvie SpecterShell


text:
The Windows (aka Super) Key isn't Emitted to WSLG

Environment
Windows build number: 10.0.22000.0
Your Distribution version: 20.04
Your WSLg version: 1.0.26

Steps to reproduce

Open a GUI which is supposed to respond to the Windows Key (such as QEMU or virt-manager)
Press the Windows Key
Notice, that Windows responds to the key rather than the GUI displayed using wslg

WSL logs:

pulseaudio.log
weston.log
versions.txt

Expected behavior
wslg should allow me to set whether the Win key should be redirected to wslg or the OS for individual windows.
Actual behavior
The Win key is always redirected to Windows.

Are there any updates on this?

A number of Linux gui applications are affected by this, emacs being one of them.  I'll happily take any work-around, too like reconfiguring the windows host, maybe adding some magic "super-key-prefix" on the windows side.

@froh, I have a workaround using AutoHotKey but it does not exhibit my ideal workflow. You can check it out on the AutoHotKey board forums here.

authors: froh mahmoudimus manuth silentbugs

repo: microsoft/wslg


text:
Update the Chinese version to latest Graph Explorer

Please update the Chinese version https://developer.microsoft.com/zh-cn/graph/graph-explorer-china.

to latest Graph Explorer.
(I heard it is because the AzureAD was blocked, but please work on it to get this work)
2121651
AB#7539

Enabling Graph Explorer to work in different clouds will solve this issue.
That's an ongoing effort captured on this ticket https://github.com/microsoftgraph/microsoft-graph-explorer-v4/issues/868

authors: Hongbo-Miao RabebOthmani


text:
Waterhive

No waterhives were found yet

Currently no mod supplying waterhives installed.
Should we re-add Binnie's ExtraStuff?

license: unlicense

license_source: bigquery


text:
pandora 的官方文档打不开吗？

中文文档和英文文档都404打不开

done

repo: midwayjs/pandora

license: mit


text:
fix APL address length check.

fix AFDLENGTH  and AFDPART length check.

Codecov Report

Merging #1095 into master will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1095      +/-   ##
==========================================
- Coverage   55.68%   55.66%   -0.02%
==========================================
  Files          41       41
  Lines       10080    10081       +1
==========================================
- Hits         5613     5612       -1
- Misses       3439     3441       +2
  Partials     1028     1028

Impacted Files
Coverage Δ

msg_helpers.go
62.40% <100.00%> (+0.07%)
:arrow_up:

server.go
70.44% <0.00%> (-0.56%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f515aa5...f007baa. Read the comment docs.

build is failing, can you check @mimuret ?

sorry fix it.

authors: codecov-io miekg mimuret

repo: miekg/dns


text:
SplitToSequence operator is unsupported

Failing tests:

test_sequence_model6_cpu
test_sequence_model7_cpu
test_sequence_model8_cpu

Blocked until ONNX sequences are supported in MIGraphX.

GPT-J created with python -m transformers.onnx --model=EleutherAI/gpt-j-6B onnx/ Fails at what(): /code/AMDMIGraphX/src/onnx/onnx_parser.cpp:417: parse_graph: Unknown operator: SplitToSequence

This issue is fixed now. See: https://github.com/migraphx-benchmark/AMDMIGraphX/issues/145#issuecomment-1779155031

repo: migraphx-benchmark/AMDMIGraphX


text:
upgrade go-github to v56

go-github v56 among other changes removes the dependency on github.com/ProtonMail/go-crypto
which drastically reduces transitive dependencies.
Same as #54 but for the latest and greatest. Let me know if other changes are needed.

@migueleliasweb any change this could be reviewed and merged? thanks.

authors: pfiaux quike

repo: migueleliasweb/go-github-mock


text:
Chap23 - Users.py modifications - PUT makes no change on database

Hi,
I m adapting code of chap23, on file similar to users.py.
I have GET/ POST working fine. but when I make a PUT for an update (def update_user(id):),
function below return is the expected one. Just that database is not updated.
Also I had to create a second db = SQLAlchemy(app) in this file, as otherwise Flask claims is has db not defined. while being already present in parent folder for the graphic version of the app. Same happens if I add it in init.py of the api folder.
I would be gratefull if someone has some idea for this, already spent whole day in this... surely I have not correct understanding of something
api folder
candidates.py, modifications of users.py
from flask import Flask, jsonify, request, url_for, abort
from flask import make_response
from tuto.api.errors import bad_request
import os
from tuto.api import bp
from tuto import models
from tuto.models import Entreprise, Offre, User, Candidate
import os
app = Flask(name)
from flask_sqlalchemy import SQLAlchemy
def mkpath(p):
     return os.path.normpath(
         os.path.join(os.path.dirname(file),
             p))
db = SQLAlchemy(app)
@bp.route('/candidates', methods=['GET'])
def get_candidates():
     result = {}
     data_result= {}
     data = Candidate.query.limit(240).all()
     print(data)
     i = 1
     for x in data:
          data_result['username'] = x.username
          data_result['email'] = x.email
        result[i]= data_result
         data_result= {}
         i = i + 1
     return jsonify(result)
@bp.route('/candidates/int:id', methods=['GET'])
def get_candidate(id):
     return jsonify(Candidate.query.get_or_404(id).to_dict())
api folder:
init.py
from flask import Blueprint
bp = Blueprint('api', name)
from flask import Flask
from tuto.api import candidates, errors
parent folder:
init.py
from .app import app
import tuto.views
import tuto.commands
import tuto.models
from flask_sqlalchemy import SQLAlchemy
parent folder:
app.py
from flask import Flask
from flask_login import LoginManager
app = Flask(name)
login_manager = LoginManager(app)
login_manager.login_view = "login"
app.config['MAX_CONTENT_LENGTH'] = 2048 * 2048
app.config['UPLOAD_EXTENSIONS'] = ['.jpg', '.png', '.jpeg']
app.config['UPLOAD_PATH'] = 'tuto/static/images'
import os.path
from flask_bootstrap import Bootstrap
Bootstrap(app)
app.config['BOOTSTRAP_SERVE_LOCAL']=True
def mkpath(p):
      return os.path.normpath(
            os.path.join(os.path.dirname(file),
               p))
from flask_sqlalchemy import SQLAlchemy
app.config['SQLALCHEMY_DATABASE_URI']= (
      'sqlite:///'+mkpath('../myapp.db'))
db = SQLAlchemy(app)
from tuto.api import bp as api_bp
app.register_blueprint(api_bp, url_prefix='/api')
models.py
class Candidate(db.Model, UserMixin):
     id = db.Column(db.Integer, primary_key=True)
    username = db.Column(db.String(50))
     password = db.Column(db.String(64))
     email = db.Column(db.String(64))
     def set_password(self, password):
          self.password_hash = generate_password_hash(password)
     def check_password(self, password):
         return check_password_hash(self.password_hash, password)
   def to_dict(self, include_email=False):
         data = {
           'id': self.id,
           'username': self.username,
           'password': self.password,
       }
     if include_email:
          data['email'] = self.email
     return data
   def from_dict(self, data, new_user=False):
        for field in ['username', 'email', 'password']:
          if field in data:
                setattr(self, field, data[field])
       if new_user and 'password' in data:
            self.set_password(data['password'])
     def get_id(self):
          return self.username

I belive duplicate of db can be issue, but it s only way I got the 3 other functions work GET/POST
Hope someone can help me
Thanks

You can't define multiple databases. You have to use a single one, as shown in the tutorial.

You can't define multiple databases. You have to use a single one, as shown in the tutorial.

Yes, it was a workaround due to "db not define" messages.
Finally solved it, I just change your "from app import db" from users.py file to point to my app folder then to my app file.
So changed into from tuto.app import db
Too many app words there, I managed to find a rational in it :-)
Thanks for putting me back to origin of issue

Yes, it was a workaround due to "db not define" messages.
Finally solved it, I just change your "from app import db" from users.py file to point to my app folder then to my app file.
So changed into from tuto.app import db
Too many app words there, I managed to find a rational in it :-)
Thanks for putting me back to origin of issue

repo: miguelgrinberg/microblog