Hello Mates,
Folding is probably what drives me with open arms to you, guys.
If I'm getting it to work, that is.
A pathological case is this vhdl construct:
loop
do_something;
exit when signal='1';
do_something_more;
end loop;
My first attempt looks like this (just longer):
foldingStartMarker = "(?i:(loop|case|if))";
foldingStopMarker = "(?i:end)";
But this does not work, because the "loop" also matches the stopMarker!
TextMate will not mark the end line at all, and get quite screwed up
in building its folds. The same for "end if", "end case", to name a few.
Any reasonable ideas how to write a foldingStartMarker pattern
that will _not_ trigger on the final line?
Peter
Hey all,
I was wondering if there was a way to setup different file types to
use the "Tab -> space" conversion feature, and others... not.
I.e. for Ruby on Rails code (.rb and possibly .rhtml), I'd like to
have Tabs automatically get converted to spaces.
But for .txt files and other file types where I would like to keep
tabs... is there a way to do this somehow?
Just finally registered my copy of TextMate... and, knowing how
incredibly versatile it is, I'm just figuring there's got to be a way
to pull this off somehow (w/o making it a new feature, which, imho
would be nice too!) =)
Shanti
To test what this could look like you can use a font size of like 5
in prefs.
After you zoom in, it won't let you zoom back out past 9.
If we (I, really... who cares about anyone else :D ) could zoom out
past 9, we could get a good visual overview of the whole document.
Not a big change, but it'd be handy to me atleast.
1.0b4::
1. Added a preference setting to handle the snippet output
behaviour, so that it can handle both my style
( spaces_within_brackets ) and the PEAR standard style
(no_spaces_within_brackets) styles on the fly independent of the
stored snippet format.
2. Minor change to notify users of the documentation issues (no
local documentation or internet access = empty documentation)
You can find out more information about PHPCC 1.0b4 from here
[ http://www.imediatec.co.uk/tm/phpcc/ ]
or the download it directly from this link [ http://
www.imediatec.co.uk/tm/phpcc/PHPCodeCompletion-1.0b4.zip ]
Please keep me informed of the ideas, problems and so on.
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
I think the scope for the symbol list preferences of the Latex bundle
ought to be set to "text.latex entity.name.section"
The default of "text.latex entity.name" shows every "\item” in the
"Go to symbol ..." (cmd-shift-t) list.
Berndt
Sorry if this is Obvious Question #37... but I swear TM used to have
Rails-specific syntax highlighting and that disappeared (is this
possible?) in one of the recent betas or something. When I look at my
Language selection, I only see Ruby.
Am I crazy? Wasn't there a Rails one? Can I just grab that from
somewhere? It seemed to highlight more detailed and specific syntax
than Ruby does....
Thanks,
Raymond
I saw there was a ruby script posted to the list a while ago for
integration with ctags, but it's not working for me... before I go
off and start writing my own, is anyone using ctags with TextMate?
Thanks,
-Oscar
--
pgp fingerprint: BC64 2E7A CAEF 39E1 9544 80CA F7D5 784D FB46 16C1
Hi All,
I'm really liking TM - it's taking a while to get my non-programmer's
head around, but I'm learning lots in the process.
I really like the "Save files when focus is lost" preference
(Preferences > Advanced > Saving > Other), but if you haven't saved
the file yet (still 'untitled') TextMate has a heart attack when
swapping to another program. As an aside I really need to kill dock
bouncing already. I think it'd be even better for the file (if not
yet saved) to be automatically saved as a temp file, either in a
similar way to using command-enter from other programs, or using the
first few words of the file as filename in a TextMate folder in
Documents. This temp file could then be automatically deleted when
the user saves for the first time.
just a thought you probably had already. keep up the great work!
peace - oli
Check it out.
All new. All oldschool.
Back to the heart of the medium. The only color that isn't a direct
ANSi color is the background color on non-source pages (just cuz it
looks keener )
this one should look pretty slick for javaScript, CSS & RUBY (as well
as HTML, XML & ASP)
I thrive on entertaining insults & opinions. Please cater to my
sickness.
I have the following ASP.net code
<tag attribute="<%# Users.PageSize %>" />
the scope of the #... part is coming up as comment.line.number-
sign.ruby instead of source.asp.embedded.html
I've tried messing with everything I can think of. I can't figure out
how to keep it from defaulting to the ruby deal.
any suggestions would be lovely.