Question

It is possible to send highlighted code directly to the F# interactive console in Visual Studio 2008 by pressing Alt+Enter on the keyboard, which is indeed very useful. Is it possible to in a similar fashion send the contents of one, several or all files in a project to the F# interactive console at the same time? My intent is to test my code interactively, just like before, but this time the code in the file I'm working on is dependant on code in other files in the project. If what I'm asking about isn't the most efficient way to do this, I'd appreciate an explanation of what is. =]

Thank you!

Was it helpful?

Solution

There's nothing directly to do this, but

  • you can hit e.g. Ctrl-A to highlight entire files at once
  • you can make an script.fsx that "#load"s each file in the project
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top