-
Notifications
You must be signed in to change notification settings - Fork 3
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
Focus active manim shell when running "Preview Selected Manim Code" #86
Comments
maybe for this - |
Ben, would you like that the shell opens whenever you use this shortcut? Or just in some scenarios, e.g. for "debug" statements. E.g. even if we had a checkbox in the settings, it could be beneficial to have a sperate command to run in the shell AND open the respective shell that the command was run in. Since maybe most of the time you don't really need the terminal when just previewing. Would a command like |
YES. Having an "Open active manim terminal cmd" that can be arbitrarily bound to a hotkey is perfect. Thanks @Splines. My idea is that whenever you run a specific selection of lines, you may want to see what happens in the video, or what the data looks like (perhaps w/ print statements) in the terminal. My workflow would say I would always want to see both if I run just specific lines. But let's not develop to my specific workflow right now, this is not an urgent issue |
Ok, so what could be implemented in the future:
|
(building a small scene in manim for work and am recording features that would be nice for my workflow)
When debugging a scene, I find that I often want to check the state of data that is underlying the visualization. The nicest way to do these "debug" statements is to type
cmd+' cmd+r
to run selected lines (they may be as simple as printing shapes or values of existing objects). However, I then have to find the terminal that is running the active manim session to see the output.The text was updated successfully, but these errors were encountered: