Would it be possible to have tab-emulation only function at the start of a
line? Extremely few (if any) of the documents I edit directly have a column
layout (where tabs would be useful), I only really use them for
indentation.. and when editing regular text it'd be nice to have
backspace/delete only remove one space at the time.
Regards,
Martin
I know you are working heavily on the project drawer and may know this,
but FYI ...
Bug: TextMate does not consistently move files (on the hard disk) as
they are moved in the project drawer.
Reproduce: Set up a project with several existing files added from a
directory, lets say ~/Sites/lib/php/report . they are not grouped in
the project drawer, just loose. Then, in the project drawer there is a
group called unit_tests, which exists on disk as ~/Sites/unit_tests. I
have a file named settings.ini that is from the reports directory but
not grouped anywhere in the project drawer. I like to alphabetize my
list of files so I can easily find them later, which means dragging the
files into place manually. in doing so, say I accidentally move
settings.ini file into the group unit_tests. What happens is that
TextMate physically moves settings.ini into ~/Sites/unit_tests. Back
in the project drawer when I notice the mistake, I move it out of the
unit_tests group but TextMate does not physically move the file out of
~/Sites/unit_tests back into ~/Sites/lib/php/reports, like it should.
This confuses TextMate (and me) and when i repopen a project, the files
are back in unit_tests.
aside from that ... what about the ability to set a root directory for
the project drawer so the project drawer can be an instance of the mac
os x finder in list mode? Maybe you could have several roots if your
project contained files scattered around the hard disk (which doesn't
seem like a typical scenario to me).
if nothing else, I would like to have the option to alphabetize the
project drawer. This would just make dealing with large amounts of
files easier.
in any event the project drawer is still very useful in its current
state.
thanks, Kumar
Hi all,
Unless I'm doing something terribly stupid, it seems it's impossible to
use a snippet while in another snippet without losing the tab
placeholders of the first... Is that right? That'd be sort of
disappointing, especially since snippets are part of what makes
TextMate elegant and customizable---would that be hard to fix?
And a related automating-stuff point: Would it be possible for find
operations performed by macros not to wipe out the previous find
string? This too I think would immediately make lots of things possible
that were only semi-possible before... (Alternatively, you could get
the same functionality by allowing commands to select text and move the
cursor without the mediation of the separate window, which would be
even cooler---you could do stuff like selecting the current sentence or
the current block---but seems like it might be a larger undertaking...)
Marcin
Hi All,
Using my fingers and RegEx, I hardly manage to convert simple HTML
file to TeX file, something like :
find : <h1>([^<]+)</h1> replace : \\section{$1}
find : <h2>([^<]+)</h2> replace : \\subsection{$1}
find : <ul> replace : \\begin{itemize}
find : <blockquote>([^<]+)</blockquote>
replace : \\begin{quotation}\n$1\n\\end{quotation}
and so on...
Has someone here written a macro that does that job? It would be
very helpfull :)
Thanks,
--
Jo <W:00°04'37" ; N:47°15'36">
1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72
wow, accidentally pressed the Help key while typing in TextMate and
found a menu with the following options:
Dictionary Search
Google Search
Thesaurus Search
Wikipedia Search
Yahoo Search
Upon selecting an item, TextMate passes the current word under the
cursor to the said service. very nice. I haven't seen this in other
programs -- is this an OS X thing? Or better yet ... Is there a plist
somewhere in TextMate to add to the list?
k
I noticed that when dragging a .css file into a transitional XHTML
document, the link tag isn't properly closed. Just wondering if you
could add doctype detection for drag-inserting links to files.
Chris
--
Do the evolution. Get Firefox!
<http://spreadfirefox.com/community/?q=affiliates&id=5&t=4>
wondering if this is a bug or intended somehow ...
I opened a file, params.ini, to edit in TextMate. TextMate handled it
fine besides no sytax highlighting since none has been defined
presumably. But when I added it to a project with other PHP files, the
file would not open in TextMate. For example, I clicked on it once
from the project drawer and nothing would happen. if I double-clicked
on it the file opened in SubEthaEdit (which I think was a decision made
by the Finder). Shouldn't undefined text files still open in TextMate
from the project drawer? Do I need to create a syntax plist as a
workaround in the meantime? TextMate 1.01.
thanks, kumar
I'm about to embark on a lengthy and complex project (changing 30-odd
FileMaker tables into MySQL). Usually I use the (excellent) CocoaMySQL
for table creation but I thought I'd explore using snippets in TM...
Basically it works like a charm (create table, add date field, add
varchar, add int...), though I haven't tested it vs CocoaMySQL to see
which will be faster (as CMS offers more tweaking of the field
definitions). But I figure I can whack out the fields in TM then import
the whole .sql file into CMS for the tweaking, adding indexes, etc.
> CREATE TABLE textmate (
> textmate_id int(11) NOT NULL auto_increment,
> tm_user varchar(50) default NULL,
> user_no int(5) default NULL,
> user_email varchar(50) default NULL,
> entry_date date default NULL,
> PRIMARY KEY (textmate_id)
> ) ENGINE=InnoDB;
The one thing I can't manage to sort out is including e.g.
"`textmate_id`" since the "`" is used in the snippets to evoke a shell
command... I tried escaping with "\`" but that didn't work. Am I
missing something obvious?
In any case, it's clear that snippets can revolutionize coding :) Wish
I had more time to explore... embedding shell commands could be
fantastic...
Paul
As the help file suggests, I've tried changing some keyboard shortcuts
with System Preferences->Keyboard & Mouse->Keyboard Shortcuts. I'm
trying to change the following items in the Text menu:
Reformat Paragraph
Reformat & Justify
Unwrap Paragraph
I can get Reformat & Justify to work but not Reformat Paragraph and
Unwrap Paragraph.
I suspect it's because both of those items change their name depending
on wether text is selected. I.e., when text is selected they become
Reformat Selection and Unwrap Selection.
I've tried setting the same shortcut for both, e.g., Reformat
Paragraph and Reformat Selection to try to cover both menu states, but
it doesn't work and the System Preferences warns me of an error
because of the duplicate shortcut key.
Does anyone know how/if I can make that work? Or am I just out of
luck because of the way the item changes names?
Incidentally, I've worked around it by creating a local
KeyBindings.dict, I'd just prefer to do it with the System Preferences
so I don't have to always keep my KeyBindings.dict up-to-date between
version changes.
Thanks much for any ideas!