Exclude from index but not from deployment?
Hi. My workflow features developing in "app" folder, and then compiling the result to "dist" folder and then uploading "dist".
I don't want my searches (go to declaration, navigate to class\file) to ever show contents of "dist" folder.
But I need to sync "dist" folder with deployed to server.
Is there any way to realize this?
One way I've found is disabling "hide excluded files" in "sync with deployed" dialog. But this also makes it sync files that I excluded in "deployment > excluded paths" dialog.
Please sign in to leave a comment.
Currently, it's not possible unfortunately. Here's the usability issue: https://youtrack.jetbrains.com/issue/WI-21013
Well, at least now I won't get my hopes up. That issue is 4 years old by now!
Thanks anyway.
Hello,
> I don't want my searches (go to declaration, navigate to class\file) to ever show contents of "dist" folder.
It is necessary to mark "dist" directory as excluded in Settings | Directories or via right click > Mark Directory as > Excluded.
Adding "app" directory into "Deployment > Excluded Paths" will exclude it from syncing as well.
-_-
Please read the title again. Anyway, Eugene Morozov pointed out - this had been requested back in 2013, so I'm out of luck.