Updated C++ templates.
This commit is contained in:
parent
0f19b47daf
commit
058a937f13
|
@ -16,3 +16,4 @@
|
||||||
|
|
||||||
#include "`(file-name-nondirectory (file-name-sans-extension (buffer-file-name)))`.hpp"
|
#include "`(file-name-nondirectory (file-name-sans-extension (buffer-file-name)))`.hpp"
|
||||||
|
|
||||||
|
using namespace ${2:`(projectile-project-name)`};
|
||||||
|
|
|
@ -17,6 +17,9 @@
|
||||||
#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)))`}
|
#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
|
#define $1
|
||||||
|
|
||||||
$0
|
namespace ${2:`(projectile-project-name)`}
|
||||||
|
{
|
||||||
|
$0
|
||||||
|
} // namespace $2
|
||||||
|
|
||||||
#endif // $1
|
#endif // $1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user