how to open vscode as super user by default ubuntu 18.04 code example
Example 1: how to run vscode as root
sudo code --user-data-dir="~/.vscode-root"
Example 2: open vscode in terminal sudo
sudo code --user-data-dir="~/.vscode-root"
sudo code --user-data-dir="~/.vscode-root"
sudo code --user-data-dir="~/.vscode-root"