How to run kotlin in Visual Studio Code
Вставка
- Опубліковано 29 бер 2022
- Run kotlin codes using cmd link -- • How to run kotlin prog...
kotlin in visual studio code
Programming with Kotlin in Visual Studio Code
How to run kotlin in visual studio code
Working with kotlin in VS Code
kotlin in vs code
run kotlin vs code
run kotlin in visual studio code
Thank you. The "Start Debugging" option does not work for me because it won't show "Kotlin" as an option despite having installed the extension. But the right-click-option "Run Code" works and also shows the shell commands for running it. But unfortunately, this will only work for single files and not projects with uninstalled dependencies, gradle or maven. At least, it won't work for my maven project when I run the Main.kt with the code runner.
- Note: You need jdk for kotlin
yehhh....
@@hindilife9250 how do you get it?
How do you debug kotlin code?
how to run it through terminal mode
Thanks so much for this! I was trying to get VSC to compile my little printli() command and I kept getting errors. Apparently I was missing the Kotlin IDE extension. Which, thinking about it now makes sense why it wasn't working hahaha. Thanks again!
Glad it helped!
I got this message
'kotlinc' is not recognized as an internal or external command,
operable program or batch file.
any idea to solve it?
same
I switch to use intellij community now, all good @@subhamcoder
Had the same issue. I closed VS and when I reopened it, I got a prompt about the Kotlin extension. I accepted, and it downloaded the files that I must have been missing. Now my code runs and the error is gone.
If you can't get the prompt to show up, maybe try uninstalling and reinstalling the extension that's simply named "Kotlin". That's the extension that has the pop-up prompt.
Bruh u never mentioned anything bout compiler ! ; )
This was a useless video 🥲
very helpful bro
Glad to hear that
Thanks!
No problem!
You show us the extentions but not how to use it
The extensions just add support for kotlin
damn, what about english? didnt understand a single word(