Skip to content

Visual Studio Code Extension: Open Console in User-defined Console.

Notifications You must be signed in to change notification settings

vilicvane/vscode-console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Visual Studio Code Extension: Open Console in User-defined Console.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published