https://d.puremagic.com/issues/show_bug.cgi?id=11690

           Summary: a few spellchecker improvements
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Martin Nowak <[email protected]> 2013-12-05 05:25:28 PST ---
The spell checker should limit the levenshtein distance based on the length of
the searched identifier. More typos for longer names and fewer or no typos for
shorter names. For example it doesn't make sense to propose 'b' when someone
typed 'a'.

Currently the proposals are only based on the minimal levenshtein distance.
It would make sense to weigh certain edits higher than others, e.g.
capitalization errors or interchanged letters are more likely than other typos.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to