ferrous-systems / embedded-trainings-2020

Apache License 2.0
247 stars 45 forks source link

Please include Visual Studio Code Linux Setup steps directly in the workbook #96

Open omac777 opened 4 years ago

omac777 commented 4 years ago

Please include within: https://embedded-trainings.ferrous-systems.com/installation.html

The following Visual Studio Code Linux Setup steps: For debian stable/unstable:

curl 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 signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
sudo apt-get update
sudo apt-get install code
omac777 commented 4 years ago

Also to further save time for others, the rust analyzer can be installed at the same time within the documentation:

  1. Rust Analyzer is an alternative rust language server to the RLS
  2. Launch VS Code
  3. Quick Open (Ctrl+P)
ext install matklad.rust-analyzer