github fkling/astexplorer v1.8.0

latest releases: v2.1.0, v2.0.0, v1.13.0...
8 years ago

New: Code completion for jscodeshift

We now have rudimentary support for code completion for the following APIs, thanks to Tern.

  • Type definitions (j.Literal)
  • Builders (j.literal)
  • Some NodePath methods (recast)
  • AST node field completion (if Tern can determine the type of the AST node)
  • jscodeshift's core API

Commands:

  • CTRL + Space: Show code completion
  • CTRL + I (capital i): Show signature / definition / description

The API definition file is partially auto-generated. The manual part of it (which defines the methods for recast, ast-types and jscodeshift's core API) is still missing some descriptions and methods, if anybody wants to help out :)

The integration with Tern is a bit hacky, but in the long run I hope we can provide similar support for other transformers.

2016-02-16 09_23_43

Don't miss a new astexplorer release

NewReleases is sending notifications on new releases.