microsoft / microsoft/TypeScript
Replace --preserveWatchOutput with --clearWatchOutput
Nessuno ha ancora preso questa issue.
- Lingua principale
- Go
- Stelle
- 111k
- Fork
- 14.3k
- Merge medio
- 2g 4h
- PR unite (30g)
- 132
Descrizione
Search Terms
Suggestion
A compiler should never default to erase information and should never assume that it is the only program outputting to a terminal.
Instead of developers having to search for which program is clearing the console and fixing it, it should be an explicit setting.
tsc --preserveWatchOutput should be removed and replaced with an explicit clear instruction, such as tsc --clearWatchOutput
Use Cases
Examples
Checklist
My suggestion meets these guidelines:
- This wouldn't be a breaking change in existing TypeScript/JavaScript code
- This wouldn't change the runtime behavior of existing JavaScript code
- This could be implemented without emitting different JS based on the types of the expressions
- This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
- This feature would agree with the rest of TypeScript's Design Goals.
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
La issue indica l’entry point tsc --preserveWatchOutput; inizia tracciando come questa opzione della modalità watch controlla la cancellazione del terminale. Definisci il valore predefinito esatto e il comportamento esplicito del flag sostitutivo, quindi individua i test correlati delle opzioni del compilatore e verifica sia il comportamento esistente sia quello richiesto dell’output watch.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- typescript
- Ambito
- cli, compilers
- 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