Show editor and output at the same time
Asked Answered
R

2

7

When using the octave-IDE, I can select between the command window and the editor, but not see both at the same time.
Therefore I can't immediatly see outputs from print statements in my scripts.

Is there a layout that shows both or am I doing something else wrong?

Rampageous answered 2/5, 2021 at 21:46 Comment(1)
Strange, I can see both. Check if Window->Show command window and Window->Show editor are both checked.Retrad
B
9

You can drag any window and reposition it within the layout.

E.g., if you switch to the Editor window and click and drag with your mouse the editor's titlebar (i.e. the bit that says 'Editor', right about the editor's File / View menu), you can then start dragging it to the right, and identify a new 'grid' cell to drop it in.

enter image description here

enter image description here

If you're not getting an appropriate gridpoint to drop it in, try resetting the layout and trying again (from Window tab, select "Reset Default Window Layout" at the bottom)

Brandie answered 3/5, 2021 at 14:3 Comment(7)
just to add, there is also a small icon in the upper left of the tabs (to the left of the 'x' that will close it) that will 'undock' the editor into it's own separate window that can then be positioned however you likePentastyle
@NickJ yes, or similarly you can double-click to detach. Thanks for the comment!Brandie
huh. I never knew that. learn something new every day.Pentastyle
I was clicking and dragging the tab at the bottom of the pane that says "Editor". I didn't notice the clickable title bar at the top of the pane. Thanks for showing!Inborn
Could this be the case that this method only works in linux? I'm using windows 10 with Octave 6.4.0 and I'm unable to identify a new 'grid' cell to drop it in.Mesothorium
@Mesothorium Hi Dabed. I'm not on windows now to test, but that's highly unlikely. Did you read the last sentence in the answer about resetting if the grid doesn't appear? Does that not work either? If not, I would open a bug on the octave bug tracker and see what people say there.Brandie
Thanks, I tried resetting the grid too but no difference, I may open a bug on the octave tracker if I ever test it too on a linux system but I don't see this happening so I think I will just live with this issue =) Thanks againMesothorium
S
1

was having a similar issue to the question. cmd window and editor were on tabs and could undock be could not reporition in separate windows. noticed octave app was not maximized, once i maximized app, i could then position them as desired

Stilbite answered 19/2 at 15:18 Comment(1)
As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.Halfandhalf

© 2022 - 2024 — McMap. All rights reserved.