Skip to content

Identifier highlight for JS/ES6/JSX heavily inspired by WebStorm's code highlight and inspection.

License

Notifications You must be signed in to change notification settings

heilhead/es-identifier-highlight

Repository files navigation

ES Identifier Highlight

Build Status Code Climate

Atom plugin for JS/ES6/JSX identifier highlighting. Heavily inspired by WebStorm's code highlight and inspection.

A screenshot

Current Features

  • Uses babylon which brings support for (almost) all of babel features
  • Proper scope inspection
  • Global variables detection
  • Shows variable definition
  • Shows properties, class methods and literals usages
  • ES6 support
  • JSX support
  • Hashbang/shell script support
  • Light theme support (see Settings)
  • Jumping between symbol instances (shift+alt+left and shift+alt+right)
  • Jump to declaration (shift+alt+up)
  • Rename symbol (alt+r alt+r)

Issues

Currently code is parsed in strict mode, meaning that if there's an error in the code, it won't be parsed and highlighted. I'm not convinced that parsing should to be done in loose mode and would advise to use eslint instead to spot and fix errors.

Please report any issues.

Contributions

Pull requests are welcome!

License

MIT

About

Identifier highlight for JS/ES6/JSX heavily inspired by WebStorm's code highlight and inspection.

Resources

License

Stars

Watchers

Forks

Packages

No packages published