Skip to content

Sevin777/Ace.Tern

Repository files navigation

Ace.Tern

Tern plugin for Ace Editor

Project Status

  • Code is currently messy and below the standard I would expect out of an official library.
  • There are quite a few known issues that I'm still working on
  • I've been coding this extension for use in the Caret-T Chrome App
  • For a quick demo of features, install the Caret-T Chrome App and paste the following code into the editor in Javascript mode: Demo Javscript

Building

  • Currently this code is part of the Ace source (no longer hacked on top of pre-built Ace) in my fork: https://github.com/sevin7676/ace
  • Use my fork to make changes, then build it to get the src-noconflict, and copy that directory into this repo to update it.
  • This repo is also the source for my custom html beautifer for ace. Make changes to the file located @ace-buids/src-noconflict directly in this repo.
  • This repo is also contains a modified html worker for ace that makes it use jshint for javascript inside of script tags in a html file (comes at the cost of not executing the normal html linting). After copying source, need to modify file worker-html (see 'custom' folder for details)
  • After updating this repo, copy the changes to Caret-T Chrome App. Make sure not to replace my custom snippets in the javascript mode and edit the worker-tern.js file: set isChromeApp=true (dont edit the file in a chrome app as there is a bug that breaks the file due to some unicode chars in the acorn source)

About

Tern plugin for Ace Editor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published