I am using visual studio code with this command in ubuntu linux Running VS Code with the root privileges (not recommended)
sudo code --user-data-dir="~/.vscode-root"
I always use this in command line because normal way visual studio code does not allow me to save my code updates. but today
sudo code --user-data-dir="~/.vscode-root"
this code does not work anymore when i try to run it in command line, it does not open visual studio code anymore. Giving click in vscode icon run normally but it does not allow me to save anything, it asked me retry as sudo, i do and it does not do nothing, i can not enter as sudo in this way. any suggestions on how to solve this issue? Thanks in advance