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
I have multiple cells in my jupyter notebook. I have a variable which has the same name as the parameter of a function. I am pressing F2 to rename the parameter of the function, and unfortunately, it also renames it everywhere in the notebook, which is VERY undesirable. Please, look at the screenshot
Extension version: 2024.4.0
VS Code version: Code 1.89.1 (dc96b837cf6bb4af9cd736aa3af08cf8279f7685, 2024-05-07T05:16:23.416Z)
OS version: Linux x64 6.4.6-060406-generic
Modes:
I re-enabled Pylance, restarted the language server, and now it works as it was before:
To be honest, I don't know the reason why renaming was not working at all while pylance was not loaded.
But I actually googled the solution "renaming symbol is not working in VS code", and the answer was "enable pylance and restart language server" :)
So, is there some way to make it NOT renaming the symbol everywhere, but to do this just inside the function?
Type: Bug
I have multiple cells in my jupyter notebook. I have a variable which has the same name as the parameter of a function. I am pressing F2 to rename the parameter of the function, and unfortunately, it also renames it everywhere in the notebook, which is VERY undesirable. Please, look at the screenshot
Extension version: 2024.4.0
VS Code version: Code 1.89.1 (dc96b837cf6bb4af9cd736aa3af08cf8279f7685, 2024-05-07T05:16:23.416Z)
OS version: Linux x64 6.4.6-060406-generic
Modes:
System Info
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_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: