redhat-developer / redhat-developer/lsp4ij

Unable to see code completion after the colon in comments.

Open
#447 30 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

api-customization bug completion
Dominant language
Java
Stars
344
Forks
113
Avg merge
5h 22m
Merged PRs (30d)
15

Description

LSP4IJ:
completion1

Vscode:

completion2

but I can see completion response:

[Trace - 16:51:13] Received response 'textDocument/completion - (190)' in 0ms.
Result: [
  {
    "label": "unused",
    "kind": 20,
    "detail": "diagnostic code",
    "deprecated": false
  },
  {
    "label": "undefined-global",
    "kind": 20,
    "detail": "diagnostic code",
    "deprecated": false
  },
  {
    "label": "need-import",
    "kind": 20,
    "detail": "diagnostic code",
    "deprecated": false
  },
  {
    "label": "deprecated",
    "kind": 20,
    "detail": "diagnostic code",
    "deprecated": false
  },
  {
    "label": "access-private-member",
    "kind": 20,
    "detail": "diagnostic code",
    "deprecated": false
  },
  {
    "label": "access-protected-member",
    "kind": 20,
    "detail": "diagnostic code",
    "deprecated": false
  },
  {
    "label": "access-package-member",
    "kind": 20,
    "detail": "diagnostic code",
    "deprecated": false
  },
  {
    "label": "missing-parameter",
    "kind": 20,
    "detail": "diagnostic code",
    "deprecated": false
  },
  {
    "label": "no-discard",
    "kind": 20,
    "detail": "diagnostic code",
    "deprecated": false
  },
  {
    "label": "disable-global-define",
    "kind": 20,
    "detail": "diagnostic code",
    "deprecated": false
  },
  {
    "label": "local-const-reassign",
    "kind": 20,
    "detail": "diagnostic code",
    "deprecated": false
  },
  {
    "label": "type-not-found",
    "kind": 20,
    "detail": "diagnostic code",
    "deprecated": false
  },
  {
    "label": "undefined-field",
    "kind": 20,
    "detail": "diagnostic code",
    "deprecated": false
  },
  {
    "label": "inject-field-fail",
    "kind": 20,
    "detail": "diagnostic code",
    "deprecated": false
  }
]

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 completion request in LSP4IJ after typing a colon in a comment, using the issue's trace to confirm that completion results arrive. Compare the behavior with VS Code and determine why the returned items are not displayed; done means the completion list is visible in that context.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.