I’m using VScode to develop a Django web application on the next environment:
• OS and Version: Windows 10
• VS Code Version: 1.52.2
• Python Extension Version: v2021.5.842923320
• Remote – SSH Version: v0.65.4
From my Windows laptop, I work on an Ubuntu 20.04 VM using the Remote – SSH plugin, So I have configured a python3.9 virtual environment with Django3.2 and others python packages. Also, I have pylint installed and all works as expected.
The issue arises when I mount a folder inside the application media folder (inside the workspace) from another station through sshfs. What happens is that autocomplete stops working and when y press Clr+Space I just get a loading message.
Note that this folder that I mount through sshfs is very big more than 1 TB with many files including python scripts and also I note that even when I close the VScode I cannot unmount this folder because the fusermount said that the folder is used by some process (I guess is the VScode process inside the VM). After all, if I don’t open the VScode I'm able to mount and unmount this folder without a problem.
I have also excluded this media folder using the "files.exclude" and "files.watcherExclude" but the issue persists.
There is someone who has had this issue before or some similar problem. I would appreciate any suggestions.
[Update]
Even using files.exclude
, serach.exclude
or not, the Intellisence works fine for a while if I mount the folder after open VScode. But if I close and reopen the Vscode the intellisence stops work. The same issue if I mount the folder before open the VScode.
[Update2] Python language sever OUTPUT panel
Best Regards.