mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-13 00:44:18 +00:00
re-design snippets hierarchy
This commit is contained in:
3
snippets/text-mode/cc-mode/c++-mode/beginend
Normal file
3
snippets/text-mode/cc-mode/c++-mode/beginend
Normal file
@@ -0,0 +1,3 @@
|
||||
#name : v.begin(), v.end()
|
||||
# --
|
||||
${1:v}.begin(), $1.end
|
||||
8
snippets/text-mode/cc-mode/c++-mode/class
Normal file
8
snippets/text-mode/cc-mode/c++-mode/class
Normal file
@@ -0,0 +1,8 @@
|
||||
#name : class ... { ... }
|
||||
# --
|
||||
class ${1:Name}
|
||||
{
|
||||
public:
|
||||
$1($2);
|
||||
virtual ~$1();
|
||||
};
|
||||
4
snippets/text-mode/cc-mode/c++-mode/using
Normal file
4
snippets/text-mode/cc-mode/c++-mode/using
Normal file
@@ -0,0 +1,4 @@
|
||||
#name : using namespace ...
|
||||
# --
|
||||
using namespace ${std};
|
||||
$0
|
||||
Reference in New Issue
Block a user