Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual separation between code cells option (Juno like) #1192

Open
ghyatzo opened this issue May 12, 2020 · 9 comments
Open

Visual separation between code cells option (Juno like) #1192

ghyatzo opened this issue May 12, 2020 · 9 comments

Comments

@ghyatzo
Copy link

ghyatzo commented May 12, 2020

Since code cells delimited by ## are very useful to run cells of code via Shift+Enter
It would be nice to add some kind of visual delimiter to add some more contrast between code blocks.
Similar to what Juno does:
Schermata 2020-05-12 alle 18 44 06

As a work around i was thinking at the moment to work with a user defined snippet
such as

## -> ## cell name ---------------------------- ... [up to wrap limit]
@davidanthoff davidanthoff added this to the Backlog milestone May 12, 2020
@davidanthoff
Copy link
Member

I think there might be something in the UI API that not only allows us to mark cells, but also has maybe a little button in there that could be a Run command? Not sure...

@ghyatzo
Copy link
Author

ghyatzo commented May 12, 2020

What about the ability to also fold an entire cell? maybe this could be an issue on its own to keep thing separate.

@otobrzo
Copy link

otobrzo commented May 12, 2020

From my point of view, the MATLAB style is not bad.

section_thirdlevel_highlight

@davidanthoff davidanthoff removed this from the Backlog milestone Oct 15, 2022
@Naikless
Copy link

Naikless commented Oct 31, 2022

Is this still considered? I currently work a lot with scripts that I run in my active REPL via VS Code and I use cells quite frequently for that. A visual separation would be quite nice especially if each cell only contains a couple of (long duration) function calls.

@pfitzseb
Copy link
Member

It is.

@ma-sadeghi
Copy link

vscode-jupyter has this feature implemented. Is it possible that it be reused here for Julia?

@xgdgsc
Copy link
Contributor

xgdgsc commented Sep 16, 2023

@xgdgsc
Copy link
Contributor

xgdgsc commented Sep 19, 2023

I tried https://marketplace.visualstudio.com/items?itemName=alefragnani.separators and it works with functions/structs. So how to add cell information to outlines? Anything in outlines would help it do the line separation.

@alex180500
Copy link

I would LOVE this and this would make cells much much better. It would eliminate for me the need of using jupyter for julia or pluto notebooks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants