Related to #40 #42
The idea would be that, when selecting "New file...", one could use braces to create sets of files:
/some/path/MyComponent.{tsx,scss} would expand to
/some/path/MyComponent.tsx
/some/path/MyComponent.scss
/some/path/my-module{,.test}.tsx would expand to:
/some/path/my-module.tsx
/some/path/my-module.test.tsx
It would also work on the path components (anywhere in the string, really).
While this would help me a lot personally, there are a few cons to implementing this:
- I like the no-dependencies aspect of this lib, but since Python's stdlib doesn't support this, we would need to vendor a library to support this (I'm partial to braceexpand)
- We would need to explain somehow to the user of the new capability, and personally I'm not sure how yet.
- Should this be gated behind a preference
Related to #40 #42
The idea would be that, when selecting "New file...", one could use braces to create sets of files:
/some/path/MyComponent.{tsx,scss}would expand to/some/path/MyComponent.tsx/some/path/MyComponent.scss/some/path/my-module{,.test}.tsxwould expand to:/some/path/my-module.tsx/some/path/my-module.test.tsxIt would also work on the path components (anywhere in the string, really).
While this would help me a lot personally, there are a few cons to implementing this: