Code Completion
ReSharper | Options | Code Editing | C++ | Code Completion
On this page, you can adjust the way code completion works in C++.
Show free functions in members completion | One common C++ coding practice is to prefer non-member non-friend functions to member functions. This is a great way to increase encapsulation and keep class interfaces as minimal as possible. When you type a dot You can clear this checkbox if you do not want to have free functions in the completion suggestions. |
Show import items in basic completion | When a symbol that you want to use is not imported in the current file with the corresponding Note that this comes with a performance hit (since each time when ReSharper builds a completion list, it has to look at all the symbols in the solution to match them), so it is disabled by default. |
Behavior of import items | Configure the import completion behavior to always insert an include directive or show a menu with an option to add a forward declaration. |
note
ReSharper's settings are saved in settings layers, which allow you to have different settings for different solutions and to share your settings with your team.