https://kotlinlang.org logo
#announcements
Title
# announcements
e

elect

06/21/2019, 10:34 AM
I see in indented multilines that a tab inserts actually 4 spaces instead of
\t
, is this wanted or a bug?
m

marstran

06/21/2019, 10:37 AM
This depends on your IDE settings, doesn't it?
e

elect

06/21/2019, 10:38 AM
that is?
m

marstran

06/21/2019, 10:38 AM
IntelliJ
e

elect

06/21/2019, 10:38 AM
I meant which settings
looking right now but I cant seem to find it
m

marstran

06/21/2019, 10:38 AM
Ah, right. 2 sec
e

elect

06/21/2019, 10:39 AM
I'm on General -> Editor Tabs, but there seems to be nothing
m

marstran

06/21/2019, 10:40 AM
Settings -> Editor -> Code Style -> Kotlin -> Tabs and indents
e

elect

06/21/2019, 10:40 AM
uh thanks
ps: do you think there could be any dangerous counter effects using that?
m

marstran

06/21/2019, 10:42 AM
Shouldn't be. Unless you forget
trimMargin()
on your multiline strings I'd guess.
e

elect

06/21/2019, 10:42 AM
ok, thanks!
2 Views