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
Prerequisites
- [X ] Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
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