John Davidson

php - VS Code - Unable to open file

0 comments
Message:


I created a new file, this file exist in the folder structure, but when I try to open it I get this Unable to Open and create File message?



If I cancel the message and it says "Editor could not opened because the file was not found"



If I try to create a file using the message box link it gives me below error saying overwrite flag is not set



But I dont get this error if I create it in the root, only when creating in includes/classes which was created after cloning the project from git.


could this be a issue with git permissions?



My Answer:
It is possible that the issue is related to file permissions or the way the file was created in the includes/classes folder after cloning the project from git.

You can try checking the file permissions in the includes/classes folder to ensure that you have the necessary permissions to open and edit the file.

Additionally, you can try creating a new file in the includes/classes folder and see if you encounter the same issue. If you do not encounter the issue with the new file, it may be related to the specific file that you are trying to open.

If the issue persists, you may want to try restarting VS Code or your computer to see if that resolves the issue.

If none of these solutions work, you may want to reach out to your team or project manager for further assistance, as it could potentially be related to git permissions or other project-specific configurations.

Rate this post

5 of 5 based on 7052 votes

Comments




© 2024 Hayatsk.info - Personal Blogs Platform. All Rights Reserved.
Create blog  |  Privacy Policy  |  Terms & Conditions  |  Contact Us