5

Is there such a thing as a DOT bundle for TextMate?

doug
  • 69,080
  • 24
  • 165
  • 199
yegor256
  • 102,010
  • 123
  • 446
  • 597

2 Answers2

7

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.

doug
  • 69,080
  • 24
  • 165
  • 199
3

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:

screenshot

Please make sure that the dot command is globally available. Refer to the Readme for more information.

Besi
  • 22,579
  • 24
  • 131
  • 223
  • On my Mac, I followed the installation instructions as mentioned by you. But the problem is I have MS-WORD installed too, which 'intercepts' the SPACE-bar instruction I choose on any .dot file, and simply proceeds to display the contents of the .dot file, instead of the preview I wanted. Any suggestions for this please? – fritz Feb 08 '13 at 13:40