Eclipse's tab double click on Visual Studio?

2019-06-17 04:59发布

On Eclipse, whenever I double click a tab, it fills the workspace (by hiding all other views like project tree, console, etc).

Is there any way to do this on Visual Studio?

Note: i'm not looking for full screen, just want a way to declutter the workspace but still have access to menus.

4条回答
狗以群分
2楼-- · 2019-06-17 05:11

Not with double click on tab, but you can do the same with Shift+Alt+Enter key combination.

This keyboard shorcut was changed to F11 from 1.9.1 vscode version.

All keyboard Shortcuts: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf

查看更多
你好瞎i
3楼-- · 2019-06-17 05:16

Are you after this?

Set shortcuts for the Window.AutoHideAll function and for the Window.ResetWindowLayout function. In order for the ResetWindowLayout to work, you have to export your settings (make sure you select "All Settings") with all windows expanded and then import them again.

ResetWindowLayout will restore all windows to the way they were the last time you imported your settings.

查看更多
\"骚年 ilove
4楼-- · 2019-06-17 05:26

Looks like drby got it on this one. Just FYI. I pinged the VS team to ask about this and here is the response:

"There is no way to reverse the command automatically. For it to work as a toggle we would need to save which toolwindows were auto hidden and which ones were not when the command was run, which we don’t do (it would cause lots of interesting persistence questions, across profiles and VS sessions)."

The idea of a "Unhide All" command is what I suggested. So if you hide all then you can unhide all as well. There might be some windows you don't want to unhide but the 1 or 2 extra windows is better than not having an unhide IMHO.

查看更多
对你真心纯属浪费
5楼-- · 2019-06-17 05:32

I was looking for that, as well, and I now just got used to using full screen (Shift+Alt+Enter), which hides a little too much, which you seem to think, as well, but does in fact still show the menus.

查看更多
登录 后发表回答