Install yasnippet and vala-snippets packages

This commit is contained in:
Gergely Polonkai
2016-10-20 10:20:38 +02:00
parent d1468f35a7
commit a498706564
1085 changed files with 12052 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: class
# key: cla
# --
public class ${1:`(file-name-sans-extension (buffer-name))`} : ${2:Glib.Object} {
$0
}

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: constructor
# key: con
# --
public ${1:`(file-name-sans-extension (buffer-name))`}($2) {
$0
}

View File

@@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# name: property
# key: prop
# --
public ${1:type} ${2:name} {
get { $3;}
set { $4;}
}$0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: signal
# key: sig
# --
public signal ${1:void} ${2:name}(${3:args});$0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: simple property - public int var {get; set; default = 0}
# key: sprop
# --
public ${1:type} ${2:name} { get; set; default = $3; }$0