Closed andreihrs closed 1 year ago
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.75.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!
I did upgrade to a newer version and it looks like for a 300-line JSON file, I don't incur the same freeze. Not sure if it's going to happen on a bigger file, will update
Does this happen on any regex? Or a specific one?
I found the same issue. Here is how to reproduce:
1) go to vscode.dev in the browser
2) create new file and paste content of https://raw.githubusercontent.com/prisma/database-schema-examples/main/mysql/magento/schema.sql
3) press CTRL+F or CMD+F, enable regexp search.
4) search for CREATE TABLE([^;]|[\n])*([^;]|[\n]);
5) change regex to CREATE TABLE([^;]|[\n])*`([^;]|[\n]);
by adding a`
between *
and (
Chrome tab freezes
Tested on up-to-date mac, in up-to-date chrome, on vsdoce.dev
Hey @andreamah, this issue might need further attention.
@andreihrs, you can help us out by closing this issue if the problem no longer exists, or adding more information.
I believe that this is a /duplicate of https://github.com/microsoft/vscode/issues/30874
Type: Bug
I was trying to find all occurences of a specific object in a JSON file of 1000 lines, but the window freezes randomly when I use the regex search feature
VS Code version: Code 1.75.0 (e2816fe719a4026ffa1ee0189dc89bdfdbafb164, 2023-02-01T15:26:31.005Z) OS version: Darwin arm64 21.6.0 Modes: Sandboxed: No
System Info
|Item|Value| |---|---| |CPUs|Apple M1 Max (10 x 24)| |GPU Status|2d_canvas: enabledcanvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|3, 3, 3| |Memory (System)|64.00GB (6.81GB free)| |Process Argv|--crash-reporter-id ef2a0fbc-dfc0-420b-aa73-e47d8de65d87| |Screen Reader|no| |VM|0%|
Extensions (62)
Extension|Author (truncated)|Version ---|---|--- better-comments|aar|3.0.2 calculate|aca|2.1.0 Bookmarks|ale|13.3.1 line-jumper|ale|0.1.0 tailwind-docs|aus|2.0.0 emojis4git|ben|2.1.2 file-browser|bod|0.2.11 tailwindshades|bou|0.0.5 vscode-tailwindcss|bra|0.9.7 better-toml|bun|0.3.2 path-intellisense|chr|2.8.4 vscode-postgres|cko|1.4.0 vscode-eslint|dba|2.4.0 es7-react-js-snippets|dsz|4.4.3 gitlens|eam|13.2.0 vscode-html-css|ecm|1.13.1 prettier-vscode|esb|9.10.4 code-runner|for|0.12.0 shell-format|fox|7.2.2 copilot|Git|1.72.8614 vscode-pull-request-github|Git|0.58.1 headwind|hey|1.7.0 vscode-css-to-tailwindcss|Jac|1.2.5 fuzzy-search|jac|0.0.3 plantuml|jeb|2.17.5 solidity|Jua|0.0.141 magit|kah|0.6.36 graphql-for-vscode|kum|1.15.3 tailwindcss-intellisense-twin|lig|3.0.0 prettify-json|moh|0.0.3 vscode-docker|ms-|1.23.3 vscode-kubernetes-tools|ms-|1.3.11 vscode-jupyter-cell-tags|ms-|0.1.6 vscode-jupyter-slideshow|ms-|0.1.5 remote-containers|ms-|0.275.1 remote-ssh|ms-|0.96.0 remote-ssh-edit|ms-|0.84.0 hexeditor|ms-|1.9.11 remote-explorer|ms-|0.2.0 vs-sequential-number|nep|1.1.0 cargo|pan|0.2.3 prisma|Pri|4.10.1 vscode-yaml|red|1.11.0 rust-analyzer|rus|0.3.1394 crates|ser|0.5.10 vscode-fileutils|sle|3.10.0 code-spell-checker|str|2.16.0 vscode-styled-components|sty|1.7.5 markdown-memo|svs|0.3.19 graphviz-interactive-preview|tin|0.3.5 solidity-visual-auditor|tin|0.1.5 vscode-ethover|tin|0.0.7 vscode-inline-bookmarks|tin|0.1.0 vscode-solidity-flattener|tin|0.0.11 vscode-solidity-language|tin|0.0.7 pdf|tom|1.2.2 errorlens|use|3.7.0 vscode-lldb|vad|1.8.1 vspacecode|VSp|0.10.13 whichkey|VSp|0.11.3 go-to-next-error|yy0|1.0.4 markdown-all-in-one|yzh|3.5.0A/B Experiments
``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 pythondataviewer:30285071 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593cf:30376535 pythonvs932:30410667 cppdebug:30492333 vsclangdc:30486549 c4g48928:30535728 dsvsc012cf:30540253 azure-dev_surveyonecf:30548226 pyindex848:30577860 nodejswelcome1:30587005 282f8724:30602487 pyind779cf:30657577 f6dab269:30613381 pythonsymbol12cf:30657549 a9j8j154:30646983 ```