3
votes

Whenever I try to 'run block' to run a block of Julia code in Atom, it just runs the currently selected line. 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?

2
Hard to say without some more info - what versions of Atom, the relevant Atom packages, and the Julia packages are you on? Also this is maybe one of the rare questions that would benefit from a screenshot :) - Nils Gudat
i ended up getting really frustrated and doing a fresh reinstall of Atom, Juno, and Julia altogether. After I did this, the code formatting works as expected. There must have been some incompatibility in my version of Atom and the relevant code formatting packages for Juno... - Conor
Atom does no run code. You need to at least specify the third-party package you're using to run code. - idleberg
I specified it - Juno. - Conor

2 Answers

1
votes

The block delimiter is ## with a space after the second octothorpe. Try, for example, ## ---

0
votes

I just reinstalled Juno/Atom/Julia fresh and everything worked out. Should I just delete this post?