CSharpRepl icon indicating copy to clipboard operation
CSharpRepl copied to clipboard

How to use as a replacement for the C# Interactive tool in JetBrains Rider?

Open nathanpovo opened this issue 10 months ago • 0 comments

Feature Description

I would like to use this excellent C# REPL as a replacement for the C# Interactive tool in JetBrains Rider.

The idea with this issue is to get some documentation on how to use this tool in Rider to make it for myself and others to use csharprepl directly in Rider. If this is currently not possible, I would be happy to lend a hand in getting any changes developed.

What I have tried

Pointing Rider to the exe of csharprepl in the settings:

image

I can then open a C# Interactive session from within Rider and it will run csharprepl:

image

Issues

While Rider does manage to run csharprepl without any errors, nothing actually happens when I try to use it:

image

The intellisense feature actually works but I'm not sure if that is csharprepl's intellisense or Rider's:

image

Workaround

Open a terminal Rider and run the csharprepl tool directly:

image

System Versions

JetBrains Rider 2024.3.2 C# REPL 0.6.7+d2955f13e744320cd6331c484e1286c3ed4f8612 Windows 11.0

nathanpovo avatar Dec 19 '24 15:12 nathanpovo