##// END OF EJS Templates
Backport PR #13284: Move dict keys completions higher.
Matthias Bussonnier -
Show More
@@ -1143,18 +1143,18 b' class IPCompleter(Completer):'
1143 if self.use_jedi:
1143 if self.use_jedi:
1144 return [
1144 return [
1145 *self.custom_matchers,
1145 *self.custom_matchers,
1146 self.dict_key_matches,
1146 self.file_matches,
1147 self.file_matches,
1147 self.magic_matches,
1148 self.magic_matches,
1148 self.dict_key_matches,
1149 ]
1149 ]
1150 else:
1150 else:
1151 return [
1151 return [
1152 *self.custom_matchers,
1152 *self.custom_matchers,
1153 self.dict_key_matches,
1153 self.python_matches,
1154 self.python_matches,
1154 self.file_matches,
1155 self.file_matches,
1155 self.magic_matches,
1156 self.magic_matches,
1156 self.python_func_kw_matches,
1157 self.python_func_kw_matches,
1157 self.dict_key_matches,
1158 ]
1158 ]
1159
1159
1160 def all_completions(self, text) -> List[str]:
1160 def all_completions(self, text) -> List[str]:
General Comments 0
You need to be logged in to leave comments. Login now