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,5 @@
# -*- mode: snippet -*-
# name: EV
# key: ev
# --
EV << "${1:string}"$0;

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: emit_signal
# key: emit
# --
emit(${1:signal_id}, ${2:long});

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: intuniform
# key: intuni
# --
intuniform(${1:0}, ${2:1})

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: math
# key: math
# --
#include <cmath>

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: nan
# key: nan
# --
isnan(${1:x})

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: omnet
# key: omnet
# --
#include <omnetpp.h>

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: parameter_omnetpp
# key: par
# --
${1:var} = par("${2:par}");

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: scheduleAt
# key: sched
# --
scheduleAt(simTime()+${1:1.0}, ${2:event});

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: uniform
# key: uni
# uniform distribution
# --
uniform(${1:0}, ${2:1})