Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Exclude files from indexed by wildcard / regex #475

Closed
egraether opened this issue Oct 11, 2017 · 5 comments
Closed

Exclude files from indexed by wildcard / regex #475

egraether opened this issue Oct 11, 2017 · 5 comments
Labels

Comments

@egraether
Copy link
Contributor

No description provided.

@jdseyl
Copy link

jdseyl commented Nov 9, 2017

+1

@herrjakob
Copy link

I would also find this extremely helpful in order to speed up the work on a relatively large code base (1.200.000 loc without unit tests).

@mlangkabel
Copy link
Contributor

Added wildcard support for new release. Sourcetrail version 2018.1.98 describes these wildcards as follows:

  • You can use the wildcard "*" which represents characters except "\" or "/" (e.g. "src/*/test.h" matches "src/app/test.h" but does not match "src/app/widget/test.h" or "src/test.h")
  • You can use the wildcard "**" which represents arbitrary characters (e.g. "src**test.h" matches "src/app/test.h" as well as "src/app/widget/test.h" or "src/test.h")

@Kochise
Copy link

Kochise commented Jun 27, 2019

But it doesn't work. I'd like to exclude all '/test/' folders from analysis, regardless of their location, so I added '**/test/**' in the "Excluded Files & Directories" but the indexer stills fetch the source files inside the '/test/' folders.

@egraether
Copy link
Contributor Author

Just tested this and couldn't find an issue.

Which language and which Source Group type are you using?
Is there anything odd about your file structure e.g. symbolic links, case-sensitivity?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants