ctrl + enter doesn't work after installing resharper - visual-studio-2013

I installed Resharper in visual studio 2013, but ctrl + enter (Insert a blank line above the cursor) doesn't work anymore.

Resharper re-maps CTRL+Enter to Resharper_ForceCompleteItem. To get it back just map it back to Edit.LineOpenAbove (in Tools->Options->Environment->Keyboard in Visual Studio)
Alternatively, if you know the Vi keys then install the VsVim Extension and use SHIFT+O to insert above and O to insert below the cursor.

If this problem happened without installing ReSharper:
go
Tools - Options - Environment - Keyboard
then select 'Visual Studio 6' from 'Apply the following additional keyboard mapping scheme'

Related

How to replicate SublimeText ctrl+D in Visual Studio

I am used to work with Sublime text and trying to switch for Visual Studio for bigger projects, one of the feature of sublime that I absolutely love is its multiple select feature. You can hit ctrl + d multiple times to select next instance of the same word and then rewrite them all at once. Is there anything like this in Visual studio? I tryed to find it, but with no success.
Btw I am using Visual Studio 2015.
Visual studio 2017-19
The default shortcut is Alt+Shift+.
But if you want to add Ctrl+D
Go to the menu Tools > Options then select the Keyboard tab on the left
At the top you'll find an option to add extra keybindings, select Visual Studio Code. Save and That's it!
This works because Visual Studio Code has Ctrl+D, and other shortcuts similar to SublimeText
Alternatively you can manually add shortcuts
In the image, you can find any command to customize in the middle section.
The particular command you are interested is the one selected Edit.InsertNextMatchingCaret
Ctr R, R, this is used to replace the name of the varibals, depronto can serve it.
and you are encouraged here are all the shortcuts of vs2015 http://visualstudioshortcuts.com/2015/
Goto Tools / Options / Keyboard
Search for duplicate
Choose Edit.Duplicate
Remove the assignement for the current shortcut
Assign the shortcut you want
Ctrl + Shift + L seems to work.
Use Alt +leftClick and ctrl+F2 . For more reference you can go Official Website [link]https://code.visualstudio.com/docs/getstarted/keybindings#_keyboard-shortcuts-reference
I decided to use this Visual Studio Extension:
https://marketplace.visualstudio.com/items?itemName=JustinClareburtMSFT.SublimeVS

Visual Studio 2015 Ctrl + D (code duplication) not working (keyboard shortcut scheme issue with Resharper)

Ctrl + D in a Visual Studio 2015 Windows10 project is not working at all.. its working in Notepad++. I have tried to reboot my machine, and closed down Visual Studio but nothing works.
I have Windows 10 Threshold 2 and Visual Studio 2015 Version 14.0.23107.0
PS: it was working fine yesterday...
Edit1:
Keyboard mapping is looking good:
RESHARPER is/was the culprit
How to fix:
reset all Visual Studio settings (Tools > Import and Export Settings > Reset all settings)
then go to the Resharper > Options > Keyboard & Menus and re-apply the keyboard shortcut scheme.
and now its working again!
Below steps are worked for me.
Go to Tools > Options >Environment >General> Keyboard
Select visual C# 2005 in keyboard mapping scheme
In Show commands containing, search for Edit.Duplicate
Assign Ctrl + D in shortcut key
Reinstalling ReSharper fixed the issue for me
Just FYI, If you are VS 2019 User:
Extensions > Resharper > Options > Environment > Keyboard
Change Keyboard Scheme to None and save, then go back again and change it to Visual Studio
I was struggling with this problem for a while and this method fixed it.
Goto File->Preferances->keybord Shortcut->On the top search duplicate->Double click on duplicate Selection->ctrl+Shift+D->Press Enter

Duplicate line short cut does not work in VS 2013

I have Visual Studio 2013 and Resharper installed.
Until recently when I pressed Ctrl D, Ctrl D I was able to duplicate the line I was on.
Now it does not work.
How do I go about fixing this?
Go to Tools -> Options -> Keyboard. Then select command ReSharper.ReSharper_DuplicateText from list (autocomplete works).You may press Ctrl+D and assign it to selected command. It's possible to set scope (Global etc.). By default I have Text Editor and XAML scopes.

Keyboard shortcut for the "Update options..." variable drop down in Visual Studio 2013

In VS 2012 Ctrl + . would enter the drop down that is highlighted at the bottom right of a variable name when the name itself is changed. You could then update all references to the variable with the keyboard only. I cannot get this to work in VS 2013, and am missing it greatly! Does anyone have any idea how to get this working in 2013??
Thank you for your help!
Take a look at this. It has all the keyboard shortcuts available for VS2013. Including Ctrl + Dot
If it still does not work, have a look at the configuration here (This is for VS2012, but I would imagine its' is the same for 2013)
If you go Tools > Options > Environment > Keyboard. The command you're looking for is View.ShowSmartTag.
You can then assign the shortcut you want (ctrl + .) to this command.

Curly braces in visual studio running desktop parallels mac

I'm testing visual studio in desktop parallels win7 running on my Macbook air. Everything works fine except that i cannot get curly braces to work inside visual studio.
The Curly braces do work Shift + right-alt 7/8 (tested in notepad) but something is overriding the key combination inside visual studio.
software specs in parallels
Windows 7
Visual studio 2012
Resharper
I think it is Resharper that is messing with me. Does anyone know how to turn off a shortcut, specifically the key combination shift + right-alt + 7/8 so i can get curly braces working again.
You can check all the different shortcuts in Visual Studio and modify them as you like.
In Visual Studio goto: Tools -> Customize and press the Keyboard button at the bottom.
Then, in the "Press Shortcut Key" TextBox just press the key combination and you'll see what command it is set to, and you can remove/redefine that combination
I had the same problem, but I finally found how it work:
for { type right-alt+5 and for [ type right-alt+shift+5
In Visual Studio 2015 the keyboard settings are at Tools -> Options under Environment/Keyboard.
I could not find the bound command by pressing the shortcut.
After some digging i discovered the command name: ReSharper_EnableDaemon. Removing all shortcuts for this command, I can now type { again.
Try to use fn + alt (right alt key) + 7/8 in your keyboard. Should fix most of those Mac parallel issues.

Resources