microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.75k stars 29.1k forks source link

Formatter, intelisense, even collapsing code blocks doesnt work with files opened from network location (nemo/cinnamon) #183083

Closed ghost closed 1 year ago

ghost commented 1 year ago

Type: Bug

Opening files from SFTP network locations opened in Nemo/Cinnamon as i have for years but now the "JavaScript" language button in the status bar just keeps rotating hourglass. Intellisense does't work, can't even collapse code block using Ctrl+K+1.

If i open a local file, sometimes i think its working, but if i open a file from network location and another local file, then intelisense stops working for all files. Something is wrong.

If i auto format the document, after waiting like 1 minute, intellisense stats to work again. Then rotating hourglass again.

I delete my .config/code and .vscode directories and reset everything, still does the same thing. Does not appear to be related to any plugin.

Im using Debian 12 RC3, its just a fresh install.

VS Code version: Code 1.78.2 (b3e4e68a0bc097f0ae7907b217c1119af9e03435, 2023-05-10T14:47:05.613Z) OS version: Linux x64 6.1.0-9-amd64 Modes: Sandboxed: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz (8 x 3093)| |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
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|1, 1, 1| |Memory (System)|31.30GB (25.17GB free)| |Process Argv|--unity-launch --crash-reporter-id 0cadb521-1103-404f-a665-2d3050bc97f6| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|cinnamon| |XDG_CURRENT_DESKTOP|X-Cinnamon| |XDG_SESSION_DESKTOP|undefined| |XDG_SESSION_TYPE|x11|
Extensions (23) Extension|Author (truncated)|Version ---|---|--- Bookmarks|ale|13.3.1 doxdocgen|csc|1.4.0 json-tools|eri|1.0.2 shell-format|fox|7.2.5 compareit|in4|0.0.2 better-cpp-syntax|jef|1.17.2 auto-build|mar|2.1.45 nc-gcode|ML|0.13.0 compare-folders|mos|0.22.5 remote-containers|ms-|0.292.0 remote-ssh|ms-|0.102.0 remote-ssh-edit|ms-|0.86.0 remote-wsl|ms-|0.78.6 cmake-tools|ms-|1.14.31 cpptools|ms-|1.15.4 cpptools-extension-pack|ms-|1.3.0 remote-explorer|ms-|0.4.0 vscode-serial-monitor|ms-|0.9.0 platformio-ide|pla|3.1.1 cmake|twx|0.0.17 vscode-arduino|vsc|0.6.0 zoombar-vscode|wra|1.4.4 clang-format|xav|1.9.0 (2 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscorecescf:30445987 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593:30376534 pythonvs932:30410667 cppdebug:30492333 vsclangdf:30486550 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30695312 azure-dev_surveyone:30548225 282f8724:30602487 pyind779:30671433 f6dab269:30613381 pythonsymbol12:30671437 2i9eh265:30646982 showlangstatbar:30737416 vsccsb:30705552 pythonms35:30701012 pythonfmttext:30731395 pythoncmv:30739700 fixhidewlkth:30730051 pythongtdpathcf:30739705 ```
jrieken commented 1 year ago

/duplicate of https://github.com/microsoft/vscode/issues/182070

vscodenpa commented 1 year ago

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

Happy Coding!

gjsjohnmurray commented 1 year ago

@jrieken I thought that issue only affected Windows installations.