formulahendry / formulahendry/vscode-code-runner

[Feature request] Use default settings in code for executorMap settings

Aperta
#1,027 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
2.4k
Fork
351
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Is your feature request related to a problem? Please describe.**
Setting custom executorMap settings requires the full map to be present in your vscode config, whether it's changed or not.

**Describe the solution you'd like**
I'd like the code to use default settings whenever the value is not found in settings.json. This could be done at runtime by determining the map using object spreading (ie `executorMap = {...defaultExecutorMap, ...vscodeExecutorMap}`).
This change would allow settings.json to only contain *changed* entries, rather than all of the entries.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Locate the extension code that reads executorMap from VS Code settings and find where the default executor map is defined or assembled. Verify behavior with a partial settings map: changed entries should override defaults while omitted entries remain available, and existing executor behavior should continue to work.

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

Valutazione

Stack tecnologico
typescript, vscode
Ambito
tooling
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
55/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.