Visual-studio – Shift + Enter no longer adds a new line in Visual Studio

visual studio

I installed the Visual Studio 2010 productivity power tools, and since then Shift + Enter does not add a new line in the text editor. I've tried disabling all of the productivity tools settings and even uninstalling the productivity power tools entirely, but Shift + Enter still does nothing. I can't find the setting for this.

How can I re-enable shift + enter to add a space (just like enter alone does)?

Best Answer

  • Go to Tools/Options/Environment/Keyboard.
  • Switch the "Use new shortcut in:" dropdown to "Text Editor".
  • Pick the Edit.BreakLine command.
  • In the Press shortcut keys edit pane press Shift+Enter.