Skip to content

kyay10/prettify-kotlin

Repository files navigation

prettify-kotlin

Build Version Downloads

Prettify Kotlin is a plugin that uses Idea's code folding to display backticked function calls without backticks. This is useful for Kotlin DSLs that define custom "operators" (e.g. `<-`) or use illegal characters (e.g. sigma `Σ`).

It also supports providing a "pretty" name for a function with the @Pretty annotation. ("io.github.kyay10:prettify-kotlin-annotation:1.0")

It's recommended that you turn off the foreground and background colors for folded text in the IDE Settings/Preferences > Editor > Color Scheme > General > Text > Folded text

This plugin is inspired by zjhmale/intellij-closure-pretty-symbol

Installation

  • Using the IDE built-in plugin system:

    Settings/Preferences > Plugins > Marketplace > Search for "Prettify Kotlin" > Install

  • Manually:

    Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...


Plugin based on the IntelliJ Platform Plugin Template.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages