I would like to centre my code in the Android Studio's/IntelliJ's editor, like as it is done in the Distraction Free Mode.
Right now, it is always aligned on the left side of the editor, but I want to have it in the centre of the window. I could not find any option for this in the settings. Is this possible without entering the Distraction Free Mode?
mode=true in Help | Edit Custom VM Options and restart the IDE. This will center the editor without the other features of the distraction free mode (like hidden tool windows).
Are Android Studio projects compatible with IntelliJ IDEA? Yes, the two IDEs use the same project format.
IntelliJ IDEA supports development for multiple platforms, but is missing some of the specialized features included in Android Studio, such as APK support. Android Studio may be a better choice for businesses that develop primarily Android Applications.
In the Project tool window, right-click a file and select Open in Right Split from the context menu (or press Shift+Enter ). IntelliJ IDEA will open a file in the split on the right of the editor.
Add -Deditor.distraction.free.mode=true
in Help
| Edit Custom VM Options and restart the IDE. This will center the editor without the other features of the distraction free mode (like hidden tool windows).
You can also activate this option through the registry:
shift shift
to search everywhereregistry
and select "Registry..."distraction
to filter the listVoilà, no restart needed.
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