Problem with symlinks in projects
Hello,
question to include a symlink folder.
A drive was mounted on a Linux machine.
There are several directories on the drive, one of which is included in the working directory of PhpStorm.
How can I access the external drive directory with PhpStorm?
…
111.222.333.444:/volume/share 1,1T 1,9T 1,4T 537G 72% /media/laufwerk1
…
In the settings -> Build, Execution, Deploment -> Excluded Paths I entered the path of the respective directory, without effect.
That is, in the window "Remote Host" I can not crave the directory.
Or do I have to look at another position in the PhpStorm?
PhpStorm 2018.2.2 on Windows 7 64 bit
Many greetings
sbvl
请先登录再写评论。
We do not advise to include mounted network folders in a project. What for exactly do you need this directory in a project?
>What for exactly do you need this directory in a project?
Yes, I need access to a folder in the mounted drive.
Not really sure what you were trying to achieve by that, Excluded Paths hide directories from PhpStorm, not make them appear.
Please let me get the setup straight. You work in Windows, there's a Linux machine you copy the project to/from with a deployment configuration (SFTP, right)?
And when you open Tools | Deployment | Browse Remote Host and navigate to a directory containing the symlinked one, the symlink is not shown?
> You work in Windows, there's a Linux machine you copy the project to/from with a deployment configuration (SFTP, right)?
Yes.
>And when you open Tools | Deployment | Browse Remote Host and navigate to a directory containing the symlinked one, the symlink is not shown?
The simlink is show but crossed through and not clickable.
Unfortunately, there's no way you can follow a symlink leading to a location outside the SFTP root path: https://youtrack.jetbrains.com/issue/WI-16908