Skip to content
This repository has been 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 opened this issue Sep 13, 2017 · 0 comments

Comments

@mpacer
Copy link

mpacer commented Sep 13, 2017

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant