Git Product home page Git Product logo

command-launcher's Introduction

Command Launcher

A launcher extension that manages commands for the command palette and terminal command.

Usage

Step1.

Press ⇧⌘P to bring up the command pallete and enter 'Command Launcher - Edit'.

Usage Step1. image

Step2.

Customize the menu as you like.

Usage Step2. image

Step3.

Press ⇧⌘P to bring up the command pallete and enter 'Command Launcher'.

Usage Step3-1. image

Your own toolbox is ready!

Usage Step3-2. image

Feature

Easy Setup

Just follow the guide to easily set the menu.

Easy Setup image

Command - Calling other extension

Check the Feature Contributions -> Commands -> Name of the extension you wish to call.

Set its value as a command.

Checkout1 image

Command - Calling VSCode's command

First, Command Pallete -> Gear in that order.

Checkout2-1 image

The value entered in the filter is the value of the command you wish to call.

Checkout2-2 image

Terminal Command - Execute Terminal's command

You can execute terminal commands from the menu.

Execute terminal command image

Singleton

Are there any terminal commands that keep working? (e.g, a command that detects file change and recompiles them etc...)

The singleton feature allows you to have only one process execute that commands.

No more need to switch terminals!

Singleton image

History

Having trouble entering the same terminal commands?

The history function eliminates that difficulty.

Usage

Press '⇧⌘P' to bring up the command pallete and enter 'Command Launcher - History'.

* The history function is disabled by default.

History image

Folder

You can create folders to manage commands.

Folder image

Uninstall

Didn't like this extension?

Sorry for not being able to help you.

Let's uninstall it and erase all settings related to this extension.

It won't pollute your environment.

Uninstall image

Cautions

How will this extension affect your environment?

This extension will make changes to the following file.

  1. settings.json

command-launcher's People

Stargazers

 avatar

Watchers

 avatar

command-launcher's Issues

Thank you

This extension is amazing, only 14 downloads wtf.
I use many extensions so this is very handy to access many commands. Even more powerful when combined with the multi-command extension.

Yeah this is not an "issue" but I had to say it

[Feature request] Make it more powerful

I have been looking for a normal extension for the terminal for a long time but did not find it. Script Runner suits my needs more or less. I wrote to the author what needs to be corrected and added, but he does not answer. Can you please look at my feature requests and add them to your extension?

Here is my settings (in settings.json) for the Script Runner (I'm on Windows, commands are for cmd or powershell):

"script-runner.statusBar": true, "script-runner.definitions": { "variables": { "$path": "D:\\Documents\\Development", }, "commands": [ { "identifier": "Angular 1", "description": "Angular - create project + ESlint + CSS", "command": "ng new $var1 --style=css --routing=false; cd $var1; ng add @angular-eslint/schematics --skip-confirmation=true; ng lint; code -r .", "working_directory": "$path", "form": [ { "variable": "$var1", "question": "Project name" } ] }, { "identifier": "Angular 2", "description": "Angular - create project + ESlint + CSS + Routing", "command": "ng new $var1 --style=css --routing=true; cd $var1; ng add @angular-eslint/schematics --skip-confirmation=true; ng lint; code -r .", "working_directory": "$path", "form": [ { "variable": "$var1", "question": "Project name" } ] }, { "identifier": "Angular 3", "description": "Angular - create project + ESlint + SCSS", "command": "ng new $var1 --style=scss --routing=false; cd $var1; ng add @angular-eslint/schematics --skip-confirmation=true; ng lint; code -r .", "working_directory": "$path", "form": [ { "variable": "$var1", "question": "Project name" } ] }, { "identifier": "Angular 4", "description": "Angular - create project + ESlint + SCSS + Routing", "command": "ng new $var1 --style=scss --routing=true; cd $var1; ng add @angular-eslint/schematics --skip-confirmation=true; ng lint; code -r .", "working_directory": "$path", "form": [ { "variable": "$var1", "question": "Project name" } ] }, { "identifier": "Angular 5", "description": "Angular - create project (interactive mode)", "command": "ng new $var1 --style=$var2 --routing=$var3; cd $var1; ng add @angular-eslint/schematics --skip-confirmation=true; ng lint; code -r .", "working_directory": "$path", "form": [ { "variable": "$var1", "question": "Project name" }, { "variable": "$var2", "question": "CSS or SCSS?", "options": [ "css", "scss" ] }, { "variable": "$var3", "question": "Install roating?", "options": [ "true", "false" ] } ] }, { "identifier": "C# - console", "description": "C# - create new console project", "command": "dotnet new console -o $var1; cd $var1; code -r .", "working_directory": "$path", "form": [ { "variable": "$var1", "question": "Project name" } ] }, { "identifier": "C# - asp.net", "description": "C# - create new asp.net", "command": "dotnet new web -o $var1; cd $var1; code -r .", "working_directory": "$path", "form": [ { "variable": "$var1", "question": "Project name" } ] } ] },

[Feature request] Last executed command from command launcher

Hi,

As Command launcher became my primarily way to execute commands with Vscode, I would find handy to have to possibility to have the last executed command from Command launcher listed always on top of the Command launcher list (for easy access).

This isn't an essential feature but I think it would still be handy
I'm currently writing an extension of my own (to manipulate files) and if you're not interested in developing this suggestion, I may at some point in the future develop that feature and create a pull request . Would that be a feature you may accept for your extension in the future ?

Thanks

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.