About using MS-VS code with TXT4.0 SD-card
Verfasst: 03 Feb 2022, 00:12
MS-Visual Studio Code works fine with the TXT4.0 and Python.
However the the extension, which are needed, are asking a lot of storage space.
Moving the .vscode-server to a SD-card could solve disk full problems.
It is also possible to allocate the MS-Visual Studio Code on the SD-card.
Use Putty for the remote command box.
See also the article about this subject.
• Navigate to a desired project space directory from remote desktop terminal
• Move vscode-server to this area
• Create symlink of .vscode-server in your home directory. Use absolute paths in this command to avoid cyclic links.
• Confirm no cyclic links with below command, it should not return anything.
• Reconnect from your MS-VS Code again.
After the first start of MS-VSC: /opt/ft/.vscode-server
Target SD-card: /opt/ft/workspaces/ext_sd/mmcblk1p1/ (after starting the TXT with a SD-card mounted. Verify with for example FIleZilla.
However the the extension, which are needed, are asking a lot of storage space.
Moving the .vscode-server to a SD-card could solve disk full problems.
It is also possible to allocate the MS-Visual Studio Code on the SD-card.
Use Putty for the remote command box.
See also the article about this subject.
• Navigate to a desired project space directory from remote desktop terminal
Code: Alles auswählen
cd /opt/ft/workspaces/ext_sd/mmcblk1p1/
Code: Alles auswählen
mv /opt/ft/.vscode-server/ /opt/ft/workspaces/ext_sd/mmcblk1p1/
Code: Alles auswählen
ln -s /opt/ft/workspaces/ext_sd/mmcblk1p1/.vscode-server /opt/ft/.vscode-server
Code: Alles auswählen
find -L ./ -mindepth 15
After the first start of MS-VSC: /opt/ft/.vscode-server
Target SD-card: /opt/ft/workspaces/ext_sd/mmcblk1p1/ (after starting the TXT with a SD-card mounted. Verify with for example FIleZilla.