Description
code-server
version: 2.1698-vsc1.41.1- OS Version: Ubuntu 18.04
- Extension: vscode-python(2020.1.58038)
Description
If the code server is opened without providing a folder
via URL parameter, everything is working fine. However, in case the folder
parameter is used and the file is opened via the Explorer, the python extension doesn't seem to be able to fully interact with the (python-) file (underlines are missing, formatter is not working...):
However, if the file is opened via File -> Open
, a new tab is created and everything is working fine:
Based on the tab labels, it seems like that opening files via File -> Open
is using absolute paths while the explorer uses a relative path (which is causing problems with the python extension). This problem does not happen with the older code-server versions (e.g. 2.1692-vsc1.39.2). I also looked into the logs, but wasn't able to find anything suspicious.
To summarize:
- Older code-server version -> working
- Opening code-server without
folder
parameter -> working - Opening code-server with
folder
parameter:- Open python file with
File -> Open
-> working - Open python file from explorer -> not working
- Open python file with