hi, i found 2 problems for pydev.
1 non-english docstring indent problem at function/class docstring:
def docstring_ok1():
"""
english
"""
pass
def docstring_ok2():
"""
eng汉字
"""
pass
def docstring_wrong_indent():
"""
汉字(wrong_indent)
"""
pass
class Test:
"""
汉字(wrong_indent1)
"""
def docstring_wrong_indent2(self):
"""
汉字(wrong_indent2)
"""
pass
def docstring_ok3(self):
"""
english
"""
pass
def docstring_ok4(self):
"""
eng汉字
"""
pass
2 this bug was found in new version(v2.2.3.2011100660), previous version works well(i've forgot the version NO, sorry).
class Test(object):
def __init__(self, code, msg):
self.code = code
self.msg = msg
def show(self):
print self.code
print self.msg
myobj = Test("0", "A")
#code completion problem HERE:
myobj(code, msg)
myobj should be a instance of Test, it's not a class, when i input myo and press the key "ALT + /", the code completion give me "myobj(code, msg)", i don't think it's a correct code completion.
by the way, when i press CTRL and mouse click on some chars(not keyword), the editor will scroll to the 1st row, it's any way to close this reaction?
thx
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "(deprecated) Please use https://www.brainwy.com/tracker/PyDev/"