Thread
#android-studio
    MR3Y

    MR3Y

    3 weeks ago
    Take a look at
    .idea/codeStyles/Project.xml
    file and see if
    CONTINUATION_INDENT_SIZE
    or
    INDENT_SIZE
    is set to 10, and if it is, then change it to 2
    You can also click double shift to open search everywhere dialog, and search for
    Tabs and Indents
    , you'll see a dialog in which you can control Indent size, continuation_indent, tab...etc
    Chris Fillmore

    Chris Fillmore

    3 weeks ago
    Thanks for responding. Sorry I realize my description was not quite right. In the case of
    onClick
    there, it indents 10 spaces. But if it were like this:
    onLongerFunctionNameClick = {|}
    I’d get:
    onLongerFunctionNameClick = {
                                |
    }
    MR3Y

    MR3Y

    3 weeks ago
    hmm, probably there is some plugin or configuration that mess with project coding style, but try the aforementioned solutions, they should be a good starting point to diagnose the problem at least
    Chris Fillmore

    Chris Fillmore

    3 weeks ago
    Thanks
    e

    efemoney

    3 weeks ago
    Having this same issue. Its extremely jarring 😞