Multiple tabbed editor windows

97 次查看(过去 30 天)
I believe this functionality existed in previous versions (2015b currently), but I cannot for the life of me figure out how to have 2+ editor windows both of which have multiple tabs. This would make certain tasks much easier. For example, I have two different code sets I am working on, both with multiple components with similar names. It would be nice to split those into two different windows to avoid confusion.
  1 个评论
Roberto Osorio
Roberto Osorio 2017-7-19
I second this request for multiple tabbed editor windows. This could be implemented, for instance, using a Projects design (each project opening by default in a separate window with tabs for the project files). The only way I can accomplish this now is by (clumsily) opening a new Matlab session just for editing a separate project.

请先登录,再进行评论。

采纳的回答

Adithya Addanki
Adithya Addanki 2016-3-31
Hi Daniel,
In my understanding you are trying to open multiple files (tabbed in multiple editor windows).
I was not able to get two different undocked windows with multiple tabs from MATLAB R2015b back until R2012b. Only the primary window has tabs and rest of the files open up in a separate new window(and not tabbed on the parent).
However, I have noticed that we would be able to open multiple editor tabs when the view is set to "Left/Right" mode(or any other mode than "Single"). You may undock the whole "Editor" pane from MATLAB to another window as well. Please refer to the screenshot.
I hope this helps.
Thank you,
Adithya
  1 个评论
D. Plotnick
D. Plotnick 2016-3-31
Thank you for your response, This is currently how I run my matlab editor screen. However, for larger and more complex codes I tend to use the multi-panel mode for a single project; e.g. model, view, controller on a "Left/Center/Right" panel, which makes coding much easier.
The issue is if I want multiple projects accessible simultaneously, it would be MUCH easier to have these split into different windows. This would also be especially useful for people using tutorials to build a new type of code for the first time.
Alternatively, is there a way to save a layout, e.g. I want .m files A, B, C, and D to all open at the same time in the editor and be arranged in a specific manner? If that was the case I would not feel so resistant to entirely closing the project I am not actively working on.
I understand these may not be current capabilities within Matlab, if so take them as friendly suggestions.

请先登录,再进行评论。

更多回答(4 个)

Andrew Shi
Andrew Shi 2020-9-4
Just want to chime in and say this feature would be helpful. Is anyone aware of any updates?

Joh Hag
Joh Hag 2018-8-7
Count me also in. Multiple tabbed editors and projects would be awesome.

Md Reza
Md Reza 2019-2-13
编辑:Md Reza 2019-2-13
I second this request. It's really cumbersome to work on a single editor for multiple projects.
I found a hack to get multiple editors which will allow for more than two (eg, left/right or top/bottom) separate projects. Use the 'Custom' option from the 'View' menu and create as many table entries as you need. See the attached example to get an idea:
Screen Shot 2019-02-13 at 5.29.07 AM.png

Dennis Van Dusen
Dennis Van Dusen 2017-10-17
I second this request. It is actually non-sensical to have the current 'single' undocked window rather than multiple undocked 'editor tabsets'. This is because the 'single' does not have the 'HOME' Top Tool Tab and toolbar. The actual effect is that you can not EVER get to those toolbar functions for that file -- especially what you might want for Variables. (It might actually be that the variables tools are not considered to be for a specific .m, but that is a slightly different issue. Why, for instance, is there no way to click on a variable in code and see it pop up in the workspace? That makes me think that 'variables' are always thought of as more like files rather than 'properties', etc.)
D

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by