✨ Minimap - Markup comments
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
Direzione di ricerca
Inizia individuando l’implementazione del minimap e la gestione dei commenti MARK, TODO e FIXME. Esamina le alternative proposte con i maintainer prima di scrivere il codice, poiché l’issue elenca diversi comportamenti possibili invece di un ambito concordato. Il lavoro è completato quando il comportamento selezionato per i commenti di markup è implementato in modo coerente nel minimap e verificato visivamente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
In many code editors(like xcode, vscode etc) the minimap provides the ability to also function as a table of contents.
That is done by using the following keywords:
//MARK: Regular Mark
//MARK: - Mark with line seperator
//TODO: A todo list item.
//TODO: - A todo list item with line seperator.
//FIXME: A fixme item
//FIXME: - A fixme item with line seperator.
This picture shows how it is implemented in xcode.
Additional Context
As can be seen in the picture above, the xcode minimap doesn't differentiate between TODO and FIXME. for both it does show a line separator.
I would suggest a few changes to xcode's implementation of todo and fixme.
- Both fixme and todo are not needed. just todo is good enough.
- It might be beneficial for todos to be shown in the minimap, not just as a line. Perhaps with a smaller font or just the word todo, showing there is a todo at that place.
- I don't think a line separator is needed for todo's
- It might be nice to have one of the left side panels to be a list of all todo's. If there aren't any in the code, perhaps it can be a built-in todo list (which is currently, I believe, way out of scope and for sure a feature on its own.)
Besides the line separator there is no difference between the 2 Mark's.
Perhaps it can be considered to make the mark without line separator regular font and slightly smaller, and to keep the line-separated mark bold and large.
Screenshots
No response
- Lingua principale
- Swift
- Stelle
- 720
- Fork
- 162
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
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.
Altre issue di CodeEditApp/CodeEditSourceEditor
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
CodeEditApp/CodeEditSourceEditor#377 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
CodeEditApp/CodeEditSourceEditor#376 · 1 commento ·
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
CodeEditApp/CodeEditSourceEditor#378 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 32/100
Tutte le issue di CodeEditApp/CodeEditSourceEditor
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
maxgoedjen/secretive#840 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
manaflow-ai/cmux#13763 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
openwallet-foundation/multipaz#2028 ·