The Visual Code remote SSH extension allows editing any remote file in the embedded terminal just using code <filename>
which is super useful.
However when opening a file with sudo e.g. sudo code /etc/fstabs
it returns
sudo: code: command not found
Is there any way to allow the use of code
to any user?