redhat-developer / lsp4ij

LSP Client for IntelliJ
Eclipse Public License 2.0
91 stars 17 forks source link

completion highlighted #367

Closed CppCXY closed 3 months ago

CppCXY commented 3 months ago

The first option in the completion bar is not highlighted. image The second completion item is only highlighted when I press the down arrow key. image

angelozerr commented 3 months ago

Have you the same problem with LSP JetBrains support?

angelozerr commented 3 months ago

I think the second completion item comes from IJ himself (it shows some tokens coming from the editor content)

CppCXY commented 3 months ago

Indeed, JetBrains LSP does not have highlighting, including systems using PSI, they do not have default highlighting. However, when I write C# programs with Rider, it does have default highlighting. image

fbricon commented 3 months ago

JetBrains standard completion, Java or even Python in PyCharm doesn't highlight the 1st item in dark blue, arrow down does that blue highlighting, which is consistent with LSP4IJ:

Screenshot 2024-06-19 at 10 46 22 Screenshot 2024-06-19 at 10 46 32
CppCXY commented 3 months ago

I investigated other IDEs, and indeed, this seems to be the standard behavior of JetBrains IDEs.