diff --git a/Commands/Help.tmCommand b/Commands/Help.tmCommand new file mode 100644 index 0000000..470f724 --- /dev/null +++ b/Commands/Help.tmCommand @@ -0,0 +1,26 @@ + + + + + beforeRunningCommand + nop + command + . "$TM_SUPPORT_PATH/lib/webpreview.sh" +html_header "Javascript Bundle Help" "Javascript" + +"$TM_SUPPORT_PATH/lib/markdown_to_help.rb" "$TM_BUNDLE_SUPPORT/../README.md" + + dontFollowNewOutput + + input + none + name + Help + output + showAsHTML + scope + source.js + uuid + EB00F356-06C8-4267-8226-AA8F3943E5B1 + + diff --git a/README.md b/README.md new file mode 100644 index 0000000..3b7370e --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +This document describes the commands of the TextMate Javascript bundle. + +# Command Reference + +* **Documentation for Word / Selection** (WebView Window) + + Searches your selection in a Javascript documentation website. + +# Snippets + +if +if ... else +for +for (in)