Skip to content

Support for directory junction in windows #333

@adiputera

Description

@adiputera

Hi, can you guys add support for directory junction in Windows?

In Linux, we're using a symlink, and Intellij with this plugin can detect the version control successfully. But when we're using Windows with directory junction, Intellij can't detect the version control.

Our directory structure in Linux is like these:
git clone folder location:

/home/user/git/hybris/custom
/home/user/git/hybris/config

and we symlink it so it became like these:

/home/user/hybris/hybris/bin/custom
/home/user/hybris/hybris/config

In Windows, it's similar
gi clone folder:

C:\git\hybris\custom
C:\git\hybris\config

and we created a directory junction so it became like these:

C:\hybris\hybris\bin\custom
C:\hybris\hybris\config

Upon checking the project structure in Linux, we notice that the module content root will point to the git clone folder, while in Windows, it will point to the hybris folder. Screen shoot:
In Linux:
image

In Windows:
image

In Linux with a symlink, we can right-click and annotate git since IntelliJ can detect the version control successfully, but on Windows, it can't.
Also if we made changes on Windows, the file name will not be colored (red for new, green for add to VCS, blue for modified)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions