Skip to content

Swatinem/tern_for_gedit

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
 
 
 
 
 
 
 
 

tern_for_gedit

This is a simple gedit plugin that provides code completion results based on tern.

Simply type to get identifier completion. Or force a completion popup by pressing <Ctrl>+Space.

Press <Alt>+F3 to select all references of the identifier at the cursor position. This hooks into the Multi-Edit gedit plugin, so that needs to be activated. Also, gedits multi-edit mode leaves a lot to be desired, it is still quite buggy.

Press <Alt>+. to jump to the definition of the identifier at the cursor position.

installation

Copy tern.plugin and tern/ to ~/.local/share/gedit/plugins/.

This plugin expects tern to be installed globally. So if you haven’t already:

$ sudo npm install --global tern

License

LGPL-3.0

About

This is a simple gedit plugin that provides code completion results based on tern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages