How to get an outline view in sublime texteditor?

后端 未结 5 658
别那么骄傲
别那么骄傲 2020-12-22 15:12

How do I get an outline view in sublime text editor for Windows?

The minimap is helpful but I miss a traditional outline (a klickable list of all the functions in m

5条回答
  •  有刺的猬
    2020-12-22 15:55

    I briefly look at SublimeText 3 api and view.find_by_selector(selector) seems to be able to return a list of regions.

    So I guess that a plugin that would display the outline/structure of your file is possible.

    A plugin that would display something like this:

    code outline

    Note: the function name display plugin could be used as an inspiration to extract the class/methods names or ClassHierarchy to extract the outline structure

提交回复
热议问题