Juno IDE for Julia, how to interact?

不羁岁月 提交于 2019-12-10 15:59:35

问题


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?

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


回答1:


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.


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.

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.



来源:https://stackoverflow.com/questions/29901532/juno-ide-for-julia-how-to-interact

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!