Commit 1f740379 authored by Nikolai Kosjar's avatar Nikolai Kosjar
Browse files

Snippets: Add struct snippet

Change-Id: I8c1e486d752ac0eaddbb1d7909a0e9b50382cc87
Reviewed-by: Ivan Donchevskii's avatarIvan Donchevskii <>
Reviewed-by: Tobias Hunger's avatarTobias Hunger <>
parent 90c7427b
......@@ -182,6 +182,15 @@ $$</snippet>
<snippet group="C++" trigger="while" id="cpp_while">while ($condition$) {
<snippet group="C++" trigger="struct" id="cpp_genericstruct">struct $name$
$name$() {}
<snippet group="C++" trigger="struct" id="cpp_structtemplate" complement="template">template &lt;typename $T$&gt;
struct $name$
$name$() {}
<snippet group="C++" trigger="switch" id="cpp_switch">switch ($control$) {
case $value$:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment