Community
Participate
Working Groups
Steps to reproduce: - Disable substring matches in the content assist preferences so that only prefix matches are shown. - Press Ctrl+space after "sys": public static void main(String[] args) { sys| } => Template proposals are listed at the bottom (should be at the top). Fix for bug 488441 increased the value of R_DEFAULT (in RelevanceConstants.java) which is copied in TemplateProposal.computeRelevance() to adjust the relevance of template proposals. The copied value in jdt.text should also be updated.
Fixed in master with: http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=d3e01940bbf0921dbcbae2f0886f80064c1ea5e8
New Gerrit change created: https://git.eclipse.org/r/81979
(In reply to Eclipse Genie from comment #2) > New Gerrit change created: https://git.eclipse.org/r/81979 Sarika, please review for 4.6.2.
(In reply to Noopur Gupta from comment #3) > (In reply to Eclipse Genie from comment #2) > > New Gerrit change created: https://git.eclipse.org/r/81979 > > Sarika, please review for 4.6.2. Verified , Fix works in 4.7 and patch for 4.6.2 looks good. Generally we cherry pick the patch from master to different branch and then in a separate commit, increase the bundle version.
Gerrit change https://git.eclipse.org/r/81979 was merged to [R4_6_maintenance]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=c67912e21bc1d2e94354866ca12c49b9d98334f2
(In reply to Sarika Sinha from comment #4) > (In reply to Noopur Gupta from comment #3) > > (In reply to Eclipse Genie from comment #2) > > > New Gerrit change created: https://git.eclipse.org/r/81979 > > > > Sarika, please review for 4.6.2. > > Verified , Fix works in 4.7 and patch for 4.6.2 looks good. Thanks for the review, Sarika. > Generally we cherry pick the patch from master to different branch and then > in a separate commit, increase the bundle version. Sure, I will provide separate commits from next time.
Verified as fixed in M20161116-1100.
*** Bug 502118 has been marked as a duplicate of this bug. ***