redhat-developer / redhat-developer/vscode-java

Autocomplete out of order | Elastic BulkResponse

Open
#1,297 2 comments 0 reactions 0 assignees View on GitHub

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?

image

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
  1. import org.elasticsearch.action.bulk.BulkResponse; from implementation "org.elasticsearch.client:elasticsearch-rest-high-level-client:7.5.1"
  2. Create a BulkResponse
  3. bring up autocomplete on it

sample project

Current Result

image

Expected Result

fromXContent should be sorted appropriately

Additional Informations

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.