You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow index-files to specify file target list? #74
Instead of manually specifying --include=src/file1.js, --include=src/file2.js, --include=src/file3.js, etc, hundred/thousands of times for large projects, it would be really handy if I could just provide the list of files I want indexed.
Activity
adityasharad commentedon Jul 28, 2021
Are you interested in indexing a fixed list of files, rather than using a glob pattern (which
--includealready supports)?Manouchehri commentedon Jul 28, 2021
That's correct!
aeisenberg commentedon Jul 28, 2021
Could you do something like:
This wouldn't work for 100s of files, but might work for a handful.
Manouchehri commentedon Jul 28, 2021
That would work, but yeah, my use-case is in the >1,000 range of files. =)
edoardopirovano commentedon Jul 28, 2021
This might be something we want to support more directly, but I imagine you could achieve what you need with
xargsin the meantime.