ccls
ccls copied to clipboard
Formatting of references in code completion snippets
Hi, I was wondering if there could be a way to configure where the & is placed in code completion snippets involving references? Obviously people have different preferences so a config option would be great.
Observed behavior
Code completion formats references like this void foo(int &bar);
Expected behavior
I would like to have it formatted like void foo(int& bar), note the position of the &.
I am not sure your issue is related to ccls. You might want to have a look at clang-format :)