diff options
author | David Schulz <david.schulz@qt.io> | 2018-03-13 10:42:34 +0100 |
---|---|---|
committer | David Schulz <david.schulz@qt.io> | 2018-03-13 10:17:12 +0000 |
commit | 61e93a05241023848ecbc6693890671fc021e820 (patch) | |
tree | ad70bb71ce6cc7a64688b719c30388f5f71d2671 /share | |
parent | f1985df55dfa81f184c9d29df6cfbb353bf77ffc (diff) |
Snippets: Add snippet for namespace with closing comment
Change-Id: Id0f0110ac427b3a6460eeae2891cd1c5c65fc6a3
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'share')
-rw-r--r-- | share/qtcreator/snippets/cpp.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/share/qtcreator/snippets/cpp.xml b/share/qtcreator/snippets/cpp.xml index add4f47e864..11f9241327b 100644 --- a/share/qtcreator/snippets/cpp.xml +++ b/share/qtcreator/snippets/cpp.xml @@ -174,6 +174,9 @@ $$</snippet> <snippet group="C++" trigger="namespace" id="cpp_namespace">namespace $name$ { $$ }</snippet> +<snippet group="C++" trigger="namespace" id="cpp_namespace_with_comment" complement="with closing brace comment">namespace $name$ { + $$ +} // namespace $name$</snippet> <snippet group="C++" trigger="try" id="cpp_trycatch" complement="and catch">try { $$ } catch (...) { |