MicrosoftのVisual Studio CodeがMarch 2021で、Raspberry Piを正式にサポートすることになりました。
Visual Studio Codeのインストール
以下の手順でインストールします。
$ sudo apt install -y code
Visual Studio Codeの画面
Raspberry Piのメニューの「プログラミング」に「Visual Studio Code」のアイコンが追加されますから、そのアイコンをクリックして実行します
![](https://tkyonezu.com/wp-content/uploads/2021/04/20210403-VisualStudioCode-1-1024x667.png)
起動直後の画面は次のようになっています。
![](https://tkyonezu.com/wp-content/uploads/2021/04/20210403-VisualStudioCode-2-1024x667.png)
試しにC++のソースを開いている画面です。
![](https://tkyonezu.com/wp-content/uploads/2021/04/20210403-VisualStudioCode-3-1024x653.png)