NightShovel
NightShovel

Reputation: 3252

Is there a Visual Studio feature similar to "Code Fragment mode" in IntelliJ?

"Code Fragment mode" in IntelliJ allows you write arbitrary blocks of code and get the result (if one exists).

I don't see equivalent functionality in Visual Studio. The Immediate Window doesn't provide as much flexibility.

Upvotes: 0

Views: 54

Answers (1)

Jimmy
Jimmy

Reputation: 28446

In VS2015 there are C# and F# Interactive tool windows. Each of these provides a REPL (Read-Eval-Print Loop) environment for their respective languages.

Example of C# REPL

I'm not familiar with the IntelliJ feature, but this sounds like it might be similar?

Upvotes: 1

Related Questions