Cách cài extension trên máy(server) bị chặn kết nối internet:
B1:
- Cài extension trên chrome: https://chromewebstore.google.com/detail/visual-studio-marketplace/pfnjpnflbdpmbpnifkdheagiilnhccgh
B2:
- Vào market trên vscode: https://marketplace.visualstudio.com/
- Tìm kiếm cái extension nào cần mà chưa có file
vsix
B3:
- Có nút
Dowload VSIX - Tải nó xuống, mặc định khi tải xuống thì nó sẽ là file
.zip - Đổi tên nó thành file
.vsix
B4:
- Vào máy cần cài, truy cập vscode sau đó cài extension từ file
vsix - Chọn file đó
Source: https://stackoverflow.com/questions/79359919/how-can-i-download-vsix-files-now-that-the-visual-studio-code-marketplace-no-lo?utm_source=chatgpt.com
Vấn đề là khi ssh vào thì bị chặn do Vscode Server ko cài được –> cài VScode Server trên máy Server(chưa thử hehe)