Twig plugin in PHPStorm very laggy over network drive
Hello,
I use PHPStorm in a Windows pc, and with VirtualBox I have an Ubuntu machine where I store my PHP application. I access the PHP code using Samba and a Virtualbox host-only network between my Windows and my Ubuntu.
Everything works fine with PHPStorm, although when indexing files it takes a while, but is reasonable. But when I am editing a twig file it gets very very laggy.
There should be something in the plugin that is accessing constantly to the disk, and as I am over a network drive it gets very slow. It's almost impossible to write code as every work I write it hangs for a 2 or 3 seconds.
Is there a workaround? or could it be checked to imrpove this performance for new version?
Thank you
Please sign in to leave a comment.
We understand that working with sources over network may work to some extent, however, such a configuration is strictly unsupported and we don't troubleshoot/take these issues into account.
Please use a proper deployment configuration: https://confluence.jetbrains.com/display/PhpStorm/Deployments+in+PhpStorm
You aren't alone. I've worked on project sources over a network for years, but just now I'm having the same problem as you with random 2-3 second freezes while working on a Twig file.
Did you find any solutions (other than getting files off the network)?
Hi Shaun, I haven't found any solution neither any workaroud. It's very annoying and this only occurs when editing twig files, I have any kind of issue with other file types working over a nerwork shared folder.