4

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!

1 Answer 1

7

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
Sign up to request clarification or add additional context in comments.

2 Comments

Thanks, I'll take a look at writing scripts. =)
Yep, scripting is definitely an agile way of doing what I want to do. Case closed.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.