Ticket #207 (closed defect: fixed)

Opened 11 months ago

Last modified 11 months ago

Module tab completion is case insensitive

Reported by: stefanv Assigned to: vivainio
Priority: normal Milestone: 0.9.0
Component: ipython Version:
Severity: normal Keywords:
Cc:

Description

Typing

import IPy<tab>

yields both IPython and ipython1 as completions.

Further,

import IPython.dt<tab>

changes the input line to

import IPython.

and returns options starting with a capital 'D'.

In modulecompletion, the completion_list can be modified to only return relevant options, or, alternatively, the completion machinery can be modified to heed case.

Change History

12/30/07 13:37:02 changed by vivainio

  • status changed from new to assigned.
  • owner changed from fperez to vivainio.

12/30/07 13:48:07 changed by vivainio

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed by r2904. Now attempt case sensitive matching for custom completers first, and if none, only then fall back to case insensitive matching.