structure-view

Structure View for ATOM, just like Outline view in Eclipse or Structure tool window in IDEA / WebStorm, provides quick navigation for symbols of source code with a tree view.

alibaba

28,984

23

0.2.1

MIT

GitHub

Structure-View

Structure View for ATOM editor, just like Outline view in Eclipse or Structure tool window in IDEA / WebStorm, provides quick navigation for symbols of source code with a tree view.

demo

Pull requests are welcomed! Raise an issue here if you have any question.

Table of Contents

Installation

Two ways to install:

apm install structure-view

Language Support

Lanuage File Extensions AST Parser
HTML .html , .njk , .xtpl , ... htmlparser2
CSS .css css
Javascript .js esprima / jsctags
Others .coffe , .less , .scss , .sass , .yaml , .yml , .md , .markdown , .mdown , .mkd , .mkdown , .ron , .json , .cson , .gyp , .c , .cpp , .mm , .rb , .php , .module , .go , .pl , .pod , .es6 , .jsx , .es , .hx , .nim , .rs , .lc , .livecodescript , .irev , .sql , .bdy , .spc , .pls , plb , .ddl , .pks , .pkb , .sce , .sci , .m , .kla , .ini ctags

Usage

Commands

You can find all these commands by Command Palette.

Shortcut

Operations

Settings

Feature Description Default
Show Variables If you don't need variables in the structure of file, just uncheck this config. true
Show Properties If you don't need properties in the structure of file (such as CSS), just uncheck this config. true
Double Click To Fold Tree View If this value is false, then select tag and toggle the tree view would all by single click. true
Autoscroll from Source (Beta) Enable this feature to have Atom automatically move the focus in the Structure View to the node that corresponds to the code where the cursor is currently positioned in the editor. false

Icon alphabet meaning

HTML
CSS
Javascript

Others

TODO

See TODO.md.

Contributing

License

MIT