foxundermoon / vscode-edit-with-shell

Visual Studio Code Extension. Levarage your favourite shell commands to edit text

Home Page:https://marketplace.visualstudio.com/items?itemName=ryu1kn.edit-with-shell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Code Climate

Edit with Shell Command

Levarage your favourite shell commands to edit text.

Features

  • Edit selected text with shell command
  • Insert shell command output into cursor position
  • It records command history. You can edit and reuse past commands

Edit with Shell Command

Insert command output

Edit and reuse past commands

Commands

  • EditWithShell: Run command (Command ID: editWithShell.runCommand)

    Show command history and let you select, modify & run a command

    Note:

    The project root will be used as a current directory when executing a shell command. HOME path will be used in case project root is not available.

Configurations

  • editWithShell.currentDirectoryKind (default: currentFile)

    Current directory for shell commands. If the target directory is not available, HOME directory will be used. Possible values: currentFile or workspaceRoot

Keyboard Shortcuts

You can quickly open a command input box by registering the extension command to your keyboard shortcut settings. For example:

  { "key": "ctrl+r ctrl+r", "command": "editWithShell.runCommand",
                            "when": "editorTextFocus" }

Request Features or Report Bugs

Changelog

About

Visual Studio Code Extension. Levarage your favourite shell commands to edit text

https://marketplace.visualstudio.com/items?itemName=ryu1kn.edit-with-shell

License:MIT License


Languages

Language:JavaScript 100.0%