kotlin-language-server icon indicating copy to clipboard operation
kotlin-language-server copied to clipboard

No code completion as advertised

Open AnotherCoder1 opened this issue 2 years ago • 1 comments

I already installed jdk version 17.x.x ++, and create kotlin source file with ".kt" file extension inside a single Gradle application project folder.

When I write the code, eveything is colorful which is great, but still it misses code completion. For example if I create a string:

val word ="This is a string"

Then if I write "." for the string it doesn't show the available method that can be used with String class in kotlin.

If I write in intellij idea, if I write word. At this point intellij will suggest what method is available.

Can you tell me/us how to do like that? like intellij one.

AnotherCoder1 avatar Sep 03 '23 13:09 AnotherCoder1

Have you made sure that the indexing is done? The language server is not really good at completing or doing anything before that is done. Nothing will probably happen. You can see this in the language server logs.

themkat avatar Sep 10 '23 08:09 themkat