Folks, Long story short, I was looking for a way to incorporate open comment / close comment strings into templates in a filetype-agnostic mechanism. (e.g., for shell scripts, `{co}` would be replaced with '#').
I didn't find anything so I forked the repo, cut a branch, and added `{co}` and `{cc}` as wildcards in `src/templates.c`.
I can submit a PR with the changes if you think this has any value.
What do you think?
Can you explain your use-case? Templates are inherently filetype specific, they create a document of a specific type, so they should contain the right comment syntax for that filetype.
Closed #2362.
I actually spent a lot of time working on a response that explained the use-case. In doing so, it became pretty clear that it was fairly tightly coupled to our workflows and documentation style while likely not adding a lot (if any) value to most Geany users. So, I'll just close out the issue and thank you for your time.
Coincidentally, I drafted a page on the wiki that provides general information on templates; if someone would do a quick fact-check and let me know what corrections are needed, I would appreciate it.
[General Template Information](https://wiki.geany.org/config/templates)
Thanks!!
github-comments@lists.geany.org