控制台崇高文字2 [英] Console for Sublime Text 2
问题描述
我在C#初学者,我试图用崇高的文本作为我的编辑。
,而默认的控制台似乎并不支持到Console.ReadLine();
我不能在任何地方,我可以输入我的输入找到。
I'm a beginner in C# and I'm trying to use Sublime Text as my editor. But the default console doesn't seem to support "Console.ReadLine();" I can't find anywhere that I can type my input with.
我也问过我的教授,他告诉我使用的插件。
所以我搜索了一些插件,我发现REPL和CSharpreter。
然而,REPL似乎并不支持C#
I have asked my professor and he told me to use the plug-ins. So I searched some plug-ins and I found REPL and CSharpreter. However, REPL doesn't seem to support C#
和甚至当我试图加载其他语言,像这样的错误信息弹出。
and even when i'm trying to load other language, error message like this pops up.
什么可以是一个很好的解决方案?请帮忙! (我一直在解决这个问题约4小时......)
What can be a good solution? Please help! (i've been solving this problem for about 4 hours...)
推荐答案
您正在寻找scriptcs的组合,scriptcs-崇高和SublimeREPL。他们将让你写和执行崇高的文字,轻松里面的C#代码
You're looking for a combination of scriptcs, scriptcs-sublime and SublimeREPL. They will let you write and execute C# code inside Sublime Text easily.
步骤安装:
Install chocolatey (like apt-get for Windows) by running the following PowerShell command:
@powershell -NoProfile -ExecutionPolicy不受限制-CommandIEX((新对象
net.webclient).DownloadString('的 https://chocolatey.org/install.ps1 '))
和;&安培; SET PATH =%PATH%;%SYSTEMDRIVE%\chocolatey\bin
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin
安装运行以下命令scriptcs您的CLI
Install scriptcs by running the following command in your CLI
cinst scriptcs
cinst scriptcs
Install Sublime Package Control (if you don't have it already). You can find the installation guide here.
转到菜单>工具>命令面板
键,键入安装软件包
,然后找到并安装
Go to Menu > Tools > Command Palette
and type Install Package
, then find and install
-
scriptcs
-
SublimeREPL
scriptcs
SublimeREPL
重新启动崇高
您现在应该运行scriptcs崇高文本中REPL:)
You should now be running the scriptcs REPL inside Sublime Text :)
这篇关于控制台崇高文字2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!