A number of improvements to code completion have been implemented and will available with the next release of PyScripter:
- Caching of parsed modules for greater speed
- Background parsing of open editor files
- Analysis of return, with and global statements
- Completion for calls to open
Just to give a couple of examples:
In
class A():
def a(self):
return "abc"def g():
x = A()
return x.a()def f():
return g()a = f()
a.
PyScripter understands a is a string and provides autocompletion. It also provides autocompletion in the following examples
f = open(“somefile”)
f.
and
with open(“somefile”) as f:
f.
No comments:
Post a Comment