KotlinFileType¶
open class KotlinFileType : LanguageFileType
Companion properties¶
DOT_DEFAULT_EXTENSION¶
val DOT_DEFAULT_EXTENSION: String = ".kt"
DOT_SCRIPT_EXTENSION¶
val DOT_SCRIPT_EXTENSION: String = ".kts"
EMPTY_ARRAY¶
val EMPTY_ARRAY: Array<FileType>
EXTENSION¶
INSTANCE¶
val INSTANCE: KotlinFileType
SCRIPT_EXTENSION¶
val SCRIPT_EXTENSION: String = "kts"
Functions¶
extractCharsetFromFileContent¶
open fun extractCharsetFromFileContent(
project: @Nullable Project,
file: @Nullable VirtualFile,
content: @NotNull String
): Charset
getCharset¶
open fun getCharset(file: @NotNull VirtualFile, content: @NotNull Array<Byte>): @NonNls @Nullable String
getDefaultExtension¶
@NotNull
open fun getDefaultExtension(): String
getDescription¶
@NotNull
open fun getDescription(): String
getDisplayName¶
open fun getDisplayName(): @Nls @NotNull String
getIcon¶
getLanguage¶
fun getLanguage(): @NotNull Language
getName¶
isBinary¶
isCharsetHardcoded¶
open fun isCharsetHardcoded(): Boolean
isJVMDebuggingSupported¶
open fun isJVMDebuggingSupported(): Boolean
isReadOnly¶
open fun isReadOnly(): Boolean
isSecondary¶
open fun isSecondary(): Boolean