Git Product home page Git Product logo

runterminalcommand's People

Contributors

adrianwilczynski avatar dependabot[bot] avatar diegosayron avatar doggy8088 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

runterminalcommand's Issues

Add support for assigning keybindings to specific terminal commands

I suggest adding some way for the user to assign a keybinding to specific terminal commands they set up with the extension. That might be through adding a native keybinding feature to the extension, or alternatively through VSCode's native keybinding customization feature, e.g. by making the command names (or some other identifer) accessible as an argument so the user can set a keybinding to extensions.runTerminalCommand and pass the specific terminal command as an argument to run that terminal command. So to assign e.g. Alt+a for the example "Generate Component" command, you would add to keybindings.json something like:

{"key": "Alt+C", "command": "extension.runTerminalCommand", "args":{"terminalcommand": "Generate Component"}}

Add more variables: {line}, {column}

Want to open in an editor in terminal specifying current line and column. If we add {line} and {column} we'll be able to do
that.

e.g.

emacs +${line}:${column} ${resource}"

Is there a way to auto excute command?

Hi, i'm using this extension, what confused me is when i typed execute command. it only invoke the terminal, and send text to it, not excute it, how can i config?

{resource} sometimes cannot be properly resolved

I use "Run Terminal" to format big XML files where VSCode cannot handle them. In particular, I run

"xmllint --format {resource} > '.{resource}.format-tmp' && mv '.{resource}.format-tmp' '{resource}'"

This works fine with "smaller" files, but as soon as I try to run a bigger file (>150MB), this always resolves to:

"xmllint --format > '..format-tmp' && mv '..format-tmp' ''

Option to run command in current active directory

When you use a shortcut, it launches a new terminal at the location of whatever file you have active. For example, I have open src/App.js, the shortcut will run on the src directory. This causes issues when I am using the add-on to run commands on my root directory, and don't care about my active file or the file I right-click on.

Bonus: option to run command within current active terminal instead of a new terminal (this would solve the above problem as well)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.