I was wondering if you can divide your Julia file in sections. I use this a lot when coding in Python so I don’t have to run every piece of code all the time. In Python VS code we can use #%% to divide in sections. But I couldn’t find the same operation for Julia. Is there something similar for Julia?
You can delimit blocks with ## and execute them with the Julia: Excecute Code Cell command (which apparently is bound to Shift-Enter in standard keybindings, but I’ve changed mine so can’t check).
I’ve a problem using VS code that seems related to this. If I try to run code cells with Shift+Enter (as I used to), blocks of code are run instead than single lines. Has something changed with recent Julia or VS code updates? I never did divided files in sections