Is there a DOT bundle for TextMate?
Is there such a thing as a DOT开发者_开发技巧 bundle for TextMate?
Yes there is.
It's called graphviz, and you can find it either in the official TM repo or in the un-official TM github repo. Both are available to install/update via the GetBundles GUI.
Like other TM Bundles, if you have this Bundle installed and you open a file with a .dot extension, then TM will open it in that scope.
It's a lean package, but it does everything i want, which is syntax highlighting for dot files and i can generate graphs with cmd-R.
If you're looking for additional integration of dot in OSX you might want to try the QuickLook Plugin I created. This allows you to use QuickLook and Preview in a Finder window:
Please make sure that the dot
command is globally available. Refer to the Readme for more information.
精彩评论