formulahendry / formulahendry/vscode-code-runner

multiple executor map entries

Open
#48 5 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
2.4k
Forks
351
PR merge metrics
No merged PRs in 30d

Description

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"
},
}
}
`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.