microsoft / vscode-jupyter

VS Code Jupyter extension
https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
MIT License
1.3k stars 293 forks source link

No pathcompletion in python nor jupyter notebook #16055

Open DavidvanBruggen opened 2 months ago

DavidvanBruggen commented 2 months ago

Type: Bug

No pathcompletion is available in notebooks or python. No settings indicate that it should be disabled. A failure of a core functionality like this would preferably be easier to diagnose.

Expected behaviour, completion of suggestion of paths when typing "/test/", '/test/', or /test/.

Observed behaviour, copilot generated completion of path from other paths in notebook, but nothing else.

VS Code version: Code 1.92.1 (eaa41d57266683296de7d118f574d0c2652e1fc4, 2024-08-07T20:16:39.455Z) OS version: Linux x64 6.1.0-23-amd64 Modes:

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 9 7950X3D 16-Core Processor (32 x 3000)| |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: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off| |Load (avg)|1, 1, 2| |Memory (System)|30.56GB (18.68GB free)| |Process Argv|--crash-reporter-id ab108aa1-c860-4faf-a47a-4f8f08633e23| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|lightdm-xsession| |XDG_CURRENT_DESKTOP|MATE| |XDG_SESSION_DESKTOP|lightdm-xsession| |XDG_SESSION_TYPE|x11|
Extensions (18) Extension|Author (truncated)|Version ---|---|--- codespaces|Git|1.17.2 copilot|Git|1.222.0 copilot-chat|Git|0.18.2 vscode-pull-request-github|Git|0.94.0 git-graph|mhu|1.30.0 vscode-docker|ms-|1.29.2 debugpy|ms-|2024.10.0 python|ms-|2024.12.3 vscode-pylance|ms-|2024.8.1 jupyter|ms-|2024.7.0 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.19 vscode-jupyter-cell-tags|ms-|0.1.9 vscode-jupyter-slideshow|ms-|0.1.6 remote-ssh|ms-|0.113.1 remote-ssh-edit|ms-|0.86.0 remote-explorer|ms-|0.4.3 r|REd|2.8.4
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492cf:30256860 vscod805:30301674 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonnoceb:30805159 asynctok:30898717 pythonregdiag2:30936856 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 accentitlementsc:30995553 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 0ee40948:31013168 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 dwnewjupytercf:31046870 2f103344:31071589 impr_priority:31102340 refactort:31108082 pythonrstrctxt:31112756 wkspc-onlycs-t:31111718 wkspc-ranged-t:31111713 ```
rchiodo commented 1 month ago

Pylance doesn't provide path completions. These are only available in a notebook when a kernel is running. Transferring back to vscode-jupyter.