[SVN] Bundle commit 456
Kumar McMillan
kumar.mcmillan at gmail.com
Thu Mar 10 19:24:15 UTC 2005
On Thu, 10 Mar 2005 09:24:38 -0800, Eric Hsu <erichsu at math.sfsu.edu> wrote:
> At 11:09 AM -0600 3/10/05, Kumar McMillan wrote:
> >If you could check with your perl code, let me know if it does the
> >trick (r 457).
> >Would this match classes too? I forget how you define classes in
> >perl.
>
> Seems to work fine now. What are these 'classes' you speak of? :)
>
> Perl OO is sort of a hack, with objects being a data structure with
> methods being subroutines that recognize objects.
ahh, I see. it was just an assumption. I haven't touched perl in
years; I was never very good at remembering $", $_, $- and the likes
so I didn't get very far.
>
> >the HTML stuff should be on the way shortly :) No time to add it now.
> > All it would need is a separate transformer class that gets passed a
> >line object or something of the like. I do plan on adding this
> >though.
>
> Great. Another 2 suggestions.
>
> 1. Use the Current Syntax to figure out what language we're in;
> otherwise shell scripts without filename extensions don't work
interesting idea. I actually didn't think TextMate supported
identifying a file type based on shebang. I tried again just now
creating an extension-less file with #!/bin/bash at the top, but it
did not recognize it as a shell script. Is there a way to do this?
If so, then I should add suport for $TM_MODE
>
> 2. (More far out) Maybe also allow the script to recognize language
> libraries/modules? Then one could click on links to them to open them
> in TM. There's the issue of finding the right file in the path, but
> this seems doable in principle.
hmmm... I think this should be a separate command. The
function/entity nav is designed for jumping the file I am working on,
especially helpful when it is someone else's code :D I could also add
support for segments / separators/ anchors, but i don't know much
about them. If anyone can explain to me some standards that exist (
in XCode maybe?) then I can add a default line match across languages,
if possible.
I would also like to force alphabetizing entities as an option...
which will come later, along with HTML-izing
k
More information about the textmate-dev
mailing list