$ nano /usr/bin/code
// if you are watching this video in 2022 you can use
chown -R $USER:$USER /opt/lampp/htdocs
/opt/lampp/htdocs = this is your folder location. this is maybe different in your case
subscribe you more problem-solving video