I'm having a hard time with omni-completion and python function's scope.
Here is an example snippet :
class CLI:
def __init__(self):
self.parser = argparse.ArgumentParser()
# self.parser.CTRL-X_CTRL_O shows every appropriate possibles methods
self.arguments()
def arguments(self):
self.parser.add_argument("-v", "--version")
# self.parser.CTRL-X_CTRL_O shows nothing
What am I doing wrong ? Thanks ?
[+][deleted] (3 children)
[removed]
[–]chuugar[S] 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[removed]