3

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?

Conor
  • 691
  • 5
  • 14
  • 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 Jun 05 '20 at 18:49
  • 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 Jun 05 '20 at 20:46
  • Atom does no run code. You need to at least specify the third-party package you're using to run code. – idleberg Jun 07 '20 at 17:47
  • I specified it - Juno. – Conor Jun 08 '20 at 10:31

2 Answers2

1

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

cbk
  • 4,225
  • 6
  • 27
0

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

General Grievance
  • 4,555
  • 31
  • 31
  • 45
Conor
  • 691
  • 5
  • 14