first auto complete works, with just local variables and class variables

This commit is contained in:
David Halter
2012-03-10 02:07:30 +01:00
parent 5342379eb2
commit 664d1c9119
3 changed files with 131 additions and 21 deletions

16
test.py
View File

@@ -3,7 +3,7 @@
# test comment
import datetime
from token import *
#from token import *
from time import sleep
from token import OP as OP_TEST, INDENT as INDENT_TEST
@@ -124,3 +124,17 @@ def flow_test(a):
if True or a:
print a
# completion
import time
class c1():
c2 = 1
def c3(self):
import time as c4
c5 = 3
c1.\
c