because I wanted to clean up my PC and improve my development environment, I have set up a virtual machine running Ubuntu Server as a LAMP server to replace my local XAMPP installation.
In the same act I moved my projects from a (stationary) USB hard drive to my NAS running a RAID setup, so I can acces my projects from my desktop PC and my laptop without having to manually copy them all the time and even more importantly for backup reasons.
In the virtual machine I mounted the network project folder to a folder inside /var/www, so the Apache server has direct access to the projects on the NAS. This is working like a charm, for example opening the URL "http://192.168.1.200/nas/myproject" in my browser does exactly the same as "http://localhost/myproject" has done before.
So to that point I was very happy with my restructuring. No local Apache server is consuming resources on my computer anymore when I'm not working, I have a Linux server running my scripts which is way closer to the actual production environment and my files reside safely on the RAID in my network.
But... the first drawback is that even though I have a high speed network with pretty much no difference in data access speed compared to the USB2.0 hard drive the projects have been stored on before, PhpStorm complains about the network drive. As I have already seen in the forums, thats a common issue and I just ignore that message, because I can't feel any difference.
The more important problem is, that PhpStorm (version 7 point something, the newest one, with pretty much default settings concerning GUI and code highlighting) now stopped highlighting PHP internal functions like for example strpos().
When pressing Ctrl whilst hovering over a function name, PhpStorm still displays that function's parameters and return value and by clicking on it PhpStorm still opens its internal declaration. Even code completion/hinting is still working for internal and also for user defined functions and classes, so it can't be a problem about PhpStorm not knowing about either the internal or the user defined objects.
But despite that, all internal functions are displayed in plain white. If I'm not mistaking they have been displayed in some sort of purple color and italic font before my restructuring (as I said, default code highlighting settings of the Darcula theme).
So now I'm wondering why PhpStorm doesn't highlight the code anymore the way it did before my restructuring. Is it because of the files residing on a network drive? Or do I have to reconfigure some server/deployment settings in PhpStorm because of the new virtual machine instead of localhost? If it's because of the NAS, is there really no way to get the same functionality with remote files as there is with locally stored ones?