Permanent panel of GoTo section list

조회 수: 23 (최근 30일)
Spencer Chen
Spencer Chen 2018년 11월 28일
댓글: Spencer Chen 2019년 1월 8일
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

답변 (1개)

Amy
Amy 2018년 11월 30일
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
Spencer Chen
Spencer Chen 2019년 1월 8일
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

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by