fwcd / fwcd/kotlin-language-server

Use ReferenceVariantsHelper for code completion

Open
#240 0 comments 0 reactions 0 assignees View on GitHub
code completion enhancement
Dominant language
Kotlin
Stars
2k
Forks
252
PR merge metrics
No merged PRs in 30d

Description

[`ReferenceVariantsHelper`](https://github.com/JetBrains/kotlin/blob/master/idea/ide-common/src/org/jetbrains/kotlin/idea/codeInsight/ReferenceVariantsHelper.kt) bundles a lot of completion logic (e.g. for handling Java getters/setters) that would simplify the language server's completion generation.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with Kotlin's idea/ide-common/src/org/jetbrains/kotlin/idea/codeInsight/ReferenceVariantsHelper.kt and the language server's completion generation entry points. Compare the existing completion logic with the helper's handling of Java getters and setters. Done means the language server uses the helper where appropriate and completion behavior remains covered by its existing tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
devtools
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 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.