Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exclude CSS files from autocomplete in PhpStorm

When I developing a Laravel, Inertia, and Svelte, CSS classes from node_modules somehow are included at my PhpStorm autocomplete. It's kinda annoying since I don't need them.

Is there any ways to exclude this files from included to autocomplete?

My Swal module CSS detected in autocomplete

like image 522
Alvin Dimas Avatar asked Feb 13 '26 17:02

Alvin Dimas


1 Answers

I had the same problem with public/build and public/vendor folder.

If you exclude the folders, phpstorm will not index them and will not show them in autocomplete

There are 2 ways to exclude list;

1- You can exclude the files or folders you want by following the Settings > Directories path (Here wildcard properties such as *.css are also listed)

2- You can exclude with Mark Directory as option by hovering over the folder in the project tree

like image 103
ciaksoy Avatar answered Feb 17 '26 06:02

ciaksoy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!