externalcommand READMEinvoke the external shell command with "start " Featuresyou could config the command with a keymap like : { "key" : "f11", "command": "extension.runExternalCommand", "args" : { "cmdPath" : "C:/port/document/skydrive/document/github/=gear/ol_view.bat", "cmdArgsString" : "%file% --showLine=%line% %word%" } } cmdPath : is the command path cmdArgsString : is the arguments, some of the words have speical meaning %file% : full path of current file %line% : current line number %word% : current selection or current word under the cursor 0.0.1initial release 0.0.2fix : line number : it will start from 1 Enjoy! |