Shift + Enter no longer adds a new line in Visual

2020-02-08 04:16发布

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)?

4条回答
Melony?
2楼-- · 2020-02-08 04:29

In new versions it was changed to Ctrl+Shift+Enter, And you easily can change it as sbi suggested

查看更多
神经病院院长
3楼-- · 2020-02-08 04:38

Try Ctrl + Shift + Enter to add a line bellow.

Ctrl + Enter will add a line above.

查看更多
小情绪 Triste *
4楼-- · 2020-02-08 04:39

From Options menu, select "Environment", then "Keyboard" that gives you the option of setting keyboard shortcuts. The one you want should be "Edit.BreakLine" - you can search for them. Selecting this, you can then add/remove assosciated shortcuts.

查看更多
何必那么认真
5楼-- · 2020-02-08 04:41
  • 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.
查看更多
登录 后发表回答