Commits

Anonymous committed 5b205ab

rope-jump-to-global: completing global names

  • Participants
  • Parent commits cc48867

Comments (0)

Files changed (1)

ropemacs/interface.py

     def jump_to_global(self):
         if not self._check_autoimport():
             return
-        name = lisputils.ask('Global name: ')
+        all_names = list(self.autoimport.get_all_names())
+        name = lisputils.ask_values('Global name: ', all_names)
         result = dict(self.autoimport.get_name_locations(name))
         file = self._ask_file(result.keys())
         if file: