Microsoft/vscode

"Do you want to terminate the active terminal session?" on close for background terminals

Open

#235.575 aberto em 10 de mai. de 2024

Ver no GitHub
 (6 comments) (0 reactions) (1 assignee)TypeScript (10.221 forks)batch import
bughelp wantedterminal-process

Métricas do repositório

Stars
 (74.848 stars)
Métricas de merge de PR
 (Mesclagem média 11h 43m) (1.000 fundiu PRs em 30d)

Description

Type: Bug

Behaviour

Popup on close: "Do you want to terminate the active terminal session?" even though none are running

Steps to reproduce:

  1. Set python.languageServer = Jedi (or Default if Pylance is not available)
  2. Make sure Jedi is running, for example, lint a Python script
  3. Try to exit VSC window

Diagnostic data

2024-05-10 14:51:01.014 [info] Default formatter is set to ms-python.autopep8 for workspace /home/wja/testdir
2024-05-10 14:51:01.014 [info] Test server listening.
2024-05-10 14:51:01.014 [info] > conda info --json
2024-05-10 14:51:01.014 [info] Python interpreter path: ~/Programs/miniconda3/envs/anaconda3_11+/bin/python
2024-05-10 14:51:01.014 [info] > pyenv which python
2024-05-10 14:51:01.014 [info] cwd: .
2024-05-10 14:51:02.528 [info] > conda run -p ~/Programs/miniconda3/envs/anaconda3_11+ --no-capture-output python ~/.vscode-oss/extensions/ms-python.python-2024.4.1-universal/python_files/get_output_via_markers.py ~/.vscode-oss/extensions/ms-python.python-2024.4.1-universal/python_files/printEnvVariables.py
2024-05-10 14:51:02.529 [info] shell: bash
2024-05-10 14:51:02.911 [info] Starting Jedi language server for testdir.

I did an extension bisect to pin down the Python extension as causing the problem.

I'm using Codium and I'm not sure if this issue affects Code.

Extension version: 2024.4.1 VSCodium version: VSCodium 1.89.0 (4379b66f0d4dd9881ba96fa086f387725b69a24b, 2024-05-06T17:54:09.063Z) OS version: Linux x64 5.4.0-181-generic Modes:

Guia do colaborador