Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vilicvane/vscode-console
Visual Studio Code Extension: Open Console in User-defined Console.
https://github.com/vilicvane/vscode-console
Last synced: 20 days ago
JSON representation
Visual Studio Code Extension: Open Console in User-defined Console.
- Host: GitHub
- URL: https://github.com/vilicvane/vscode-console
- Owner: vilicvane
- Created: 2015-12-17T07:47:05.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-31T01:43:37.000Z (about 8 years ago)
- Last Synced: 2024-11-30T15:42:04.695Z (23 days ago)
- Language: TypeScript
- Size: 97.7 KB
- Stars: 8
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```json
{
"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.