Skip to content

cannot find python attribute initialization shortcut #428

Open

Description

@rpalloni

Hello,
I cannot find the shortcut to create attribute initialization after definition in init

Ex:
class Person:
def init(self, name, surname):
self.name = name # >> cursor on 'name' (after self) + Alt + Enter generates this row
self.surname = surname # >> cursor on 'surname' (after self) + Alt + Enter generates this row

Am I using the wrong combination?
Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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