✨ Add missing theme tokens

Aperta
#1,925 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
swift
Ambito
design, desktop

Direzione di ricerca

L’issue non indica file né test; individua prima le definizioni dei theme token e le risorse dei temi incluse, quindi confronta le voci Types e Variables esistenti con l’elenco di token proposto. Il lavoro è completato quando i token richiesti sono implementati, le vecchie voci sono sostituite come specificato e tutti i temi inclusi contengono i token aggiornati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement theme
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...

  • classNames
  • typeDeclarations
  • typeNames
  • variableDeclarations
  • variableNames
  • functionDeclarations
  • functionNames
  • propertyNames
  • constants
  • parameterNames
  • moduleNames
  • namespaceNames
  • preprocessorMacros
  • enumMembers
  • annotations

If we added these, the complete token list would look like this...

  • text
  • background
  • insertionPoint
  • lineHighlight
  • selection
  • invisibles
  • keywords
  • classNames
  • types
  • typeDeclarations
  • typeNames
  • attributes
  • commands
  • values
  • constants
  • numbers
  • strings
  • characters
  • variableDeclarations
  • variableNames
  • propertyNames
  • parameterNames
  • functionDeclarations
  • functionNames
  • moduleNames
  • namespaceNames
  • enumMembers
  • preprocessorMacros
  • annotations
  • comments
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.

Lingua principale
Swift
Stelle
23k
Fork
1.2k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CodeEditApp/CodeEdit

Tutte le issue di CodeEditApp/CodeEdit

Issue simili

Altre issue su Swift

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.