folderize icon indicating copy to clipboard operation
folderize copied to clipboard

Configuration Options

Open justinobney opened this issue 6 years ago • 5 comments

The first examples that come to mind are:

  • test file extension (I use foo.spec.ts, default to test)
  • test subdirectory (I put under ./__tests__/foo.spec.ts, default to ./)

justinobney avatar Aug 07 '19 18:08 justinobney

@justinobney I agree some config is needed. Ideally the 'additional files' picker would be completely customizable. Still not sure exactly what that would look like, but I'll play around with it. In the meantime feel free to make PR 😃

ee92 avatar Aug 08 '19 00:08 ee92

May I suggest the option to add .md files? I use that all the time for Styleguidist.

Also the option to choose .scss or .less for stylesheets.

And of course, some kind of config to define file name patterns :-)

floede avatar Aug 08 '19 09:08 floede

Hello @ee92 !

I am a huge fan of your extension, congratz for the awesome work !

Do you think you can add those enhancements ?

Thanks a lot for your feedback.

ppluchon avatar Jul 23 '20 20:07 ppluchon

Hello, @ee92 awesome extension! I stumbled upon this same problem. I Decided to try and implement it to give vscode extensions and typescript a try.

I have a working prototype that I need to polish before submitting a PR but wanted to share my progress here to let you know I am working on it.

And in my vscode settings I have: imagen

I still have to work on adding the correct imports to the files and think about how that might look like on a user-added option. As well as adding some documentation on how this preset, custom options system should be used by users in the settings.

A quick question that I have is why is createFile optional in the Option type? is there any value in having an option that does not create any file?

agch-dev avatar Aug 16 '20 13:08 agch-dev

For people interested in more customization options since this issue is kinda dead I found this neat extension that lets you do exactly what we want and more https://github.com/Huuums/vscode-folder-templates

agch-dev avatar Oct 22 '22 00:10 agch-dev