Exclude directory from autossugest, but keep the ability to commit changes

Hi, in my project, I have src directory with sources and dist directory with autogenerated distribution version. I had to mark dist directory as excluded in Webstorm, so it won't get data from there for autosuggest/search/file lookup and so on. But I am no longer able to git commit and push (the autogenerated) changes in the dist folder, I would really like to be able to do that. Is there a trick for that? Thanks in advance!

2 comments
Comment actions Permalink

Hmm... Normally (since WebStorm 9/PHPStorm 8)  files from excluded directories are still suggested for adding to version control and can be committed/pushed/etc. just like other files. No special tricks are required. Please check that this folder is not added to ignored list (Version controls/Ignored files) and that the corresponding root is registered

0
Comment actions Permalink

oh, you're right, changing the resource root helped, thank you!

0

Please sign in to leave a comment.