mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-16 10:24:18 +00:00
Keep snippet vars definitions in a single format across all snippets and documentation.
The format is: # var-name: value Previously snippets used a mixture of the following formatting: #var-name: value #var-name : value # var-name: value # var-name : value
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : , ColumnName ColumnType NOT NULL...
|
||||
# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
# name: , ColumnName ColumnType NOT NULL...
|
||||
# key: column
|
||||
# --
|
||||
, ${1:Name} ${2:Type} ${3:NOT NULL}
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : CONSTRAINT [..] PRIMARY KEY ...
|
||||
# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
# name: CONSTRAINT [..] PRIMARY KEY ...
|
||||
# key: constraint
|
||||
# --
|
||||
CONSTRAINT [${1:PK_Name}] PRIMARY KEY ${2:CLUSTERED} ([${3:ColumnName}])
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : CONSTRAINT [..] FOREIGN KEY ...
|
||||
# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
# name: CONSTRAINT [..] FOREIGN KEY ...
|
||||
# key: constraint
|
||||
# --
|
||||
CONSTRAINT [${1:FK_Name}] FOREIGN KEY ${2:CLUSTERED} ([${3:ColumnName}])
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : create table ...
|
||||
# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
# name: create table ...
|
||||
# key: create
|
||||
# --
|
||||
CREATE TABLE [${1:dbo}].[${2:TableName}]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : create procedure ...
|
||||
# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
# name: create procedure ...
|
||||
# key: create
|
||||
# --
|
||||
CREATE PROCEDURE [${1:dbo}].[${2:Name}]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : REFERENCES ...
|
||||
# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
# name: REFERENCES ...
|
||||
# key: references
|
||||
# --
|
||||
REFERENCES ${1:TableName}([${2:ColumnName}])
|
||||
Reference in New Issue
Block a user