Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 4.8.0-beta2
-
None
-
0a29e12d0cad2921a187d8d895c7b70381a25f40 (qt-creator/qt-creator/4.8)
Description
// Complete "using namespace" (the clang snippet).
void f() {}
You get:
using namespace
void f() {} // Ops, now indented.
A variation of this (no newline in-between) is:
// Complete "using namespace"
void f() {}
You get:
using namespace void f() {} // Ops, newline removed.
Both cases do not happen if you select the snippet coming from Qt Creator, not clang.