-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Description
Description
We currently have "Types" and "Variables" theme tokens. We should replace these two with "Types Declarations", "Type Names", "Variable Declarations", "Variable Names". There are also several more that we might add...
classNamestypeDeclarationstypeNamesvariableDeclarationsvariableNamesfunctionDeclarationsfunctionNamespropertyNamesconstantsparameterNamesmoduleNamesnamespaceNamespreprocessorMacrosenumMembersannotations
If we added these, the complete token list would look like this...
textbackgroundinsertionPointlineHighlightselectioninvisibleskeywordsclassNamestypestypeDeclarationstypeNamesattributescommandsvaluesconstantsnumbersstringscharactersvariableDeclarationsvariableNamespropertyNamesparameterNamesfunctionDeclarationsfunctionNamesmoduleNamesnamespaceNamesenumMemberspreprocessorMacrosannotationscomments
Additional Context
In Xcode, class names, function names, type names, etc. are differentiated between “Project” and “Other”. This helps developers quickly see what’s part of their project vs. an external dependency, making it easier to navigate complex projects, identify ownership of code, and make refactoring decisions. Is this something we want to implement as well?
We also need to update all of our bundled themes to include these tokens.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
📋 Todo