Cant remove directory from excluded

Hi there!
Since the update to 2024.3, my build (Project-Assets) directories are marked as excluded in the directory tree, but not in the settings.  I cannot change this marking of the build directory in Settings/Directories either. 
The build directory is not located in a .gitignore.
The problem exists in several projects that are independent of each other. Even setting up the projects again does not solve the problem.
‘Find in Files’ only works if I select the build directory beforehand. Files within the build directory are not found with the ‘file search’.
Does anyone else have this problem?

1

Hi,

Would it be possible to privately share the affected project's `.idea` folder?
You can use JetBrains Uploads service to share it:
https://uploads.jetbrains.com/

Just let me know the upload id once the upload is done.

0

Hi Vasilly,
thanks for reply.

Upload id: 2024_11_21_mfxPGeSskTnAJLdkhy4WuY

0

Hi Dan,

Thank you!

Could you please try to untick the `exclude.generated.files.in.javascript.package.roots` Registry setting (Help > Find Action > Registry) and restart the IDE? 
 

Did it help?

0

Uhhh yeah.
That helped.
Thank you very much.

0

Having the exclude.generated.files.in.javascript.package.roots turned on by default breaks code completion for our TypeScript in a project with PNPM workspace setup which has multiple packages. In my case the packages are built into directory named dist which of course was forcefully excluded from scope, and there was no way to include it.

Disabling the registry setting fixed the problemski.

As a suggestion I would like to see a hint of this functionality in the dropdown where you can “Mark Directory as”. At least for me it had an option to mark the package's dist directory as “Not Excluded” but clicking it did absolutely nothing which was frustrating. Some explanation on why the dir is excluded or cannot be included would have been nice.

0

We will see how it can be improved. Please feel free to follow WEB-70291 to be notified about updates.

0

请先登录再写评论。