Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: C# REPL #1239

Open
martinsuchan opened this issue Feb 14, 2017 · 13 comments
Open

Feature Request: C# REPL #1239

martinsuchan opened this issue Feb 14, 2017 · 13 comments

Comments

@martinsuchan
Copy link

One feature I really miss in Visual Studio Code right now is the C# Interactive/REPL. It was added to full Visual Studio in late 2015 and it's highly useful for testing code snippets.

If this functionality is already provided by this addon, then I was not able to find it.

@filipw
Copy link
Contributor

filipw commented May 3, 2017

This could be integrated via the VS Code Terminal API. For example Ionide has a nice FSI integration.

It would be great if the C# extension bundled CSI.

@filipw
Copy link
Contributor

filipw commented May 4, 2017

Here is the Ionide experience

@dz4va
Copy link

dz4va commented Oct 13, 2017

Would love that

@runxc1
Copy link

runxc1 commented Apr 4, 2018

VS Code is nice for testing something small out. Would love to see something like what you get with LinqPad with a visualizer for many datatypes as well.

@hickford
Copy link

With Ionide-fsharp, F# Interactive in Visual Studio Code is brilliant:

  • FSI: Start
  • FSI: Send File
  • FSI: Send Line
  • FSI: Send Selection
  • FSI: Send References from project

It would be great to have similar commands for C# Interactive

@Svetomechc
Copy link

Is this still not a thing?

@filipw
Copy link
Contributor

filipw commented Sep 19, 2019

no, not at the moment

@Dragon-God
Copy link

I would greatly appreciate this feature as well.

@mika76
Copy link

mika76 commented Mar 4, 2020

Yeah me too!

@2E0PGS
Copy link

2E0PGS commented Sep 19, 2020

Similar to the plans here: dotnet/interactive#392

Similar to the feature request here: dotnet/interactive#335

Similar to the feature request here: dotnet/roslyn#17666

@fgimian
Copy link

fgimian commented Jun 26, 2022

I love and use REPLs all the time (coming from Python) and would love to see this too. However, in the meantime, check out CSharpRepl which you can easily use in any terminal with completions and syntax highlighting. It's very good!

Hope this helps
Fotis

@lonix1
Copy link

lonix1 commented Jun 26, 2022

@fgimian I've been looking for even a half-decent REPL for ages, without success. The one you posted is simply incredible. Thank you!

@JoeRobich
Copy link
Member

fsi ships in the .NET SDK and I think similarly csi should ship too. Then the repl would be available for everyone not just VSCode users and could be opened in the terminal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests