Skip to content

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

Notifications You must be signed in to change notification settings

Swatinem/tern_for_gedit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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