mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-18 03:14:16 +00:00
Last commit before tagging and releasing
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: cl
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Class
|
||||
# --
|
||||
class ${1:${TM_FILENAME/(.+)\..+|.*/(?1:\L$1_t:name)/}}
|
||||
{
|
||||
public:
|
||||
${1/(\w+).*/$1/} (${2:arguments});
|
||||
virtual ~${1/(\w+).*/$1/} ();
|
||||
|
||||
private:
|
||||
${0:/* data */}
|
||||
};
|
||||
Reference in New Issue
Block a user