Community
Participate
Working Groups
In the following code: template <typename T> struct Example { void foo(int arg1, int arg2, int arg3, int arg4, int arg5); }; template <typename T> void Example<T>::foo(int arg1, int arg2, int arg3, int arg4, int arg5)/*cursor*/ with the cursor at the indicated location, pressing <Enter> brings indents the next line by two levels (like the second line of the parameter list), instead of leaving the cursor at the beginning of the new line. It works fine if the class is made a nontemplate.
(Originally reported here: http://stackoverflow.com/questions/41853173/eclipse-nsight-formatter-doesnt-respect-function-body-indentation-policy).
Hmm, you beat me to the bug report. So I'll just add myself to the CC list then.