Skip to content

Generating TODO comment by autocomplete? #201

@chupocro

Description

@chupocro

In Add a button part of Dice Roller tutorial there is a note saying:

Note: If you autocomplete the Button() function, the onClick = { /*TODO*/ } argument appears. If you don't autocomplete it or Android Studio doesn't let you do so, you can implement this argument on your own as a placeholder.

I tried Control+Space, Control+Shift+Space and Control+Shift+Enter but /*TODO*/ comment never shows automatically.

Maybe I misunderstood the note but as I understand it is saying the TODO comment should be generated as a result of autocomplete.

Android Studio Narwhal Feature Drop | 2025.1.2 Patch 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions