Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No code completion as advertised #488

Open
AnotherCoder1 opened this issue Sep 3, 2023 · 1 comment
Open

No code completion as advertised #488

AnotherCoder1 opened this issue Sep 3, 2023 · 1 comment

Comments

@AnotherCoder1
Copy link

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.

@themkat
Copy link
Collaborator

themkat commented Sep 10, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants