I am trying to add a shortcut or a button in notepad++ to call an external program on the file I am currently editing.
For example, let's say I have the program "analyzer.jar
". I would like to create a button (or shortcut) in notepad++ that would directly run the command "cmd -K java -jar analyzer.jar "$(FULL_CURRENT_PATH)
".
Since I haven't found any solution yet, any help would be deeply appreciated :).
alphabetbet
Well, in fact I found how easy it is to create a shortcut for a command:
- Go in the menu and select "Run → Run..." (or press f5)
- Type your command
- Click on "Save", and select the keyboard shortcut of your choice
Sometimes, when you look for complicated solutions, you don't see the simple ones...
来源:https://stackoverflow.com/questions/6597577/creating-new-shortcut-in-notepad