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

Basic features seam missing and I cant find how to fix them #141

Open
mrw1sh opened this issue Jan 10, 2024 · 5 comments
Open

Basic features seam missing and I cant find how to fix them #141

mrw1sh opened this issue Jan 10, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@mrw1sh
Copy link

mrw1sh commented Jan 10, 2024

Description

I installed the extension and dont get

  • Code Completion
  • Linting
  • Debugging
  • Hover
  • Go-to-definition
  • Signature Help
  • Hover
  • Formatting
  • Document symbols
  • Find References

Syntax Highliting is the only thing that seems to work.
I have searched the web for this problem and cant find fixes. The Usage section of the Readme just says open a launch.json file and then start debugging, which doesnt work.
I also do not now what the launch.json file is supposed to containt, but here is mine anyway.
image

Extension version

I am using the extension version 0.2.32

Additional context

additional versions of programms and environment variables that might be important
image
image
image
image

@mrw1sh mrw1sh added the bug Something isn't working label Jan 10, 2024
@fwcd
Copy link
Owner

fwcd commented Jan 10, 2024

Did you click "Yes" in the notification fhat prompted you to install the Kotlin language server?

@mrw1sh
Copy link
Author

mrw1sh commented Jan 10, 2024

Did you click "Yes" in the notification fhat prompted you to install the Kotlin language server?

To be honest I cant remember even getting a prompt. After uninstalling and reinstalling I still dont get the prompt. Is it possible manually install it via a command in vscode?

@fwcd
Copy link
Owner

fwcd commented Jan 15, 2024

The first time you open a Kotlin file you should get a prompt, similar to this:

image

If it isn't shown you might find it in the lower right corner where the other notifications are grouped:

image

If nothing else, make sure that kotlin.languageServer.enabled is set in your settings (though it's true by default) and check the output tab to see if there are any logs:

image

@fwcd
Copy link
Owner

fwcd commented Jan 15, 2024

You can also manually download the language server from here and then point kotlin.languageServer.path to the binary, but I'd recommend the automatic installation if possible, since that will update the language server too.

@crowforkotlin
Copy link

You can also manually download the language server from here and then point kotlin.languageServer.path to the binary, but I'd recommend the automatic installation if possible, since that will update the language server too.您也可以从这里手动下载语言服务器,然后将 kotlin.languageServer.path 指向二进制文件,但如果可能的话,我建议自动安装,因为这也会更新语言服务器。

I have the same problem and tried to manually configure the language path but it didn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants