Directory can't be unmarked as excluded

On two projects (with roots/bedrock) the web directory is automatically marked as excluded.

When I right click on the directory it doesn't even show 'Mark directory as'.

In the Settings > Directories it doesn't show 'web' in the list on the right, but when I click on the web directory in the tree-view it does show that it's excluded.

When I click on 'Excluded' there's an icon showing it's refreshed but the state doesn't change.

I've tried to disable the composer settings "Add packages as libraries" and "Synchronize IDE settings with composer.json" but both didn't help.

When I do "invalidate Caches/restart" shows that the directory isn't excluded at first but while indexing it becomes excluded again.

How do I find out what's making this folder excluded by default?

0

Would it be possible to clear the value (if there is any) in "Webpack configuration file" at "Preferences | Languages & Frameworks | JavaScript | Webpack" and check if the folder is still excluded?

0

Hi, 
I also have this issue. There is no value to clear within the javascript -> webpack folder in Languages & Frameworks though.. any other ideas?

0

Hi,

Just to confirm, do you also have a "web" directory marked as excluded or is some other directory? (like "vendor")

0

Repoduce on WebStorm 2023.3.2 Build #WS-233.13135.92, built on December 19, 2023.

Problem solved for a while, after I renamed directory to another name and renamed back.

Problem solved, after I added `node_modules` to Excludes folders.

0

请先登录再写评论。