アプリ開発備忘録

PlayStationMobile、Android、UWPの開発備忘録

WSLでVS Codeを入れると

ダウンロードはこちらから。

https://code.visualstudio.com/docs/setup/linux

wget https://update.code.visualstudio.com/latest/linux-deb-x64/stable
mv stable stable.deb
sudo apt install ./stable.deb

どっちが起動する?

通常、codeと入力するとWindowsVS Codeが起動しますが、LinuxのCodeを入れるとWindowsの使いたいならLinuxのをアンインストールしな的なことを言われます。

To use VS Code with the Windows Subsystem for Linux, please install VS Code in Windows and uninstall the Linux version in WSL. You can then use the 'Visual Studio Code' command in a WSL terminal just as you would in a normal command prompt.
Do you want to continue anyways ? [y/N]

特に自作のcodeコマンドを作成しても何も起きなかったので、VS Codeの方に何か仕込まれてるっぽい?

export PATH=$PATH:~/bin/code