How can I share a CSS directory between two projects with WebStorm?

I have two projects (Admin and User).  Both projects have the same CSS files.  I am also using GitHub and these two projects check into two repositories.

What I would like to know is how I can combine the two CSS directories.  Is this even possible because I am using GitHub? Could I create another repository in GitHub just for the shared CSS?

I am hoping someone can give me some advice on this.

Thanks

1 comment
Comment actions Permalink

Hi there,

Is this even possible because I am using GitHub? Could I create another repository in GitHub just for the shared CSS?

In "Settings | Version Control" -- you can assign different VCS/repo for different subfolders.

What I would like to know is how I can combine the two CSS directories.

You can always add any outside folder to the project as Additonal Content Root: "Settings | Directories --> Add Content Root". Plus, you can always use file system functionality -- symbolic links. This, of course, has no relation to VCS -- just "shared between projects".

0

Please sign in to leave a comment.