Switch to last opened tab in Editor

13 ビュー (過去 30 日間)
Joseph Cullen
Joseph Cullen 2015 年 12 月 21 日
回答済み: Odd Trandem 2022 年 11 月 2 日
I need a quick way to switch between two opened tabs in Editor that are not next to each other. I need a keyboard shortcut that will switch back to the last file I was editing.
I often have many .m files open as tabs. I usually I am actively editing two or three of these files and occasionally editing the rest of them. In particular, I am often switching frequently between two files. This behavior is the default for app switching on Mac/Windows and within other apps such as Textmate. The only keyboard shortcuts for tab switching are to move up/down the list of files (ctrl-pgup/pgdwn). This is clunky. Any suggestions?

回答 (6 件)

Odd Trandem
Odd Trandem 2019 年 10 月 3 日
編集済み: Odd Trandem 2019 年 10 月 3 日
This shortcut is available in nearly all other IDEs and text editors, and is strongly missed in the Matlab editor.

Matthew
Matthew 2018 年 9 月 5 日
This functionality needs to exist. Most Python IDE's have this capability. It is a great hindrance to efficiency.

Renato Agurto
Renato Agurto 2015 年 12 月 21 日
I don't know if its possible. If your MATLAB version allows it, you can move the tabs and place them next to each other and thenuse ctrl+pguo/pgdown
Or you can use View-> tiles -> Left/right and you can split the editor in 2 and see 2 files at the same time
  2 件のコメント
Joseph Cullen
Joseph Cullen 2015 年 12 月 21 日
Rearranging the files is always a possibility, but constantly rearranging the files is not something that I want to be doing. Also, I would have to remember whether to go up or down. This would depending on the relative location of the last file I was editing. I would like one short cut that always goes to the last active file.
Renato Agurto
Renato Agurto 2015 年 12 月 21 日
Sorry, but according to "MATLAB Keyboard Shortcuts Preferences" there isn't any ahorcut to switch tabs, other than what you already mentioned

サインインしてコメントする。


CdC
CdC 2020 年 4 月 10 日
This needs to be added, as in other IDEs. cmd-E please!

Jason Doyle
Jason Doyle 2022 年 3 月 9 日
Yes, this is really annoying.
Matlab - make ctrl-tab switch between buffers. The current near-worthless functionality of ctrl-tab only makes me upset.
And why can't you support column editing?
And no tab completion functionality?
This is the only thing I want in your next release. Stop working on new toolboxes until you can provide a full-featured editor.
  5 件のコメント
Walter Roberson
Walter Roberson 2022 年 3 月 9 日
編集済み: Walter Roberson 2022 年 3 月 9 日
Stop working on new toolboxes until you can provide a full-featured editor.
Mathworks was going to release R2022a tonight, but I will make sure to tell them to halt that until the editor is completely finished.
... Done. I used internal channels to tell them to stop R2022a.
Jason Doyle
Jason Doyle 2022 年 3 月 9 日
編集済み: Jason Doyle 2022 年 3 月 10 日
Ah, so there is something useful added since 2016. I see my 2021a live editor has these capabilites, but you don't get that feature in the normal editor until 2021b. I am so accustomed to there being nothing of value to me in new releases. Sorry matlab, you do care, eventually. Thanks for the info, Walter.

サインインしてコメントする。


Odd Trandem
Odd Trandem 2022 年 11 月 2 日
I have downloded rel 2022b today. Still no ctrl-tab select last used editor tab functionality. :(

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by