I'm pretty sure I remember there being a command in TextMate to tell me which bundle and/or menu item is associated with a particular keyboard shortcut? Where do I find it?
...
I have 7 lines of text:
a
b
c
d
e
f
g
Now I want to add characters to the end of each line, to end up with:
a,
b,
c,
d,
e,
f,
g,
I found that I can use the "sed" command and run my selection through sed using "Filter through command" in Textmate
sed 's/$/,/'
Now, one question remains: how do I turn this into a Textmate command t...
I use and love textmate, but over NFS there's a large delay whenever one of its windows gains focus as it rescans all open files for changes. I've looked but not found any way to disable this feature.
Does anyone know of a good workaround for this?
...
I like PhpEd because with CTRL-SHIFT-S, it will upload to the test server, so no need to switch to the FTP client, locate the file, and upload it.
I also like TextMate because the display is nice (Monaco font is less cramped than Lucida Console and easy to look at than Courier)... and also with a left panel for folder and file listing.
...
so far i only know to use Ctrl-Shift-A to do SVN in TextMate. is there an easy way like Ctrl click on the file? is ftp possible?
...
I have a bunch of html with lines like this:
<a href="#" rel="this is a test">
I need to replace the spaces in the rel-attribute with underscores, but I'm sort of a regex-noob!
I'm using Textmate.
Can anyone help me?
/Jakob
...
Is there a way to strip HTML tags selectively in TextMate - you can easily do this in Dreamweaver.
TextMate allows you to strip all HTML tags but I would like to get rid of only, let's say all the <span>'s and <font>'s.
On a similar topic, is there a way to get rid of all the inline css styles?
...
I want to modify the solution for highlighting trailing whitespace described here by NOT highlighting whitespace on otherwise empty lines.
I've modified this in my Python language file:
{ match = '(\s+)$';
captures = { 1 = { name = 'invalid.whitespace'; }; };
},
To this:
{ match = '\S(\s+)$';
captures = { 1 = { name =...
I've used Textmate for a couple of years, but for objective-c I'm finding that Xcode is easier. One of the reasons I like Xcode is that I can type "nsui" and it will suggest NSUInteger for me. If I want the same thing in Textmate, I have to type "NSUI" since the start of the suggestion I want is all capitalised. Textmate won't match the ...
Does anyone know a link to a set of color profiles for Eclipse that resemble TextMate?
...
I've been using Textmate for Ruby/Python scripting for awhile and now have a need to hack on some PHP. I'm having some troubles with the bundle:
The code-highlighting doesn't support HTML...
When I type php + tab TM spits out:
?><?php>
instead of:
<?php ?>
Anyone know where I could possibly be going wrong? Thanks in advance...
...
I have a long-ish Perl script that runs just fine, but always gives this warning:
Can't find string terminator '"' anywhere before EOF at -e line 1
I've read elsewhere online that this is because of a misuse of single or double quotes and the error generally stops the script from running, but mine works. I'm pretty sure I've used my ...
A friend of mine is considering switching to Emacs from TextMate. He is used to TextMate's default HTML editing mode which has 4-space tab stops and inserts tab characters (i.e. it does no auto-indenting by default). It also allows completion of open HTML tags with "Cmd-Shift->". Any ideas?
...
Almost every developer that uses a Mac practically worships TextMate. Why? What extraordinary features does it have that other text editors and IDEs don't? I did a quick search and the only really useful feature that I found that most other editors lack is the column selection option, but I wouldn't use a certain editor just for that. Wh...
Hi,
I have textmate 1.5.7 running on my leopard machine.
When programming in rails, for some reason some key words do not get highlighted.
For example: validates_presence_of, has_many, remote_form_for (form_for gets highlighted) etc...
I tried switching themes and it did not help. I also tried upgrading to the most recent rails bundle ...
When I enter two spaces into TextMate 1.5.7, under certain circumstances it seems to treat the two spaces as a single character..
For example when typing ("[space][space]")
(" |")
\_ the cursor
If I then press backspace, both spaces get deleted, and if I press the left arrow it jumps both spaces (which is surprisingly annoying)...
I have this issue with textmate where it opens up a file in a new window, but not a tab. thereby its harder to navigate and also disables me from using tcmtags on that new file. Has anyone ever ran into this issue? I suspected it was some type of setting that got messed up, but opening any other file traditionally with the point and c...
In the Textmate code-editor I use the Escape-key, for word completion, alot.
Is there a way to bind another key-shortcut to its functionality ?
(ps: my CAPSLOCK is already CTRL)
...
To auto complete a previously written string.
Is it possible?
EDIT
I'm editing javascript/java if that matters.
...
How do I make TextMate use the Rails bundle by default? On some files it's enabled, and on others (including models) it's not, and I wish it would just assume that every .rb file is a Ruby on Rails file unless I tell it otherwise.
Is there a project-level or global setting for this?
...