简体   繁体   中英

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM