GithubHelp home page GithubHelp logo

alexxnica / structure-view Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alibaba/structure-view

0.0 0.0 0.0 518 KB

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.

Home Page: https://atom.io/packages/structure-view

License: MIT License

JavaScript 94.53% CSS 4.18% HTML 1.28%

structure-view's Introduction

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

Only tested on Atom v1.17, v1.19 yet. Please help this tool works well on more versions of Atom.

Table of Contents

Installation

Two ways to install:

  • From command line:
apm install structure-view
  • From Atom editor:

    Settings/Preferences โž” Packages โž” Search for 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.

  • Structure View: Hide
  • Structure View: Show
  • Structure View: Toggle

Shortcut

  • Ctrl-o : Structure View: Toggle

Settings

Feature Description Default
Autoscroll from Source 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

  • U : Unknown
HTML
  • <> : Element
CSS
  • S : Selector
  • P : Property
Javascript
  • C : Class
  • I : Import
  • F : Function
  • M : Method
  • V: Variable

TODO

See TODO.md.

Contributing

License

MIT

structure-view's People

Contributors

gitarian avatar joouis avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.