Page 1 of 1

Jedi Python Autocomplete

Posted: Tue Sep 09, 2014 11:41 am
by jussij
The lastest version of Zeus now has support for the Jedi Python autocomplete package.

A video showing how Jedi works inside of Zeus can be found here.

Important: Make sure you are running the Zeus 3.97u version or later.

To see how this package works consider this code:

Code: Select all

class BankAccount(object):
    """BankAccount Class.

       This is a class that encapsulates the bank account."""
    def __init__(self, initial_balance=0):
        self.balance = initial_balance
    def deposit(self, amount):
        self.balance += amount
    def withdraw(self, amount):
        self.balance -= amount
    def overdrawn(self):
        return self.|
    def close(self):
        self.balance += 0
General Autocomplete
When the auto complete is fired inside the overdrawn function the follow popup is displayed:

Image

Then after typing in bala that list is filtered as shown below:

Image

Document Autocomplete
Now consider this code:

Code: Select all

def Test():
    account = BankAccount(
When the documentation for the *BankAccount* is requested the following popup is displayed:

Image

Function Arguments Autocomplete
And when the arguments for the function are requested the following popup is displayed:

Image