Jedi Python Autocomplete

Find Tips and tricks on how to better use the Zeus editor. Feel free to post your own tips but please do not post bug reports, feature requests or questions here.
jussij
Site Admin
Posts: 2444
Joined: Fri Aug 13, 2004 5:10 pm

Jedi Python Autocomplete

Postby jussij » Tue Sep 09, 2014 11:41 am

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

Return to “Tutorials, Tips and Tricks”

Who is online

Users browsing this forum: No registered users and 1 guest