vscode-kotlin icon indicating copy to clipboard operation
vscode-kotlin copied to clipboard

Feature request: "Run & Debug" feature without `launch.json` even without Maven or Gradle (CodeLens & automatic debug configurations)

Open tats-u opened this issue 1 year ago • 6 comments

I don't know whether this issue should be here or in the debug adapter.

https://github.com/fwcd/kotlin-debug-adapter/issues/62

Motivation

image

The Java extension of VS Code can run or debug (the main function of) .java files in the opened folder without launch.json. This allows Java beginners to try their piece of code easily.

When you press F5 or click "Debug", you can start debugging without launch.json.

Description

Related: #17

image

Currently, Kotlin files can't be run without launch.json. No "Run | Debug" in the top of fun main.

Alternatives considered

launch.json: too complicated

tats-u avatar Aug 27 '23 07:08 tats-u