text:
Jedi LSP provides limited syntax highlighting and crashes

Type: Bug

Behaviour
Expected vs. Actual
I expect to have fully functional syntax highlighting, similar to Pylance on Windows.
This does not happen.
I also noticed that the Jedi server crashes every once in a while.
It additionally fails to parse its own requirements.txt file.
Steps to reproduce:

Open a Python file.

Diagnostic data

Python version (& distribution if applicable, e.g. Anaconda): 3.11.8
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Global
Value of the python.languageServer setting: Default

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

Python extension
2024-03-11 21:15:49.955 [debug] Getting roots
2024-03-11 21:15:49.955 [debug] Getting roots
2024-03-11 21:15:49.955 [debug] Found roots
2024-03-11 21:15:49.955 [debug] Start watching file for changes /home/giovanni/.conda/environments.txt
2024-03-11 21:15:49.955 [debug] Start watching: /home/giovanni/.conda with pattern environments.txt using VSCode API
2024-03-11 21:15:49.955 [debug] Found roots
2024-03-11 21:15:49.955 [debug] Start watching root /home/giovanni/Projects/AUR for globs ["python","*/python","*/bin/python"]
2024-03-11 21:15:49.955 [debug] Start watching: /home/giovanni/Projects/AUR with pattern python using VSCode API
2024-03-11 21:15:49.955 [debug] Start watching: /home/giovanni/Projects/AUR with pattern */python using VSCode API
2024-03-11 21:15:49.955 [debug] Start watching: /home/giovanni/Projects/AUR with pattern */bin/python using VSCode API
2024-03-11 21:15:49.955 [debug] Storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS  retrying by resetting first
2024-03-11 21:15:49.955 [debug] Storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS  retrying by resetting first
2024-03-11 21:15:49.955 [info] Default formatter is set to null for workspace /home/giovanni/Projects/AUR
2024-03-11 21:15:49.955 [debug] Waiting for test server to start...
2024-03-11 21:15:49.955 [debug] Searching for interpreters in posix paths locator
2024-03-11 21:15:49.955 [debug] Searching for pyenv environments
2024-03-11 21:15:49.955 [debug] Searching for conda.
2024-03-11 21:15:49.955 [debug] Probing conda binary: conda
2024-03-11 21:15:49.955 [debug] Searching for custom workspace envs
2024-03-11 21:15:49.955 [debug] VS Code was not launched from the command line
2024-03-11 21:15:49.955 [debug] VS Code was not launched from the command line
2024-03-11 21:15:49.955 [info] Test server listening.
2024-03-11 21:15:49.955 [debug] Test server started.
2024-03-11 21:15:49.955 [debug] Testing: Setting up watcher for /home/giovanni/Projects/AUR
2024-03-11 21:15:49.955 [debug] Finished searching for custom virtual envs
2024-03-11 21:15:49.955 [debug] Couldn't locate the state binary.
2024-03-11 21:15:49.955 [debug] Dump environment variables {
    "CHROME_DESKTOP": "code-oss.desktop",
    "COLORFGBG": "15;0",
    "COLORTERM": "truecolor",
    "CONDA_PROMPT_MODIFIER": "false",
    "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/1000/bus",
    "DEBUGINFOD_URLS": "https://debuginfod.archlinux.org ",
    "DESKTOP_SESSION": "plasma",
    "DISPLAY": ":0",
    "EDITOR": "nvim",
    "ELECTRON_ENABLE_LOGGING": "1",
    "ELECTRON_NO_ATTACH_CONSOLE": "1",
    "GDK_BACKEND": "x11",
    "GEM_HOME": "/home/giovanni/.gem/ruby/3.0.0",
    "GITHUB_TOKEN": "<REDACTED>",
    "GIT_ASKPASS": "/usr/bin/ksshaskpass",
    "HG": "/usr/bin/hg",
    "HOME": "/home/giovanni",
    "HYPRLAND_INSTANCE_SIGNATURE": "84ab8d11e8951a6551d1e1bf87796a8589da6d47_1710186208",
    "INVOCATION_ID": "1ac0a1296461401083bceaa3a46bf417",
    "JOBS": "12",
    "JOURNAL_STREAM": "8:765228",
    "KDE_APPLICATIONS_AS_SCOPE": "1",
    "KDE_FULL_SESSION": "true",
    "KDE_SESSION_UID": "1000",
    "KDE_SESSION_VERSION": "6",
    "KGLOBALACCELD_PLATFORM": "org.kde.kwin",
    "KONSOLE_DBUS_SERVICE": ":1.1329",
    "KONSOLE_DBUS_SESSION": "/Sessions/1",
    "KONSOLE_DBUS_WINDOW": "/Windows/1",
    "KONSOLE_VERSION": "240200",
    "LANG": "en_SE.UTF-8",
    "LC_MEASUREMENT": "en_SE.UTF-8",
    "LC_MONETARY": "en_SE.UTF-8",
    "LC_NUMERIC": "en_SE.UTF-8",
    "LC_PAPER": "en_SE.UTF-8",
    "LC_TIME": "en_SE.UTF-8",
    "LOGNAME": "giovanni",
    "MAIL": "/var/spool/mail/giovanni",
    "MANAGERPID": "811",
    "MEMORY_PRESSURE_WATCH": "/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/plasma-kwin_wayland.service/memory.pressure",
    "MEMORY_PRESSURE_WRITE": "c29tZSAyMDAwMDAgMjAwMDAwMAA=",
    "MOTD_SHOWN": "pam",
    "MOZ_ENABLE_WAYLAND": "1",
    "NO_AT_BRIDGE": "1",
    "ORIGINAL_XDG_CURRENT_DESKTOP": "KDE",
    "PAM_KWALLET5_LOGIN": "/run/user/1000/kwallet5.socket",
    "POSH_PID": "89445",
    "POSH_SHELL_VERSION": "5.2.26(1)-release",
    "POSH_THEME": "/usr/share/oh-my-posh/themes/night-owl.omp.json",
    "POWERLINE_COMMAND": "oh-my-posh",
    "PWD": "/home/giovanni/.config",
    "QT_AUTO_SCREEN_SCALE_FACTOR": "0",
    "QT_WAYLAND_RECONNECT": "1",
    "SAL_USE_VCLPLUGIN": "gtk3_kde5",
    "SHELL": "/bin/bash",
    "SHELL_SESSION_ID": "9c5bb4e689b540048371ae37c4e7785b",
    "SHLVL": "1",
    "SSH_ASKPASS": "/usr/bin/ksshaskpass",
    "SSH_ASKPASS_REQUIRE": "prefer",
    "SSH_AUTH_SOCK": "/run/user/1000/ssh-agent.socket",
    "SYSTEMD_EXEC_PID": "69972",
    "TERM": "xterm-256color",
    "USER": "giovanni",
    "VSCODE_AMD_ENTRYPOINT": "vs/workbench/api/node/extensionHostProcess",
    "VSCODE_CLI": "1",
    "VSCODE_CODE_CACHE_PATH": "/home/giovanni/.config/Code - OSS/CachedData/1e790d77f81672c49be070e04474901747115651",
    "VSCODE_CRASH_REPORTER_PROCESS_TYPE": "extensionHost",
    "VSCODE_CWD": "/home/giovanni/.config",
    "VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
    "VSCODE_IPC_HOOK": "/run/user/1000/vscode-087fa0be-1.87-main.sock",
    "VSCODE_NLS_CONFIG": "{\"locale\":\"en-us\",\"osLocale\":\"en-se\",\"availableLanguages\":{},\"_languagePackSupport\":true}",
    "VSCODE_PID": "91625",
    "WAYLAND_DISPLAY": "wayland-0",
    "WINDOWID": "4",
    "XAUTHORITY": "/run/user/1000/xauth_sWYEAE",
    "XDG_ACTIVATION_TOKEN": "kwin-11",
    "XDG_CONFIG_DIRS": "/home/giovanni/.config/kdedefaults:/etc/xdg",
    "XDG_CURRENT_DESKTOP": "KDE",
    "XDG_DATA_DIRS": "/home/giovanni/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share",
    "XDG_MENU_PREFIX": "plasma-",
    "XDG_RUNTIME_DIR": "/run/user/1000",
    "XDG_SEAT": "seat0",
    "XDG_SEAT_PATH": "/org/freedesktop/DisplayManager/Seat0",
    "XDG_SESSION_CLASS": "user",
    "XDG_SESSION_DESKTOP": "KDE",
    "XDG_SESSION_ID": "9",
    "XDG_SESSION_PATH": "/org/freedesktop/DisplayManager/Session8",
    "XDG_SESSION_TYPE": "wayland",
    "XDG_VTNR": "7",
    "XKB_DEFAULT_LAYOUT": "se",
    "ELECTRON_RUN_AS_NODE": "1",
    "VSCODE_L10N_BUNDLE_LOCATION": "",
    "PATH": "/home/giovanni/.gem/ruby/3.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"
}
2024-03-11 21:15:49.955 [info] > conda info --json
2024-03-11 21:15:49.955 [debug] Failed to spawn conda binary conda [Error: spawn conda ENOENT
	at Process.onexit (node:internal/child_process:283:19)
	at onErrorNT (node:internal/child_process:476:16)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'spawn conda',
  path: 'conda',
  spawnargs: [ 'info', '--json' ]
}
2024-03-11 21:15:49.955 [debug] Searching for workspace virtual envs in: /home/giovanni/Projects/AUR
2024-03-11 21:15:49.955 [debug] Finished searching for poetry envs
2024-03-11 21:15:49.955 [debug] Finished searching for global virtual envs
2024-03-11 21:15:49.955 [debug] Attempting to resolve symbolic link: /bin/python
2024-03-11 21:15:49.955 [debug] Storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS  retrying by resetting first
2024-03-11 21:15:49.956 [debug] Storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS  retrying by resetting first
2024-03-11 21:15:49.956 [debug] Storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS  retrying by resetting first
2024-03-11 21:15:49.956 [debug] Storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS  retrying by resetting first
2024-03-11 21:15:49.956 [debug] Storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS  retrying by resetting first
2024-03-11 21:15:49.956 [debug] Storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS  retrying by resetting first
2024-03-11 21:15:49.956 [debug] Storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS  retrying by resetting first
2024-03-11 21:15:49.956 [debug] Storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS  retrying by resetting first
2024-03-11 21:15:49.956 [debug] Storage update failed for key PYTHON_WORKSPACE_STORAGE_KEYS  retrying by resetting first
2024-03-11 21:15:49.956 [debug] Storage update failed for key PYTHON_WORKSPACE_STORAGE_KEYS  retrying by resetting first
2024-03-11 21:15:49.956 [debug] Storage update failed for key PYTHON_WORKSPACE_STORAGE_KEYS  retrying by resetting first
2024-03-11 21:15:49.956 [debug] Storage update failed for key PYTHON_WORKSPACE_STORAGE_KEYS  retrying by resetting first
2024-03-11 21:15:49.957 [info] Found: /bin/python --> /bin/python3.11
2024-03-11 21:15:49.957 [debug] Attempting to resolve symbolic link: /bin/python3
2024-03-11 21:15:49.957 [debug] Couldn't locate the conda binary.
2024-03-11 21:15:49.957 [debug] Couldn't locate the conda binary.
2024-03-11 21:15:49.957 [info] Found: /bin/python3 --> /bin/python3.11
2024-03-11 21:15:49.957 [debug] Attempting to resolve symbolic link: /bin/python3.11
2024-03-11 21:15:49.957 [info] Found: /bin/python3.11 --> /bin/python3.11
2024-03-11 21:15:49.961 [error] readdir() failed for "/home/giovanni/Projects/AUR/telegram-desktop-dev/pkg" (Error: EACCES: permission denied, scandir '/home/giovanni/Projects/AUR/telegram-desktop-dev/pkg')
2024-03-11 21:15:49.963 [debug] Finished searching for workspace virtual envs
2024-03-11 21:15:49.979 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2024-03-11 21:15:49.979 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2024-03-11 21:15:49.986 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2024-03-11 21:15:49.986 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2024-03-11 21:15:49.986 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2024-03-11 21:15:49.986 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2024-03-11 21:15:49.986 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2024-03-11 21:15:49.986 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2024-03-11 21:15:49.986 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2024-03-11 21:15:49.986 [warning] Retry failed, storage update failed for key PYTHON_WORKSPACE_STORAGE_KEYS
2024-03-11 21:15:49.986 [warning] Retry failed, storage update failed for key PYTHON_WORKSPACE_STORAGE_KEYS
2024-03-11 21:15:49.986 [warning] Retry failed, storage update failed for key PYTHON_WORKSPACE_STORAGE_KEYS
2024-03-11 21:15:49.992 [debug] Attempting to resolve symbolic link: /sbin/python
2024-03-11 21:15:49.993 [info] Found: /sbin/python --> /sbin/python3.11
2024-03-11 21:15:49.993 [debug] Attempting to resolve symbolic link: /sbin/python3
2024-03-11 21:15:49.993 [info] Found: /sbin/python3 --> /sbin/python3.11
2024-03-11 21:15:49.993 [debug] Attempting to resolve symbolic link: /sbin/python3.11
2024-03-11 21:15:49.993 [info] Found: /sbin/python3.11 --> /sbin/python3.11
2024-03-11 21:15:49.998 [debug] Attempting to resolve symbolic link: /usr/bin/python
2024-03-11 21:15:49.999 [info] Found: /usr/bin/python --> /usr/bin/python3.11
2024-03-11 21:15:49.999 [debug] Attempting to resolve symbolic link: /usr/bin/python3
2024-03-11 21:15:49.999 [info] Found: /usr/bin/python3 --> /usr/bin/python3.11
2024-03-11 21:15:49.999 [debug] Attempting to resolve symbolic link: /usr/bin/python3.11
2024-03-11 21:15:49.999 [info] Found: /usr/bin/python3.11 --> /usr/bin/python3.11
2024-03-11 21:15:50.037 [debug] Attempting to resolve symbolic link: /usr/sbin/python
2024-03-11 21:15:50.038 [info] Found: /usr/sbin/python --> /usr/sbin/python3.11
2024-03-11 21:15:50.038 [debug] Attempting to resolve symbolic link: /usr/sbin/python3
2024-03-11 21:15:50.038 [info] Found: /usr/sbin/python3 --> /usr/sbin/python3.11
2024-03-11 21:15:50.038 [debug] Attempting to resolve symbolic link: /usr/sbin/python3.11
2024-03-11 21:15:50.038 [info] Found: /usr/sbin/python3.11 --> /usr/sbin/python3.11
2024-03-11 21:15:50.039 [debug] Found 4 python binaries in posix paths
2024-03-11 21:15:50.047 [debug] Python API env change detected /bin/python add
2024-03-11 21:15:50.062 [info] > /bin/python -I ~/.vscode-oss/extensions/ms-python.python-2024.2.1-universal/pythonFiles/get_output_via_markers.py ~/.vscode-oss/extensions/ms-python.python-2024.2.1-universal/pythonFiles/interpreterInfo.py
2024-03-11 21:15:50.069 [debug] Python API env change detected /sbin/python add
2024-03-11 21:15:50.082 [info] > /sbin/python -I ~/.vscode-oss/extensions/ms-python.python-2024.2.1-universal/pythonFiles/get_output_via_markers.py ~/.vscode-oss/extensions/ms-python.python-2024.2.1-universal/pythonFiles/interpreterInfo.py
2024-03-11 21:15:50.089 [debug] Python API env change detected /usr/bin/python add
2024-03-11 21:15:50.089 [debug] Finished searching for interpreters in posix paths locator
2024-03-11 21:15:50.093 [debug] Found interpreter for >> /bin/python -I /home/giovanni/.vscode-oss/extensions/ms-python.python-2024.2.1-universal/pythonFiles/get_output_via_markers.py /home/giovanni/.vscode-oss/extensions/ms-python.python-2024.2.1-universal/pythonFiles/interpreterInfo.py <<: {"versionInfo":[3,11,8,"final",0],"sysPrefix":"/usr","sysVersion":"3.11.8 (main, Feb 12 2024, 14:50:05) [GCC 13.2.1 20230801]","is64Bit":true}
2024-03-11 21:15:50.107 [info] > /usr/bin/python -I ~/.vscode-oss/extensions/ms-python.python-2024.2.1-universal/pythonFiles/get_output_via_markers.py ~/.vscode-oss/extensions/ms-python.python-2024.2.1-universal/pythonFiles/interpreterInfo.py
2024-03-11 21:15:50.108 [debug] Python API env change detected /bin/python update
2024-03-11 21:15:50.110 [debug] Python API env change detected /usr/sbin/python add
2024-03-11 21:15:50.110 [debug] Finished with environment reducer
2024-03-11 21:15:50.133 [debug] Found interpreter for >> /sbin/python -I /home/giovanni/.vscode-oss/extensions/ms-python.python-2024.2.1-universal/pythonFiles/get_output_via_markers.py /home/giovanni/.vscode-oss/extensions/ms-python.python-2024.2.1-universal/pythonFiles/interpreterInfo.py <<: {"versionInfo":[3,11,8,"final",0],"sysPrefix":"/usr","sysVersion":"3.11.8 (main, Feb 12 2024, 14:50:05) [GCC 13.2.1 20230801]","is64Bit":true}
2024-03-11 21:15:50.146 [info] > /usr/sbin/python -I ~/.vscode-oss/extensions/ms-python.python-2024.2.1-universal/pythonFiles/get_output_via_markers.py ~/.vscode-oss/extensions/ms-python.python-2024.2.1-universal/pythonFiles/interpreterInfo.py
2024-03-11 21:15:50.147 [debug] Python API env change detected /sbin/python update
2024-03-11 21:15:50.147 [debug] Found interpreter for >> /usr/bin/python -I /home/giovanni/.vscode-oss/extensions/ms-python.python-2024.2.1-universal/pythonFiles/get_output_via_markers.py /home/giovanni/.vscode-oss/extensions/ms-python.python-2024.2.1-universal/pythonFiles/interpreterInfo.py <<: {"versionInfo":[3,11,8,"final",0],"sysPrefix":"/usr","sysVersion":"3.11.8 (main, Feb 12 2024, 14:50:05) [GCC 13.2.1 20230801]","is64Bit":true}
2024-03-11 21:15:50.148 [debug] Python API env change detected /usr/bin/python update
2024-03-11 21:15:50.178 [debug] Found interpreter for >> /usr/sbin/python -I /home/giovanni/.vscode-oss/extensions/ms-python.python-2024.2.1-universal/pythonFiles/get_output_via_markers.py /home/giovanni/.vscode-oss/extensions/ms-python.python-2024.2.1-universal/pythonFiles/interpreterInfo.py <<: {"versionInfo":[3,11,8,"final",0],"sysPrefix":"/usr","sysVersion":"3.11.8 (main, Feb 12 2024, 14:50:05) [GCC 13.2.1 20230801]","is64Bit":true}
2024-03-11 21:15:50.178 [debug] Python API env change detected /usr/sbin/python update
2024-03-11 21:15:50.178 [debug] Finished with environment resolver
2024-03-11 21:15:50.180 [debug] Environments added to cache [{"name":"","location":"","kind":"global-other","executable":{"filename":"/bin/python","sysPrefix":"/usr","ctime":1709712418072,"mtime":1707749405000},"display":"Python 3.11.8 64-bit","version":{"major":3,"minor":11,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.11.8 (main, Feb 12 2024, 14:50:05) [GCC 13.2.1 20230801]"},"arch":3,"distro":{"org":""},"source":["path env var"],"id":"/bin/python","detailedDisplayName":"Python 3.11.8 64-bit"},{"name":"","location":"","kind":"global-other","executable":{"filename":"/sbin/python","sysPrefix":"/usr","ctime":1709712418072,"mtime":1707749405000},"display":"Python 3.11.8 64-bit","version":{"major":3,"minor":11,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.11.8 (main, Feb 12 2024, 14:50:05) [GCC 13.2.1 20230801]"},"arch":3,"distro":{"org":""},"source":["path env var"],"id":"/sbin/python","detailedDisplayName":"Python 3.11.8 64-bit"},{"name":"","location":"","kind":"global-other","executable":{"filename":"/usr/bin/python","sysPrefix":"/usr","ctime":1709712418072,"mtime":1707749405000},"display":"Python 3.11.8 64-bit","version":{"major":3,"minor":11,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.11.8 (main, Feb 12 2024, 14:50:05) [GCC 13.2.1 20230801]"},"arch":3,"distro":{"org":""},"source":["path env var"],"id":"/usr/bin/python","detailedDisplayName":"Python 3.11.8 64-bit"},{"name":"","location":"","kind":"global-other","executable":{"filename":"/usr/sbin/python","sysPrefix":"/usr","ctime":1709712418072,"mtime":1707749405000},"display":"Python 3.11.8 64-bit","version":{"major":3,"minor":11,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.11.8 (main, Feb 12 2024, 14:50:05) [GCC 13.2.1 20230801]"},"arch":3,"distro":{"org":""},"source":["path env var"],"id":"/usr/sbin/python","detailedDisplayName":"Python 3.11.8 64-bit"}]
2024-03-11 21:15:50.189 [debug] Dump environment variables {
    "CHROME_DESKTOP": "code-oss.desktop",
    "COLORFGBG": "15;0",
    "COLORTERM": "truecolor",
    "CONDA_PROMPT_MODIFIER": "false",
    "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/1000/bus",
    "DEBUGINFOD_URLS": "https://debuginfod.archlinux.org ",
    "DESKTOP_SESSION": "plasma",
    "DISPLAY": ":0",
    "EDITOR": "nvim",
    "ELECTRON_ENABLE_LOGGING": "1",
    "ELECTRON_NO_ATTACH_CONSOLE": "1",
    "GDK_BACKEND": "x11",
    "GEM_HOME": "/home/giovanni/.gem/ruby/3.0.0",
    "GITHUB_TOKEN": "<REDACTED>",
    "GIT_ASKPASS": "/usr/bin/ksshaskpass",
    "HG": "/usr/bin/hg",
    "HOME": "/home/giovanni",
    "HYPRLAND_INSTANCE_SIGNATURE": "84ab8d11e8951a6551d1e1bf87796a8589da6d47_1710186208",
    "INVOCATION_ID": "1ac0a1296461401083bceaa3a46bf417",
    "JOBS": "12",
    "JOURNAL_STREAM": "8:765228",
    "KDE_APPLICATIONS_AS_SCOPE": "1",
    "KDE_FULL_SESSION": "true",
    "KDE_SESSION_UID": "1000",
    "KDE_SESSION_VERSION": "6",
    "KGLOBALACCELD_PLATFORM": "org.kde.kwin",
    "KONSOLE_DBUS_SERVICE": ":1.1329",
    "KONSOLE_DBUS_SESSION": "/Sessions/1",
    "KONSOLE_DBUS_WINDOW": "/Windows/1",
    "KONSOLE_VERSION": "240200",
    "LANG": "en_SE.UTF-8",
    "LC_MEASUREMENT": "en_SE.UTF-8",
    "LC_MONETARY": "en_SE.UTF-8",
    "LC_NUMERIC": "en_SE.UTF-8",
    "LC_PAPER": "en_SE.UTF-8",
    "LC_TIME": "en_SE.UTF-8",
    "LOGNAME": "giovanni",
    "MAIL": "/var/spool/mail/giovanni",
    "MANAGERPID": "811",
    "MEMORY_PRESSURE_WATCH": "/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/plasma-kwin_wayland.service/memory.pressure",
    "MEMORY_PRESSURE_WRITE": "c29tZSAyMDAwMDAgMjAwMDAwMAA=",
    "MOTD_SHOWN": "pam",
    "MOZ_ENABLE_WAYLAND": "1",
    "NO_AT_BRIDGE": "1",
    "ORIGINAL_XDG_CURRENT_DESKTOP": "KDE",
    "PAM_KWALLET5_LOGIN": "/run/user/1000/kwallet5.socket",
    "POSH_PID": "89445",
    "POSH_SHELL_VERSION": "5.2.26(1)-release",
    "POSH_THEME": "/usr/share/oh-my-posh/themes/night-owl.omp.json",
    "POWERLINE_COMMAND": "oh-my-posh",
    "PWD": "/home/giovanni/.config",
    "QT_AUTO_SCREEN_SCALE_FACTOR": "0",
    "QT_WAYLAND_RECONNECT": "1",
    "SAL_USE_VCLPLUGIN": "gtk3_kde5",
    "SHELL": "/bin/bash",
    "SHELL_SESSION_ID": "9c5bb4e689b540048371ae37c4e7785b",
    "SHLVL": "1",
    "SSH_ASKPASS": "/usr/bin/ksshaskpass",
    "SSH_ASKPASS_REQUIRE": "prefer",
    "SSH_AUTH_SOCK": "/run/user/1000/ssh-agent.socket",
    "SYSTEMD_EXEC_PID": "69972",
    "TERM": "xterm-256color",
    "USER": "giovanni",
    "VSCODE_AMD_ENTRYPOINT": "vs/workbench/api/node/extensionHostProcess",
    "VSCODE_CLI": "1",
    "VSCODE_CODE_CACHE_PATH": "/home/giovanni/.config/Code - OSS/CachedData/1e790d77f81672c49be070e04474901747115651",
    "VSCODE_CRASH_REPORTER_PROCESS_TYPE": "extensionHost",
    "VSCODE_CWD": "/home/giovanni/.config",
    "VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
    "VSCODE_IPC_HOOK": "/run/user/1000/vscode-087fa0be-1.87-main.sock",
    "VSCODE_NLS_CONFIG": "{\"locale\":\"en-us\",\"osLocale\":\"en-se\",\"availableLanguages\":{},\"_languagePackSupport\":true}",
    "VSCODE_PID": "91625",
    "WAYLAND_DISPLAY": "wayland-0",
    "WINDOWID": "4",
    "XAUTHORITY": "/run/user/1000/xauth_sWYEAE",
    "XDG_ACTIVATION_TOKEN": "kwin-11",
    "XDG_CONFIG_DIRS": "/home/giovanni/.config/kdedefaults:/etc/xdg",
    "XDG_CURRENT_DESKTOP": "KDE",
    "XDG_DATA_DIRS": "/home/giovanni/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share",
    "XDG_MENU_PREFIX": "plasma-",
    "XDG_RUNTIME_DIR": "/run/user/1000",
    "XDG_SEAT": "seat0",
    "XDG_SEAT_PATH": "/org/freedesktop/DisplayManager/Seat0",
    "XDG_SESSION_CLASS": "user",
    "XDG_SESSION_DESKTOP": "KDE",
    "XDG_SESSION_ID": "9",
    "XDG_SESSION_PATH": "/org/freedesktop/DisplayManager/Session8",
    "XDG_SESSION_TYPE": "wayland",
    "XDG_VTNR": "7",
    "XKB_DEFAULT_LAYOUT": "se",
    "ELECTRON_RUN_AS_NODE": "1",
    "VSCODE_L10N_BUNDLE_LOCATION": "",
    "PATH": "/home/giovanni/.gem/ruby/3.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"
}
2024-03-11 21:15:50.190 [debug] Storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS  retrying by resetting first
2024-03-11 21:15:50.190 [debug] Storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS  retrying by resetting first
2024-03-11 21:15:50.195 [debug] Needed to validate /bin/python with latest info
2024-03-11 21:15:50.195 [debug] Needed to validate /bin/python with latest info
2024-03-11 21:15:50.195 [debug] Needed to validate /bin/python with latest info
2024-03-11 21:15:50.197 [debug] Needed to validate /bin/python with latest info
2024-03-11 21:15:50.198 [info] Python interpreter path: /bin/python
2024-03-11 21:15:50.198 [debug] Found cached env for /bin/python
2024-03-11 21:15:50.199 [debug] Failed to get jedi-language-server version:  [Error: ENOENT: no such file or directory, open '/home/giovanni/.vscode-oss/extensions/ms-python.python-2024.2.1-universal/pythonFiles/jedilsp_requirements/requirements.txt'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/home/giovanni/.vscode-oss/extensions/ms-python.python-2024.2.1-universal/pythonFiles/jedilsp_requirements/requirements.txt'
}
2024-03-11 21:15:50.199 [debug] Found cached env for /bin/python
2024-03-11 21:15:50.229 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2024-03-11 21:15:50.230 [debug] ]0;giovanni@archlinux-tug:~/Projects/AUR╭─   [38;2;130;170;255;49m]8;;file:/home/giovanni/Projects/AUR\     AUR]8;;\ ]8;;https://github.com/ItachiSan/linux_packaging\ ]8;;\ master ≡  ?2 ~2  0ms  bash [38;2;214;222;235;49m 73.32% [38;2;143;67;243;49m 21:15:50
╰─]0;AUR
2024-03-11 21:15:50.688 [info] Starting Jedi language server for AUR.
2024-03-11 21:15:50.690 [debug] Found cached env for /bin/python
2024-03-11 21:15:50.695 [debug] Terminal shell path '/usr/bin/bash' identified as shell 'bash'
2024-03-11 21:15:50.695 [debug] Shell identified as bash
2024-03-11 21:15:50.696 [debug] Found cached env for /bin/python
2024-03-11 21:15:51.757 [debug] Clearing context for python dependencies not installed: /home/giovanni/Projects/AUR/telegram-desktop-dev/generate_submodules_lines.py
2024-03-11 21:15:58.538 [debug] Clearing context for python dependencies not installed: tasks
2024-03-11 21:15:58.538 [debug] Found cached env for /bin/python
2024-03-11 21:15:58.538 [debug] Found cached env for /bin/python
2024-03-11 21:16:05.790 [debug] Clearing context for python dependencies not installed: /home/giovanni/Projects/AUR/telegram-desktop-dev/generate_submodules_lines.py
2024-03-11 21:16:05.791 [debug] Found cached env for /bin/python
2024-03-11 21:16:05.839 [debug] Clearing context for python dependencies not installed: /home/giovanni/Projects/AUR/telegram-desktop-dev/generate_submodules_lines.py
2024-03-11 21:16:09.662 [debug] Clearing context for python dependencies not installed: /home/giovanni/Projects/AUR/telegram-desktop-dev/generate_submodules_lines.py
2024-03-11 21:16:53.898 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-03-11 21:16:53.898 [debug] Found cached env for /bin/python
2024-03-11 21:17:09.154 [debug] Found cached env for /bin/python
2024-03-11 21:17:09.155 [debug] Found cached env for /bin/python
2024-03-11 21:17:09.160 [debug] Found cached env for /bin/python
2024-03-11 21:17:09.210 [debug] Extension ms-python.pylint accessed onDidChangeActiveEnvironmentPath with args: undefined
2024-03-11 21:17:09.211 [debug] Extension ms-python.pylint accessed getActiveEnvironmentPath with args: undefined
2024-03-11 21:17:09.212 [debug] Extension ms-python.pylint accessed resolveEnvironment with args: {"id":"/bin/python","path":"/bin/python"}
2024-03-11 21:17:09.212 [debug] Extension ms-python.pylint accessed getActiveEnvironmentPath with args: undefined
2024-03-11 21:17:09.213 [debug] Extension ms-python.pylint accessed resolveEnvironment with args: {"id":"/bin/python","path":"/bin/python"}
2024-03-11 21:17:09.214 [debug] Extension ms-python.pylint accessed getActiveEnvironmentPath with args: undefined
2024-03-11 21:17:09.214 [debug] Extension ms-python.pylint accessed resolveEnvironment with args: {"id":"/bin/python","path":"/bin/python"}
2024-03-11 21:17:09.311 [debug] Delay Trigger[Test Configuration Change]: triggered=1, called=1
2024-03-11 21:17:11.008 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-03-11 21:17:11.220 [debug] Found cached env for /bin/python
2024-03-11 21:17:11.221 [debug] Found cached env for /bin/python
2024-03-11 21:17:11.224 [debug] Found cached env for /bin/python
2024-03-11 21:17:11.265 [debug] Extension ms-python.mypy-type-checker accessed onDidChangeActiveEnvironmentPath with args: undefined
2024-03-11 21:17:11.266 [debug] Extension ms-python.mypy-type-checker accessed getActiveEnvironmentPath with args: undefined
2024-03-11 21:17:11.267 [debug] Extension ms-python.mypy-type-checker accessed getActiveEnvironmentPath with args: undefined
2024-03-11 21:17:11.267 [debug] Extension ms-python.mypy-type-checker accessed resolveEnvironment with args: {"id":"/bin/python","path":"/bin/python"}
2024-03-11 21:17:11.268 [debug] Extension ms-python.mypy-type-checker accessed resolveEnvironment with args: {"id":"/bin/python","path":"/bin/python"}
2024-03-11 21:17:11.269 [debug] Extension ms-python.mypy-type-checker accessed resolveEnvironment with args: {"id":"/bin/python","path":"/bin/python"}
2024-03-11 21:17:11.269 [debug] Extension ms-python.mypy-type-checker accessed getActiveEnvironmentPath with args: undefined
2024-03-11 21:17:11.311 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-03-11 21:17:11.404 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-03-11 21:17:11.493 [debug] Delay Trigger[Test Configuration Change]: triggered=2, called=2
2024-03-11 21:17:11.518 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-03-11 21:17:14.790 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-03-11 21:17:16.057 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-03-11 21:17:16.061 [debug] Found cached env for /bin/python
2024-03-11 21:17:16.061 [debug] Found cached env for /bin/python
2024-03-11 21:17:16.062 [debug] Found cached env for /bin/python
2024-03-11 21:17:16.101 [debug] Extension ms-python.isort accessed onDidChangeActiveEnvironmentPath with args: undefined
2024-03-11 21:17:16.102 [debug] Extension ms-python.isort accessed resolveEnvironment with args: {"id":"/bin/python","path":"/bin/python"}
2024-03-11 21:17:16.102 [debug] Extension ms-python.isort accessed getActiveEnvironmentPath with args: undefined
2024-03-11 21:17:16.103 [debug] Extension ms-python.isort accessed getActiveEnvironmentPath with args: undefined
2024-03-11 21:17:16.104 [debug] Extension ms-python.isort accessed getActiveEnvironmentPath with args: undefined
2024-03-11 21:17:16.105 [debug] Extension ms-python.isort accessed resolveEnvironment with args: {"id":"/bin/python","path":"/bin/python"}
2024-03-11 21:17:16.105 [debug] Extension ms-python.isort accessed resolveEnvironment with args: {"id":"/bin/python","path":"/bin/python"}
2024-03-11 21:17:16.265 [debug] Delay Trigger[Test Configuration Change]: triggered=3, called=3
2024-03-11 21:17:16.573 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-03-11 21:17:19.958 [debug] Found cached env for /bin/python
2024-03-11 21:17:19.959 [debug] Found cached env for /bin/python
2024-03-11 21:17:19.961 [debug] Found cached env for /bin/python
2024-03-11 21:17:20.022 [debug] Extension ms-python.black-formatter accessed onDidChangeActiveEnvironmentPath with args: undefined
2024-03-11 21:17:20.023 [debug] Extension ms-python.black-formatter accessed getActiveEnvironmentPath with args: undefined
2024-03-11 21:17:20.023 [debug] Extension ms-python.black-formatter accessed resolveEnvironment with args: {"id":"/bin/python","path":"/bin/python"}
2024-03-11 21:17:20.024 [debug] Extension ms-python.black-formatter accessed getActiveEnvironmentPath with args: undefined
2024-03-11 21:17:20.025 [debug] Extension ms-python.black-formatter accessed resolveEnvironment with args: {"id":"/bin/python","path":"/bin/python"}
2024-03-11 21:17:20.026 [debug] Extension ms-python.black-formatter accessed resolveEnvironment with args: {"id":"/bin/python","path":"/bin/python"}
2024-03-11 21:17:20.027 [debug] Extension ms-python.black-formatter accessed getActiveEnvironmentPath with args: undefined
2024-03-11 21:17:20.362 [debug] Delay Trigger[Test Configuration Change]: triggered=4, called=4
2024-03-11 21:17:31.331 [debug] Delay Trigger[Test Configuration Change]: triggered=5, called=5
2024-03-11 21:17:37.040 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-03-11 21:28:21.264 [debug] Found cached env for /bin/python
2024-03-11 21:28:23.335 [debug] Searching for interpreters in posix paths locator
2024-03-11 21:28:23.335 [debug] Searching for pyenv environments
2024-03-11 21:28:23.341 [debug] Searching for custom workspace envs
2024-03-11 21:28:23.341 [debug] Couldn't locate the conda binary.
2024-03-11 21:28:23.341 [debug] Couldn't locate the state binary.
2024-03-11 21:28:23.341 [debug] Finished searching for custom workspace envs
2024-03-11 21:28:23.343 [debug] Finished searching for custom virtual envs
2024-03-11 21:28:23.343 [debug] Searching for workspace virtual envs in: /home/giovanni/Projects/AUR
2024-03-11 21:28:23.343 [debug] Finished searching for poetry envs
2024-03-11 21:28:23.344 [debug] Finished searching for global virtual envs
2024-03-11 21:28:23.353 [debug] Attempting to resolve symbolic link: /bin/python
2024-03-11 21:28:23.354 [info] Found: /bin/python --> /bin/python3.11
2024-03-11 21:28:23.354 [debug] Attempting to resolve symbolic link: /bin/python3
2024-03-11 21:28:23.355 [info] Found: /bin/python3 --> /bin/python3.11
2024-03-11 21:28:23.355 [debug] Attempting to resolve symbolic link: /bin/python3.11
2024-03-11 21:28:23.356 [info] Found: /bin/python3.11 --> /bin/python3.11
2024-03-11 21:28:23.392 [debug] Attempting to resolve symbolic link: /sbin/python
2024-03-11 21:28:23.393 [info] Found: /sbin/python --> /sbin/python3.11
2024-03-11 21:28:23.393 [debug] Attempting to resolve symbolic link: /sbin/python3
2024-03-11 21:28:23.394 [info] Found: /sbin/python3 --> /sbin/python3.11
2024-03-11 21:28:23.394 [debug] Attempting to resolve symbolic link: /sbin/python3.11
2024-03-11 21:28:23.394 [info] Found: /sbin/python3.11 --> /sbin/python3.11
2024-03-11 21:28:23.400 [debug] Attempting to resolve symbolic link: /usr/bin/python
2024-03-11 21:28:23.401 [info] Found: /usr/bin/python --> /usr/bin/python3.11
2024-03-11 21:28:23.401 [debug] Attempting to resolve symbolic link: /usr/bin/python3
2024-03-11 21:28:23.402 [info] Found: /usr/bin/python3 --> /usr/bin/python3.11
2024-03-11 21:28:23.402 [debug] Attempting to resolve symbolic link: /usr/bin/python3.11
2024-03-11 21:28:23.402 [info] Found: /usr/bin/python3.11 --> /usr/bin/python3.11
2024-03-11 21:28:23.402 [error] readdir() failed for "/home/giovanni/Projects/AUR/telegram-desktop-dev/pkg" (Error: EACCES: permission denied, scandir '/home/giovanni/Projects/AUR/telegram-desktop-dev/pkg')
2024-03-11 21:28:23.417 [debug] Finished searching for workspace virtual envs
2024-03-11 21:28:23.431 [debug] Attempting to resolve symbolic link: /usr/sbin/python
2024-03-11 21:28:23.433 [info] Found: /usr/sbin/python --> /usr/sbin/python3.11
2024-03-11 21:28:23.433 [debug] Attempting to resolve symbolic link: /usr/sbin/python3
2024-03-11 21:28:23.433 [info] Found: /usr/sbin/python3 --> /usr/sbin/python3.11
2024-03-11 21:28:23.433 [debug] Attempting to resolve symbolic link: /usr/sbin/python3.11
2024-03-11 21:28:23.433 [info] Found: /usr/sbin/python3.11 --> /usr/sbin/python3.11
2024-03-11 21:28:23.434 [debug] Found 4 python binaries in posix paths
2024-03-11 21:28:23.446 [debug] Finished searching for interpreters in posix paths locator
2024-03-11 21:28:23.451 [debug] Finished with environment resolver
2024-03-11 21:28:23.451 [debug] Finished with environment reducer
2024-03-11 21:28:23.452 [debug] Environments added to cache [{"name":"","location":"","kind":"global-other","executable":{"filename":"/bin/python","sysPrefix":"/usr","ctime":1709712418072,"mtime":1707749405000},"display":"Python 3.11.8 64-bit","version":{"major":3,"minor":11,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.11.8 (main, Feb 12 2024, 14:50:05) [GCC 13.2.1 20230801]"},"arch":3,"distro":{"org":""},"source":["path env var"],"id":"/bin/python","detailedDisplayName":"Python 3.11.8 64-bit"},{"name":"","location":"","kind":"global-other","executable":{"filename":"/sbin/python","sysPrefix":"/usr","ctime":1709712418072,"mtime":1707749405000},"display":"Python 3.11.8 64-bit","version":{"major":3,"minor":11,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.11.8 (main, Feb 12 2024, 14:50:05) [GCC 13.2.1 20230801]"},"arch":3,"distro":{"org":""},"source":["path env var"],"id":"/sbin/python","detailedDisplayName":"Python 3.11.8 64-bit"},{"name":"","location":"","kind":"global-other","executable":{"filename":"/usr/bin/python","sysPrefix":"/usr","ctime":1709712418072,"mtime":1707749405000},"display":"Python 3.11.8 64-bit","version":{"major":3,"minor":11,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.11.8 (main, Feb 12 2024, 14:50:05) [GCC 13.2.1 20230801]"},"arch":3,"distro":{"org":""},"source":["path env var"],"id":"/usr/bin/python","detailedDisplayName":"Python 3.11.8 64-bit"},{"name":"","location":"","kind":"global-other","executable":{"filename":"/usr/sbin/python","sysPrefix":"/usr","ctime":1709712418072,"mtime":1707749405000},"display":"Python 3.11.8 64-bit","version":{"major":3,"minor":11,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.11.8 (main, Feb 12 2024, 14:50:05) [GCC 13.2.1 20230801]"},"arch":3,"distro":{"org":""},"source":["path env var"],"id":"/usr/sbin/python","detailedDisplayName":"Python 3.11.8 64-bit"}]
2024-03-11 21:28:26.972 [debug] Interpreter Path updated WORKSPACE_FOLDER_INTERPRETER_PATH_/home/giovanni/Projects/AUR /bin/python
2024-03-11 21:28:26.972 [debug] Found cached env for /bin/python
2024-03-11 21:28:26.973 [debug] Found cached env for /bin/python
2024-03-11 21:28:26.977 [debug] Testing: Triggered refresh due to interpreter change.
2024-03-11 21:28:26.977 [debug] Testing: Clearing all discovered tests
2024-03-11 21:28:26.977 [debug] Testing: Forcing test data refresh
2024-03-11 21:28:26.977 [debug] Testing: Refreshing all test data
2024-03-11 21:28:26.983 [debug] Found cached env for /bin/python
2024-03-11 21:28:26.983 [debug] Found cached env for /bin/python
2024-03-11 21:28:26.984 [debug] Found cached env for /bin/python
2024-03-11 21:28:26.984 [debug] Found cached env for /bin/python
2024-03-11 21:28:26.984 [debug] Found cached env for /bin/python
2024-03-11 21:28:26.984 [debug] Found cached env for /bin/python
2024-03-11 21:28:26.984 [debug] Found cached env for /bin/python
2024-03-11 21:28:26.992 [debug] Found cached env for /bin/python
2024-03-11 21:28:26.992 [info] Discover tests for workspace name: AUR - uri: /home/giovanni/Projects/AUR
2024-03-11 21:28:26.998 [debug] Found cached env for /bin/python
2024-03-11 21:28:27.001 [debug] Failed to get jedi-language-server version:  [Error: ENOENT: no such file or directory, open '/home/giovanni/.vscode-oss/extensions/ms-python.python-2024.2.1-universal/pythonFiles/jedilsp_requirements/requirements.txt'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/home/giovanni/.vscode-oss/extensions/ms-python.python-2024.2.1-universal/pythonFiles/jedilsp_requirements/requirements.txt'
}
2024-03-11 21:28:27.001 [debug] Found cached env for /bin/python
2024-03-11 21:28:27.006 [debug] Found cached env for /bin/python
2024-03-11 21:28:27.011 [debug] Found cached env for /bin/python
2024-03-11 21:28:27.065 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-03-11 21:28:27.118 [debug] Extension ms-python.pylint accessed getActiveEnvironmentPath with args: undefined
2024-03-11 21:28:27.120 [debug] Extension ms-python.pylint accessed resolveEnvironment with args: {"id":"/bin/python","path":"/bin/python"}
2024-03-11 21:28:27.121 [debug] Extension ms-python.mypy-type-checker accessed resolveEnvironment with args: {"id":"/bin/python","path":"/bin/python"}
2024-03-11 21:28:27.121 [debug] Extension ms-python.black-formatter accessed resolveEnvironment with args: {"id":"/bin/python","path":"/bin/python"}
2024-03-11 21:28:27.122 [debug] Extension ms-python.mypy-type-checker accessed getActiveEnvironmentPath with args: undefined
2024-03-11 21:28:27.123 [debug] Extension ms-python.black-formatter accessed getActiveEnvironmentPath with args: undefined
2024-03-11 21:28:27.124 [debug] Extension ms-python.isort accessed getActiveEnvironmentPath with args: undefined
2024-03-11 21:28:27.125 [debug] Extension ms-python.isort accessed resolveEnvironment with args: {"id":"/bin/python","path":"/bin/python"}
2024-03-11 21:28:27.126 [debug] Extension ms-python.isort accessed resolveEnvironment with args: {"id":"/bin/python","path":"/bin/python"}
2024-03-11 21:28:27.127 [debug] Extension ms-python.isort accessed getActiveEnvironmentPath with args: undefined
2024-03-11 21:28:27.128 [debug] Extension ms-python.pylint accessed getActiveEnvironmentPath with args: undefined
2024-03-11 21:28:27.130 [debug] Extension ms-python.pylint accessed resolveEnvironment with args: {"id":"/bin/python","path":"/bin/python"}
2024-03-11 21:28:27.131 [debug] Extension ms-python.black-formatter accessed getActiveEnvironmentPath with args: undefined
2024-03-11 21:28:27.134 [debug] Extension ms-python.black-formatter accessed resolveEnvironment with args: {"id":"/bin/python","path":"/bin/python"}
2024-03-11 21:28:27.164 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-03-11 21:28:27.173 [debug] Found cached env for /bin/python
2024-03-11 21:28:27.221 [debug] Extension ms-python.mypy-type-checker accessed getActiveEnvironmentPath with args: undefined
2024-03-11 21:28:27.222 [debug] Extension ms-python.mypy-type-checker accessed resolveEnvironment with args: {"id":"/bin/python","path":"/bin/python"}
2024-03-11 21:28:27.739 [info] Starting Jedi language server for AUR.
2024-03-11 21:28:27.840 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-03-11 21:28:28.075 [debug] Clearing context for python dependencies not installed: /home/giovanni/Projects/AUR/telegram-desktop-dev/generate_submodules_lines.py
2024-03-11 21:28:28.075 [debug] Found cached env for /bin/python
2024-03-11 21:28:28.797 [debug] Clearing context for python dependencies not installed: /home/giovanni/Projects/AUR/telegram-desktop-dev/generate_submodules_lines.py
2024-03-11 21:28:29.145 [debug] Clearing context for python dependencies not installed: /home/giovanni/Projects/AUR/telegram-desktop-dev/generate_submodules_lines.py
2024-03-11 21:28:30.805 [debug] Clearing context for python dependencies not installed: /home/giovanni/Projects/AUR/telegram-desktop-dev/generate_submodules_lines.py
2024-03-11 21:28:42.096 [debug] Clearing context for python dependencies not installed: /home/giovanni/Projects/AUR/telegram-desktop-dev/generate_submodules_lines.py
2024-03-11 21:28:44.452 [debug] Clearing context for python dependencies not installed: /home/giovanni/Projects/AUR/telegram-desktop-dev/generate_submodules_lines.py
2024-03-11 21:28:50.757 [debug] Clearing context for python dependencies not installed: /home/giovanni/Projects/AUR/telegram-desktop-dev/generate_submodules_lines.py
2024-03-11 21:29:00.360 [debug] Clearing context for python dependencies not installed: /home/giovanni/Projects/AUR/telegram-desktop-dev/generate_submodules_lines.py
2024-03-11 21:29:09.175 [debug] Clearing context for python dependencies not installed: /home/giovanni/Projects/AUR/telegram-desktop-dev/generate_submodules_lines.py
2024-03-11 21:29:18.260 [debug] Clearing context for python dependencies not installed: /home/giovanni/Projects/AUR/telegram-desktop-dev/generate_submodules_lines.py
2024-03-11 21:29:22.513 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-03-11 21:29:22.513 [debug] Found cached env for /bin/python
2024-03-11 21:30:04.876 [debug] Clearing context for python dependencies not installed: /home/giovanni/Projects/AUR/telegram-desktop-dev/generate_submodules_lines.py
2024-03-11 21:30:04.876 [debug] Found cached env for /bin/python
2024-03-11 21:30:09.439 [debug] Found cached env for /bin/python
2024-03-11 21:30:23.207 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-03-11 21:30:23.208 [debug] Found cached env for /bin/python
2024-03-11 21:31:28.977 [debug] Clearing context for python dependencies not installed: /home/giovanni/Projects/AUR/telegram-desktop-dev/generate_submodules_lines.py
2024-03-11 21:31:28.977 [debug] Found cached env for /bin/python
2024-03-11 21:31:35.173 [debug] Clearing context for python dependencies not installed: /home/giovanni/Projects/AUR/telegram-desktop-dev/generate_submodules_lines.py
2024-03-11 21:31:37.050 [debug] Clearing context for python dependencies not installed: /home/giovanni/Projects/AUR/telegram-desktop-dev/generate_submodules_lines.py
2024-03-11 21:32:35.681 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-03-11 21:32:35.681 [debug] Found cached env for /bin/python

Output for Python Language Server

Python Language Server
2024-03-11 21:28:27.062 [info] [Error - 21:28:27] Server process exited with signal SIGTERM.
2024-03-11 21:28:28.153 [info] WARNING:pygls.protocol:Cancel notification for unknown message id "2"

2024-03-11 21:28:28.175 [info] WARNING:pygls.protocol:Cancel notification for unknown message id "3"

2024-03-11 21:28:28.211 [info] WARNING:pygls.protocol:Cancel notification for unknown message id "6"

User Settings

languageServer: "Jedi"

Extension version: 2024.2.1
VS Code version: Code - OSS 1.87.1 (1e790d77f81672c49be070e04474901747115651, 2024-03-08T09:12:14.833Z)
OS version: Linux x64 6.7.9-arch1-1
Modes:

System Info

Item
Value

CPUs
AMD Ryzen 7 4800H with Radeon Graphics (16 x 2336)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
2, 2, 2

Memory (System)
15.05GB (3.46GB free)

Process Argv
--verbose --enable-proposed-api ms-python.python --enable-proposed-api ms-python.debugpy

Screen Reader
no

VM
0%

DESKTOP_SESSION
plasma

XDG_CURRENT_DESKTOP
KDE

XDG_SESSION_DESKTOP
KDE

XDG_SESSION_TYPE
wayland

The support for LSP entirely comes from https://github.com/pappasam/jedi-language-server and bugs or fixes should be provided there.

Hi @brettcannon  and @karthiknadig, I verified I have the same issue even with Pylance.
It seems that LSP won't work at all with Pylance.
Should I reopen this issue?

For Pylance file it on this repo: https://github.com/microsoft/pylance-release

authors: ItachiSan karthiknadig


text:
Ignore FS errors from stat() in some cases.

(for #9901)
The earlier FS code ignored errors in a couple of situations.  Recent changes inadvertently stopped ignoring them.  This change restores the earlier behavior (and adds logging of the errors).

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[x] Title summarizes what is changing.
[x] Has a news entry file (remember to thank yourself!).
[x] Appropriate comments and documentation strings in the code.
[x] Has sufficient logging.
~[ ] Has telemetry for enhancements.~
[x] Unit tests & system/integration tests are added/updated.
~[ ] Test plan is updated as appropriate.~
~[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed).~
~[ ] The wiki is updated with any design decisions/details.~

Codecov Report

Merging #10021 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master   #10021      +/-   ##
==========================================
+ Coverage   61.19%   61.21%   +0.02%
==========================================
  Files         564      564
  Lines       30147    30152       +5
  Branches     4561     4561
==========================================
+ Hits        18448    18458      +10
+ Misses      10667    10659       -8
- Partials     1032     1035       +3

Impacted Files
Coverage Δ

src/client/common/platform/fileSystem.ts
77.21% <100%> (+1.78%)
:arrow_up:

src/client/constants.ts
80% <0%> (ø)
:arrow_up:

src/client/sourceMapSupport.ts
80.43% <0%> (+2.17%)
:arrow_up:

src/client/common/utils/platform.ts
76.47% <0%> (+5.88%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ead69d5...b0be9b2. Read the comment docs.

source: gharchive/pull-request

authors: codecov-io ericsnowcurrently

repo: microsoft/vscode-python

license: MIT

license_type: permissive

license_source: github-api


text:
Malfunction to parse a variable with macro

VSCode Version: 1.48.1
OS Version: Windows 10 ver 1909
C/C++ Extension Version: v0.30.0-insiders2

Steps to Reproduce:

Go to the File menu
Click on 'New File' for .c file
Type the below code

#include <stdio.h>

#define UINT8                       unsigned char
#define TEST_MACRO(ADDR)            (ADDR)

void TEST_FUNCTION(void addr)
{

}

UINT8 test;

int main()
{
    test;
    TEST_MACRO(test);
    TEST_FUNCTION(test);

    (UINT8)test;
    ((UINT8)test);
    TEST_MACRO((UINT8)test);
    TEST_MACRO(((UINT8)test));
    TEST_FUNCTION(((UINT8)test));

    (unsigned char)test;
    ((unsigned char)test);
    TEST_MACRO((unsigned char)test);
    TEST_MACRO(((unsigned char)test));
    TEST_FUNCTION(((unsigned char)test));

    return 0;
}

The abnormal symptom is below.

Expected behavior
It needs to be able to parse everything correctly, regardless of the number of parentheses surrounding the variable passed as a macro function or function parameter.
But, the line number 22 shows something wrong. This symptom occurs when the defined variable type and macro function are used and a variable is wrapped more than once by the parentheses.
I think the problem occurred by the vscode-cpptools extension. But, in originally reported VS Code at https://github.com/microsoft/vscode-cpptools/issues/5703, sean-mcmanus who is assigned added a label(Visual Studio). Additionally, I think the problem is not only for vscode-cpptools that is the reason why I address the issue again here.

Does this issue occur when all extensions are disabled?: No

/extC++

source: gharchive/issue

repo: microsoft/vscode


text:
Explore notebook keymap support

Notebook actions we ship in the core have VS Code inspired keybindings bound to them, with which existing users can manipulate the notebook content with the keyboard shortcuts they are already with in the text editors.
However Jupyter users may prefer the Vim-like keybindings from traditional Jupyter web apps. Those keybindings may have conflicts with the builtin ones. To avoid conflicts, we can turn them into keymaps (builtin nb keymap and a Jupyter keymap) but they should be only scoped to Notebook (meaning you can install a sublime keymap for the whole workbench and also a notebook keymap).

Now that Jupyter is a standalone extension (no longer part of the Python extension), it makes perfect sense that the Jupyter extension contributes the Jupyter style keybindings. It would be weird that if we publish a dedicated keymap extension and make it a dependency of the Jupyter extension.
With that being said, the requirements are still there. Users may still have following requests (not that users have Jupyter extension installed)

Users may want to only use VS Code style keybindings

In other words, they want to disable the Jupyter keybindings from the Jupyter extension but they can't disable the Jupyter extension

Users may want to use the Jupyter style keybindings

Keybindings from extensions have higher priority than the builtin ones (as they are registered later), so they will take effect by default

Users want to switch "keymap", e.g., Jupyter users will use Jupyter style keybindings when they try VS Code the very first time but later on might switch to VS Code ones

Allowing the Jupyter ones to be disabled and switching between keybinding set easily is the major problem to solve. A domain specific keymap is kind of appealing:

Users can install a Vim keymap and the Jupyter extension at the same time. The Jupyter extension declares it as a keymap for Notebook so they can be enabled at the same time
Users can disable the keybindings from the Jupyter extension someway

But it comes with too many open questions: how do users disable the sub keymap? how do extensions contribute a sub keymap? how do extension declare which keybinding contributions belong to this domain level keymap? If we take one step back and ask ourselves, is this generic enough and deserving such a fancy solution?
Considering the complexity of introducing a new concept of sub keymap, we can now go with a pragmatic solution: adding a setting useJupyterKeybinding to the extension and then put it into the when clause to relevant keybindings. Enabling/disabling the keybindings is only a matter of flipping the setting.
cc @sandy081 , FYI just in case we have similar ideas brought up else where or sometime in the future.
cc @DonJayamanne , I can send a PR for Jupyter extension to allow enabling/disabling the Jupyter style keybindings.

Users may want to only use VS Code style keybindings

In other words, they want to disable the Jupyter keybindings from the Jupyter extension but they can't disable the Jupyter extension

This can be solved by creating a Jupyter extension pack - Jupyter notebook extension + Jupyter keymap extension. Users can disable the keymap extension independent of notebook extension. There are also discussions going on about introducing optional dependencies, but I think extension pack is an appropriate solution here as there is no any code dependencies here.
CCing @alexdima for switching keymaps.
IMO it would be cool to allow user to switch keymaps. For eg., Show the list of keymap extensions in the quick pick (like themes) and allow user to switch. Internally, we can disable all other keymap extensions.

:+1: on having multiple extensions.
Personally, I don't think keybindings should be shipped together with an extension that provides important functionality because keybindings are so personal to people, and the main selling point of the extension is the important functionality, not the keybindings of the established software.
In other words, IMHO people would want to install the Jupyter extension for the Jupyter Notebooks functionality, and can then optionally install Jupyter keybindings if they really want those keybindings.

Thanks, so the recommendation is to create a separate extension for the keybindings, sounds simple.
We'll (owners of the Jupyter extension) create one, unless you guys were planning on creating this.

@sandy and me had offline discussions about this and talked about why we call this "sub"-keymap support in the issue title. Basically I thought we can only have one activated keymap extension in VS Code workspace, while Jupyter keybindings will only work in notebook component, so we may want to support a case where users have a global keymap (e.g. Sublime) and a domain specific keymap (Jupyter). But that turns out to be false assumption. You might see a prompt for asking to you to disable other keymaps when installing from the Welcome page but you can always install keymap extensions from Extension View without any issue. They can work together but there might be some conflicts. For Jupyter keymap, it's not a big deal as existing keymaps don't cover the notebook component, so they can work together seamlessly.
Agree with you all that putting Jupyter keybindings into a separate extension is the best approach here. The Jupyter core extension will contribute some Jupyter specific commands with default keybindings, when users install the Jupyter core extensions, both the notebook commands implemented by VS Code and Jupyter core extensions have proper default keybindings. If users want to use Jupyter style keybindings, then they install the Jupyter keymap extension.
Note here to avoid any prompt when installing other real keymaps, the Jupyter keymap can leave the category blank instead of putting it under keymaps.

Closing since we have recommendation posted above.

@rebornix  Thanks for the suggestion.
Unfortunately creating a separate extension doesn't work for us right now.
We would like to ship such an extension as a dependency of the Jupyter extension.
However VS Code doesn't allow on to disable dependant extensions (e.g. try installing Python extenison & disabling Jupyter extension, this doesn't work).

@rebornix  Thanks for the suggestion.
Unfortunately creating a separate extension doesn't work for us right now.
We would like to ship such an extension as a dependency of the Jupyter extension.
However VS Code doesn't allow on to disable dependant extensions (e.g. try installing Python extenison & disabling Jupyter extension, this doesn't work).

Unfortunately creating a separate extension doesn't work for us right now.
We would like to ship such an extension as a dependency of the Jupyter extension.
However VS Code doesn't allow on to disable dependant extensions

@sandy081 can you help confirm that currently it's not possible to archive this? If so, it left us the option of using a setting in Jupyter extension to disable the jupyter style keybindings.

Unfortunately creating a separate extension doesn't work for us right now.
We would like to ship such an extension as a dependency of the Jupyter extension.
However VS Code doesn't allow on to disable dependant extensions

@sandy081 can you help confirm that currently it's not possible to archive this? If so, it left us the option of using a setting in Jupyter extension to disable the jupyter style keybindings.

We would like to ship such an extension as a dependency of the Jupyter extension.

If extension B depends on extension A:

then extension A is installed when installing extension B (this is mostly done for the next point)
and also extension B activates only if extension A is installed, enabled, and (in case it has code) activated successfully.

So an extension dependency has both an install-time consequence, but most importantly, a runtime consequence. I think the alternative to an extension dependency is an extension pack, since that has only install-time effects. cc @sandy081 for opinions

We would like to ship such an extension as a dependency of the Jupyter extension.

If extension B depends on extension A:

then extension A is installed when installing extension B (this is mostly done for the next point)
and also extension B activates only if extension A is installed, enabled, and (in case it has code) activated successfully.

So an extension dependency has both an install-time consequence, but most importantly, a runtime consequence. I think the alternative to an extension dependency is an extension pack, since that has only install-time effects. cc @sandy081 for opinions

Yeah extension pack has the flexibility to disable or uninstall extension A independent of the runtime. IMO from the concept perspective, using extensionPack is not appropriate. Coincidentally I am exploring an option for such requirements where a feature rich extension wants to optionally include additional features those are bundled as other extensions - https://github.com/microsoft/vscode/issues/6384. I am assuming the solution we achieve there will also suffice yours.

Yeah extension pack has the flexibility to disable or uninstall extension A independent of the runtime. IMO from the concept perspective, using extensionPack is not appropriate. Coincidentally I am exploring an option for such requirements where a feature rich extension wants to optionally include additional features those are bundled as other extensions - https://github.com/microsoft/vscode/issues/6384. I am assuming the solution we achieve there will also suffice yours.

Reopening as current approach doesn't solve the problem fully and lead to user confusion of using the notebook editor the first time.

@joyceerhl and I did some analysis of the complaints we received from users before/after adopting the suggestions we proposed above and revisited the keyboard shortcut conflicts review Joyce did last month. We found the complains are mostly from inconsistency between the behaviors of VS Code and Jupyter Classic/Lab, an experienced Jupyter users would find it broken even if the behavior changes slightly (or in some's opinions, correctly).
Inconsistency/overlap

Shift+Enter doesn't quit editing markdown jupyter#6037, jupyter#7042
Ctrl+Enter should go to control mode jupyter#6198, jupyter#6582
Ctrl+Enter insert lines instead of running jupyter#4377
Ctrl+Enter doesn't insert cell below jupyter#4420

this is majorly about which keybindings we recommend by default

Insert Cell Above/Below should stay in control mode.

This probably makes good sense since in Jupyter it's driven by A/B and focusing the cell editor will immediately quit control mode.

S doesn't save notebook

Now that we have ipynb serializer in the core, users are able to view Jupyter notebook files oob in VS Code, we can implement the Jupyter style commands in the core then users can always interact with the Jupyter notebooks in the way they prefer (no matter if it's Jupyter's keybindings or VS Code builtin ones, or a mix of both) through Keybindings Editor/keybindings.json, without installing any additional keymap/extensions.
The next step would be figuring out how to help users choose the "keymap" to use in Jupyter notebook. One thing to note here is no matter what solution we choose, it won't change the fact that:

Users defined keybindings have higher priority vscode-jupyter#517
Keybindings contributed by other extensions can still override the Jupyter ones vscode-jupyter#328 (otherwise Vim won't work)

Proposals
A: Jupyter extension contributes all keybindings
This is the same as before but Jupyter won't have their own command implementations. To run a Jupyter notebook (ctrl+enter, shift+enter), users need to install Jupyter extension (finding kernels).
Pro

No confusion from users perspective: we get Jupyter keybindings after installing Jupyter extension

Con

If an user finds Jupyter keybindings ineffecient, they don't have simple switch to disable them (though this can be solved by keeping a setting for Jupyter keybindings)
The Run button is bind to Run Cell command, which might not be an expected behavior

B: Jupyter Keymap extension, shipped together with Jupyter but users can disable it
We ship Jupyter keybindings as a separate extension, but it's not a real exclusive "Keymap" extension. Jupyter will ship together with this extension (like the renderer extension) and users can disable it if they want
Pro

It comes with Jupyter
Users can disable it through extension page

Con

Same as Proposal A, this won't solve the problem of "Run button"

C: Keybindings in the core, with a setting controlling which keymap to use
We will have all the keybindings defined in the core, but introduce a setting notebook.keybinding.mode: "default" | "jupyter" to control which set of keybindings will take effect. The setting will potentially control the behavior of the Run button.
Pro

It works OOB
We can control the behaviors of execution related buttons

Note this can also be resolved in a different way

Con

We won't have the flexibility to control if keybindings should just work for Jupyter or all notebooks.

My understanding from todays discussion was that keymaps for Notebooks that are universal for all notebooks, Jupyter and custom alike.
For now we'll ship the keymapping with the extension and push users to install the Jupyter extension (which contains everything they need from kernel detection to renderers) when they're trying to use a keybinding in the Notebook. Before having the Jupyter extension keymappings Notebooks will follow the VS Code built-in ones, after the extension all Notebooks will follow the Jupyter contributed ones. Users can disable the Jupyter keybindings if they want to.
Currently all of the bugs about keybindings are of users who have the Jupyter extension but still have unexpected behaviour. We will fix these first and then be on look out for telemetry or user filed issues for not having the Jupyter keybindings out of the box.
Custom Notebooks are in its infancy and we don't know enough yet about what the community of custom notebooks will expect so we can't yet conclusively state what their preferences and expectations of keybindings will be. Will they have Jupyter experience or only VS Code experience? We only have at most 100 engaged custom notebook users at the moment.
I did a bit more exploring and asked Maria from the .NET team what their process of thinking behind keymaps were when they were making .dib Notebook. They kept the same keybindings as VS Code and had no filed issues around keybindings.

We have good discussions offline. The default behavior of Run button is a problem which should be solved individually, as even with Proposal C, if users don't want the Run button to "Run + Insert" (default behavior of run button on Jupyter), we still need a solution to allow users to pick their preferred "Run" command to use. Thus it's not necessarily an advantage of Proposal C. Proposal B is more preferable as it functions the same as proposal A and it's easy for users to disable the whole keymap. In the meantime, it gives users a chance to use Jupyter keybindings with custom notebooks.
When users have Jupyter extension installed, the notebook keybindings behave the same as Jupyter Classic/Lab (follow their muscle memory). For users who don't have Jupyter installed yet but they start to edit and run jupyter notebook, we can provide extension recommendation to them, like what we do for Kernel and Renderers, based on hueristics:

users press shift+enter or ctrl+enter
users press A/B when focusing on cell container

The recommendation can be presented through getting started (a section for Jupyter notebook, which mentions Kernel detection and Jupyter Renderer).

Another topic we covered in the meeting was whether the Jupyter keymap should be shipped in the core and turned on all all notebooks. Having the keymap in the core helps with consistency and smoother transition from custom notebook to Jupyter, but it's arguable if the keybindings shipped with Jupyter Classic/Lab are the ones we want to offer to users as default ones, especially when the other notebook leaders/innovators behavior differently:

Ctrl+Enter

Jupyter Lab, run and focus container
Google Colab, just run
Deepnote, just run
Observablehq, run and insert cell below

A/B

Jupyter Lab, insert cell and focus container
Google Colab, insert cell and focus editor

Recommending/find the right keymap to use will then be similar to notebook layouts, which depend on users' background and prior experience. Jupyter extension can ship keymaps which is the same as Jupyter Lab but users can install other keymaps.

Thinking again about what would be good compromises, I think it does make sense to take the non-contentious keybindings and have them supported OOB and the other keybindings which don't fit well with VS Code's editing model can be contributed by the Jupyter extension.
I'm thinking about these to be brought into core:
Command

K: select cell above
J: select cell below
A: insert cell above
B: insert cell below
D,D: delete selected cells
L: toggle line numbers
O: toggle output of selected cells
Shift-L: toggles line numbers in all cells (I believe we support in core but added it here since I saw on the table it said otherwise)

Edit

Ctrl-Shift-Minus: split cell at cursor(s)

We will continue our work once we get https://github.com/microsoft/vscode/issues/123581#issuecomment-900672840.

authors: DonJayamanne alexdima rebornix sandy081 tanhakabir


text:
Sourcing environment with multiple VS Code window

#88718 duplicate ? I don't think it is the same behavior but still

VSCode Version: 1.50.1
OS Version: Windows 10

Steps to Reproduce:

Open VS Code from exe
Open new VS Code from sourced environment (ex: minGW)
Open a folder with new VS Code window (with minGW environment)

Expected: First window does not have sourced env., second one has minGW env.
Result: None of them have minGW env.

Does this issue occur when all extensions are disabled?: Yes
Hi,
My hypothesis is that the first opened process will source next windows. I don't think that it is a #88718 duplicate because env. is not added from an extension, but from a shell.
When I open a new folder, I expect my current window to have the same environment before close/reopen step to refresh current folder.
Thanks in advance.

I think you're after https://github.com/microsoft/vscode/issues/15452?
When you open VS Code, the environment is inherited from whatever you launched from. After that, all other windows will share the original environment. So you need to close all windows to refresh it currently.

Hi,
Yes it looks like something similar. I agree to your first point, when I open a new window from a terminal, it'll inherit all the environment.
My suggestion was, from this window, if I decide to do "Open Folder", this window should have the same environment as before. I don't know it if was raised on #15452.

I wouldn't expect it act as it does not but only not in certain circumstances like the open folder command. But anyway I think https://github.com/microsoft/vscode/issues/15452 covers to change anything around the fact that currently all windows share the same environment.

Should be fixed now based on https://github.com/microsoft/vscode/issues/108804#issuecomment-731230574

\closedWith 6f3fcd2ce0002ffd876b7b43bff42a912edddaae

authors: Tyriar bpasero yannickowow


text:
Explorer: Install VSIX context action UX tweak

Testing #109357

Downloaded https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode VSIX file
Copied to workspace, right-click, Install VSIX from the context menu

The extension installed correctly, I was given a notification, and I was moved to the Extensions viewlet, but I was anticipating the newly installed extension to be selected and its readme to show up in focus as well.

Perhaps we could detect the most recently-installed extension and set it in focus? Or add an option in the notification to open the readme?

I just tried with https://marketplace.visualstudio.com/items?itemName=softwaredotcom.music-time, and after installing, my focus was automatically moved to the readme within the extension itself:

I don't think we should show anything by default other than that notification. But it needs tweaking. This is what I got after installing the Panda theme:

I expected no changes to my views: file explorer should stay active and focused.
The notification should have a button to View Details, which then opens the extension editor

Additionally maybe we should rephrase more like:
The 'Panda Theme' extension has been successfully installed.

Finally, should the action be Install Extension VSIX rather than simply Install VSIX?

Thanks for the feedback. At the moment all actions to install an extension (Extensions viewlet, context menu, drag'n'drop) have the same default behavior - Extensions viewlet is shown with the @installed query. Having said that, I see why we do not want to break the flow when the VSIX is installed from the explorer.
I do like the idea of a button to View Details of the installed extension. @sandy081, what's your take on that?

I agree that installing the VSIX from explorer should not change the view. Instead user shall be asked in the prompt.

@sandy081, do you want me to file an issue to track the improvement to add the View Details button into the notification dialog?

Yeah sure/

Filed #109607

authors: bamurtaugh joaomoreno lszomoru sandy081


text:
Timeline: investigate using vscode.open and vscode.diff as commands

Similar to https://github.com/microsoft/vscode/issues/110397, would be great if our built-in timeline providers could use vscode.open and vscode.diff as commands if possible.
Once we did that, we need to do a similar change as treeView does here:
https://github.com/microsoft/vscode/blob/630e706ad2de99e255a18bf77f72d569e9fc0e49/src/vs/workbench/contrib/views/browser/treeView.ts#L468-L475
The fact that this is currently hardcoded inside treeView is a bit of a hack, but I am open for ideas how to make this cleaner once we use it in more places.

Looks like the changes need to be made here:
https://github.com/microsoft/vscode/blob/0ac9d25b81e2a8afdfcd0511758beaf4cf859302/extensions/git/src/timelineProvider.ts#L171-L171
https://github.com/microsoft/vscode/blob/0ac9d25b81e2a8afdfcd0511758beaf4cf859302/extensions/git/src/timelineProvider.ts#L192-L192
https://github.com/microsoft/vscode/blob/0ac9d25b81e2a8afdfcd0511758beaf4cf859302/extensions/git/src/timelineProvider.ts#L210-L210
to use vscode.open and vscode.diff.

@jrieken your change in https://github.com/microsoft/vscode/pull/110455/files to get the actual workbench command (_workbench.open) was not specific to custom trees right? It should work for any extension command that travels to the main side right?

Yes, the CommandConverter#toInternal-function is doing this and believe every proper implementation uses that

authors: bpasero jrieken


text:
Variables are not displayed in debug console

Have a program like

console.log({
  complex: {
      object: true
  }
});

Debug it it
Nothing is displayed in the debug console, and this error is shown

  ERR element.onDidChangeCount is not a function: TypeError: element.onDidChangeCount is not a function
    at ReplSimpleElementsRenderer.renderElement (file:///C:/Users/Connor/Documents/Github/vscode/out/vs/workbench/contrib/debug/browser/replViewer.js:122:52)
    at AsyncDataTreeRenderer.renderElement (file:///C:/Users/Connor/Documents/Github/vscode/out/vs/base/browser/ui/tree/asyncDataTree.js:53:27)
    at TreeRenderer.renderElement (file:///C:/Users/Connor/Documents/Github/vscode/out/vs/base/browser/ui/tree/abstractTree.js:235:27)
    at PipelineRenderer.renderElement (file:///C:/Users/Connor/Documents/Github/vscode/out/vs/base/browser/ui/list/listWidget.js:748:26)
    at ListView.insertItemInDOM (file:///C:/Users/Connor/Documents/Github/vscode/out/vs/base/browser/ui/list/listView.js:513:26)
    at ListView._splice (file:///C:/Users/Connor/Documents/Github/vscode/out/vs/base/browser/ui/list/listView.js:328:26)
    at ListView.splice (file:///C:/Users/Connor/Documents/Github/vscode/out/vs/base/browser/ui/list/listView.js:267:29)
    at file:///C:/Users/Connor/Documents/Github/vscode/out/vs/base/browser/ui/list/splice.js:14:45
    at Array.forEach (<anonymous>)
    at CombinedSpliceable.splice (file:///C:/Users/Connor/Documents/Github/vscode/out/vs/base/browser/ui/list/splice.js:14:30)

Great catch, thanks for filling!


text:
Fast duplicate + rename issue

VSCode Version: 1.52.1
OS Version: Window 10

Steps to Reproduce:

In the explorer, duplicate a file with Ctrl+C, Ctrl+V
Immediately try to rename it by clicking F2

What happens: the file name gets editable for a few ms then becomes unselected.
Note that if you wait for > 2s between step 1 and step 2, the issue does not occurs.
This is a regression as it always worked and was the fastest way to create a file (in my team).
I won't call that a critical issue, it's more a productivity reduction issue.

Does this issue occur when all extensions are disabled?: Yes

Fixed in latest insiders

Fixed in latest insiders

authors: ChezMose isidorn


text:
Markdown cell height calculation is wrong after pressing escape

VS Code Version: 1.54-Insiders
OS Version: macOS

Open a GitHub issue notebook
Edit a markdown cell
Escape

https://user-images.githubusercontent.com/876920/109735296-62921e80-7b77-11eb-9e24-75dd1a02c863.mov
Note that the init height is also wrong.

Does this issue occur when all extensions are disabled?: Yes/No

I believe this is a duplicate of #117735

authors: mjbvz rebornix


text:
Show problems badge on terminal task tabs

It would be nice to be able to quickly see how many "problems" were found in a terminal task tab (assuming there is a problem matcher).

Seems to duplicate the badge on the problems panel? The plan is to show an x icon or similar when the task fails (generates problems).

Agreed w @Tyriar, what would you imagine the difference would be as compared with the problems panel badge @eamodio ?

I think what @Tyriar mentioned, just showing an indicator on a failure/errors is more what I'm after than the actual count or anything like that.

Ah k, this is covered by the tasks issue that you created then, unfortunately that'll probably be pushed to May.

authors: Tyriar eamodio meganrogge


text:
Terminal in VSCode 1.56.1 will not run .bat file under arg when term is started.

This was in the settings.json file before upgrade:
"terminal.integrated.shell.windows": "cmd.exe",
"terminal.integrated.shellArgs.windows": ["/k", "C:\Users\ADV-CON\esp\esp-idf\export.bat"]
After 1.56.1 upgrade the above was labeled depreciated and will not work.
So as stated within this release I included in place of the above:
"terminal.integrated.profiles.windows": {
"PowerShell": {
"source": "PowerShell",
"icon": "terminal-powershell"
},
"Command Prompt": {
"path": [
"${env:windir}\Sysnative\cmd.exe ",
"${env:windir}\System32\cmd.exe "
],
"args": [ "/k","C:\Users\ADV-CON\esp\esp-idf\export.bat"],
"icon": "terminal-cmd"
},
"Git Bash": {
"source": "Git Bash"
}
},

VS Code Version:1.56.1
OS Version: Windows_NT x64 10.0.19042

Steps to Reproduce:
1.Use terminal.integrated.profiles.windows  to run batch file when term is opened.
2.

Does this issue occur when all extensions are disabled?: Yes

What happened when you included the above new settings? Any errors in the dev tools console? /needs-more-info

Terminal opens, no errors within the console.  The new method just doesn't handle the argument entry like terminal.integrated.shellArgs.windows did in previous version.  My batch file runs the defined paths needed to compiler for the ESP-idf.  Of course I can run the batch file from the command prompt manually then use my compiler.

Did you set "terminal.integrated.defaultProfile.windows": "Command Prompt"?

Yes, the default profile is Command Prompt.   However, I did get it to work by using the settings.json in "the hidden directory" AppData/Roaming/Code/User/settings.json.   So apparently it has something to do with taking in the arg settings from my Workspace settings.json.

For args to work in your workspace you need to set terminal.integrated.allowWorkspaceConfiguration currently


text:
Failed to support CUDA syntex

I have a file named foo.cu which is a cuda cpp file

but It seems can not recognize the cuda styntex:

the file is with .cu extension and did parsed as cuda cpp file:

Also the extentsion Nsight Visual Studio Code Edition is installed, and in task.json I'v write to use nvcc as compiler:
{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "echoCommand": true,
    "tasks": [
        {
            "label": "cuda_programming build and run",
            "type": "shell",
            "command": "/usr/local/cuda-10.2/bin/nvcc",
            "args": [
                "foo.cu",
                "-o",
                "out",
                "&&",
                "./out"
            ],
            "problemMatcher": [],
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "options": {
                "cwd": "${workspaceFolder}/cuda_programming"
            }
        }
    ]
}

VS Code Version: Version: 1.57.0
OS Version: Ubuntu 18.0.4

Can you please share a copy/pasteable code snippet that reproduces this issue?

Can you please share a copy/pasteable code snippet that reproduces this issue?

Here is a copy-pastable code, can be build and run succesfully using nvcc foo.cu -o out
#include <stdio.h>
#include <assert.h>

#define VECTOR_LENGTH 10000
#define MAX_ERR 1e-4

__global__ void vector_add(float *out, float *a, float *b, int n)
{
    for(int i = 0; i < n; i++)
    {
        out[i] = a[i] + b[i];
    }
}

int main()
{
    float *a, *b, *out;
    float *d_a, *d_b, *d_out;

    // Allocate memory on CPU
    a = (float*)malloc(sizeof(float) * VECTOR_LENGTH);
    b = (float*)malloc(sizeof(float) * VECTOR_LENGTH);
    out = (float*)malloc(sizeof(float) * VECTOR_LENGTH);

    // data initializtion
    for(int i = 0; i < VECTOR_LENGTH; i++)
    {
        a[i] = 3.0f;
        b[i] = 0.14f;
    }

    // Allocate memory on GPU
    cudaMalloc((void**)&d_a, sizeof(float) * VECTOR_LENGTH);
    cudaMalloc((void**)&d_b, sizeof(float) * VECTOR_LENGTH);
    cudaMalloc((void**)&d_out, sizeof(float) * VECTOR_LENGTH);

    // copy operator to GPU
    cudaMemcpy(d_a, a, sizeof(float) * VECTOR_LENGTH, cudaMemcpyHostToDevice);
    cudaMemcpy(d_b, b, sizeof(float) * VECTOR_LENGTH, cudaMemcpyHostToDevice);

    // GPU do the work, CPU waits
    vector_add<<<1,1>>>(d_out, d_a, d_b, VECTOR_LENGTH);

    // Get results from the GPU
    cudaMemcpy(out, d_out, sizeof(float) * VECTOR_LENGTH, cudaMemcpyDeviceToHost);

    // Test the result
    for (int i = 0; i < VECTOR_LENGTH; i++)
    {
        assert(fabs(out[i] - a[i] - b[i]) < MAX_ERR);
    }
    printf("out[0] is %f\n", out[0]);
    printf("PASSED\n");

    // Free the memory
    cudaFree(d_a);
    cudaFree(d_b);
    cudaFree(d_out);
    free(a);
    free(b);
    free(out);
}

besides the original figure, there are more linting error:

I'm not able to reproduce the issue by just using your CUDA C++ file, which indicates to me that this is likely caused by one or more of your installed extensions.


text:
All Settings Sync views are empty

Run the command "Settings Sync: Show Synced Data" and see that all views are empty.

Possibly related? https://github.com/microsoft/vscode/commit/aa32ed5535a915a49b044438837f67ad4ac96c12


text:
inno_updater.exe may be preventing itself from deleting code.exe

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: every update
OS Version: Windows 10

Steps to Reproduce:

Wait for a new VS Code version to be released

You already know, the updater fails for some of us: https://github.com/microsoft/vscode/issues/47841
I use ProcessExplorer to check which process is locking a file (by having a handle to it)

It turns out it's the updater itself  :/
Code is definitely not running as demonstrated by tasklist | find "code.exe"

Something is odd since both those processes shouldn't be operating at the same time. Can you reproduce this 100% of the time? Can you reproduce on Insiders?

authors: davidlanderos-digital joaomoreno


text:
If the editor is designed by fluent design ，including  filleted corner，it will be perfect

/duplicate
See https://github.com/microsoft/vscode/issues/115641#issuecomment-886804684

/duplicate
See #115641 (comment)

Will  Visual Studio Code use fluent design  in the future？


text:
Large json import in .js file causes 100% CPU + autocomplete stops working

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.63.2
OS Version: macOS 11.6.2

Steps to Reproduce:

Put a large json file in a directory, e.g. data.json (mine is 2 MB)
Edit a file in the same directory, e.g. index.js
Add import data from './data.json' to the top of the file
CPU jumps to 100% (but VS Code is mostly still usable)

If I comment the import and then reload the window, CPU goes back to normal
Some other stuff that coincides with this:
If I reload the window with the import uncommented:

CPU goes up right away
Semantic styling is slightly off e.g. unused variables are not darkened
After about a minute, semantic styling corrects itself, and at the same time all autocomplete suggestions stop working.

(Autocomplete not working is the main thing making life difficult)
Some stuff I've tried, but did not help:
{
  "files.watcherExclude": {
    "**/*.json": true,
    "**/src/data/**": true
  },
  "search.exclude": {
    "**/src/data/**": true,
    "**/data/**": true
  },
  "npm.exclude": "**/src/data/**",
  "timeline.excludeSources": ["**/src/data/**"],
  "editor.unicodeHighlight.ambiguousCharacters": false,
  "json.maxItemsComputed": 50,
  "workbench.settings.enableNaturalLanguageSearch": false,
  "editor.wordBasedSuggestions": false
}

Happy to provide any other info.

Hi,
I added the following to a jsconfig.json at the root of my project, and that fixed it:
{
  "exclude": ["**/src/data/**"]
}

Maybe there's a useful place to document this?  (I only figured it out with some help on reddit).  Otherwise feel free to close this.

Can you please share a minimal example project that demonstrates this issue so we can investigate?

authors: jfrancos mjbvz


text:
files dissappear

We have written the needed data into your clipboard because it was too large to send. Please paste.
Issue Type: Bug
Today when i opened vs code ,there is no earlier projects saved ,That I did.I remember yesterday everything was working fine.Today no program is there infact the shortcut i created on desktop to save the files also not opening ,I actually know the path where all my programs has been saved but today no similar folder is there.Can anybody help me with this issue?
VS Code version: Code 1.64.2 (f80445acd5a3dadef24aa209168452a3d97cc326, 2022-02-09T22:02:28.252Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No

System Info

Item
Value

CPUs
AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx   (4 x 2595)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
3.38GB (0.32GB free)

Process Argv
--crash-reporter-id 09714c3f-8a14-4e8d-ac2a-20650e9e8bb5

Screen Reader
no

VM
0%

Extensions (11)

Extension
Author (truncated)
Version

doxdocgen
csc
1.3.2

competitive-programming-helper
Div
5.9.1

code-runner
for
0.11.7

better-cpp-syntax
jef
1.15.13

remote-containers
ms-
0.217.4

remote-ssh
ms-
0.70.0

remote-wsl
ms-
0.64.2

cmake-tools
ms-
1.9.2

cpptools
ms-
1.7.1

cpptools-extension-pack
ms-
1.1.0

cmake
twx
0.0.17

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627cf:30244335
pythonvspyl392:30425749
pythontb:30283811
pythonvspyt551:30345470
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30433059
pythonvs932:30410667
wslgetstarted:30433507
vsclayoutctrc:30437038
vsrem710:30416614
vsbas813:30436447
vscscmwlcmc:30436992

It sounds like maybe you created your projects in folders within the folder where VS Code was installed.
If so, they will have been deleted when VS Code updated.

Yes I am saving the codes in vs code folder
Now i understand.
But can u tell if there is any way to recover them,because there are so
many codes.
On Sat, 12 Feb, 2022, 8:58 pm John Murray, @.***> wrote:

It sounds like maybe you created your projects in folders within the
folder where VS Code was installed.
If so, they will have been deleted when VS Code updated.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/142926#issuecomment-1037257705,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXXPKQMG2MSGIT5QZ2UJLUDU2Z4AXANCNFSM5OG654CA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

But can u tell if there is any way to recover them

@JAINSANVEG37 unfortunately there probably isn't, unless you had put them into source control or have a backup of your disk. See https://github.com/microsoft/vscode/issues/138815#issuecomment-990950773 by @joaomoreno who is a member of the core team.

Ok, I'll check it out.
On Sun, 13 Feb, 2022, 12:44 am John Murray, @.***>
wrote:

But can u tell if there is any way to recover them
@JAINSANVEG37 https://github.com/JAINSANVEG37 unfortunately there
probably isn't, unless you had put them into source control or have a
backup of your disk. See #138815 (comment)
https://github.com/microsoft/vscode/issues/138815#issuecomment-990950773
by @joaomoreno https://github.com/joaomoreno who is a member of the
core team.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/142926#issuecomment-1037405087,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXXPKQKSG3KBTDVK77FXP2DU22WRNANCNFSM5OG654CA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>


text:
Search does not respect Exclude-on/off setting - always excludes

Type: Bug
my search settings:
searching in local clone of: https://gitlab.kitware.com/cmake/cmake.git
TargetString: "Platform/" (no options set)
files to include:  "./"
files to exclude: ".rst,.txt,*.cmake"
Results (with exclude settings active):
6 results in 4 files ...
Results (with exclude settings disabled):
6 results in 4 files - exclude settings and ignore files are disabled.
However, if I actually remove "*.cmake" from the files to exclude, the results are:
688 results in 579 files - exclude ...
Seems the exclude on/off button isn't working correctly.
VS Code version: Code 1.71.0 (784b0177c56c607789f9638da7b6bf3230d47a8c, 2022-09-01T07:36:10.600Z)
OS version: Windows_NT x64 10.0.22000
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz (8 x 1498)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
31.59GB (7.30GB free)

Process Argv
--crash-reporter-id 142d2241-6057-4ccc-84bd-36797d6a7081

Screen Reader
no

VM
0%

Extensions (31)

Extension
Author (truncated)
Version

overtype
ada
0.2.0

header-builder
Alp
0.0.4

unique-lines
bib
1.0.0

markdown-mermaid
bie
1.15.2

markdown-preview-github-styles
bie
1.0.1

sarif-viewer-fix
br4
3.1.7

doxdocgen
csc
1.4.0

vscode-markdownlint
Dav
0.48.1

vscode-codeql
Git
1.6.12

vscode-test-explorer
hbe
2.21.1

cmake-language-support-vscode
jos
0.0.4

git-graph
mhu
1.30.0

wavework
Mic
1.2022.620008

vscode-dotnet-runtime
ms-
1.5.0

python
ms-
2022.14.0

vscode-pylance
ms-
2022.9.10

jupyter
ms-
2022.8.1002431955

cmake-tools
ms-
1.12.26

cpptools
ms-
1.12.4

hexeditor
ms-
1.9.8

test-adapter-converter
ms-
0.1.6

hide-gitignored
npx
1.1.0

vscode-text-tables
Rom
0.1.5

rewrap
stk
1.16.3

markdowntable
Tak
0.10.2

vscode-mermaid-editor
tom
0.15.0

cmake
twx
0.0.17

sort-lines
Tyr
1.9.1

clang-format
xav
1.9.0

markdown-all-in-one
yzh
3.4.3

json
Zai
2.0.2

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30557514
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
pylanb8912:30545647
vsclangdf:30486550
c4g48928:30535728
hb751961:30553087
dsvsc012:30540252
azure-dev_surveyonecf:30548226
2144e591:30553903

If you have content in "files to exclude" field - it is always used to exclude.
Toggle button inside of this input - is about toggling use of files.exclude and .gitignore files, not about disabling/enabling field.

ok, that's notably non-obvious (it's weird to have a checkbox toggle inside a field it doesn't apply to), but thanks for the clarification.

authors: IllusionMH bradlitterell


text:
Snippet completion sorting is wrong

Does this issue occur when all extensions are disabled?: Yes

Version: 1.73.0-insider (user setup)
Commit: 6455bf1608dfa1b955717f66295f0f9200db0f73
Date: 2022-10-17T05:17:12.448Z
Electron: 19.0.17
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Windows_NT x64 10.0.22621
Sandboxed: Yes
Steps to Reproduce:

Use the code: https://github.com/jdneo/vscode-extension-samples/commit/c5e384ce819695dce93102e33cc9db877d550a52
Make sure the setting editor.snippetSuggestions is set to inline
The item for is listed at top, while it should be expected to list under error.

If removing the code:
item.insertText = "for (const iterator of object) {}";
item.range = range;
item.filterText = "console.for";

The behavior becomes normal.

Not quite sure but looks like it's related with the test edit's range of the returned completion item. @jrieken Could you confirm that?

Yes, it definitely depends on the range that is provided

I'm working on the postfix support in Java. In one word: "hi!".sysout -> System.out.println("hi!");
So, I have to construct a text edit to replace "hi!".. The range of the text edit makes the completion item always at the top of the list no matter how I set the sort text, which is annoying.
Is there any way that I can customize the location in the list in this case?

Is there any way that I can customize the location in the list in this case?

Only via range, sort text, and filter text

It will be great if VS Code can have some kinds of mechanism to better support the ranking issue with the postfix completion.
Since for a postfix completion, its range has to include the tokens before the trigger character. And thus, filter text is needed as well to make the completion appear in the completion list.
Therefore, no matter how I set the sort text, the postfix completion will always list at the top - For some cases, this behavior is annoying.

Update:
I finally got a solution. Instead of directly using a text edit to do a replacement, I split the replacement to insert + delete.
The insert part is addressed by insertText. And another additional text edit is used to delete the code.
By doing this, we can leave filter text empty. VS Code will fall back to use default word matching.

authors: jdneo jrieken


text:
Emmet doesn't work in html documents containing R code

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.73.1
OS Version: Darwin x64 21.6.0

Steps to Reproduce:

Create a new html document with the following content:

    attributes(dat$v1)$label <- "Label for V1"
    attributes(dat$v3)$label <- "Label for V3"

div

Try to use emmet to expand out the div on line 5
Get an error message:

Unable to find matching pair for < at char 118

I know that I should be just using < instead of the literal < symbol but this makes it a pain to copy and paste R code directly into a html slide deck. Would be awesome if this didn't trip emmet up but understand if this is isn't regarded as a bug.

authors: dotnetDoge gowerc


text:
Support moving the explorer with drag and drop

Part of #143264

This item is focused on explorer only. The parent item will remain open after this is closed.

Closing as the explorer is moveable as of #173619


text:
Too-eager hovers in Explorer impede use of context menu

Type: Bug

VS Code version: Code - Insiders 1.76.0-insider (dc619de8d9efdabd781fc5658d0051813c347055, 2023-02-16T05:23:44.671Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: Yes
/assign @lramos15

Thanks! This is also a regression because we are only supposed to show it on files with decorations (such as source control) or overflowing text (such as superlongname...).

@lramos15 I don't get this custom hover ever. Can you please add steps to verify?

@jrieken These custom hovers have been removed from product due to being too buggy at the moment. I will just mark this as verified as this feature isn't ready for testing yet.

authors: gjsjohnmurray jrieken lramos15


text:
Terminals are named kernel_task

Use insiders-1.78 or run out of source
start a terminal
the name is "kernel_task"
start a long running task, like yarn watch, press ctrl+c and see it's not terminating

https://user-images.githubusercontent.com/1794099/228880022-344ef467-c338-4a74-8c2a-a28e7cb090a5.mov

same question

Same issue on my brand new Apple M2 Mac Mini. Running latest Insiders. I thought I was going crazy.

Works fine on latest version of insiders.

Yeah fixed now. Thanks everybody!

Not working for me. I am using CTRL+Z

Not working for me after updating today (May 09, 2023)
Version: 1.78.0 (Universal)
Commit: 252e5463d60e63238250799aef7375787f68b4ee
Date: 2023-05-03T20:11:00.813Z
Electron: 22.4.8
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Darwin x64 18.7.0
Sandboxed: Yes

Not working for me. I am using CTRL+Z

That doesn't kill the process. It just suspends it. Just be aware of that (if you do it a lot ;)

same for me, no control-c or any kill commands will work:
Version: 1.78.1
Commit: 6a995c4f4cc2ced6e3237749973982e751cb0bf9
Date: 2023-05-04T09:57:42.343Z (5 days ago)
Electron: 22.5.1
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Darwin x64 18.7.0
Sandboxed: No

It stopped working for me due to an extension which had created a key binding starting with ctrl + c so I removed the key binding and it started working. This SO answer helped me.

@gitSambhal what extension was causing the issue?

@Tyriar I forgot the name but you can check your keyboard bindings.

@gitSambhal I don't have the same extensions as you?

Hi, this "Ctrl+C" (terminate task) feature suddenly stopped working a few days ago for us as well:

the "^C" still displays in the terminal but without any effect
and there is not a single shortcut associated to Ctrl+C and no way to add one

This is a huge pain as we simply cannot work anymore using vs-code, this was such a central feature
There is SO MUCH content on the topic online, yet no simple solution:

What happened? Why did vs-code team do this?
How is there not a SIMPLE option in Keyboard Shortcuts (JSON) to add it back?

We won't be able to ship our work this weekend solely because of the delay caused by this.
Thanks in advance to those currently working on a solution

@Tyriar what is shown in the vscode status bar when you press ctrl + c ?

@loicguichaoua it was a bug we introduced and fixed shortly afterwards, see https://github.com/microsoft/vscode/issues/181939. One of the downsides of using Insiders is occasionally things like this slip in.

Still no update to fix it. How do we opt OUT of Insiders. I never have opted in!

authors: Tyriar atabv avi-l gitSambhal hawkkiller jrieken loicguichaoua pramod1221 pschmidtke shealan zt123123