I do a lot of C ++ programming in vim, and I was wondering if there are any plugins or snippets out there that can generate the source file depending on the contents of the header file.
IE: test.h
class test { public: test(); };
and then going to the test.cpp file and typing "src" and expanding it (using some kind of snippet plugin like UltiSnips), it will look in the test.h file for funcions and (in this case) do:
test::test() {
I got this idea from Derek Wyatt's blog and he does it with XPTemplate, so I thought it would be great to do the same in UltiSnips.
c ++ vim code-snippets
Michaelslec
source share