JulianEberius / SublimeRope

ST2 only, use SublimePythonIDE with ST3: Adds Python completions and some IDE-like functions to Sublime Text 2, through the use of the Rope library
GNU General Public License v2.0
250 stars 26 forks source link

Allow case-insensitive autocompletion #19

Open mandx opened 12 years ago

mandx commented 12 years ago

Maybe this is a SublimeText2 issue, but it's faster to type indexe and then select IndexError from the list, than having to type it correctly cased so the autocompletion matches.

glyph commented 12 years ago

Yes, please.

JulianEberius commented 12 years ago

Hi,

I can not find any reference to case-insensitive completion in Rope... As far as I can see it just uses plain "X.startswith(Y)" to find completions, so a patch to Rope itself would be necessary. I can not make any promises on a time frame for this, but I leave this open as a feature request.

Julian

JulianEberius commented 11 years ago

Hi,

I have commited a new setting "case_sensitive_completion" for SublimeRope that is true by default. Update your package and set this to false and see if it works for you. At least the mentioned test case of typing indexe and getting IndexError as one proposal works for me ;-)