Git Product home page Git Product logo

gedi's People

Contributors

isamert avatar janych avatar mestrelion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

gedi's Issues

Gedi does not respect virtualenvs

Is there a way to get Gedi to read the site-packages based on the currently activated python virtualenv? The natural idea of running gedit from within the virtualenv doesn't seem to recognize the virtualenv's site-packages.

Failed to activate

OS: ubuntu 14.04

Install method:

apt-get install python-jedi

(python-jedi (0.7.0-1))

Placed 2 scripts in path /.local/share/gedit/plugins/

script-names:

  • gedi.py
  • gedi.plugin

The plugin 'Gedi' could not be loaded
An error occurred: Failed to load

How do I debug this?

jedi is not found

After updating from git, I need to comment line 99-101 and unindent once line 102 in gedi.py to make it works on Gedit 3.18.3 on Ubuntu 16.04.6

97         for completion in Jedi.get_script(document).completions():           
98            complete = completion.name
99            #if jedi.__version__ <= (0,7,0):                          
100           #    doc=completion.doc         
101           #else:                            
102           doc=completion.docstring()

The reason is the following error message:
jedi is not found

Thanks again for your great works!
Let's make gEdit great again.

Does not seem to work on Gedit 3.20.1

First of all, thanks for making this.
Unfortunately It doesn't seem to do anything on my machine. I am running Arch, which recently updated to Gedit 3.20.1.

I installed and enabled the Gedi plugin. I then made a new document and set the highlighting mode to Python 3. If I start Gedit from the command line I can see a "Gedi is activated" message, but there no code completion popups appear.

Is this not supported yet for Gedit 3.20.1, or is there some additional troubleshooting I can do?
Thanks!

How trigger completion

I already install the plugin along with its requirements. It seems OK but nothing happens.
Just curious, is there any shortcut (Ctrl/tab/etc+) needed to trigger the completion...?

Loader 'python3' is not a valid PeasPluginLoader instance

hi,

** (gedit:82182): WARNING **: 03:21:17.608: Error initializing Python Plugin Loader: PyGObject initialization failed
ImportError: could not import gobject (error was: ModuleNotFoundError("No module named 'gi'"))

** (gedit:82182): WARNING **: 03:21:17.608: Please check the installation of all the Python related packages required by libpeas and try again

(gedit:82182): libpeas-WARNING **: 03:21:17.609: Loader 'python3' is not a valid PeasPluginLoader instance

Minor typo in README

In the "How to update" section, it should say "git pull" instead of "git update".

Feature Request: Disable pop up on dot to fasten completion

Hi,

I notice that gedi very slow to show pop completion when using pop up on dot is enabled. Here is the minimum example,

import numpy as np
a = np.random.randint(0, 9, 1)

On the second line, after pressing the first dot, the delay about 10 seconds before the pop up show. In .vimrc, I used the following configuration to disable jedi pop up on dot.

let g:jedi#popup_on_dot = 0
let g:jedi#popup_select_first = 0

The second line is to disable jedi to select the first list on pop (default).

Is it possible to set that kind of config in Gedi...? If it is not in the default setting, can we set it manually?
Thank you very much on your work for this great Gedit plugin.

in gedit 3.20.1 arch

it not show the complete popups. here is my traceback. is it usefull?

Traceback (most recent call last):
File "/home/xxx/.local/share/gedit/plugins/gedi/gedi.py", line 87, in do_populate
self.get_icon_for_type(completion.type.lower()),
File "/home/arion/.local/share/gedit/plugins/gedi/gedi.py", line 105, in get_icon_for_type
return theme.load_icon(Gtk.STOCK_ADD, 16, 0)
GLib.Error: gtk-icon-theme-error-quark: Icon 'gtk-add' not present in theme Adwaita (0)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.