Install yasnippet and vala-snippets packages
This commit is contained in:
5
elpa/yasnippet-20160924.2001/snippets/cpp-omnet-mode/EV
Normal file
5
elpa/yasnippet-20160924.2001/snippets/cpp-omnet-mode/EV
Normal file
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: EV
|
||||
# key: ev
|
||||
# --
|
||||
EV << "${1:string}"$0;
|
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: emit_signal
|
||||
# key: emit
|
||||
# --
|
||||
emit(${1:signal_id}, ${2:long});
|
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: intuniform
|
||||
# key: intuni
|
||||
# --
|
||||
intuniform(${1:0}, ${2:1})
|
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: math
|
||||
# key: math
|
||||
# --
|
||||
#include <cmath>
|
5
elpa/yasnippet-20160924.2001/snippets/cpp-omnet-mode/nan
Normal file
5
elpa/yasnippet-20160924.2001/snippets/cpp-omnet-mode/nan
Normal file
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: nan
|
||||
# key: nan
|
||||
# --
|
||||
isnan(${1:x})
|
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: omnet
|
||||
# key: omnet
|
||||
# --
|
||||
#include <omnetpp.h>
|
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: parameter_omnetpp
|
||||
# key: par
|
||||
# --
|
||||
${1:var} = par("${2:par}");
|
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: scheduleAt
|
||||
# key: sched
|
||||
# --
|
||||
scheduleAt(simTime()+${1:1.0}, ${2:event});
|
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: uniform
|
||||
# key: uni
|
||||
# uniform distribution
|
||||
# --
|
||||
uniform(${1:0}, ${2:1})
|
Reference in New Issue
Block a user