Closed rpalloni closed 3 years ago
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; }
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
apm dev language-python atom -d
"syntax--entity syntax--name syntax--variable syntax--self"
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