.emacs.d/auto-insert/hpp

10 lines
312 B
Plaintext
Raw Normal View History

#ifndef ${1:`(upcase (replace-regexp-in-string "-" "_" (projectile-project-name)))`_`(upcase (file-name-nondirectory (file-name-sans-extension (buffer-file-name))))`_`(upcase (file-name-extension (buffer-file-name)))`}
#define $1
2019-09-25 03:38:21 +02:00
namespace ${2:`(projectile-project-name)`}
{
$0
2019-09-25 03:38:21 +02:00
} // namespace $2
2019-04-02 10:44:03 +02:00
#endif // $1