redhat-developer / redhat-developer/vscode-java
Autocomplete out of order | Elastic BulkResponse
Open
Nobody has claimed this yet.
content-assist
upstream
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
Why is fromXContent() at the bottom of the list and not sorted correctly?

Environment
- Operating System: Win 10 v1909
- JDK version: openjdk version "11.0.5" 2019-10-15
- Visual Studio Code version: 1.42.1 (user setup)
- Java extension version: version: 0.55.1
Steps To Reproduce
import org.elasticsearch.action.bulk.BulkResponse;fromimplementation "org.elasticsearch.client:elasticsearch-rest-high-level-client:7.5.1"- Create a
BulkResponse - bring up autocomplete on it
Current Result

Expected Result
fromXContent should be sorted appropriately
Additional Informations
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the behavior using the linked sample project's java-tests-issue/src/main/java/miked/autocomplete/ElasticBulkResponse.java with the stated Elasticsearch client dependency. Start by checking how autocomplete orders members for Elastic BulkResponse, then compare the displayed order with the expected placement of fromXContent; done means the member is sorted appropriately.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100