Visual Studio should know where fsi is placed from some commands that are executed when F# is installed. If alt-enter is not working the most common explaination is that the plugin is not active, you need to go to "Tools" > "Add in manager" and then check the F# interactive add-in in the dialog.

If this does not work or F# interactive is not listed as an addin then something has gone wrong with your install. Your best bet is to try running one of the alterative installs batch files that come with the distribution.

Under the hood visual studio creates an instance of the fsi process and pass the text of the command to fsi using .NET remoting. The only modification that is made to your command is that ;; is append to the end to let fsi know this is the end of a command.

Cheers,
Rob

By on 12/3/2007 9:23 PM ()

If you have a ReSharper installed it will override the FSI settings. So you have to manually remap the SendSelection command.

* In Visual Studio go to Tools -> Options... -> Settings -> Keyboard

* Find "Microsoft.FSharp.Compiler.VSFSI.Connect.MLSendSelection" by entering "MLSend" in the field below "Show commands containing:"

* Remove the binding to "Alt+Enter (Global)"

* Add and Assign a new binding (I'm using Ctrl+Alt+Enter)

//Huusom

By on 12/4/2007 12:02 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper