I’ve got a small problem with IntelliJ, it looks l...
# intellij
r
I’ve got a small problem with IntelliJ, it looks like it’s auto-saving every time I write a single character, but I have it set to auto format on save. So when I hit tab to indent an empty line to write something, it immediately saves and removes my indent... Any idea if I can fix this without removing formatting on Cmd+S?
c
Please check the channel topic.
s
You might want to move over to #random - folks in here try to stick to the channel topic, which is the Kotlin plugin for Idea specifically
r
Well this only happens in .kt files, not in html, js, json or sass files at least
c
In that case you're in the the right place, it was just not mentioned in your message 🙂
r
Well actually I’m not 100% sure about that, sure it only happens in Kotlin files, but does that make it obviously related to the Kotlin plugin? Has the Kotlin plugin something to do with wild reformatting?
s
Does it happen only in scratch files?
r
Currently in my Main.kt, it looks like it only happens outside of classes / objects
I can 100% reproduce it just by writing
fun main() {
then hit enter and tab. It removes the 4 spaces
c
How do you enable format on save? I want to check if mine's doing the same.