Skip to content

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

Description

@nathanpovo

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

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions