Phpstorm is a typical IDE with outstanding code highlighting and syntax detection functions. it is a powerful tool for web developers. But there is a headache for me, that is, sometimes it takes a long time to wait. I originally wanted to improve development efficiency through IDE, but this has become a bottleneck affecting efficiency. Search for Phpstorm false positives on the Internet
Phpstorm is a favorite IDE with excellent code highlighting and syntax detection functions. it is a powerful tool for web developers. But there is a headache for me, that is, sometimes it takes a long time to wait. I originally wanted to improve development efficiency through IDE, but this has become a bottleneck affecting efficiency.
No answers are found on the Internet, so I wonder if this is a problem. My development method is somewhat different. my code is stored on a linux development machine, because it is only authorized to be deployed on the test machine. A samba server is installed on the development machine and mapped to a virtual disk in windows. phpstorm directly operates files on the virtual disk. It is conceivable that the operation file may be delayed due to network delay. the obvious feeling is that the file will be stuck when it is saved. But why does the system fail to respond for a long time without saving the file? I think the program is checking all files in the project or creating indexes.
Because we can't bear this occasional false death, it affects the mood of code writing. So I want to develop the code locally. But I still need to use the development machine to release it to the test machine. what should I do? At this time, Phpstorm certainly supports the function of deploying to the server (I think any integrated development environment should support it). I found it, in Tools> Deployment> Configuration, create a new deployment, select "Local" or "mounted folder" for "type", and select "Automatic Upload". In this way, the file will be automatically copied to the development machine when it is saved.
After everything is set, I find that the File menu will still be suspended when it is opened. This makes me confused. is the direction of optimization wrong? Move the mouse over the File menu and find that the Reopen item will be stuck when it is crossed. The original Reopen project was previously created, which was created in the virtual hard disk, resulting in latency, clear the Open history and resolve it.