-
Notifications
You must be signed in to change notification settings - Fork 214
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
Extension fails on Ubuntu devcontainer - couldn't create connection to server. #564
Comments
Found this repo https://github.com/alexanderhansen/vscode-remote-try-kotlin, everything works when I create a codespace from it. What is his repo doing right that mine is not? |
looks suspicious, the SLF4J stuff is fine (should probably add a troubleshooting entry on that). We probably should not be throwing an exception if we cannot find a local Maven repository (maybe make it optional instead?): Note that support for non-Gradle/Maven projects isn't great yet, mostly because there are so many different ways Kotlin and its standard library could be packaged. |
I am also running into this error when attempting to use this plugin inside of a dev container with VSCode. I am using eclipse-temurin:17-jdk-jammy as a base image. Here is the relevant output from the console:
|
I am attempting to write Kotlin code within GitHub Codespaces, which are just remote ubuntu virtual machines viewed through the web client for vscode. I have tried doing this both for an empty folder structure containing only a
Main.kt
hello world with no Gradle/Maven, and for a pre-existing Gradle project that works on my local machine that I push up to GitHub and create the codespace from; both result in the Kotlin extension giving the errorresulting in no IDE hints / Intellisense.
When I go to the output, the following snippets seem most notable to me
Here is a gist of the full console output.
Has anyone been able to get Kotlin language server in vscode working on a devcontainer / GitHub codespace?
Reproduce steps
README.md
main
branch, with default specs 2-core, 8GB RAM, 32GB.Ok, Continue
on dependency installation promptMain.kt
fileObserve error notice
The text was updated successfully, but these errors were encountered: