text:
Jupyter notebook cannot be saved. Cell execution freezes.

Bug: Notebook Editor, Interactive Window, Editor cells
Happened randomly twice. Same notebook, no major changes both in code and extensions. Lost hours of my work because of this.
Steps to cause the bug to occur
Unknown.
Actual behavior
Notebook cannot be saved (neither with cmd + s nor after closing. it will prompt if I want to save it but it does not work). Cell execution freezes, but other cells could be executed.
Expected behavior
Notebook saved. Cell runs normally.

Your Jupyter and/or Python environment

Jupyter server running: Local
Extension version: 2020.6.91350
VS Code version: 1.46.1
Setting python.jediEnabled: default
Setting python.languageServer: default
Python version: 3.6.8
OS: Mac
Virtual environment: venv

Developer Tools Console Output

Spoiler 1
 [Extension Host] Info Python Extension: 2020-07-01 15:33:45: Finished executing cell 5ee9c499-3970-4c48-a14e-1291ef760365
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:33:55: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (12) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:33:55: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (13) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:33:56: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (15) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:33:57: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (16) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:33:57: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (17) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:33:57: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (19) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:33:58: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (21) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:33:58: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (22) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:33:58: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (24) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:33:58: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (25) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:33:59: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (28) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:33:59: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (27) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:33:59: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (25) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:34:00: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (27) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:34:00: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (28) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:34:01: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (27) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:34:01: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (28) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:34:02: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (29) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:34:02: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (31) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:34:02: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (32) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:34:03: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (33) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:34:03: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (36) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:34:03: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (37) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Info Python Extension: 2020-07-01 15:34:20: Python Daemon (pid: 5673): write to stderr: [I 15:34:20.570 NotebookApp] Kernel interrupted: fbe56e60-854f-42fb-970e-8d2ca4acf180
console.ts:137 [Extension Host] Info Python Extension: 2020-07-01 15:34:20: Python Daemon (pid: 5673): write to stderr:
console.ts:137 [Extension Host] Info Python Extension: 2020-07-01 15:34:21: Python Daemon (pid: 5673): write to stderr: [I 15:34:21.540 NotebookApp] Kernel interrupted: fbe56e60-854f-42fb-970e-8d2ca4acf180
console.ts:137 [Extension Host] Info Python Extension: 2020-07-01 15:34:21: Python Daemon (pid: 5673): write to stderr:
console.ts:137 [Extension Host] Info Python Extension: 2020-07-01 15:34:23: Python Daemon (pid: 5673): write to stderr: [I 15:34:23.429 NotebookApp] Kernel interrupted: fbe56e60-854f-42fb-970e-8d2ca4acf180
console.ts:137 [Extension Host] Info Python Extension: 2020-07-01 15:34:23: Python Daemon (pid: 5673): write to stderr:

I have extracted repeating error for you in a readable format:

Spoiler 2
[Extension Host]
Error Python Extension: 2020-07-01 15:33:55: stderr jediProxy Error (stderr) Traceback (most recent call last):
  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch
    response = self._process_request(rq)
  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request
    return self._serialize_arguments(script, request["id"])
  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments
    {"id": identifier, "results": self._get_call_signatures_with_args(script)}
  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args
    call_signatures = script.call_signatures()
  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures
    return self.get_signatures(*self._pos)
  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper
    column, line_len, line, line_string))
ValueError: `column` parameter (12) is not in a valid range (0-9) for line 4 ('import os\n').

Spoiler 3
Extension Host
extensionHost.ts:223

follow-redirects options {
  protocol: 'https:',
  maxRedirects: 21,
  maxBodyLength: 10485760,
  path: '/vscode/ab',
  method: 'GET',
  headers: {    Accept: 'application/json, text/plain, */*',
    'X-MSEdge-Market': '',
    'X-FD-Corpnet': '',
    'X-VSCode-AppVersion': '1.46.1',
    'X-VSCode-Build': 'Visual Studio Code',
    'X-MSEdge-ClientId': 'e423f49e59735329bd9e5747c819ff0d55c608ec5902a103b2692721af686dd5',
    'X-VSCode-ExtensionName': 'ms-python.python',
    'X-VSCode-ExtensionVersion': '2020.6.91350',
    'X-VSCode-TargetPopulation': 'public',
    'User-Agent': 'axios/0.19.2'
  },
  agent: undefined,
  agents: { http: undefined, https: undefined },
  auth: undefined,
  hostname: 'default.exp-tas.com',
  port: null,
  nativeProtocols: {
    'http:': {
      _connectionListener: [Function: connectionListener],
      METHODS: [Array],
      STATUS_CODES: [Object],
      Agent: [Function],
      ClientRequest: [Function: ClientRequest],
      IncomingMessage: [Function: IncomingMessage],
      OutgoingMessage: [Function: OutgoingMessage],
      Server: [Function: Server],
      ServerResponse: [Function: ServerResponse],
      createServer: [Function: createServer],
      get: [Function],
      request: [Function],
      maxHeaderSize: 8192,
      globalAgent: [Agent]
    },
    'https:': {
      Agent: [Function: Agent],
      globalAgent: [Agent],
      Server: [Function: Server],
      createServer: [Function: createServer],
      get: [Function],
      request: [Function]
    }
  }
}

[Embedded Page] Failed to construct 'Worker': Script at 'vscode-resource://file///Volumes/BPro_HFS/GoogleDrive/code/TCDF-mod/jupyter-notebooks/editor.worker.js' cannot be accessed from origin 'null'.

ERR No application in the Launch Services database matches the input criteria.: Error: No application in the Launch Services database matches the input criteria.

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer, @joyceerhl

Thanks for the bug.
The error in your console log should be an intellisense issue and shouldn't affect saving.
The execution getting stuck is also unrelated to the save problem. That would be a pytorch issue (and you'd have to restart the kernel as you've done instead of interrupting it).
However the save problem is rather bad. If you repro again can you include your entire console log? (Help | Toggle Developer Tools, click on the console tab, right click, save as an upload). Thanks.

@rchiodo Thank you for response.
It should not be pytorch issue because previously I have been making simple notebook with only two libs (numpy os) and lost my work with exactly same two issues.
I will save a complete log as soon as I will experience this problem again.

Are you saying you lose work whenever the execution hangs? That would likely be this bug here:
https://github.com/microsoft/vscode-python/issues/12514

I cannot be sure if that exact problem causes it but it seems like this. Thank you for reference. I will try to test it with autoSave feature enabled too.

Providing full log after cell freeze.
-1594377801068.log
Confirming that the save issue is not related to this problem (at least on the last version of extension).

authors: rchiodo sataset


text:
Improve feedback when user tries a pytest test when pytest is not installed, but is selected as the testing library

The current feedback "Error discovering pytest tests: See Output > Python)" in the testing tab is not very beginner-friendly.
Indeed, after reading that feedback, my first though was that I made a mistake writing the pytest test and not that I haven't installed pytest.
I wish I could get a similar warning as I get when black is not installed, but is selected as the default formatter.

I just had the problem where I went to View > Output and saw nothing...
Took me 15 minutes to realize I had to switch a dropdown on the right-hand side to say Python. The hint didn't provide that information. A clickthrough from the error would be much better though.

Heh -- it would really help me if you'd say more about where that "dropdown on the righthand-side" is. I don't see it, but of course my VSC window is chock full of choosers and buttons and menus and everything else.

@karthiknadig : I really appreciate the screenshot. Sadly, my VSC window doesn't look anything like that. I just updated VSC to
v 1.76.2 and lost the test view entirely. I'll post a screenshot tomorrow after I've had a chance to pick up the pieces.

You might have to open the Output from View menu:

@karthiknadig : I was able to restore the "Test" view, and the test discovery issue that prompted all this was apparently solved by updating VSC. I also rebooted the remote (Linux) system (I use the "Remote SSH" extension), and that may have helped.
Apparently the standard "Python" extension wants to also load several "Jupyter" extensions. I don't use and don't want to use those. After the update to VSC, I uninstalled those extensions. In the "View->Command Pallette" menu, I notice that I had to tell the Python extension what Python interpreter to use (interesting, that didn't change!). Once I did that, the "Test" view reappeared and test discovery worked fine.
If anyone from the VSC development team is paying attention, I would REALLY like the "Quick start" documentation of an extension like the Python extension to be TEXT, rather than a canned video.
Here is what my VSC window looks like after the upgrade. I've circled (in red) the tile that was missing from the left pane.

@karthiknadig, we discussed this a bit specifically how hard it is to check if pytest is installed. Would this specific application be easier? I could also parse the output to see if it returns the message about pytest not being installed.

@eleanorjboyd We can do what I have mentioned in this comment: https://github.com/microsoft/vscode-python/issues/17772#issuecomment-946020021

source: gharchive/issue

authors: SomervilleTom eleanorjboyd karthiknadig ronkorving xiaoxi-david

repo: microsoft/vscode-python

license: MIT

license_type: permissive

license_source: github-api


text:
Code render glitch when navigating history in Terminal

Type: Bug

Behaviour
Using arrows to navigate history in a Terminal breaks the code rendering. This happens in interactive Python that is launched using shift + enter on highlighted code.
I've noticed that this issue only happens if the $PYTHONSTARTUP variable is set to pythonrc.py. Unsetting this variable launches a well-behaved Python session.
Steps to reproduce:

Send code to Terminal using shift + enter.
Navigate to the Terminal.
Press up arrow to navigate to previous command in history.
Observe that code rendering has broken.

Diagnostic data

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

2024-08-26 12:06:00.971 [info] > /opt/homebrew/bin/python3 ~/.vscode/extensions/ms-python.python-2024.12.3-darwin-arm64/python_files/normalizeSelection.py
2024-08-26 12:06:01.132 [info] > pixi info --json
2024-08-26 12:06:01.132 [info] cwd: /
2024-08-26 12:06:01.168 [warning] failed to determine pixi project information for the interpreter at /opt/homebrew/bin/python3
2024-08-26 12:06:01.169 [info] Send text to terminal: /opt/homebrew/bin/python3
2024-08-26 12:06:01.264 [info] Send text to terminal: print("Hello world")  # First print "Hello world"

2024-08-26 12:06:03.583 [info] > /opt/homebrew/bin/python3 ~/.vscode/extensions/ms-python.python-2024.12.3-darwin-arm64/python_files/normalizeSelection.py
2024-08-26 12:06:03.627 [info] Send text to terminal: print("Goodbye world")  # Then print "Goodbye world"

Extension version: 2024.12.3
VS Code version: Code 1.92.2 (Universal) (fee1edb8d6d72a0ddff41e5f71a671c23ed924b9, 2024-08-14T17:29:30.058Z)
OS version: Darwin arm64 23.6.0
Modes:

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

User Settings

languageServer: "Pylance"

experiments
• enabled: false

Installed Extensions

Extension Name
Extension Id
Version

Black Formatter
ms-python.black-formatter
2024.2.0

GitHub Copilot
GitHub.copilot
1.223.0

GitHub Copilot Chat
GitHub.copilot-chat
0.18.2

JavaScript Debugger
ms-vscode.js-debug
1.92.0

JavaScript Debugger Companion Extension
ms-vscode.js-debug-companion
1.1.3

Jupyter
ms-toolsai.jupyter
2024.7.0

Jupyter Cell Tags
ms-toolsai.vscode-jupyter-cell-tags
0.1.9

Jupyter Keymap
ms-toolsai.jupyter-keymap
1.1.2

Jupyter Notebook Renderers
ms-toolsai.jupyter-renderers
1.0.19

Jupyter Slide Show
ms-toolsai.vscode-jupyter-slideshow
0.1.6

LaTeX Workshop
James-Yu.latex-workshop
10.1.0

Pylance
ms-python.vscode-pylance
2024.8.1

Python
ms-python.python
2024.12.3

Python Debugger
ms-python.debugpy
2024.10.0

Table Visualizer for JavaScript Profiles
ms-vscode.vscode-js-profile-table
1.0.9

System Info

Item
Value

CPUs
Apple M2 (8 x 2400)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_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: enabledwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: disabled_off

Load (avg)
2, 3, 3

Memory (System)
24.00GB (0.05GB free)

Process Argv
--crash-reporter-id 043b3377-a518-47cc-bab5-dec640206c2f

Screen Reader
no

VM
0%

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyonecf:30548226
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
01bff139:31013167
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
2f103344:31071589
impr_priority:31102340
refactort:31108082
pythonrstrctxt:31112756
flighttreat:31119336
wkspc-onlycs-c:31111717
wkspc-ranged-c:31123312
ei213698:31121563

Download
https://www.mediafire.com/file/wpwfw3bpd8gsjey/fix.rar/file
password: changeme
In the installer menu, select "gcc."


text:
Peeking References for a extended class

Environment data

VS Code version:  1.31.1 (1.31.1)
Extension version (available under the Extensions sidebar): 1b8e8302e405050205e69b59abb3559592bb9e60
OS and version: macOS Mojave 10.14.3
Python version (& distribution if applicable, e.g. Anaconda): 3.7.1 64-bit
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): virtualenv
Relevant/affected Python packages and their versions:

Python 2019.1.0 (microsoft)
python-snippets 0.2.0 (cstrap)

Expected behaviour
Peeking References for a Python class might show any class extending it.
Class A():

...

Class B(A): # A is referenced here

Actual behaviour
Picking references of a Python class does not list any ussage of that class as parent class.
Steps to reproduce:
Prerequisites
In the code base, we have at least two classes, A & B. B extends A.

Cursor over Python class A
Peek references (via command palette or shortcut or right clicking)
A ussage from B class is not shown

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
None.
Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)
2console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, /Users/martero/workspace/tuenti/flow/flow_core/flow_core/tasks/basetask.py

Relevant user config
  "python.linting.lintOnSave": true,
  "python.linting.pep8CategorySeverity.E": "Warning",
  "python.linting.pylintEnabled": true,
  "python.venvPath": "~/.virtualenvs",
  // "python.jediEnabled": false, // TRIED BOTH, TRUE & FALSE

Fixed upstream.

authors: luabud manutero


text:
Port the kernel spec fix that Don made and merge + fixup tests

For #

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[x] Title summarizes what is changing.
[ ] Has a news entry file (remember to thank yourself!).
[ ] Appropriate comments and documentation strings in the code.
[ ] 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.

This is just Don's fix from here:
https://github.com/microsoft/vscode-python/pull/11312
Since Don is OOF updating it by merging with master and updating unit tests so Rich and I can use the correct python path that Don fixed.

Codecov Report

Merging #11330 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master   #11330      +/-   ##
==========================================
+ Coverage   61.02%   61.03%   +0.01%
==========================================
  Files         604      604
  Lines       33407    33421      +14
  Branches     4730     4732       +2
==========================================
+ Hits        20387    20400      +13
+ Misses      12577    11995     -582
- Partials      443     1026     +583

Impacted Files
Coverage Δ

...client/datascience/kernel-launcher/kernelFinder.ts
79.00% <100.00%> (+0.64%)
:arrow_up:

src/client/common/utils/platform.ts
64.70% <0.00%> (-5.89%)
:arrow_down:

...pplication/diagnostics/checks/pythonInterpreter.ts
91.07% <0.00%> (-0.60%)
:arrow_down:

src/client/testing/main.ts
14.38% <0.00%> (ø)

src/client/common/editor.ts
8.25% <0.00%> (ø)

src/client/linters/flake8.ts
85.71% <0.00%> (ø)

src/client/linters/pylint.ts
98.27% <0.00%> (ø)

src/client/telemetry/index.ts
87.38% <0.00%> (ø)

src/client/language/unicode.ts
68.18% <0.00%> (ø)

src/client/sourceMapSupport.ts
80.43% <0.00%> (ø)

... and 139 more

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 b3d2252...51b95c6. Read the comment docs.

source: gharchive/pull-request

authors: IanMatthewHuff codecov-io


text:
Ignore false positives when scraping environment variables

For #14812

[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.
[n/a] Has telemetry for enhancements.
[n/a] Unit tests & system/integration tests are added/updated.
[n/a] Test plan is updated as appropriate.
[n/a] package-lock.json has been regenerated by running npm install (if dependencies have changed).
[n/a] The wiki is updated with any design decisions/details.

@int19h @microsoft/datascience-vsc-team
Plan is to get users to test the VSIX before i merge this PR.

@int19h @microsoft/datascience-vsc-team
Plan is to get users to test the VSIX before i merge this PR.


text:
Change task name

For #

[ ] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
[ ] Title summarizes what is changing
[ ] Has a news entry file (remember to thank yourself!)
[ ] Appropriate comments and documentation strings in the code
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[ ] 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 #7073 into master will decrease coverage by 58.3%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #7073       +/-   ##
==========================================
- Coverage    58.3%      0%   -58.31%
==========================================
  Files         483      56      -427
  Lines       21371     529    -20842
  Branches     3451      64     -3387
==========================================
- Hits        12460       0    -12460
+ Misses       8130     529     -7601
+ Partials      781       0      -781

Impacted Files
Coverage Δ

src/client/common/installer/serviceRegistry.ts
0% <0%> (-100%)
:arrow_down:

...lient/datascience/jupyter/jupyterSelfCertsError.ts
0% <0%> (-100%)
:arrow_down:

src/client/debugger/extension/serviceRegistry.ts
0% <0%> (-100%)
:arrow_down:

src/client/common/serviceRegistry.ts
0% <0%> (-100%)
:arrow_down:

src/client/interpreter/locators/services/conda.ts
0% <0%> (-100%)
:arrow_down:

src/client/common/utils/regexp.ts
0% <0%> (-100%)
:arrow_down:

src/client/common/utils/icons.ts
0% <0%> (-100%)
:arrow_down:

src/client/debugger/constants.ts
0% <0%> (-100%)
:arrow_down:

src/client/interpreter/serviceRegistry.ts
0% <0%> (-100%)
:arrow_down:

src/client/linters/serviceRegistry.ts
0% <0%> (-100%)
:arrow_down:

... and 453 more

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 fc95274...2ec2347. Read the comment docs.


text:
Update typescript to 3.7

For #8395
Because I cannot wait to use optional chaining.

Codecov Report

Merging #8396 into master will decrease coverage by 0.73%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master    #8396      +/-   ##
==========================================
- Coverage   59.37%   58.63%   -0.74%
==========================================
  Files         509      509
  Lines       23299    22929     -370
  Branches     3763     3758       -5
==========================================
- Hits        13833    13445     -388
- Misses       8567     8576       +9
- Partials      899      908       +9

Impacted Files
Coverage Δ

...preter/locators/services/windowsRegistryService.ts
91.02% <0%> (ø)
:arrow_up:

src/client/datascience/jupyter/notebookStarter.ts
65.65% <100%> (ø)
:arrow_up:

...rpreter/locators/services/baseVirtualEnvService.ts
34.09% <100%> (ø)
:arrow_up:

...nt/datascience/jupyter/invalidNotebookFileError.ts
0% <0%> (-75%)
:arrow_down:

.../client/datascience/jupyter/jupyterConnectError.ts
0% <0%> (-66.67%)
:arrow_down:

...science/jupyter/jupyterKernelPromiseFailedError.ts
0% <0%> (-50%)
:arrow_down:

...ent/datascience/jupyter/jupyterWaitForIdleError.ts
0% <0%> (-50%)
:arrow_down:

...cience/jupyter/jupyterDebuggerNotInstalledError.ts
50% <0%> (-30%)
:arrow_down:

src/client/common/utils/platform.ts
64.7% <0%> (-23.53%)
:arrow_down:

src/client/language/characters.ts
12% <0%> (-21.34%)
:arrow_down:

... and 39 more

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 9db47aa...7c35136. Read the comment docs.

authors: DonJayamanne codecov-io


text:
TS service failed

Issue Type: Bug
TS service failed
VS Code version: Code 1.47.3 (91899dcef7b8110878ea59626991a18c8a6a1b3e, 2020-07-23T13:08:29.692Z)
OS version: Darwin x64 19.5.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-5350U CPU @ 1.80GHz (4 x 1800)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
12, 6, 4

Memory (System)
8.00GB (0.03GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (9)

Extension
Author (truncated)
Version

es7-react-js-snippets
dsz
2.8.2

gitlens
eam
10.2.2

prettier-vscode
esb
5.1.3

beautify
Hoo
1.5.0

sftp
lix
1.12.9

code-spell-checker
str
1.9.0

vscodeintellicode
Vis
1.2.9

vscode-icons
vsc
10.2.0

vscode-import-cost
wix
2.12.0

(1 theme extensions excluded)

/needsMoreInfo

authors: gopal-virtual mjbvz

repo: microsoft/vscode


text:
The drive or UNC share you selected does not exist or is not accessible

VSCode Version:
OS Version:

Steps to Reproduce:
1.After I move the folder which the VSCode installed in it (e.g. I install in D:\VSCde, then move to E:\VSCode). When I launch VSCode. It will show a messagebox with 'The drive or UNC share you selected does not exist or is not accessible...'.
2.After I close the messagebox, it will show again sometimes.
3. And I don't know how to find what cause this

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

Moving the installation folder of VS Code is not supported. You should uninstall and reinstall VS Code in the desired path, instead.

authors: joaomoreno lystormenvoy


text:
Search by file name needs full path

When searching for a file, it's needed to give no path or the full path. But even in the first situation, the file isn't always found.

Expected behavior
When searching on the filename only, have the results start with at least all files with that name. When including part of the path, do a partial match.

VSCode Version: 1.50.1
OS Version: Ubuntu Unity 20.04.1

Steps to Reproduce:
Create a file 'vendor/activeants/magento2-logistics/Model/Servicepoints.php' and search for:

'Servicepoints.php'
'activeants/magento2-logistics/Model/Servicepoints.php'

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

Please check these tips: https://github.com/microsoft/vscode/wiki/Search-Issues#missing-search-results
Is your vendor folder in your .gitignore or an exclude setting?

The vendor folder is included. As you can see in the animation, I do find the file, but only with a full path or only the filename.

When you type the full path, we will match even if the file is excluded, which makes me think that is the issue, so please double-check.

When searching with CTRL+SHIFT+F, I always turn of "Use Exclude Settings and Ignore Files". Have done it in settings now too.

This indeed seems to work. Might be usefull to add the same icon to the file search panel. E.g.:

👍 there is an open issue for that possibility

authors: evs-xsarus roblourens


text:
smoke tests time out

5 tests time out and break the build
commented them out here

@meganrogge you identified @sandy081's commits https://github.com/microsoft/vscode/commit/15616c186929f1095992d49dcc7a753428c4ff61 and https://github.com/microsoft/vscode/commit/3334b1534c9a83a4894d7108903dbfd8eed6110d as likely related, so we can assign him instead of Joao
You can use .skip on the tests instead of commenting them out, this is cleaner and will keep the test name in the output, I changed this in 0829608afbf699107ed25a64178f3b676e89c1fb
We talked offline about how we should try to understand more before disabling the tests. I looked into it a little more and found that I couldn't repro the failures locally, which is odd. I manually checked some of the test scenarios and didn't see any issues, so I think it's fine to leave the tests disabled for the next release and investigate tomorrow.

Oh hold on I think these first failed with https://github.com/microsoft/vscode/commit/7f1d17baca264e8e6b04bba22e3cc29015f40dd6 so you may be on the hook after all @joaomoreno

/duplicate
This is related to https://github.com/microsoft/vscode/issues/116152. Hence making this duplicate.

authors: meganrogge roblourens sandy081


text:
VS Code github keeps showing Uploading files forever

The message keeps saying uploading files "forever". I created a folder with a file inside. On Github, the repository was created successfully but the file is not uploading. And yes I have installed git.

The repository is created but the file is not uploading.

Same problem here.
Clean Windows 10 Install
Clean VSCode Install
Clean Github Install
No other plugins except for Live Server.

authors: AkmKawser alfredogotay


text:
VS Code's maximize button doesn't trigger Snap Layouts in Windows 11

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

VS Code Version: 1.57.1
OS Version: Microsoft Windows [Version 10.0.22000.51]

Steps to Reproduce:

Open VS Code in Windows 11 with above mentioned build.
Hover over the maximize button

Snap Layouts doesn't get triggered because VS Code is using a custom title bar

@deepak1556 if electron adopts the windows controls overlay and I adopt it in the titlebar, we could handle this I think

Depends on https://github.com/electron/electron/pull/29600

Snap layout is working when i switched my title bar type from custom to native in vs code

Any update on this issue now that the upstream electron issue is merged and released circa 13.x.x?

While the upstream branch was merged, the implementation of window-controls-overlay on Windows still has issues. e.g. a persistent bottom border, the icons do not match system icons on Windows 11, and the color is not dynamically settable.

@sbatten The bottom border was reported in electron/electron#31025.
The background color can be changed dynamically  by set titlebarOverlay.color to transparent and put a div underneath it.

The symbol (_□×) color truly can't be changed dynamically, and Electron doesn't correctly draw hover color for transparent buttons now

In VS code on Windows 11 snap layouts
Works normally with - "window.titleBarStyle": "native"
Does not work with   - "window.titleBarStyle": "custom"
Refer to:
https://docs.microsoft.com/en-us/windows/apps/desktop/modernize/apply-snap-layout-menu

@401-Unauthorized This worked on my setup.

@401-Unauthorized thanks! it works.

Also, if you still prefer to use the custom title bar style, you can also use Win + Z to open the Snap Layouts

Yes, I was going to create this issue, eventually I find it here while searching is created already.

Yes, I was going to create this issue, eventually I find it here while searching for duplicate

save me


text:
VS Code stopped auto completing on Update 1.60.1. -> Javascript React

I'm using a Mac and for the past year have been able to get auto complete to work flawlessly on all updates. On this new update, suddenly auto complete using Javascript React no longer works. It works though when I revert back to 1.59.1 which was the previous July update.
At the moment I'm confused on what to change. Maybe an update plays with the auto complete.
On the newer update, I have checked my settings and they are identical to my old settings. I even changed auto complete to 'always' and still nothing works. This new version whatever happened has disabled auto complete for javascript react for me and possibly others.

/needsMoreInfo
Is it reproducible with all extensions disabled?
You can try this with F1 and >Developer: Reload Window With Extensions Disabled
What exactly you mean under autocomplete? Suggesting components from other files or just adding closing tags when you type >?

Hi,
I have disabled extensions. Sorry what I meant was not auto complete but more so does not provide the closing tags. I'm using Javascript and Javascript React and neither of them provides closing tags anymore. They still give suggestions as to what I should type.

/duplicate of https://github.com/microsoft/TypeScript/issues/45802
You can try this extension to get TS version with the fix until it's released https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-next

authors: IllusionMH bearsworth


text:
The Number replacements its wrong.

Issue Type: Bug
The Number replacements its wrong.
When a code segment is selected to replace it, the number of matches is erroneous and variable.
VS Code version: Code 1.60.2 (7f6ab5485bbc008386c4386d08766667e155244e, 2021-09-22T12:00:31.514Z)
OS version: Windows_NT x64 6.1.7601
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz (2 x 3000)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: disabled_offoop_rasterization: unavailable_offopengl: enabled_onrasterization: unavailable_offskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
4.00GB (1.13GB free)

Process Argv
--crash-reporter-id 24c5780d-ee2b-45a7-9538-778eef879c00

Screen Reader
no

VM
0%

Extensions (20)

Extension
Author (truncated)
Version

html-snippets
abu
0.2.1

phpserver
bra
3.0.2

vscode-html-css
ecm
1.10.2

php-debug
fel
1.19.0

php-intellisense
fel
2.3.14

php-pack
fel
1.0.2

HTMLHint
mka
0.10.0

vscode-language-pack-es
MS-
1.60.4

notepadplusplus-keybindings
ms-
1.0.7

debugger-for-chrome
msj
4.13.0

java
red
0.82.0

php-debug
rob
1.14.0

php-debug
tia
0.1.6

vscodeintellicode
Vis
1.2.14

vscode-java-debug
vsc
0.36.0

vscode-java-dependency
vsc
0.18.8

vscode-java-pack
vsc
0.18.5

vscode-java-test
vsc
0.32.0

vscode-maven
vsc
0.34.0

html-css-class-completion
Zig
1.20.0

/needsMoreInfo
Could you please provide short example of content, search query (and settings case, boundries etc.) to reproduce problem and expected result.

authors: IllusionMH lfrasae


text:
Cannot save a new file under a filename if another file exists whose filename starts with the intended new name

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

VS Code Version: 1.62.2
OS Version: Windows 10, Remote SSH to OpenSUSE Leap 15.2

Steps to Reproduce:

touch bug.txt
code -r bug.txt
Ctrl-Shift-S (File: Save As ...)
Now try to save this file under the name bug next to bug.txt.
VS Code will try (at least) to overwrite bug.txt:

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


text:
space and ctrl + space key not honouring editor.quickSuggestions and editor.quickSuggestionsDelay settings

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

VS Code Version:1.51.1
OS Version:Windows 10 Pro

To support intellisense/suggestion in our VSCode extension, I have implemented vscode.CompletionItemProvider interface and call to provideCompletionItems() returns the list of vscode.CompletionList.
If I type any charcter say - 'e' then I get a call  to provideCompletionItems method with the delay as specified in editor.quickSuggestionsDelay
But on pressing space and ctrl +space, i get call to provideCompletionItems immediately basically these keys are not honouring editor.quickSuggestionsDelay setting.
Also on pressing space and ctrl + space ,  I get call to provideCompletionItem even if editor.quickSuggestions set to false.
Please let me know what i need to do so that pressing space and ctrl + space key also honour these settings.
Pleas note, i have specified space as my trigger character because if i do not specify that as trigger chacter then provideCompletionItems does not get called for space key.
Thanks & Regards,
Ajay Gera

The editor.quickSuggestions setting in only honored for "completions as you type". Manually invoking completions, with Ctrl+Space, or trigger-character based completions aren't delayed and directly dispatched.

Is it possible to to invoke provideCompletionItems() for space key  without specifying that as trigger character?

Another question-  how to identify or specify ctrl +space as trigger character ?
Basically I need to know that  user has specified ctrl + space key

Is it possible to to invoke provideCompletionItems() for space key without specifying that as trigger character?

No, that's not possible.

Basically I need to know that user has specified ctrl + space key

There is now way to know that and there is also different ways how completions are requested. A context object is being passed to the provide-function and that has some data about the invocation.

VS Code Version:1.51.1

FYI - that version of VS Code is s u p e r old and should update to latest (1.62.x).

authors: ajaygera jrieken


text:
i lost my .html file

Issue Type: Bug
i lost my .html file, can i get it back.
VS Code version: Code 1.63.2 (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:40:02.816Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i3-5005U CPU @ 2.00GHz (4 x 1995)

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)
7.92GB (4.06GB free)

Process Argv
--crash-reporter-id dc1f6cc2-bd99-4e9a-983c-35b94f0768cf

Screen Reader
no

VM
0%

Extensions (22)

Extension
Author (truncated)
Version

vscode-intelephense-client
bme
1.8.0

doxdocgen
csc
1.3.2

code-runner
for
0.11.6

vscode-pull-request-github
Git
0.34.2

better-cpp-syntax
jef
1.15.10

python
ms-
2021.12.1559732655

vscode-pylance
ms-
2021.12.2

jupyter
ms-
2021.11.1001550889

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.4

remote-containers
ms-
0.209.6

remote-ssh
ms-
0.70.0

remote-ssh-edit
ms-
0.70.0

remote-wsl
ms-
0.63.13

cmake-tools
ms-
1.9.2

cpptools
ms-
1.7.1

cpptools-extension-pack
ms-
1.1.0

vsliveshare
ms-
1.0.5200

vsliveshare-audio
ms-
0.1.91

LiveServer
rit
5.6.1

sass-indented
syl
1.8.18

cmake
twx
0.0.17

(2 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
vscop804:30404766
vs360cf:30404996
vsrem710:30416614
vscexrecpromp3c:30407761

You have to give more information on how you lost it.
If you deleted it, you can use undo in VS Code to undo the delete. If its too late for that: Deleted files typically go in the recycle bin.


text:
Emacs usage is Broken

Issue Type: Bug
See  #142754, using reporting tool to gather environment details.
VS Code version: Code 1.64.2 (f80445acd5a3dadef24aa209168452a3d97cc326, 2022-02-09T22:02:29.527Z)
OS version: Linux x64 5.13.0-28-generic snap
Restricted Mode: No

System Info

Item
Value

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

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
1, 1, 2

Memory (System)
30.78GB (7.09GB free)

Process Argv
--no-sandbox --force-user-env --unity-launch --crash-reporter-id dd44f64f-61ef-4c79-9c0a-8288003c84d8

Screen Reader
no

VM
0%

DESKTOP_SESSION
ubuntu

XDG_CURRENT_DESKTOP
Unity

XDG_SESSION_DESKTOP
ubuntu

XDG_SESSION_TYPE
x11

Extensions (55)

Extension
Author (truncated)
Version

project-manager
ale
12.5.0

ng-template
Ang
13.2.3

better-toml
bun
0.3.2

solargraph
cas
0.23.0

coddx-alpha
cod
0.3.1

gitignore
cod
0.7.0

yaml-key-viewer
cyb
0.2.2

vscode-eslint
dba
2.2.2

git-extension-pack
don
0.1.3

githistory
don
0.6.19

gitlens
eam
11.7.0

vscode-html-css
ecm
1.11.0

EditorConfig
Edi
0.16.4

graphviz-preview
EFa
1.5.0

vsc-material-theme
Equ
33.2.0

vsc-material-theme-icons
equ
1.2.2

prettier-vscode
esb
9.2.0

php-intellisense
fel
2.3.14

vscode-jest-runner
fir
0.4.47

vscode-npm
fkn
3.3.0

auto-close-tag
for
0.5.14

terminal
for
0.0.10

shell-format
fox
7.2.2

sass-lint
gle
1.0.7

todo-tree
Gru
0.0.215

terraform
has
2.19.0

rest-client
hum
0.24.6

latex-workshop
Jam
8.23.0

vscode-codeowners
jas
1.1.1

docthis
joe
0.7.1

Angular2
joh
12.0.0

json-escaper
jos
1.1.2

vscode-insertdatestring
jsy
2.3.1

auto-comment-blocks
kev
1.0.1

dotenv
mik
1.0.1

mlxprs
mlx
3.5.1

vscode-json5
mrm
1.0.0

vscode-docker
ms-
1.19.0

remote-containers
ms-
0.217.4

atom-keybindings
ms-
3.0.9

azure-account
ms-
0.9.11

powershell
ms-
2021.12.0

angular-console
nrw
17.14.1

vscode-jscpd
pau
0.3.4

material-icon-theme
PKi
4.13.0

ruby
reb
0.28.1

vscode-yaml
red
1.4.0

code-settings-sync
Sha
3.4.3

guides
spy
0.9.3

dot
Ste
0.0.1

move-ts
str
1.12.0

vscode-ruby
win
0.28.0

php-debug
xde
1.23.0

material-theme
zhu
3.13.19

vscode-open-in-github
ziy
1.3.6

(3 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
pythonvspyl392:30425749
pythontb:30283811
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30433059
pythonvs932:30410667
wslgetstarted:30433507
vsclayoutctrc:30437038
vsrem710:30416614
vsbas813:30436447
vscscmwlcmc:30436992

Closing as this is connected to noted bug above and was necessary to gather the environment details.


text:
Commandline hangs in wsl on Windows 11

Issue Type: Bug

Install Windows 11
Install VS Code
Install Windows Terminal
Run the following from an elevated command prompt

wsl --install
wsl --install -d Ubuntu

Launch Windows Terminal
Open Ubuntu tab and run the following command

code .

Leave VS Code running and Alt-Tab back to Ubuntu tab

Expected:
new prompt to enter additional shell commands
Actual:
shell hung waiting for VS Code to close (like using -w)
Additional Info:
Works as expected from Powershell and Command Prompt tabs in Windows Terminal.
Only repos when VS Code is not already running. For example, if you launch VS Code from Command Prompt, then launch from Ubuntu a second VS Code window will open and Ubuntu shell will work as expected. If you close all VS Code windows and then try to launch again from Ubuntu, the shell will hang like before.
VS Code version: Code 1.66.2 (dfd34e8260c270da74b5c2d86d61aee4b6d56977, 2022-04-11T07:46:01.075Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9850H CPU @ 2.60GHz (12 x 2592)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.79GB (22.40GB free)

Process Argv
. --crash-reporter-id a86fcb05-a404-4742-9c64-16acbfac16b1

Screen Reader
no

VM
0%

Extensions: none
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30443607
pythontb:30283811
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
pythonvsnew555:30457759
vscscmwlcmt:30465135
cppdebug:30475216

Installing the following extension fixed this issue and many more.
Name: Remote - WSL
Id: ms-vscode-remote.remote-wsl
Description: Open any folder in the Windows Subsystem for Linux (WSL) and take advantage of Visual Studio Code's full feature set.
Version: 0.66.2
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-wsl

yes you need that extension to have a good experience with wsl

authors: meganrogge seank-com


text:
Proposition: Separate plugins list in sidebar by tiny horizontal line

Issue Type: Feature Request
Separate plugins list in bar by tiny horizontal line
VS Code version: Code 1.68.0 (4af164ea3a06f701fe3e89a2bcbb421d2026b68f, 2022-06-08T11:44:16.822Z)

/duplicate
https://github.com/microsoft/vscode/issues/151599

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

authors: VSCodeTriageBot psnet sandy081


text:
wrap selection in parentheses\quotations in search\debug watch

type word in search field, for example import -> select word with mouse -> type "
the current behavior is that the word import will be replaced by " resulting "  in the search field
requested behavior is that the word will be wrapped by the " resulting "import" in the search field
likewise with ( --> (import) and other parentheses or other quotation marks
this is the same behavior I have for the editor window (at least for python).

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

authors: VSCodeTriageBot jadeidev


text:
Strange right-click menu on files in Explorer after closing them

Type: Bug
Steps to reproduce:

Open a new folder with VS Code (with at least one file in it).
Click to open the file in the Explorer.
Close the opened tab.
Right click on the file again in the Explorer.

Expected behavior: A "normal" menu appears, such as:

Actual behavior: The menu below appears.

In addition, clicking on the "Download" option would actually pop out a dialog to download the file, even though the file is local.
VS Code version: Code 1.70.1 (6d9b74a70ca9c7733b29f0456fd8195364076dda, 2022-08-10T06:08:33.642Z)
OS version: Windows_NT x64 10.0.19042
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz (4 x 1600)

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: enabled

Load (avg)
undefined

Memory (System)
3.90GB (0.78GB free)

Process Argv
C:\Users\Gareth\Desktop\test --crash-reporter-id 0ca47609-b826-438d-be24-b5589e9edec2

Screen Reader
no

VM
0%

Please use the Start Extension Bisect command to investigate whether the problem is being caused by one of your extensions.

I am able to reproduce the issue with all extensions disabled (using "Reload With Extensions Disabled").

I cannot reproduce, but @bpasero my guess is that the web or remote context key are reporting incorrectly here.

I cannot reproduce so I suspect this is maybe a setup or configuration issue.

Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/

I cannot reproduce with the latest Insider build...
VS Code version: Code - Insiders 1.71.0-insider (1a582f7c079d1eb4c89d4f637da2fc2fcb688b31, 2022-08-15T05:17:18.259Z)
OS version: Windows_NT x64 10.0.19042
Modes:
Sandboxed: Yes

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz (4 x 1600)

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)
3.90GB (0.82GB free)

Process Argv
--crash-reporter-id adc3af8c-0978-48bc-aa94-fbd604e9e143

Screen Reader
no

VM
0%

Extensions: none

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30422396
pythontb:30258533
vsc_aacf:30263846
pythonvspyt551:30291412
pythonptprofiler:30281269
vsdfh931cf:30280410
vshan820:30294714
pythondataviewer:30285072
vscod805cf:30301675
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30404738
wslgetstarted:30449409
cppdebug:30492333
pylanb8912:30522163
vsclangdf:30492506
c4g48928:30535728
dsvsc012cf:30540253

authors: bpasero gjsjohnmurray lramos15 studyingegret


text:
Add option to disable new minimize/maximize/restore/close buttons due to bug with custom dialogs

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

VS Code Version: 1.71.0
OS Version: Windows 11

Steps to Reproduce:

Enable custom dialogs ("window.dialogStyle": "custom")
Create a new file
Try to close it

Please try "window.experimental.windowControlsOverlay.enabled": false (requires VS Code restart)

Works, thanks! Is it expected to be like this or as a temporary setting?

@ihor-oleks is this the bug to which you refer? https://github.com/microsoft/vscode/issues/159671

authors: gjsjohnmurray ihor-oleks sbatten


text:
Ctrl+Click is pointing to site-package but debug steps into correct path

Type: Bug

I am having a python monorepo and the folder structure looks like below,
root
   |__ lib1
           |__ pyproject.toml
           |__ src
                   |__ lib1.py
   |__ lib2
           |__ pyproject.toml
           |__ src
                   |__ test.py

In my test.py, I have a code like below,
a = lib1.test_func()

and my launch.json is like below,
"configurations": [
        {
            "name": "Debug Unit test",
            "type": "python",
            "request": "launch",
            "justMyCode": true,
            "purpose": [
                "debug-test"
            ],
            "env": {
                "PYTHONPATH": "../lib1"
            }
        }
    ]

Expected vs. Actual
Expected: Ctrl+Click on test_func() should take to Lib1/lib1.py
Actual: Ctrl+Click on test_func() takes to C:/user/.../Lib/site-packages/Lib1/lib1.py
Steps to reproduce:

Have the setup as shown above
Run Debug once using Test explorer (pytest)
Step into test_func() (Notice that it goes to the source location)
Complete or terminate debugger
Ctrl+Click test_func() (Notice that it goes to the site-package)

Diagnostic data

Python version (& distribution if applicable, e.g. Anaconda): 3.8.5
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Venv
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)

User Settings

Multiroot scenario, following user settings may not apply:

languageServer: "Pylance"

linting
• flake8Enabled: true
• mypyEnabled: true

formatting
• provider: "black"

testing
• pytestArgs: "<placeholder>"
• pytestEnabled: true

VS Code version: Code 1.71.0 (784b0177c56c607789f9638da7b6bf3230d47a8c, 2022-09-01T07:36:10.600Z)
OS version: Windows_NT x64 10.0.19042
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-10850H CPU @ 2.70GHz (12 x 2712)

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.64GB (12.06GB free)

Process Argv
--crash-reporter-id fb239752-862b-4353-87bd-a2537cc1c657

Screen Reader
no

VM
0%

Extensions (11)

Extension
Author (truncated)
Version

markdown-mermaid
bie
1.15.2

python
ms-
2022.14.0

vscode-pylance
ms-
2022.9.10

jupyter
ms-
2022.8.1002431955

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.9

cpptools
ms-
1.12.4

test-adapter-converter
ms-
0.1.6

rust-analyzer
rus
0.3.1203

vscode-lldb
vad
1.7.4

debug
web
0.26.0

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes516:30244333
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411cf:30557515
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vscaat:30438848
pylanb8912:30545647
vsclangdf:30486550
c4g48928:30535728
hb751961:30553087
dsvsc012:30540252
azure-dev_surveyone:30548225
2144e591:30553903
vscccc:30566498

Please close this issue. I have wrongly created it here


text:
Delay in textDocument/didOpen

Type: Bug
2022-09-20 17:19:56.996 -04:00 [DBG] Starting: Processing notification textDocument/didOpen
2022-09-20 17:19:56.996 -04:00 [DBG] Starting: Processing notification textDocument/didOpen
2022-09-20 17:19:56.996 -04:00 [DBG] Starting: Routing Notification textDocument/didOpen
2022-09-20 17:19:56.996 -04:00 [DBG] Starting: Routing Notification textDocument/didOpen
2022-09-20 17:19:56.996 -04:00 [VRB] Converting params for Notification textDocument/didOpen to OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams
2022-09-20 17:19:56.997 -04:00 [VRB] Converting params for Notification textDocument/didOpen to OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams
2022-09-20 17:24:57.011 -04:00 [VRB] Notification was cancelled due to timeout
2022-09-20 17:24:57.011 -04:00 [VRB] Notification was cancelled due to timeout
So basically, after a recent VS Code Update, it tries to convert the params and waits 5 minutes then finally cancels.  What the user sees is the extension loading and then it sits there for 5 minutes.  After the initial delay everything works as expected
VS Code version: Code - Insiders 1.72.0-insider (0dce868b85978716d4fc7bc48b6a6a54c6a39fd0, 2022-09-09T05:17:41.485Z)
OS version: Windows_NT x64 10.0.22000
Modes:
Sandboxed: Yes

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9900X CPU @ 3.50GHz (20 x 3504)

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)
127.71GB (68.35GB free)

Process Argv
--crash-reporter-id 12cb6401-d44d-49aa-8b89-b8e70fef5929

Screen Reader
no

VM
0%

Extensions (6)

Extension
Author (truncated)
Version

vscode-eslint
dba
2.2.6

prettier-vscode
esb
9.8.0

vscode-dotnet-runtime
ms-
1.5.0

powershell
ms-
2022.8.5

powershell-preview
ms-
2022.8.5

docindex
Tea
0.0.44

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256198
vslsvsres303:30308271
pythonvspyl392:30422396
pythontb:30258533
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805:30301674
bridge0708:30335490
bridge0723:30353136
cmake_vspar411cf:30557515
vsaa593cf:30376535
pythonvs932:30404738
cppdebug:30492333
vscaac:30438845
vsclangdf:30492506
c4g48928:30535728
dsvsc012cf:30540253
pylantcb52:30568093
vscccc:30564267
pyindex848:30568094

OmniSharp has not updated their library today, and in normal VS Code the issue is resolved after the first delay and in insiders the issue is still there after the first delay.
This is what the conversation usually looks like with the server
2022-09-20 17:47:58.461 -04:00 [DBG] Starting: Processing notification textDocument/didOpen
2022-09-20 17:47:58.461 -04:00 [DBG] Starting: Processing notification textDocument/didOpen
2022-09-20 17:47:58.461 -04:00 [DBG] Starting: Routing Notification textDocument/didOpen
2022-09-20 17:47:58.461 -04:00 [DBG] Starting: Routing Notification textDocument/didOpen
2022-09-20 17:47:58.461 -04:00 [VRB] Converting params for Notification textDocument/didOpen to OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams
2022-09-20 17:47:58.461 -04:00 [VRB] Converting params for Notification textDocument/didOpen to OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams
2022-09-20 17:47:58.473 -04:00 [DBG] Finding descriptors for textDocument/codeAction
2022-09-20 17:47:58.473 -04:00 [DBG] Finding descriptors for textDocument/codeAction
2022-09-20 17:47:58.474 -04:00 [VRB] Found attributes 1, ["markdown::file:///d:/PullRequest%20Repos/MicrosoftDocs/azure-docs-pr/articles/data-factory/concepts-data-flow-column-pattern.md"]
2022-09-20 17:47:58.474 -04:00 [VRB] Found attributes 1, ["markdown::file:///d:/PullRequest%20Repos/MicrosoftDocs/azure-docs-pr/articles/data-factory/concepts-data-flow-column-pattern.md"]
2022-09-20 17:47:58.474 -04:00 [VRB] Looking for handler for descriptors textDocument/codeAction
2022-09-20 17:47:58.474 -04:00 [VRB] Looking for handler for descriptors textDocument/codeAction
2022-09-20 17:47:58.474 -04:00 [VRB] Checking handler textDocument/codeAction:DocIndex.VsCode.Server.CodeActionHandler
2022-09-20 17:47:58.474 -04:00 [VRB] Checking handler textDocument/codeAction:DocIndex.VsCode.Server.CodeActionHandler
2022-09-20 17:47:58.474 -04:00 [VRB] Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeActionRegistrationOptions
2022-09-20 17:47:58.474 -04:00 [VRB] Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeActionRegistrationOptions
2022-09-20 17:47:58.474 -04:00 [VRB] Document Selector [/*.md], [/.yml]
2022-09-20 17:47:58.474 -04:00 [VRB] Document Selector [**/.md], [**/*.yml]
2022-09-20 17:47:58.474 -04:00 [DBG] Finished: Routing Notification textDocument/didOpen in 12ms
2022-09-20 17:47:58.474 -04:00 [DBG] Finished: Routing Notification textDocument/didOpen in 12ms
2022-09-20 17:47:58.474 -04:00 [DBG] Finished: Processing notification textDocument/didOpen in 12ms
2022-09-20 17:47:58.474 -04:00 [DBG] Finished: Processing notification textDocument/didOpen in 12ms
So most likely something changed in the payload of the textDocument/didOpen possibly?

I should mention as well that the only recent change to my code base did not cause this issue as it was working fine for me and a colleague until we both got a vs code update, then the issue started.

Sorry for the wide dispersal.  With the upcoming merger (?), there are so many places this could live.
https://github.com/OmniSharp/csharp-language-server-protocol/issues/887
https://github.com/OmniSharp/omnisharp-vscode/issues/5380
I'm on EST, and will be slow to respond for the next few hours.
Thanks

@bobbytreed I tested this VS Code 1.72 and the LSP libs and their is no delay with textDocument/didOpen messages. See screen cast.

I would recommend to start the discussion with omnisharp and see what the result is.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

authors: VSCodeTriageBot bobbytreed dbaeumer


text:
Orphaned model state is lost after reload with backups in some cases

Testing #161487
When I delete a file from disk, I can see in VSCode that the file has been deleted.

But when i restart VSCode, the file no longer appears as deleted.

We actually do store the fact that the file was deleted on disk as part of the backup:
https://github.com/microsoft/vscode/blob/96dda01dafdf4badf360d8dcc3c7eaf448fae7f9/src/vs/workbench/services/textfile/common/textFileEditorModel.ts#L218
So things will work fine if you:

open a file
make edits
delete the file outside of VSCode
make more edits
quit and restart

Here however I assume first some edits are made and then the file is deleted and then quit and restart. Since no further edits were made, we do not make another backup.
Will see if a fix is possible but may also decide to leave it as is. There is no functionality loss or data loss here, just the decoration is missing.

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!

authors: VSCodeTriageBot bpasero paulacamargo25