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

Consider support triggering by file extension. #45

Open
egolearner opened this issue Feb 3, 2024 · 1 comment
Open

Consider support triggering by file extension. #45

egolearner opened this issue Feb 3, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@egolearner
Copy link

There are header files and implementation files for c/c++. With current file type or file name trigger, it's impossible to set different file templates for header files and implementations.

It seems a good idea to support trigger by file extension(with precedence between file name and file type if supported), which will solve the above issue. For other scenarios, it's a lot easier to define a new extension than to define a new file type.

@cvigilv
Copy link
Owner

cvigilv commented Feb 24, 2024

Hi! Sorry for the late response. Could you give me an example? I don't write C/C++ so I just partially get the problem.

Thanks in advance!

@cvigilv cvigilv added the enhancement New feature or request label Feb 24, 2024
@cvigilv cvigilv added this to the v2.0 milestone Feb 24, 2024
@cvigilv cvigilv self-assigned this Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants