1. emax
  2. rope

Commits

angri  committed 97e5a86

Completion proposals of kind 'parameter_keyword' are shown before proposals of kind 'local'

  • Participants
  • Parent commits 5913878
  • Branches trunk

Comments (0)

Files changed (1)

File rope/contrib/codeassist.py

View file
     def __init__(self, code_assist_proposals, kindpref=None, typepref=None):
         self.proposals = code_assist_proposals
         if kindpref is None:
-            kindpref = ['local', 'parameter_keyword', 'global',
+            kindpref = ['parameter_keyword', 'local', 'global',
                         'attribute', 'builtin', 'keyword']
         self.kindpref = kindpref
         if typepref is None: