I've increased the "Right margin (columns)" in File->Settings->Editor->Code Style from default 100 to 140. Unfortunately the margin is reset after each time I restart Android Studio. I also tried to export and import my settings but this does not prevent the right margin to be reset.
Hopefully someone can tell me how to save the margin.
You can go file > Export settings then you get to choose exactly the settings to export and you get a single settings. jar file. This looks promising.
If you want to back up your configuration and restore it to a new phone, you can do it with the following option. Nine - Settings > General > Import / Export settings > Export <== it will backup your old phone's Nine settings to your local storage, then you can copy it to SD card and bring it to a new phone.
Just remove the next row from gradle.properties
kotlin.code.style=official
Dont forget to re-apply codestyle settings in IDE settings or in /.idea/codeStyles/
If you are selecting the default option in Code Style then it is going to reset again to 100
value
Try to select Project from Scheme and apply the setting it is working
if You are setting it default then it is reset to it default value
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With