Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow using names in skeletons #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

0xdeadfeee
Copy link

Thanks for the plugin!
Really cool thing, but I was missing the ability to use filenames for skeleton decision
My main use-case was the "CMakeLists.txt" file, as I understood I can only really define skeleton.CMakeList.txt with my skeleton and empty skeleton.txt which would then result in plugin asking which I want for every single txt file - I find that to be suboptimal therefore I propose this:
Skeletons will be able to have filenames in them, in the following format skeleton-<name>.<subtype>.<extension>
This way I could define skeleton-CMakeLists.txt for my usecase which would automatically get expanded if the filename is CMakeLists, otherwise it would use non-named skeletons

skeleton-<name>.<subtypes>.<ext>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant