Enter button not working fine
Type: Bug
The ENTER button is not working correctly when this extension is enabled, it delays or sometimes not working for a long time. I use bisect to identify this issue
Extension version: 1.18.0 VS Code version: Code 1.89.1 (dc96b837cf6bb4af9cd736aa3af08cf8279f7685, 2024-05-07T05:13:33.891Z) OS version: Windows_NT x64 10.0.19045 Modes:
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz (4 x 2394) |
| GPU Status | 2d_canvas: enabled canvas_oop_rasterization: enabled_on direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled |
| Load (avg) | undefined |
| Memory (System) | 7.93GB (1.57GB free) |
| Process Argv | C:\Users\Carron Muleya\Documents\Forex Market Bot\model_train --crash-reporter-id 2d92c8d9-4c89-412a-8b66-d80725abc897 |
| Screen Reader | no |
| VM | 0% |
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
vscrpc:30673769
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
jchc7451:31067544
chatpanelt:31048053
dsvsc021:30996838
9c06g630:31013171
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecationcf:31061161
pythonprt:31056678
dwnewjupytercf:31046870
26j00206:31048877
Are you working with very large python files when the delay happens? Like 10,000+ lines of code?
I use this extension every day and don't often observe noticeable delays.
I encountered the same issue with this extension. Found it with the help of bisect and disabled it. The enter key now works fine.
@smitraval24 a couple comments:
- You can try installing the pre-release version of this extension (
v1.18.1) -- the pre-release version uses Rust compiled to WASM for the main parsing logic, which I suspect will be faster. - Are you able to share the python file that you were editing when you observed the lag? As I said above, I have never experienced noticeable lag in the 5+ years I've been using this extension.
The latest version of this extension now uses rust code compiled to web assembly for the main python parsing. I hope this will results in a faster experience.