

cmd file called jsDocMe.cmd, text below, passing in the jsDocPath, the full path of the current file, and the directory of the current file.

The cmd line first checks to see if the currently open file has a. (the line beginning with cmd and the following line should all appear on one line.)Įxplanation: The set command sets a variable for where your jsDoc path is. A tiny scripting window opens.Ĭmd /c if "$(EXT_PART)"=".js" echo "Running JSDoc" & $(jsDocPath)\jsDocMe.cmd $(jsDocPath) "$(FULL_CURRENT_PATH)" "$(CURRENT_DIRECTORY)\jsDoc" Go to the NppExec menu under plugins, choose the "Execute" menu option.

The steps are pretty straightforward, and should be a lot more straightforward after you read this. It it is possible to get jsDoc to work using the NppExec plugin.
