vscode-kotlin icon indicating copy to clipboard operation
vscode-kotlin copied to clipboard

Tab size 4 with replace with whitespace not being observed

Open FrankC01 opened this issue 3 years ago • 0 comments

Description

With tab size set to 4 and replace with whitespace, I type a data class in and hit enter and it tabs everything way beyond:

@Serializable
data class Passport(
                val wordList: List<String>,
                val semantic: String,
                val bytes: ByteArray,
                val longTerm: String,
                val onLine: Boolean,
                val hashStr: String
)

I expect:

@Serializable
data class PassportDid(
   val mnemonicCode: List<String>,
   val secret: String,
   val seed: ByteArray,
   val longDid: String,
   val onChain: Boolean,
   val hashStr: String
)

Extension version

VSCode Version: 1.62.2 Extension: 0.2.23

Additional context

This just happened today and I noticed VSCode upgraded itself

FrankC01 avatar Nov 14 '21 01:11 FrankC01