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

КОМЕНТАРІ • 21

  • @elmar64
    @elmar64 Рік тому +1

    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.

  • @sumonbarmon9734
    @sumonbarmon9734 7 місяців тому +8

    - Note: You need jdk for kotlin

  • @user-yk7tl3by3s
    @user-yk7tl3by3s Рік тому +4

    How do you debug kotlin code?

  • @vishalpatil6578
    @vishalpatil6578 Рік тому +1

    how to run it through terminal mode

  • @Danachew
    @Danachew Рік тому

    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!

  • @kun-yaowang3127
    @kun-yaowang3127 11 місяців тому +5

    I got this message
    'kotlinc' is not recognized as an internal or external command,
    operable program or batch file.
    any idea to solve it?

    • @subhamcoder
      @subhamcoder 10 місяців тому

      same

    • @kun-yaowang3127
      @kun-yaowang3127 10 місяців тому

      I switch to use intellij community now, all good @@subhamcoder

    • @jonathanblin2751
      @jonathanblin2751 5 місяців тому

      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.

  • @siddheshthorat9898
    @siddheshthorat9898 Рік тому +4

    Bruh u never mentioned anything bout compiler ! ; )

  • @prashantm9856
    @prashantm9856 11 місяців тому

    very helpful bro

  • @realMenta
    @realMenta Рік тому

    Thanks!

  • @abdullahawad385
    @abdullahawad385 Рік тому

    You show us the extentions but not how to use it

    • @thecoolnewsguy
      @thecoolnewsguy Рік тому

      The extensions just add support for kotlin

  • @user-yx8ry8hs2h
    @user-yx8ry8hs2h 4 місяці тому +3

    damn, what about english? didnt understand a single word(