Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Property snippet produces invalid code if triggered as part of @property decorator #208

Open
@mpacer

Description

@mpacer

Apologies for not following the guidelines but I don't have the time to become fully acquainted with the atom debugging system and this has nothing to do with atom as a text editor, but rather the particular definition of a snippet. This means its pretty much fully explained by a gif with some bullet points.

The property snippet actively creates invalid code if activated when trying to use the property decorator:
atom_property_snippet_bug

3 issues just from glancing at this:

  • the syntax of @def foo is strictly speaking, invalid.
  • the pattern is not the appropriate pattern for a property decorated function
  • the indentation of the final line is not appropriately aligned, creating an indentation error

Note: #156 might address this but I don't know because I don't understand atom enough yet to test that out.

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