Commit 237ddd0f authored by Yuchen Deng's avatar Yuchen Deng Committed by Leandro T. C. Melo
Browse files

Snippets: Add 'switch' trigger for C++ code snippets

Change-Id: Id8f860e1469d7e01e42fb39d3273817623aeded6
Merge-request: 2207
Reviewed-on: http://codereview.qt-project.org/6166

Reviewed-by: default avatarLeandro T. C. Melo <leandro.melo@nokia.com>
parent 625b0ae6
......@@ -58,4 +58,11 @@ public:
<snippet group="C++" trigger="while" id="cpp_while">while ($condition$) {
$$
}</snippet>
<snippet group="C++" trigger="switch" id="cpp_switch">switch ($control$) {
case $value$:
$$
break;
default:
break;
}</snippet>
</snippets>
Supports Markdown
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