I know it's probably something easy, but I just couldn't figure it out.
Say I have the following code
string name;
name.LastIndexOf("aaa");
After I type the single quote Resharper will added another for me so I have
name.LastIndexOf("")
After I type aaa I have name.LastIndexOf("aaa|") but now my caret | is sitting inside the double quote...
How do I tell Resharper that I am done so it can add the ; and move to the next line without using the mouse or the direction key?
Perhaps I didn't make myself clear. Using the End key is not much different from the directional key. I was looking for a one step key stroke that will tell Resharper to complete the statement and move to the next block. I think it certain possible since Resharper is so smart. I just couldn't figure it out.
The suggestion list of Automatic completion appears as soon as you start typing a new identifier. The suggestion list of Basic completion appears when you press the default Visual Studio IntelliSense shortcut Ctrl+Space . If necessary, you can always return to the Visual Studio's native's IntelliSense.
You can trigger IntelliSense in any editor window by typing Ctrl+Space or by typing a trigger character (such as the dot character (.)
Syntax highlightingReSharper extends the default Visual Studio's symbol highlighting. Additionally, it highlights fields, local variables, types, and other identifier with configurable colors. For example, ReSharper syntax highlighting allows you to easily distinguish between local variables and fields in your code.
You can actually use the Complete Statement feature (which is mapped to Ctrl+Shift+Enter in ReSharper 2.x and IntelliJ IDEA keymap). This will put ';' at the end of the statement and move the caret to the next line
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With