Issue 91 in eclihx: Enhancement: case insensitive content assist

0 views
Skip to first unread message

ecl...@googlecode.com

unread,
Jan 3, 2012, 7:08:56 AM1/3/12
to eclih...@googlegroups.com
Status: New
Owner: ----

New issue 91 by fintanbo...@gmail.com: Enhancement: case insensitive
content assist
http://code.google.com/p/eclihx/issues/detail?id=91

Describe your enhancement:

To make content assist:
(a) ignore the case of the identifier
(b) suggest completions that match the identifier starting at any index
position of the completion proposal (proposals are currently based
on 'startsWith()')

This will make it more like FlashDevelop and the Sublime haXe plugin

Solution:

Modify line 42 of eclihx.ui.internal.ui.editors.hx.ContentInfoCache with
this line:

if (contentInfo.getName().matches("(?i).*"+identPart+".*"))


ecl...@googlecode.com

unread,
Jan 8, 2012, 1:22:25 PM1/8/12
to eclih...@googlegroups.com
Updates:
Status: Accepted
Owner: goodwi...@gmail.com
Labels: Type-Defect Priority-High

Comment #1 on issue 91 by goodwi...@gmail.com: Enhancement: case

(No comment was entered for this change.)

ecl...@googlecode.com

unread,
Jan 9, 2012, 4:29:50 PM1/9/12
to eclih...@googlegroups.com
Updates:
Status: Fixed

Comment #2 on issue 91 by goodwi...@gmail.com: Enhancement: case

Fixed in trunk.

Fintan, thank you for the idea of the patch. I did a slightly more complex
solution with supporting abbreviations and priorities.

ecl...@googlecode.com

unread,
Jan 9, 2012, 7:20:16 PM1/9/12
to eclih...@googlegroups.com

Comment #3 on issue 91 by fintanbo...@gmail.com: Enhancement: case

great stuff!

Reply all
Reply to author
Forward
0 new messages