JunoLab / Juno.jl

MIT License
144 stars 23 forks source link

[FR] Visualize start/end of loop/if/function #564

Closed azev77 closed 4 years ago

azev77 commented 4 years ago

I don't know what this is called but a lot of IDEs (Matlab/STATA etc) have it. Note: it is very convenient/easy to click on "-" to fold code.

image

Update: even the free Notepad++ has image

pfitzseb commented 4 years ago

We do have markers for folding code, but you need to hover over the gutter to see them with the default theme: grafik

azev77 commented 4 years ago

@pfitzseb you're right! But I like seeing the bars that connect the beginning w/ end. Is that an option in Juno? image

Notepad++ is cool bc the inner loop bar is a different color than the outer loop bar...

azev77 commented 4 years ago

Also in the Juno homepage they have nested vertical lines connecting: function w/ end for w/ end if w/ end

How can I set the option to make these lines viewable in Juno (without the ...)?

image

aviatesk commented 4 years ago

see e.g. https://stackoverflow.com/questions/44761009/how-to-enable-the-vertical-lines-in-atom