Hello all,
I've been slowly (and I do mean slowly) putting together an ExpressionEngine bundle over the last several months. It's mainly snippets, but it also can look up a selected EE tag in the user manual and display it in a small TextMate window. It has code highlighting, but I'm not sure I've set it up correctly. I also don't have all the EE tags implemented.
Which leads me to the reason I'm writing this. I've had several people tell me they'd love to try out the bundle, but I just don't have the time to make this bundle work perfectly. What I'd like to do is add it to the list of available bundles and let anyone who wants to make it better. The more people contributing to it the better it will be.
Again, I'm not sure I've set up code highlighting correctly, so that should be one of the first things people check out.
One note, EE tags can be used inside of other code (XHTML, XML, CSS, etc). In order for highlighting to work correctly, I had to add an extra language inside of the HTML and XHTML bundles called HTML (EE) and XHTML (EE). Is that the correct way to do it or what?
Anyway, enough rambling. I'm not sure how people feel about attachments in this list, so I didn't attach the bundle to this message. If someone could tell me how to add it to the bundles list on the TextMate site or do it for me, that'd be great. I'm looking forward to seeing how others improve the bundle.
- Chris
On 29/4/2006, at 23:44, Chris Ruzin wrote:
One note, EE tags can be used inside of other code (XHTML, XML, CSS, etc). In order for highlighting to work correctly, I had to add an extra language inside of the HTML and XHTML bundles called HTML (EE) and XHTML (EE). Is that the correct way to do it or what?
Currently that is necessary -- but keep the new HTML (EE) in the EE bundle.
Anyway, enough rambling. I'm not sure how people feel about attachments in this list, so I didn't attach the bundle to this message [...]
Attachments are fine as long as they are only 1-50 KB (which I believe bundles mostly are).
It sounds like it would be best to find a maintainer for the bundle, before adding it to the subversion repository.
I've actually become motivated again to work on the bundle and have done a LOT of improvements in the last hour or so.
I figured out how to use Subversion to check out new bundles from the Macromates site and checked out the MovableType bundle to see how they went about doing it. I took their language definition and redid it to work with EE tags. Now highlighting works like it did before, but there's also code-folding for the major EE tag pairs and conditionals.
I've attached the new and improved bundle to this email. I'd appreciate it if people would try it out, kick the tires and let me know what they think. Also if anyone comes up with more snippets, commands or macros for it, let me know.
Oh, and thanks Allan for making such a kick-ass program.
- Chris
Allan Odgaard wrote:
On 29/4/2006, at 23:44, Chris Ruzin wrote:
One note, EE tags can be used inside of other code (XHTML, XML, CSS, etc). In order for highlighting to work correctly, I had to add an extra language inside of the HTML and XHTML bundles called HTML (EE) and XHTML (EE). Is that the correct way to do it or what?
Currently that is necessary -- but keep the new HTML (EE) in the EE bundle.
Anyway, enough rambling. I'm not sure how people feel about attachments in this list, so I didn't attach the bundle to this message [...]
Attachments are fine as long as they are only 1-50 KB (which I believe bundles mostly are).
It sounds like it would be best to find a maintainer for the bundle, before adding it to the subversion repository.