Visual Studio Code Extension: Open Console in User-defined Console.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
images
src
typings
.gitignore
.vscodeignore
README.md
package.json
tsconfig.json

README.md

Console

A Visual Studio Code extension for opening projects in user-defined consoles.

Commands

console.open

description: Open current workspace in user-defined console.
key binding: Ctrl/Cmd+Shift+C

console.openActive

description: Open the directory containing active file in user-defined console.
key binding: Ctrl/Cmd+Shift+A

You must configure a console executable to use this extension.

For example:

{
    "console.executable": "cmd.exe",
    "console.args": "/s /c \"\"C:\\Program Files\\ConEmu\\ConEmu64.exe\" /single /icon code.exe /title \"ConEmu - Visual Studio Code\"\""
}

Note: there is some issue with Ctrl+C if you start ConEmu directly with "console.detached": true. It is recommended to use cmd.exe to start ConEmu.

Configurations

console.executable

Path of the console executable.

console.args

Arguments in an array or string. If it's an array, the executable will be execute using spawn, otherwise exec.

console.detached

Take effects only if console.args is an array (thus spawn is used).

console.cwd

Current working directory for command console.open, defaults to "{dirname}".

License

MIT License.