iocave / monkey-patch

Inject custom javascript into vscode
MIT License
154 stars 17 forks source link

Getting a "Cannot read property 'sideBar' of undefined" when toggling the side bar #33

Open ryan6416 opened 2 years ago

ryan6416 commented 2 years ago

Initially opened an issue in https://github.com/microsoft/vscode/issues/140174 but discovered that after disabling the monkey-patch extension, vscode did not throw that error anymore.

image

Issue Type: Bug

VS Code version: Code - Insiders 1.64.0-insider (f0054e049cd286ff317c738efe0fd8810b48ae98, 2022-01-05T05:24:27.310Z) OS version: Darwin arm64 21.1.0 Restricted Mode: No

System Info |Item|Value| |---|---| |CPUs|Apple M1 Max (10 x 24)| |GPU Status|2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled| |Load (avg)|4, 4, 5| |Memory (System)|32.00GB (3.00GB free)| |Process Argv|--crash-reporter-id 26c16dff-0d3a-4429-a92d-6ddd94bd74c9 --crash-reporter-id 26c16dff-0d3a-4429-a92d-6ddd94bd74c9| |Screen Reader|yes| |VM|0%|
Extensions (32) Extension|Author (truncated)|Version ---|---|--- path-intellisense|chr|2.6.0 vscode-eslint|dba|2.2.2 gitlens-insiders|eam|2022.1.504 vscode-npm-script|eg2|0.3.23 prettier-vscode|esb|9.1.0 vscode-jest-runner|fir|0.4.47 copilot-nightly|Git|1.7.4459 remotehub|Git|0.21.2021121709 vscode-pull-request-github|Git|0.34.2 rest-client|hum|0.24.6 customize-ui|ioc|0.1.55 monkey-patch|ioc|0.1.16 vscode-peacock|joh|4.0.0 git-graph|mhu|1.30.0 dotenv|mik|1.0.1 vscode-docker|ms-|1.18.0 vscode-kubernetes-tools|ms-|1.3.4 js-debug-nightly|ms-|2022.1.417 vscode-typescript-next|ms-|4.6.20220104 refactor|p42|1.66.0 material-icon-theme|PKi|4.11.0 material-product-icons|PKi|1.1.1 vscode-yaml|red|1.2.2 vscode-javascript-booster|sbu|14.0.1 autoimport|ste|1.5.4 code-spell-checker|str|2.0.14 tabnine-vscode|Tab|3.5.13 errorlens|use|3.4.1 intellicode-api-usage-examples|Vis|0.0.6 vscodeintellicode|Vis|1.2.15 gistfs|vsl|0.3.0 fig|wit|0.0.5 (1 theme extensions excluded)