Skip to content
Snippets Groups Projects
Commit a6aa2877 authored by Nikolai Kosjar's avatar Nikolai Kosjar
Browse files

C++: Fine-tune auto insertion of '}'


Do not insert for these cases:
 * <Cursor>{
 * namespace X <Cursor>
 * if the next block is indented, like e.g.:
     if (e) <Cursor>
        g();
 * on empty line if text before looks like a finished statement or
   scope opening/end

Change-Id: Id9decc1e964a775724a929c2a3e79b5283105560
Reviewed-by: default avatarDavid Schulz <david.schulz@qt.io>
parent 2c9feb1f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment