The I7 parsing is off the top of my head, so it may be wrong in some situations. Let me know. It skips quite a few features of the standard IDEs. Notably, it colors an I6 inclusion as a single block, rather than trying to syntax-color the I6 in its own right.
(Vimes is in the process of porting the standard syntax colorer from the Mac IDE into the BBEdit framework. But I’ll let him report on that.
While we’re on the subject, here’s the TextMate 1 bundle I’ve been using for my Inform 7 work for a while, in case it’s useful to anyone… not entirely finished and polished and all that, but it works nicely for my purposes. Inform 7.tmbundle.zip (11.7 KB)
I really like writing I7 code with the Atom editor and this Inform7 extension. Is there any chance you can implement some code folding for the volume|book|part|chapter|section logic?
Since it’s regex-based, I don’t think it’s possible to define five-level nested folding in the way you’d expect for Inform code. There is no ending marker for a chapter; the chapter ends at the next chapter, part, book, or volume heading (but not section heading).
If someone figures it out, I’d be delighted to take a patch.
When BBE/TW updated, I went to look for the updated SDK but failed to find it. The link on barebones.com/support/develop/index.html gives the old (circa-2009) SDK, which does not work.
I think it would be real nice if we had Atom as an option for edit/compile/run for Inform 7. I assume with a series of plugins/extensions this could be done. Wishlist spoken aloud