Where should I install plugins when using remote development with WSL?
The settings menu for PhpStorm has the entries "Plugins (Host)" and "Plugins (Client)" when I'm connected to a project I have in WSL. Where should I install extensions? It seems like the same ones are available on both sides, is there any difference when using WSL? (I imagine if actually connecting to a remote server, you might have the same setup regardless of which machine you connect to it from?) Is it just that the host extensions won't be available if I open a non-WSL project? Or is the remote "client" different from the main PhpStorm installation under Windows?
请先登录再写评论。
Hello David,
There are two possible ways to use WSL2 with JetBrains IDEs. You can open a project from the WSL2 filesystem directly or connect to it similarly to how the remote development works. Here are the details:
https://www.jetbrains.com/help/phpstorm/how-to-use-wsl-development-environment-in-product.html
https://www.jetbrains.com/help/phpstorm/remote-development-a.html#run_in_wsl
So, when using the WSL2 machine as a remote development target, please refer to this guide when installing plugins:
https://youtrack.jetbrains.com/articles/SUPPORT-A-696/Where-should-the-plugin-be-installed-in-the-client-or-on-the-host-for-remote-development