From 247482b8ab0a044eaae656b5d34b85de16c61791 2017-06-26 15:58:35 From: jlstevens Date: 2017-06-26 15:58:35 Subject: [PATCH] Re-enabled case-sensitive sorting of completions --- diff --git a/IPython/core/completer.py b/IPython/core/completer.py index 029cfe1..7d4f6ca 100644 --- a/IPython/core/completer.py +++ b/IPython/core/completer.py @@ -292,15 +292,10 @@ def completions_sorting_key(word): This does several things: - - Lowercase all completions, so they are sorted alphabetically with - upper and lower case words mingled - Demote any completions starting with underscores to the end - Insert any %magic and %%cellmagic completions in the alphabetical order by their name """ - # Case insensitive sort - word = word.lower() - prio1, prio2 = 0, 0 if word.startswith('__'):