Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run kotlin in visual studio code

Is there any way to run .kt file on vscode? If it possible please explain it by step by step. os: Ubuntu

like image 400
d-feverx Avatar asked Dec 23 '22 23:12

d-feverx


1 Answers

You can install the "Code Runner" extension (formulahendry.code-runner) in the vscode. The extension supports running files of a number of programming languages, including kotlin. After the installation, you'll have "Run code" icon in the top right corner part of the vscode window:

screenshot

like image 181
insolor Avatar answered Jan 14 '23 11:01

insolor