GitXplorerGitXplorer
c

kotlin-formatter

public
8 stars
2 forks
3 issues

Commits

List of commits on branch main.
Unverified
c6c792c57ae25833790f0207bebb67b0cb2d7489

0.0.9

ccestef committed 3 years ago
Unverified
421ef4cccc401aa6ea2967b45985b88bca9bac4e

Remove debug logs from ktlint 0.44

ccestef committed 3 years ago
Unverified
5aee8a84dce14c98f5552997306273f75b758e57

0.0.8

ccestef committed 3 years ago
Verified
13ce0570c57ca094ac31f943e70708ce5e18139a

Merge pull request #9 from LewsTherinTelescope/fix-heredoc-stuff

ccestef committed 3 years ago
Unverified
747e18a0b320fe5a532f0115027d432b4f44b8a3

Fix bugs in heredoc code

LLewsTherinTelescope committed 3 years ago
Unverified
4654473efaa48b109e379dea6e5dc9efabfa40b1

0.0.7

ccestef committed 3 years ago

README

The README file for this repository.

Kotlin-Formatter for VSCode

This is just a formatter for Kotlin (.kt) and KotlinScript (.kts)

Requirements

macOS / Linux

Make sure you have ktlint installed before installing this extension

Windows

You need the ktlint jar file and either have it in your project root or specify its location in the vscode settings (ktlintPath)

Using

You can either use the kotlin-formatter.formatKotlin command or set cstef.kotlin-formatter as your default formatter in VScode settings

Format on save

Set cstef.kotlin-formatter as your formatter for kotlin and/or kotlinscript in VScode's settings.json:

    {
        ...
        "[kotlin]": {
            "editor.defaultFormatter": "cstef.kotlin-formatter"
        },
        "[kotlinscript]": {
            "editor.defaultFormatter": "cstef.kotlin-formatter"
        }
        ...
    }