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.

4 comments
Comment actions Permalink

Currently, it's not possible unfortunately. Here's the usability issue: https://youtrack.jetbrains.com/issue/WI-21013

0
Comment actions Permalink

Well, at least now I won't get my hopes up. That issue is 4 years old by now!

Thanks anyway.

0
Avatar
Vladimir Luchansky
Comment actions Permalink

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.

0
Comment actions Permalink

-_-

Please read the title again. Anyway, Eugene Morozov pointed out - this had been requested back in 2013, so I'm out of luck.

0

Please sign in to leave a comment.