<Android Studio adds closing curly brace although ...
# stackoverflow
u
Android Studio adds closing curly brace although a closing brace is already present Since today I experience a really annoying behaviour in Android Studio. It happened after a restart to clear the cache. I have the following situation:

https://i.stack.imgur.com/X7t7d.png

After pressing enter the following happens:

https://i.stack.imgur.com/izcgx.png

Instead of just adding a new line Android Studio adds two new lines and a closing curly brace. This happens for all scenarios where the pointer is...