You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of my favorite Atom features is that it will mark read- and write occurances of variables and properties. This is supported out of the box. No plugin required.
Depending on what distro you are using, this is included in the styles by default. Other distros have this disabled. I don't know why, it's a very simple powerful visual aid.
// To style other content in the text editor's shadow DOM, use the ::shadow expression
atom-text-editor::shadow {
// Read
.refactor-ref .region {
background-color:rgba(0,132,0,0.4);
border-bottom:2px solid green;
}
// Write
.refactor-mut .region {
background-color:rgba(192,0,0,0.4);
border-bottom:2px solid red;
}
// New
.refactor-decl .region {
background-color:rgba(132,132,0,0.4);
border-bottom:2px solid orange;
}
}
Result:
As you can see, these are not visible in the minimap.
The text was updated successfully, but these errors were encountered:
One of my favorite Atom features is that it will mark read- and write occurances of variables and properties. This is supported out of the box. No plugin required.
Depending on what distro you are using, this is included in the styles by default. Other distros have this disabled. I don't know why, it's a very simple powerful visual aid.
Result:
As you can see, these are not visible in the minimap.
The text was updated successfully, but these errors were encountered: