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

C-Support: header and implementation comment interchanged #43

Closed
fidelski opened this issue Oct 30, 2017 · 1 comment
Closed

C-Support: header and implementation comment interchanged #43

fidelski opened this issue Oct 30, 2017 · 1 comment

Comments

@fidelski
Copy link

fidelski commented Oct 30, 2017

When I create a new cpp file I would expect the implementation comment from cpp.comments.template to be inserted at the top. On the other hand when I create a hpp file I would expect the header comment to appear the top of the file - since my last update (unfortunately I don't remember when I did it or from what version to what version I moved) the wrong comments get inserted - the header comments appear in the implementation file and the implementation comments appear in the header file. Before this update everything worked (like a charm - like everything else still does).
I can workaround the issue by placing the content of the header file beneath:

== Comments.file description impl == map:cfdi, shortcut:c, start, noindent ==

and the comments for the implementation file beneath:

== Comments.file description header == map:cfdh, shortcut:h, start, noindent ==

At this opportunity I would like to express my gratitude for this outstanding plugin that has for multiple years boosted my productivity in C/C++ programming to a great extent. Thank you very much!

@WolfgangMehner
Copy link
Owner

Little switcheroo. Should work now.

Thank you for your kind words.

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

No branches or pull requests

2 participants