Register paths to files in code, for example

<link rel="icon" href="icon.png"/> 

Highlight icon, and write cannot resolve file "icon.png"

Also after such code

 require_once 'filename.php'; 

he writes path 'filename.php'not found

Both files exist, everything is edited, saved, displayed on the domain without errors, but highlights the error during editing, and because of this, the Go To function is completely inaccessible, and visually the attention goes to non-existent errors, already tired.

How to fix it? Interests on ftp, not on LAN.

  • What means on ftp? those. you with ftp pull out one file, stuff it into the editor and wonder why it gives you errors there? - Manitikyl
  • From the storm I edit the whole project on ftp entirely. Well, that it was easier for you, the folders are there, the files are different. And when I refer to the file in the code, which also lies in the project, the storm tells me that it does not see it. Although the code runs, and the files he actually sees. - inDee

1 answer 1

Create a new project, select on the first page that the project is on FTP. Go through all the subsequent paths and wait for the project to load. Voila, now you have a folder with a project locally which you can deploy back to ftp and all the ways will be working.

  • That is how I created. the storm shows me the whole project, but apparently there is no local copy, so after for example require_once, I can use variables from the file, but I cannot do Go to -> Declaration, although I would really like to. how to add a local copy? - inDee