[英]Julia: running code blocks in Juno / Atom
Whenever I try to 'run block' to run a block of Julia code in Atom, it just runs the currently selected line.每当我尝试“运行块”以在 Atom 中运行 Julia 代码块时,它只会运行当前选定的行。 I don't understand what's wrong.
我不明白出了什么问题。 I've tried all the different delimiters ('##', '# %%', and '# --') and it still isn't recognizing code blocks.
我已经尝试了所有不同的分隔符('##'、'#%%' 和 '# --'),但它仍然无法识别代码块。 The formatting itself also suggests it's not recognizing the block delimiters.
格式本身也表明它无法识别块分隔符。
What am I doing wrong?我究竟做错了什么?
The block delimiter is ##
with a space after the second octothorpe.块分隔符是
##
,在第二个 octothorpe 之后有一个空格。 Try, for example, ## ---
例如,尝试
## ---
I just reinstalled Juno/Atom/Julia fresh and everything worked out.我刚刚重新安装了 Juno/Atom/Julia,一切顺利。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.