eirikpre / VSCode-SystemVerilog

SystemVerilog support in VS Code
MIT License
128 stars 50 forks source link

How to add multi excludeIndex? #192

Closed fimwest closed 1 year ago

fimwest commented 1 year ago

I add this setting: "systemverilog.excludeIndexing": "**/*cache/**, **/*gen/**, **/*ip_user_files/**", but it is no use. If I add this setting: "systemverilog.excludeIndexing": "**/*gen/**", it works. So how to add multi excludeIndex?

joecrop commented 1 year ago

I think something like this will get you on the right track:

"systemverilog.excludeIndexing": "**/*{cache,gen,ip_user_files}/**"

Note that you should also not have any spaces between names/paths in a glob pattern.

fimwest commented 1 year ago

It works. Thank you.