.emacs.d/auto-insert/hpp

12 lines
314 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)`}
{
2020-03-06 04:46:47 +01:00
$0
2020-03-06 04:46:47 +01:00
2019-09-25 03:38:21 +02:00
} // namespace $2
2019-04-02 10:44:03 +02:00
#endif // $1