Package-level declarations

Types

Link copied to clipboard
class JsPreviewException(message: String = "") : Exception

Exception connected with JS Preview plugin

Properties

Link copied to clipboard
const val BUILD_DIR: String

Build dir name

Link copied to clipboard

Exception message for no project dir guessed

Functions

Link copied to clipboard
fun PsiElement.getIdentifier(): FqName?
Link copied to clipboard
fun Project.getPathOrException(exceptionMessageBuilder: () -> String = { NO_PROJECT_DIR }): VirtualFile
Link copied to clipboard
fun KtAnnotationEntry.getUsages(project: Project): Collection<KtAnnotationEntry>

Get usages of this in project

Link copied to clipboard
fun KtProperty.isAnnotatedWith(annotationShortName: String): Boolean
Link copied to clipboard
fun PsiElement.isParentTopLevelPropertyAnnotatedWith(annotationShortName: String): Boolean
Link copied to clipboard
fun PsiElement.isTopLevelPropertyAnnotatedWith(annotationShortName: String): Boolean
Link copied to clipboard
fun PsiElement.isValKeyword(): Boolean
Link copied to clipboard
fun PsiElement.isValOfPropertyAnnotatedWith(annotationShortName: String): Boolean
Link copied to clipboard
fun VirtualFile?.orException(messageBuilder: () -> String = { "" }): VirtualFile