开发者

F# Interactive hotkeys in Visual Studio

When developing in F# there are two main actions I keep doing all the time:

  1. Switching between development (the code window) and F# Interactive. I'd like to know if there is some kind of hotkey that'll allow me to toggle between them, so I dont have to use the mouse? That certainly breaks my workflow.

  2. I feel the urge to constantly clear up FSI (the option you find when right clicking and selecting the Clear All command). I've looked up in Visual Studio Keyboard options but I can't find the Clear All command in the commands list.

Do hotkeys exist for开发者_运维问答 any these actions? If not, would defining macros for them help me in any way?

Thanks


CTRL+Alt+F activates FSI. This, in a macro, would also do it:

DTE.Windows.Item("{DEE22B65-9761-4A26-8FB2-759B971D6DFC}").Activate() 'F# Interactive

CTRL+Tab will put you back in the editor (assuming that's where you were before).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜