Skip to content

Select Line Under Caret Without Indent

Selects the line, where the caret is, without leading/trailing white-space.

Example

Symbol Meaning
| Caret
[ ] Selection

Before

class HelloWorld {
    companion object {
        @JvmStatic
        fun main(args: Array<String>) {
            println|("Hello World!")
        }
    }
}

After

class HelloWorld {
    companion object {
        @JvmStatic
        fun main(args: Array<String>) {
            [println|("Hello World!")]
        }
    }
}