question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

hide function only works on some functions

See original GitHub issue

Type: Bug

Before all python functions had the option to hide or expand, now only some have and others no longer appear.

image

VS Code version: Code 1.72.2 (d045a5eda657f4d7b676dedbfa7aab8207f8a075, 2022-10-12T22:15:18.074Z) OS version: Windows_NT x64 10.0.22621 Modes: Sandboxed: No

System Info
Item Value
CPUs Intel® Core™ i5-10400 CPU @ 2.90GHz (12 x 2904)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
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_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) undefined
Memory (System) 15.86GB (5.66GB free)
Process Argv –crash-reporter-id ba9770db-bb4b-4f65-9c0e-ac1772a11bba
Screen Reader no
VM 0%
Extensions (14)
Extension Author (truncated) Version
vscode-django bat 1.10.0
gc-excelviewer Gra 4.2.56
vscode-fix-checksums leh 1.1.0
python ms- 2022.16.1
jupyter ms- 2022.9.1202862440
jupyter-keymap ms- 1.0.0
jupyter-renderers ms- 1.0.10
vscode-jupyter-cell-tags ms- 0.1.6
vscode-jupyter-slideshow ms- 0.1.5
remote-wsl ms- 0.72.0
LiveServer rit 5.7.9
code-settings-sync Sha 3.4.3
tabnine-vscode Tab 3.6.15
vscode-icons vsc 11.20.0
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
2144e591:30553903
vscccc:30566498
pyindex848:30577860
nodejswelcome1cf:30587006
40g7c324:30573242

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
debontecommented, Oct 28, 2022

I keep mine always in Default, but I uninstalled Pylance

Ok, so that means that the folding nodes you are seeing are either being provided by Jedi or VS Code. Last time I looked, jedi_language_server didn’t support folding, so I’m guessing it’s VS Code. But in any case, since this issue is not Pylance-related, I’m going to transfer it to vscode-python.

I had to uninstall it because without it the memory cost remains the same all the time, but with it activated, it grows until it consumes all the existing memory and crashes the computer.

We have been trying to improve our behavior in high-memory situations, so consider trying Pylance again. And if you still hit crashes, please file an issue here.

1reaction
debontecommented, Oct 17, 2022

@fredericomattos, can you provide a code snippet that reproduces this behavior?

@mvanderlee, please file a separate issue. We can always resolve it as a dupe if it’s related, but until we determine that it will be easier to track the two issues separately.

Read more comments on GitHub >

github_iconTop Results From Across the Web

hide function only works on some functions #20116 - GitHub
Type: Bug. Before all python functions had the option to hide or expand, now only some have and others no longer appear.
Read more >
jQuery Show() and Hide() functions not working - Stack Overflow
To ensure the DOM is completely loaded when you are running your jQuery code. The DOM loads from top to bottom and if...
Read more >
Lesson 5: Using Javascript to Hide and Show Content
One way that JavaScript is commonly used is to hide or display content based ... However, in this case we want to make...
Read more >
jQuery Effects - Hide and Show - W3Schools
Demonstrates a simple jQuery hide() method. ... the hide() or show() method completes (you will learn more about callback functions in a later...
Read more >
Why is the JavaScript hide() function not working on ... - Quora
The hide() function is defined in the jQuery library. You'd need to include the jQuery.js file in your HTML page before you can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found