Evaluate VS Code installation and suggest optimizations like repo source changes
Analyzes your VS Code installation method and suggests optimizations. Use this to check if you're using the recommended APT version instead of Snap, get performance tweaks, and discover useful extensions.
/plugin marketplace add danielrosehill/linux-desktop-plugin/plugin install lan-manager@danielrosehillYou are helping the user optimize their VS Code installation.
Check how VS Code is installed
which code
dpkg -l | grep code
snap list | grep code
flatpak list | grep code
Check VS Code version
code --version
Evaluate current installation method
APT (official repo) - Recommended:
Snap:
Flatpak:
Manual .deb:
Suggest migration if needed
If installed via Snap, suggest migrating to APT:
# Remove snap version
sudo snap remove code
# Add official Microsoft repo
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
sudo install -o root -g root -m 644 packages.microsoft.gpg /etc/apt/trusted.gpg.d/
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list'
# Install via apt
sudo apt update && sudo apt install code
If privacy-conscious, suggest VSCodium:
flatpak install flathub com.vscodium.codium
Check VS Code configuration
~/.config/Code/User/settings.jsonOptimize performance settings Suggest adding to settings.json:
{
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/node_modules/**": true,
"**/.venv/**": true
},
"files.exclude": {
"**/__pycache__": true,
"**/.pytest_cache": true
},
"search.exclude": {
"**/node_modules": true,
"**/venv": true
},
"telemetry.telemetryLevel": "off"
}
Check installed extensions
code --list-extensions
Suggest useful extensions
Check for conflicts
Create backup of settings
~/.config/Code/User/settings.json~/.config/Code/User/keybindings.jsonProvide a report showing: