Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] - Support for symlink(ed) projects inside baseFolder #655

Open
ParaSpl01t opened this issue Nov 20, 2022 · 3 comments
Open

[FEATURE] - Support for symlink(ed) projects inside baseFolder #655

ParaSpl01t opened this issue Nov 20, 2022 · 3 comments

Comments

@ParaSpl01t
Copy link

On my machine, I have project manager baseFolder set to /home/myuser/dev/projects.
Inside that folder, I have some "real" project directories and few projects which are symbolic links to other location on my machine.

baseFolder/
├─ project1/
├─ project2/
└─ symlink1/ -> /some/other/location/

Project manager will successfully detect and show project1 & project2 but is unable to show symlink1 in the project lists.
I was wondering if this is possible to implement in project manager.

@alefragnani
Copy link
Owner

Hi @ParaSpl01t ,

Have you set projectManager.supportSymlinksOnBaseFolders to true?

It is available since v12.5.0 (Feb 2022) and should fit your need.

Hope this helps

@ParaSpl01t
Copy link
Author

Have you set projectManager.supportSymlinksOnBaseFolders to true?

I did. It still doesn't show the folder in project list even after refresh.

Screenshot from 2022-12-09 11-18-30
Screenshot from 2022-12-09 11-14-58
image
Screenshot from 2022-12-09 11-17-26

OS     : Linux
Kernel : 6.0.11.arch1-1
Code   : 1.74.0

@alefragnani
Copy link
Owner

Looking closer to your setting, while testing your scenario, I noticed your settings are not how the feature was originally developed.

The symlink support was created for the baseFolders setting itself, not for symlinked projects inside that folders. I mean, you can use symlinked folders as baseFolders, but it won't detect projects/folders that are symlinks

    "projectManager.any.baseFolders: [
        "/path/to/some/folder",
        "/path/to/some/symlinkedfolder"
    ]

As I don't use symlinks, I didn't even noticed the diference back then.

Thanks for reporting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants