|
|
|
|
|
by joshuamorton
2762 days ago
|
|
Fwiw Google solves this problem by having tooling generate the file template. In other words, my vimrc pulls in a global vimrc that, when I open a new .cc file, it starts as a stub that has the correct ifdefs and some common imports (flags iirc). This, combined with a lint/presubmit that prevents submission of files missing the correct defs makes this a nonissue in practice. |
|