Juno IDE for Julia,如何互动? [英] Juno IDE for Julia, how to interact?

查看:596
本文介绍了Juno IDE for Julia,如何互动?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在交互式语言中轻松使用IDE的一种方法是在命令行环境中通过IDE进行交互。我想知道朱诺是否有可能。换句话说,是否存在如Matlab中的命令行环境,调用函数,给出初始值和运行表达式。如果是这样,访问它的方式是什么?

One way to comfortably use an IDE in an interactive language is to interact via the IDE in a command line environment. I am wondering if that is a possibility in Juno. In other words, is there a command line environment as in Matlab, to call functions, give initial values, and run expressions. If so what is the way to access it?

注意:Juno中有一个控制台窗口,但我找不到在其中插入命令的方法。

Note: There is a console window in Juno, but I can't find a way to insert my commands inside that.

推荐答案

注意:问题及此答案适用于基于LightTable的Juno版本。当前版本基于Atom并具有交互式控制台。

Note: The question and this answer apply to the version of Juno that was based on LightTable. The current version is based on Atom and has an interactive console.

您无法在Juno的控制台中输入命令 - 这是显示输出。通过将光标设置在要提交的行中并按 Ctrl + Enter Shift + ,可以在编辑器中提交命令。然后,该值将显示在该行旁边的小弹出窗口中,如果您有控制台可见,则输出将打印到控制台。

You can't enter commands into the console in Juno--that's for displaying output. Commands can be submitted from within the editor by setting your cursor in the line to submit and pressing Ctrl+Enter or Shift+Enter. The value will then be displayed in a small popup next to the line and the output will be printed to the console if you have the console visible.

请注意,无法按照您的设计使用控制台。有关Juno文档中控制台的信息,请参见此处

Note that the inability to use the console as you desire is by design. See here for information about the console from the Juno docs.

这篇关于Juno IDE for Julia,如何互动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆