Gruntfuggly / auto-snippet

A vscode extension to automatically insert a predefined snippet when a file is created, or an empty file is opened.
Other
14 stars 1 forks source link

Specify pattern documentation #12

Closed hyoretsu closed 3 years ago

hyoretsu commented 3 years ago

I was just about to create a bug issue because pattern matching wasn't working. But the problem was that you have to place **/ at the beginning of every pattern. That was never mentioned in the README.

Gruntfuggly commented 3 years ago

You don't have to use it - it just matches any folder (it's a glob pattern) and it is shown in the examples.

I agree that it might not be familiar if a user hasn't come across globs before, so I'll add something to make it clearer.

Gruntfuggly commented 3 years ago

I've added some more detail in the README.md in the latest version.