Permanent panel of GoTo section list

23 Ansichten (letzte 30 Tage)
Spencer Chen
Spencer Chen am 28 Nov. 2018
Kommentiert: Spencer Chen am 8 Jan. 2019
In Matlab Editor, the GoTo toolstrip will give a list of sections that allows you jump to various locations of the script.
Is there a way to display a panel with the same list of sections permenantly in Editor window?
Blessings
Spencer

Antworten (1)

Amy
Amy am 30 Nov. 2018
I don't think the exact feature you're describing exists at the moment, but the Current Folder browser does have a "Details" panel that you can use to preview the contents of a file. I believe it's minimized by default, but you can right click on a file and select "Show details" to expand it. For MATLAB scripts, the details will show all of the sections and sub-functions in the script, and from there you can double click on a section name to go to that section in the Editor.
This will only show you details for the one file that's selected in the current folder pane, not for all the files you currently have open in the Editor, but if you're spending most of your time working in the same directory it might still come in handy for you.
  1 Kommentar
Spencer Chen
Spencer Chen am 8 Jan. 2019
Something like the following from an editor that I use for C/C++ codes. The tags on the left function names and clicking on them allows me to GoTo that particular function on the editing pane.
The GoTo toolstrip icon already has a list, but it requires more clicking to get to; less intuitive.
Blessings,
Spencer
FunctionList.jpg

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by