adireddy / eclihx

Automatically exported from code.google.com/p/eclihx
0 stars 0 forks source link

Enhancement: case insensitive content assist #91

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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+".*")) 

Original issue reported on code.google.com by fintanbo...@gmail.com on 3 Jan 2012 at 12:08

GoogleCodeExporter commented 9 years ago

Original comment by goodwi...@gmail.com on 8 Jan 2012 at 6:14

GoogleCodeExporter commented 9 years ago
Fixed in trunk.

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

Original comment by goodwi...@gmail.com on 9 Jan 2012 at 9:23

GoogleCodeExporter commented 9 years ago
great stuff!

Original comment by fintanbo...@gmail.com on 10 Jan 2012 at 12:19