Package-level declarations

Types

Link copied to clipboard
class FilePath(val absolutePath: Path, val basePath: Path? = null, val relativePath: Path? = null)

Represents both absolute path and relative path if available.

Properties

Link copied to clipboard
var PsiFile.absolutePath: Path?
Link copied to clipboard
var PsiFile.basePath: Path?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var PsiFile.lineSeparator: String?
Link copied to clipboard
var PsiFile.relativePath: Path?

Functions

Link copied to clipboard
fun PsiFile.absolutePath(): Path
Link copied to clipboard
fun PsiFile.fileNameWithoutSuffix(multiplatformTargetSuffixes: List<String> = emptyList()): String

Removes kotlin specific file name suffixes, e.g. .kt. Note, will not remove other possible/known file suffixes like '.java'

Link copied to clipboard
fun getLineAndColumnInPsiFile(file: PsiFile, range: TextRange): PsiDiagnosticUtils.LineAndColumn?
Link copied to clipboard
fun PsiFile.toFilePath(): FilePath