How to move pointer default location?

Answered

I can't seem to find anywhere on how to change the default pointer location in CLion (for c/c++). Instead of int *anIntPtr, I would like int* anIntPtr. Due to coding practises that I am to follow. Does anyone know how I can change this?

Regards,
Revo

1
1 comment

Please go to `File | Settings | Editor | Code Style | C/C++ | Spaces | Other' and set `Before * in declarations` or 'After * in declarations'.

0

Please sign in to leave a comment.