Or whatever you want to call it, being able to open a file from the
project drawer in a separate window. Sometimes I want to look at things
side by side.
Some file names can be long, and others are deep in a folder structure.
Where the width of the file draw doesn't allow for the full name of a
file to be displayed, it would be handy to have a tooltip appear with
the full file name.
drew.
I've been trying out TextMate to decide whether it's worth purchasing.
One thing has happened twice when writing php with it. My best guess is
that it's an encoding problem of some sort. For some reason when I
create new document in TextMate SOMETIMES php refuses to parse the
document at all, in fact even if I try inserting some test html code,
it also doesn't parse. What I end up with in the browser is an empty
page. Viewing the source reveals this to be so. I've tried reopening
the document with new encoding from the file menu... I've also reverted
to trying to convert the encoding in bbedit and yet it still doesn't
load in the browser. This only happens sometimes. Other times, there
are no problems with the php file. I've combed through the faulty files
for script errors and debugged the code thoroughly, it isn't a problem
with the code. So far I haven't been able to pinpoint what the
difference is between the files that have no problems and the faulty
ones. The ONLY solution was completely writing the exact same code in a
new document in bbedit.
I want desperately to leave bbedit for textmate, but this issue is a
major bump in the road for me. Anybody else have a similar problem? Any
suggestions? Maybe something I'm missing?
Thanks
Mike
Other comments have been made about them being non-standard. I don't
see a problem with that, they behave differently than other
implementations. My only comment is the amount of space the take up.
They really seem unnecessarily large particularly along the vertical
axis. Something more along the proportions of the items on the
bookmarks bar in Safari would be most welcome!
I agree that not having the Prefereces... command is bad, in that it's
confusing.
Having said that, I understand why it's not there.
So, to please both camps, have the Preferences... menu item launch a
help window/assistant that explains the preferences philosophy of
TextMate, along with visuals on where to find them (the specific
menus), and how the TextMate approach makes sense for what TextMate
does.
That will eliminate the number one problem encountered by new users,
and also get them quickly up to speed about TextMate's underlying
philosophy.
"Show, don't tell."
Regards,
Eric Ocean
Hello all,
It's clear that the more familiar you are with regular expressions, the
more productive you can be with TM. If you could use some additional
help (beyond what's already in the TM help), here is a site that I've
found useful:
http://www.regular-expressions.info/
I'm sure others will have some favorite regex sites/books of their own
to recommend.
Cheers,
-jeff
Well this will certainly be fixed in the upcoming version (Justin
already said so) and he pointed out what was wrong but here is how you
can easily get HTML syntax working now:
Go to:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
HTML.tmbundle/Syntaxes/html.plist
then edit lines 62 and 64 by swapping the styles and script names. It
should look like this in the end:
/*{ name = "Embedded JavaScript"; backgroundColor = "#E5E5E5"; begin
= "<(?i:script)\\>"; end = "</(?i:script)>"; },*/
{
name = "Embedded CSS"; backgroundColor = "#E5E5E5"; begin =
"<(?i:style)\\>"; end = "</(?i:style)>";
patterns = (
{ include = "CSS"; }
);
},
Later,
Eric Curtis
Is there a way to do incremental search in Textmate, where the display
scrolls to the closest match as you're typing in the search term, ala
"Quick Search" in BBEdit or Ctrl-S in Emacs?
Ben
When you have a block of text like this:
<ul>
<li><a {if $section eq "orders-pending"}class="current" {/if}
href="/admin.php/orders-pending">Pending Orders</a></li>
<li><a {if $section eq "orders-pending"}class="current" {/if}
href="/admin.php/orders">Search Orders</a></li>
</ul>
the </ul> doesn't register as a closing tag because it is not at the
same tab level as the <ul>. In other words, the above doesn't work, but
this does:
<ul>
<li><a {if $section eq "orders-pending"}class="current" {/if}
href="/admin.php/orders-pending">Pending Orders</a></li>
<li><a {if $section eq "orders-pending"}class="current" {/if}
href="/admin.php/orders">Search Orders</a></li>
</ul>
James.