microsoft / microsoft/vscode-cpptools
Change the 0-3 status bar icons to a single persistent icon?
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 6.2k
- Fork
- 1.7k
- Merge medio
- 14h 46m
- PR unite (30g)
- 61
Descrizione
This is a proposal to combine the search, flame, and database icons into a single icon that always appears (i.e. a general cpptools icon). The icon would change its image and/or color depending on the work that is occurring
• No “long running” tasks, i.e. idle or processing quick tasks.
• Only low priority “background work” (workspace symbol parsing). Operations may be missing symbols in this state. Similar to the database icon currently.
• High priority “blocking” work (i.e. recursive includes tag parsing, IntelliSense parsing, or Find All References). Operations may be stuck “loading”, give stale results, or fallback to “tag parser” in this state. Similar to the search and flame icons currently.
Clicking the single icon would popup multiple progress UIs for every task that is running (tag parsing, IntelliSense parsing, Find All Refs, etc.) as well as show a list of valid/useful C++ commands applicable to the current state. This would be similar to clicking the bottom left icon in VS for background tasks.
One issue is that the available status bar icons is very limited, so maybe we could get VS Code to add more or add an API for contributing our own icons?
Here’s one possibility using the existing “issues” icons (with potentially green or white, red, yellow coloring?)…the available list is https://code.visualstudio.com/api/references/icons-in-labels :
This would solve multiple problems:
• The search icon for Find All References is not clickable after it’s done, so it makes post-op filtering difficult. Other post-op commands for configuring tag parsing or IntelliSense might also be useful.
• The flame/database icons appearing/disappearing can cause users to accidentally click the wrong icon when they attempt to click the search icon.
• The red flame icon looks strange now in Insiders.
• The red flame and database icons don’t currently have a progress UI like the Find All References does, so the operations are not easily cancelable and progress is harder to monitor for users who want to see it, although this could be added to the existing icons.
• It would allow us to add more progress indication for additional tasks without adding more icons, such as tag parsing caused by opening a file, which currently either shows nothing or shows the red flame (in the recursive includes case).
- I would also deal with https://github.com/microsoft/vscode-cpptools/issues/4101 .
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia esaminando le implementazioni esistenti delle icone della barra di stato per ricerca, flame e database, nonché l’API delle icone della barra di stato di VS Code collegata nell’issue. Definisci un’unica icona persistente che rifletta lo stato dell’attività, esponga UIs di avanzamento e i comandi applicabili quando viene selezionata e affronti i problemi di usabilità elencati; conferma se i contributi di icone richiesti sono supportati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- typescript
- Ambito
- developer-experience, devtools
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 25/100