You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deno's CPU and memory usage is exploding and sometimes even causing an OS freeze and/or crash when hovering over a JSDoc type based on imported "/dev/random".
To Reproduce
Install the deno extension.
Create .vscode/settings.json
{
"deno.enable": true
}
Create test.js
/** * @import random from "/dev/random"; *//** * @typedef {`${random}`} Test */
Now hover over Test and watch your CPU and memory melting until everything freezes and/or crashes.
Expected behavior
Without the extension enabled, vscode falls back to normal TypeScript, which displays Test as just ${random} and doesn't cause any issues. The deno extension should probably do the same.
Describe the bug
Deno's CPU and memory usage is exploding and sometimes even causing an OS freeze and/or crash when hovering over a JSDoc type based on imported
"/dev/random"
.To Reproduce
Test
and watch your CPU and memory melting until everything freezes and/or crashes.Expected behavior
Without the extension enabled, vscode falls back to normal TypeScript, which displays
Test
as just${random}
and doesn't cause any issues. The deno extension should probably do the same.Versions
vscode: 1.93.0-insider deno: 2.0.0-rc.1 extension: 3.39.0
Device
MacBook Pro 13", M2, 2022, 8 GB, macOS 15.0 Beta (24A5327a)
The text was updated successfully, but these errors were encountered: