Permanent panel of GoTo section list

18 vues (au cours des 30 derniers jours)
Spencer Chen
Spencer Chen le 28 Nov 2018
Commenté : Spencer Chen le 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

Réponses (1)

Amy
Amy le 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 commentaire
Spencer Chen
Spencer Chen le 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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by