Reimplementation of Espresso’s Syntax Inspector for TextMate
Objective-C
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
English.lproj
TMSyntaxInspector.xcodeproj
.gitignore
Info.plist
Macros.h
OakStatusBar.h
OakTextView.h
README.mdown
SIOutline.h
SIOutline.m
SIWindowController.h
SIWindowController.m
SyntaxInspector.xib
TMPluginController.h
TMSyntaxInspector_Prefix.pch

README.mdown

Syntax Inspector Plugin for TextMate

A Syntax Inspector for TextMate. Reimplementation of the eponymous feature of Espresso.

But what does it do?

It displays an outline view of the tree of syntax scopes of the current TextMate document. Think of it as ⌃⇧P on steroids. Lots of them.

In addition, the selection of the outline and your document should sync, i.e. the scope of the word under the caret (in the document) will be selected in the outline, and selecting a scope in the outline will select the corresponding block in the document.

So what doesn’t it do?

Known limitations include:

  • Changes to the document after it is loaded aren’t registered. (This can be worked around by switching to another document, then switching back.)

  • Parsing large documents can be slow and stall TextMate a bit.

  • Some grammars fail to parse completely (including C++ and Objective-C++).

Alright, how do I use it?

Just build (or xcodebuild) the contained Xcode Project file. The built plugin will automatically be installed in your TextMate Application Support folder. (Incidentally, I dislike plugins that auto-install on build, so this will probably change.)

Gah, I found a Nasty Bug!

Good thing we have an issue tracker then: http://github.com/mkhl/tm-syntax-inspector/issues

Wow, your code sucks…

Tell me about it. Any kind of feedback, including stylistic, is very welcome. My email address should be somewhere on this page: http://github.com/mkhl