glob icon indicating copy to clipboard operation
glob copied to clipboard

Several file extension pattern

Open snatvb opened this issue 8 months ago • 3 comments

Hi, most of implementation globs has such pattern: some/path/*.{txt,ts,rs}

How could I get something like that? Or maybe we could get it as new feature?

For example: https://github.com/mrmlnc/fast-glob

src/**/*.{css,scss} — matches all files in the src directory (any level of nesting) that have the .css or .scss extension. file-[[:digit:]].js — matches files: file-0.js, file-1.js, …, file-9.js. file-{1..3}.js — matches files: file-1.js, file-2.js, file-3.js. file-(1|2) — matches files: file-1.js, file-2.js.

It would be great to improve this. Because we have a lot of new staff to build JS where is this patterns is standard and uses a lot of where.

snatvb avatar Jun 21 '25 16:06 snatvb