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.

Python "self" does not have a class and cannot be edited in styles.less #324

Closed

Description

@rpalloni

Prerequisites

Description

Python "self" does not have a css class and cannot be edited in styles.less. It is just "#text"

In fact, this is not working

.syntax--entity.syntax--name.syntax--function.syntax--self {
color: #268bd2;
}
.syntax--variable.syntax--language.syntax--self.syntax--python {
color: #268bd2;
}

Steps to Reproduce

Simply write a python class with attributes and inspect with developer tools.
You cannot reference "self" to edit the color in style.less

class Dog:
def init(self, name, age):
self.name = name
self.age = age

self

Activity

  1. transferred this issue fromatom/atomon Oct 20, 2020
  2. rpalloni commented on Dec 1, 2020

    @rpalloni
    Author

    apm dev language-python
    atom -d

    "syntax--entity syntax--name syntax--variable syntax--self"

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions