spring-projects / spring-projects/spring-tools

[application.properties] improve sorting of content-assist property proposals while typing

Open
#1,553 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

for: eclipse status: needs-investigation theme: code completion type: enhancement
Dominant language
Java
Stars
983
Forks
240
Avg merge
7d 1h
Merged PRs (30d)
7

Description

This is specific to Eclipse (it works much better in VSCode).

When tying serverpor, the list of proposals looks counter-intuitive. The proposal for server.port shows up, but before, there are a number of other proposals in that list that contain the characters, but should be ranked a lot lower.

This seems to be the case when there is no . typed in the editor. When the user types server.por, the list looks much better.

Another example:

  • springtask shows up with a weird ranking of proposals
  • spring.task shows up with a nice ranking of the proposals

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is identified in the issue. First reproduce the Eclipse content-assist behavior with serverpor versus server.por, and with springtask versus spring.task; done means proposals containing the typed characters are ranked sensibly without requiring a dot.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.