mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-18 03:14:16 +00:00
Add explicit "# key" directive to legacy snippet collection before deprecating filenames-as-triggers
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : private attribute ....;
|
||||
# key: attrib
|
||||
# --
|
||||
/// <summary>
|
||||
/// $3
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : private attribute ....; public property ... ... { ... }
|
||||
# key: attrib
|
||||
# --
|
||||
/// <summary>
|
||||
/// $3
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : private _attribute ....; public Property ... ... { ... }
|
||||
# key: attrib
|
||||
# --
|
||||
/// <summary>
|
||||
/// $3
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : class ... { ... }
|
||||
# key: class
|
||||
# --
|
||||
${5:public} class ${1:Name}
|
||||
{
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : /// <summary> ... </summary>
|
||||
# key: comment
|
||||
# --
|
||||
/// <summary>
|
||||
/// $1
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : /// <param name="..."> ... </param>
|
||||
# key: comment
|
||||
# --
|
||||
/// <param name="$1">$2</param>
|
||||
@@ -1,4 +1,5 @@
|
||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : /// <param name="..."> ... </param>
|
||||
# key: comment
|
||||
# --
|
||||
/// <returns>$1</returns>
|
||||
@@ -1,4 +1,5 @@
|
||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : /// <exception cref="..."> ... </exception>
|
||||
# key: comment
|
||||
# --
|
||||
/// <exception cref="$1">$2</exception>
|
||||
@@ -1,5 +1,6 @@
|
||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : public void Method { ... }
|
||||
# key: method
|
||||
# --
|
||||
/// <summary>
|
||||
/// ${5:Description}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : namespace .. { ... }
|
||||
# key: namespace
|
||||
# --
|
||||
namespace $1
|
||||
{
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : property ... ... { ... }
|
||||
# key: prop
|
||||
# --
|
||||
/// <summary>
|
||||
/// $5
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : #region ... #endregion
|
||||
# key: region
|
||||
# --
|
||||
#region $1
|
||||
$0
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : using ...;
|
||||
# key: using
|
||||
# --
|
||||
using $1;
|
||||
@@ -1,4 +1,5 @@
|
||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : using System;
|
||||
# key: using
|
||||
# --
|
||||
using System;
|
||||
@@ -1,4 +1,5 @@
|
||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : using System....;
|
||||
# key: using
|
||||
# --
|
||||
using System.$1;
|
||||
Reference in New Issue
Block a user