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
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
What does it mean to "mark" the annotations? I'm not that familiar with the the syntax highlighting, but I think one stage of it tags text as being an operator, numeric literal, string, keyword, etc., then the theme highlights based on matching those.
Within the arbitrary expression that the type annotations are, it appears to highlight the elements of the expression akin to any other, str, int are builtins, datetime.datetime isn't so it's just "normal". The typing helpers are in the same boat, otherwise "normal" like any non builtin, non keyword.
While types are somewhat just arbitrary code they are also indeed types as well, and it would be helpful to mark them as types as well as whatever thing they are normally. In my case I'd like to put a lower opacity on them so my eyes can naturally ignore them while I focus on actual code.
Activity
nicktimko commentedon Mar 22, 2019
What does it mean to "mark" the annotations? I'm not that familiar with the the syntax highlighting, but I think one stage of it tags text as being an operator, numeric literal, string, keyword, etc., then the theme highlights based on matching those.
Within the arbitrary expression that the type annotations are, it appears to highlight the elements of the expression akin to any other,
str,intare builtins,datetime.datetimeisn't so it's just "normal". Thetypinghelpers are in the same boat, otherwise "normal" like any non builtin, non keyword.What should that look like?
shadow-light commentedon Mar 26, 2019
Oh, by "mark" I meant "tag" with a class.
While types are somewhat just arbitrary code they are also indeed types as well, and it would be helpful to mark them as types as well as whatever thing they are normally. In my case I'd like to put a lower opacity on them so my eyes can naturally ignore them while I focus on actual code.