.KTS ファイル拡張子

Kotlin Script

開発元 JetBrains
人気度
3.0  |  1 
 

KTSファイルとは?

A KTS file is a script written in the Kotlin programming language. It contains executable Kotlin source code. KTS files can be opened and edited in any text editor, and they can be executed using the Kotlin compiler (kotlinc).

詳細情報

Microsoft Visual Studio Codeで開いた.ktsファイルのスクリーンショット
Microsoft Visual Studio Codeで開いたKTSファイル

Kotlin is a statically-typed programming language developed by JetBrains. JetBrains developed the Kotlin language to alleviate some of the common issues that arise in Java development. Most popularly, Kotlin is used to develop Android applications, as it is Google's preferred Android development language.

Developers creating Kotlin programs can create and include Kotlin scripts in those programs. These scripts are saved as KTS files. In addition to being referenced and run within Kotlin programs, developers can run KTS files independently. To run a script using the Kotlin compiler, a developer can use the command kotlinc -script filename.kts. Otherwise, the developer can run their script from within Jetbrains IntelliJ IDEA or Google Android Studio.

注: Kotlin source code files that do not contain a Kotlin script are saved as .KT files.

KTSファイルの開き方

You can open a KTS file in any text or source code editor. However, it is best to open a KTS file in Jetbrains IntelliJ IDEA (cross-platform) or Google Android Studio (cross-platform). These programs display KTS files' syntax correctly, and they also allow you to run the script a KTS file contains.

File Viewer Plusで400種類以上のファイル形式を開けます。無料ダウンロード

KTSファイルを開く、または参照するプログラム

カテゴリ: 開発者
更新日: 2021-09-14

検証者 FileInfo.com

FileInfo.comチーム は、このページに掲載されているKotlin Scriptファイル形式とMac, Windows, and Linuxアプリについて独自に調査しました。 私たちの目標は100%の正確性であり、検証済みのファイルタイプに関する情報のみを公開しています。

このページへの追加や更新をご提案いただける場合は、お知らせください。