This is a simple gedit plugin that provides code completion results based on tern
Python
Switch branches/tags
Nothing to show
Clone or download
Latest commit 45ebcd1 Mar 21, 2016
Permalink
Failed to load latest commit information.
tern Open definition in new tab if necessary Mar 21, 2016
.gitignore initial commit Jul 27, 2014
README.md Update README.md Mar 21, 2016
tern.plugin initial commit Jul 27, 2014

README.md

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