formulahendry / formulahendry/vscode-code-runner

multiple executor map entries

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

Descrizione

Hi,

please add an option to configure multiple commands for filetypes:

this would be usefull if you need to execute your code in different environments.

Examples:
- running bash script on local machine or remote server
- running sql scripts on different databases (sqlplus, mysql, psql )
- compiling for production or debug
- use different versions of a tool

If you have multiple tools configured, the code runner will ask you wich tool you want to use.

You should be able to configure the order, in which the tools will be listed.
(priority config, alphabetical or recently used)

Configuration example:
`
{
"code-runner.executorMap": {
"bash": {
"local" : "bash",
"remote" : "ssh"
},
"sql": {
"mysql" : "mysql",
"oracle" : "sqlplus",
"postgreSQL" : "psql"
},
}
}
`

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start by locating how the extension reads code-runner.executorMap and selects an executor for a file type. Review the current configuration and execution flow before defining how multiple named commands and their ordering should work. Done means users can configure multiple commands, choose among them, and control the displayed order.

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

Valutazione

Stack tecnologico
typescript
Ambito
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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.