Post

If you are struck to open your /var/www/html/ files in vs code and these files are not editable. You can open the folder as a sudo cmd.

Go to the directory /var/www/html/web_folder and open terminal there and hit the below command.

sudo code . --no-sandbox --user-data-dir /home/shyam/Development/PHP/mcqbuddy/

By this way you will be able to edit your files in vs code.

Thanks and share your experience with others as well.

Login to discuss.

Groups

49 Members joined | Created By: Mohini Yadav
3 Members joined | Created By: Manisha Agrawal
51 Members joined | Created By: Kanak Sharma
51 Members joined | Created By: Manisha Agrawal
43 Members joined | Created By: Mohini Yadav
49 Members joined | Created By: Chandan Das

You need an account to perform this action. If you have account click Login or Create an Account.


Create an account | Already have account? Login