Skip to content

angelozerr/tern.ace

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 

tern.ace

This project was just a POC. Please use this tern ace project https://github.com/sevin7676/Ace.Tern

tern.js is a stand-alone code-analysis engine for JavaScript written in Javascript.

Ace is a standalone code editor written in JavaScript.

tern.ace gives you the capability to use tern.js in a Ace editor like the CodeMirror Tern addon

Features

Completion

If you open completion, on Array variable, you will see functions of the array :

Tern ACE Completion

If you apply the completion, it will generate the signature of the selected function :

Tern ACE Completion Apply

Use tab, to switch to next parameter.

Text Hover

If you hover known JS elements, a tooltip displays some useful information like documentation, type, url :

Tern ACE Completion Apply

Structure

The basic structure of the project is given in the following way:

  • demos/ demos with Tern and ACE. Open tern-autocompletion.html.
  • lib/ contains tern-ace.js which is the glue between Tern and ACE.

Similar project

https://github.com/sevin7676/Ace.Tern

About

Tern with Ace Editor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published