【问题标题】:Do you know any nice interface for C# Interactive standalone?你知道 C# Interactive 有什么好的界面吗?
【发布时间】:2018-04-23 08:17:32
【问题描述】:

您可以在 Visual Studio 中打开 C# 交互窗口,以将 C# 用作一种 shell 语言的脚本。不幸的是,这要求您始终打开 Visual Studio。

我知道我可以运行 csi.exe 本身,但这并没有给我任何语法高亮或自动完成功能。

如何独立运行 C# Interactive Windows?

【问题讨论】:

  • Powershell ISE 接近了。您正在尝试构建 Visual Studio 而不想将其称为 Visual Studio。
  • 你会被关于这个的意见轰炸
  • 我希望是 Visual Studio - 实际上,没有主窗口过载。我需要一个像ide.exe /csi 这样的命令行。这还没有被发明出来?

标签: c# visual-studio shell read-eval-print-loop c#-interactive


【解决方案1】:

我建议使用 LINQPad(我自己不使用它,但我知道它可以做那种事情)。我觉得它很强大

https://www.linqpad.net/

【讨论】:

  • 看起来不知何故超出了我的目的。不过谢谢。
【解决方案2】:

VSCode 内置了对 .NET Interactive Notebooks 的支持 - 如果您没有看到它,您可以安装“.NET Interactive Notebooks”扩展程序

【讨论】:

    猜你喜欢
    • 2020-08-04
    • 2013-02-17
    • 1970-01-01
    • 1970-01-01
    • 2022-09-27
    • 2019-09-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多