Conor
Conor

Reputation: 731

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. 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?

Upvotes: 3

Views: 800

Answers (2)

Conor
Conor

Reputation: 731

I just reinstalled Juno/Atom/Julia fresh and everything worked out.

Upvotes: 0

cbk
cbk

Reputation: 4370

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

Upvotes: 1

Related Questions