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.
Pull requests are welcomed! Raise an issue here if you have any question.
Two ways to install:
- From command line:
apm install structure-view
-
From Atom editor:
Settings/Preferences ➔ Packages ➔ Search for
structure-view
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 , .py , .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 |
You can find all these commands by Command Palette
.
Structure View: Hide
Structure View: Show
Structure View: Toggle
Ctrl-o
:Structure View: Toggle
- Single click: navigation of tag
- Double click: collapse/expand the tree of selected tag
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 |
<>
: Element
S
: SelectorP
: Property
C
: ClassI
: ImportF
: FunctionM
: MethodV
: Variable
U
: Unknown
See TODO.md
.
- Universal tag generator comes from symbols-tree-view
MIT