0 Comments
You can disable this by clearing the Show summary checkbox on the Environment | IntelliSense | Completion Appearance page of ReSharper options.īy default, all overloads of a method are shown as a single method name without a signature in the suggestion list. When you select a suggestion in the list, ReSharper displays its summary taken from the XML documentation. Immediate members of a type are emphasized, as opposed to inherited members. You can also specify the initial size of the completion list using the corresponding option on the Environment | IntelliSense | Completion Appearance page of ReSharper options. If necessary, you can turn this off by clearing the corresponding checkbox on the Environment | IntelliSense | Completion Behavior page of ReSharper options. Here are some other general points that show how ReSharper's code completion features are different from Visual Studio's native IntelliSense:Īs you type, the list of completion suggestions is narrowed down to match your input. You can disable this behavior by clearing Loop selection around ends of a list on the Environment | IntelliSense | Completion Appearance page of ReSharper options ( Alt+R, O). When you select items in completion lists using keyboard, the selection will jump to the first item after the last item and vice versa. To exclude such items from the suggestions, add them to the Exclude from import and completion list on the Code Editing | Type Import page of ReSharper options ( Alt+R, O). You may want some types or namespaces not to be suggested, for example, if you have something similar to a system type in your solution, say MyFramework.M圜ollections.List, but you are not actually using it. If necessary, you can change the default shortcuts on the Environment | IntelliSense | Completion Characters page of ReSharper options ( Alt+R, O). When you use code completion over existing code items, you can either insert the selected completion suggestion before the existing item by pressing Enter or replace the existing identifier with the selected suggestion by pressing Tab. If necessary, you can disable CamelHumps by clearing the Match middle of identifiers checkbox on the Environment | IntelliSense | Completion Behavior page of ReSharper options ( Alt+R, O). For more information, see Double Completion.īy default, all ReSharper's completion features support CamelHumps, that is you can type the initial letters of a compound name parts and the name will appear in the list of suggestions. In this case, ReSharper adds even more suggestions to the completion list. Two other completion commands, Smart completion Control+Shift+Space and Import Symbol Completion Control+Alt+Space, which are available always, independently of the selected option for standard completion commands, apply advanced algorithms to add more items to the suggestion list.Īll of ReSharper's completion shortcuts can be pressed several times in succession. To do so, select Visual Studio on the Environment | IntelliSense | General page of ReSharper options ( Alt+R, O). If necessary, you can always return to the Visual Studio's native's IntelliSense. The suggestion list of Basic completion appears when you press the default Visual Studio IntelliSense shortcut Control+Space. The suggestion list of Automatic completion appears as soon as you start typing a new identifier. To get you familiar with ReSharper's code completion features, here are some implementation basics:īy default, ReSharper replaces Visual Studio's native's IntelliSense with its own features. For example, it narrows down the list of suggestions based on your typing, automatically imports selected types and extension methods, adds parentheses when completing method names, suggests variable and field names depending on their types, and more. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |