| Summary: | [subwords] checking for word boundaries using upper case letters blows up for static constants and package proposals. | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Deepak Azad <deepakazad> |
| Component: | Recommenders | Assignee: | Marcel Bruch <marcel.bruch> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | Keywords: | helpwanted |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Deepak Azad
well, in this case it considers the whole sequence as one word. Is considering any non-word-character as word limiter (+uppercase letters) what you would expect? (In reply to comment #1) > well, in this case it considers the whole sequence as one word. Is considering > any non-word-character as word limiter (+uppercase letters) what you would > expect? Yup, we can consider underscore '_' as a word delimiter. OK. I think this one is not a critical issue. We'll work on this after chain completion engine performance fixes. Note to self: Fixing this requires changes to LCSS#findSequences and related test classes. http://git.eclipse.org/c/recommenders/org.eclipse.recommenders.git/tree/plugins/org.eclipse.recommenders.completion.rcp.subwords/src/org/eclipse/recommenders/internal/completion/rcp/subwords/LCSS.java http://git.eclipse.org/c/recommenders/org.eclipse.recommenders.git/tree/tests/org.eclipse.recommenders.tests.completion.rcp/src/org/eclipse/recommenders/tests/completion/rcp/subwords/LCSSTest.java http://git.eclipse.org/c/recommenders/org.eclipse.recommenders.git/tree/tests/org.eclipse.recommenders.tests.completion.rcp/src/org/eclipse/recommenders/tests/completion/rcp/subwords/SubwordsCompletionProposalComputerIntegrationTest.xtend Similar issue for packages. Dots as in "org.eclipse.swt" are ignored. Effectively only character sequences are checked. Head update site contains a fix for constants and packages. I'll test it a few more days to see if the new implementation is stable. As side note: subwords starting with numbers are not supported ATM. current version seems to work as expected. Set target milestone for fixed bugs to 1.0 Set target milestone for fixed bugs to 1.0 Juno shipped, change was made. Closing this bug. |