company-tern

Tern backend for company-mode.

Subscribe to updates I use company-tern


Statistics on company-tern

Number of watchers on Github 98
Number of open issues 7
Average time to close an issue 18 days
Main language Emacs Lisp
Average time to merge a PR about 8 hours
Open pull requests 1+
Closed pull requests 1+
Last commit about 1 year ago
Repo Created over 4 years ago
Repo Last Updated 4 months ago
Size 38 KB
Organization / Authorproofit404
Contributors2
Page Updated
Do you use company-tern? Leave a review!
View open issues (7)
View company-tern activity
View on github
Latest Open Source Launches
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating company-tern for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

.. |travis| image:: https://travis-ci.org/proofit404/company-tern.png :target: https://travis-ci.org/proofit404/company-tern :alt: Build Status

.. |coveralls| image:: https://coveralls.io/repos/proofit404/company-tern/badge.png :target: https://coveralls.io/r/proofit404/company-tern :alt: Coverage Status

.. |melpa| image:: http://melpa.org/packages/company-tern-badge.svg :target: http://melpa.org/#/company-tern :alt: Melpa

.. |melpa-stable| image:: http://stable.melpa.org/packages/company-tern-badge.svg :target: http://stable.melpa.org/#/company-tern :alt: Melpa Stable

============

Company tern

|travis| |coveralls| |melpa| |melpa-stable|

Tern_ backend for company-mode_.

Installation

You can install this package from Melpa_::

M-x package-install RET company-tern RET

Usage

Add company-tern to allowed company-mode backends list

.. code:: lisp

(add-to-list 'company-backends 'company-tern)

If you don't like circles after an object's own properties, consider a less annoying marker for that purpose or disable it entirely.

.. code:: lisp

(setq company-tern-property-marker " <p>")
(setq company-tern-property-marker nil)

You can trim too long function signatures to the frame width.

.. code:: lisp

(setq company-tern-meta-as-single-line t)

If you doesn't like inline argument annotations appear with corresponding identifiers, then you can to set up the company align option.

.. code:: lisp

(setq company-tooltip-align-annotations t)

Thanks

  • @katspaugh
  • @dgutov

.. _Tern: http://ternjs.net/ .. _company-mode: http://company-mode.github.io/ .. _Melpa: http://melpa.milkbox.net/

company-tern open issues Ask a question     (View All Issues)
  • almost 2 years Use `defcustom` for both `company-tern-property-marker` and `company-tern-meta-as-single-line`
  • almost 2 years Document `company-tern-property-marker` better
  • almost 2 years Should company-term autocomplete with only function name or snippet-like arguments too?
  • almost 3 years `company-tern` error when sorting completions from `tern`
company-tern open pull requests (View All Pulls)
  • treat 'nil' depths as '0' depth (closes #13)
company-tern list of languages used
Other projects in Emacs Lisp