Hi all,
This may have been mentioned before somewhere, but before you tell me
to RTFM or look at the Wiki let me say that: I have, and I couldn't
find what i was looking for. So, here goes....
In his Ruby on Rails demonstration video clip, David Heinemeier Hansson
launches TextMate into a kind of "new project" mode automatically by
typing "e /folder/path" in the terminal. Genius ! But... how do I do
this ? Is this a feature of TextMate available to the application
itself ? For clarification of what I'm rambling on about, the Quicktime
clip is here: http://media.nextangle.com/rails/rails_setup.mov ( 2mins
18 seconds in ).
I wanted to ask this question here so others could benefit from the
answer before I go pester David for the answer !
Thanks in advance,
Paul Burgess.
I was selecting text using the shift/option/arrow keys today and at some
point my selection turned rectangular! However to my dismay I'm unable
to figure out what I did that allowed me to switch over. What's the secret?
--
Ben Jackson
Diretor de Desenvolvimento
INCOMUM Design & Conceito
+55 (21) 9997-0593
ben(a)incomumdesign.com
http://www.incomumdesign.com
This is an issue I encountered using the built in syntax definition for
Python - I don't like antialiasing so I have it switched off, unfortunately
the Python syntax uses italic format in comments, which looks appalling
without AA. I don't really want to switch AA on as that affects every
language, and I don't want to have to edit the Python bundle to remove the
italics. Is there a proposed solution to this? Would the style sheet
approach to syntax files help?
Chris Jenkins
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
One of the few things that I had in vim that I don't in tm, and that I
miss, is a code beautifier. I would like one for Ruby. Does anyone
have some solution for this (like a command or something)? It would be
nice to be able to configure it too, like number of spaces for indents,
stuff like that. Undoubtedly, some Ruby guru has probably written a
Ruby beautifier in Ruby : )
--
Best regards,
Lang Riley
TM 1.1b5
I'm trying to create a project containing the .files from my home
directory (.profile, .bashrc, &c.). When I explicitly add a .file to
the project, either by dragging a proxy icon from an existing TM
document, using the "tm" command line program (with multiple files), or
using "add existing files..." from the project drawer, the files just
disappear from the project. There used to be a per-project file/folder
pattern setting accessible from the info window, but that's gone, with
only the ability to edit per-project variables.
Am I doing something wrong, or is this a bug?
--
__ ____
/ / / __/ Brian Lalor
/ _ \/__ \ blalor(a)bravo5.org
/_.__/____/ http://bravo5.org/
I'm happy to see there's some kind of interest in my PHP bundle. I'm
still working on it so please contact me at [ cubiq at cubiq.org ] if
you have any suggestions. In the repository under the PHP.tmbundle
you'll also find a README file with some info and revision history.
The bundle contains about 3000 php functions, deprecated and
experimental ones have been stripped out for better performances, in
the README file you'll find excluded functions.
@Mats Persson: please contact me if you have any suggestions.
Best regards,
Matt
I'm wondering what's up with the website. It hasn't loaded for me for
well over a week.
I receive the following message when I go:
Precondition Failed
The precondition on the request for the URL / evaluated to false
OK, I was finally spurred into making my reworked PHP bundle available
for others to use and found that Matteo Spinelli is working on the
official PHP bundle. So Matteo, please get in touch to see what we can
work together on.
Allan, if Matteo is not here could you let me know his email ??
Secondly, I too like to get access to the svn for some other bundles
I've got.
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
I think that might have been a little harsh. What I mean is this: The
web preview works awesome for real time viewing of html code. I am
amazed. Really. But, I don't know anyone who write HTML anymore.
Sometimes to make a Smarty Template, I'll write HTML and then retrofit
it, but usually not. The web preview needs to be able to read from a
valid URI, like http://127.0.0.1/projects/clientX/index.php
I would at least like to find a solution to get Safari and/or Firefox
to refresh on save. But I think the built in tool using webkit would
be coolest. Has anyone figured this out?
Thank you,
--==<< R i c h a r d B r o n o s k y >>==--
Hi
Im wanting to use the PHP bundle in textmate... but I was wondering how
i actually add it? I found the bundle i want:
http://macromates.com/svn/Bundles/trunk/PHP.tmbundle/
And Ive just found the bundle editor :) Never used it before (bundle
editor)...
So im wondering how I go about adding it to my textmate? I have looked
in the wiki but havent found an answer...
Thanks
Eoghan
Hi,
Just wondering how to download complete bundles from the repository. I can
navigate around the trunk in safari and display all the individual files,
but how do you get a complete bundle?
Sorry if I am missing something, but couldn't there be zipped versions
available?
Max
I've been working on an SQL syntax plist with some more keywords but I
can't see a way to pass in a "case insensitive" flag to the regex
matches. I've reverted to something ugly like this :
match="\\b(sum|SUM|count|COUNT)\\b" ... etc
any suggestions?
thx, K
Hi
Would it be possible in future versions for braces to be outlined, like:
{
}
if i select/go to the closing brace the opening brace row would be
outlined indicating its the opening one to me. Would also work for ()
and markup.
Thanks
Eoghan
After the small features request, here is a big one ;)
I'm sure we talked about it here, but I don't remember if this is
planned or not.
Actually, I use TextMate for everything text-related except one thing:
comparing two document(Diff).
Unfortunately I need this feature a lot. For me, this is "The Last Big
Thing" that TM misses.
The best solution I found so far is to have a command launching
TextWrangler to compare the active one and one I have to choose(w/Cocoa
Dialog).
1) The way to launch this is a bit clumsy. (Having to navigate thru an
"open" dialog)
2) Having TextWrangler opened just for that sucks a bit.
3) Having to edit the files in TW really sucks. I miss all the TM
goodness and It makes me feels I'm back in time. ;)
(And worst of all, I use TM shortcuts all the time and wonder why my
commands, snippets, etc. don't work 8-| )
4) This doesn't work with remote files, or I have to open them in TW.
Meaning changing the prefs of my SFTP client.
What I like in the "Compare two front documents" feature of TW:
-The full screen is shared by the two docs with the Differences window
under.
-You can navigate easily thru the diffs.
-Closing the Differences window brings the docs back where they were.
-It exists. ;)
You can even check differences of folders and batch files.
So, my question is:
Do you plan to implement this in TM, Allan?
If the answer is yes, any idea when we might expect this?
Meanwhile, does anybody have a better solution?
--
Thanks
I've found myself using TM for almost every single thing that I write,
so sometimes I like to be able to create a new TM document in the
current Finder window.
Had a look at trying to create a Contextual Menu plug-in, but it looked
too complicated, so does anyone have a suggestion for how to do this ??
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
Hi Mats,
I have already got skEdit and really like its implementation of the file
chooser thing I was proposing, its pretty much what I was trying to
emulate
in TM ;). However I have to agree that although it is a very good
editor it
can't match TM's flexibility, and I thought Texmate could offer the
best of
both.
I have put together a command that outputs filenames matching the first
few
letters but need a way of selecting options when there are multiple
results.
We'll have to wait for commands to output to a contextual menu to fully
realise some of the potential of these ideas, but when it is supported I
think there will be a lot of great tools available to us.
Max
> OK, not wishing to detract, offend or anything else here other than
> being helpfull. Max, you can find a really nice implementation of this
> type of functionality is in skEdit when dealing with <img> or <a>
> tags. skEdit is $20 and beats both DW & BBEdit, but struggles a bit to
> compare with TM in some areas :)
I know that could be achieved as a macro but I'd like to see a key to
exchange the character under the cursor and the next one, à la ^T under
emacs.
Thanks,
--
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto(a)keltia.freenix.fr
Darwin snuadh.freenix.org Kernel Version 7.8.0: Wed Dec 22 14:26:17 PST 2004
Maybe it would be a bit harder than I thought to make it backwards
compatible. Keep thinking about it though.
The reason I asked for it in the first place is that I was making a script
to insert filenames into textmate, a bit like pressing tab in terminal.
Sometimes I would get more than one result, and I wanted those to appear in
a list. Now I've been thinking about it though, it might be a nice thing to
have this behaviour built into Textmate.
An example would be that if you typed in an html document: "href='i" and
then pressed tab, you could invoke a menu which showed files matching 'i.*'.
It could even be multi-dimensional as in my included mock-up.
Thamks
Max
I hadn't really thought of the possibilities for the contextual menu, I
really thought of it for choosing a list of snippets to insert after a
selection. If it could run commands as well, that would be very cool.
XML sounds like a good way of generating the list, I don't use it that much,
but couldn't each 'menu item' have 'input', 'output' and 'action' children
to define what it should do?
Would it be possible for you to make a menu that just had a list of snippets
at the moment, which could be further expanded in the future? I look forward
to any progress in this regard.
Keep up the great work,
Max
Would it be possible to make a command output option that displays as a
menu. It would be like the current behaviour of commands, snippets etc that
have the same key command.
You could then have commands like 'ls $TM_FILEPATH', and choose from the
list.
Max Williams
Howdy;
I like many of ya'll switched from BBedit to textMate, and love it, I
can really use some help getting 'SmartyPants' and Markdown runnning (I
got HTML Tidy going) how exactly do I get a PERL script running?
any help would be hugely appreciated..
--
s. rosenbaum
----------------------------------------------
http://www.visualchutzpah.comhttp://www.saulrosenbaum.com
----------------------------------------------
Greetings,
I'd really like to be able to scroll past the last typed line in my
file (without adding more blank lines), a la VI…Is there already a way
to do this?
Regards,
David Wooten
I'm looking for a way to have the commands the Subversion bundle
execute without me having to edit them to include the full path for
svn.
I initially thought that adding the following line to /etc/bashrc would
do the trick
alias svn=/usr/local/bin/svn
unfortunately it didn't work. Would someone kindly point me in the
right direction?
Thanks,
Simon
I am using hyperref in a latex document which works great in TextMate,
especially with the HTML output. What is really nice is the ability to
check that the links are "hot". However once I follow a link i have not
been able to find a "Back" command so i can check the next link. Am I
missing it? If not, could we have one?
Thanks
Robert
Hi!
Would it be possible to show the full path of a file somewhere, for
example in the title bar? Currently it's not easy to keep apart two
files with the same name but different locations.
Regards,
Lars
--
"Stil ist die Fähigkeit, komplizierte Dinge einfach zu sagen - nicht
umgekehrt." -- Cocteau, Jean
Any instance of single-quote-double-quote-single-quote (as in the
character representation of double-quote) will break the string parsing
engine.
Example:
while(expr.charAt(j) != '"' && expr.charAt(j) != "'" && j<expr.length){
// code
}
--
Ben Jackson
Diretor de Desenvolvimento
INCOMUM Design & Conceito
+55 (21) 9127-2819
ben(a)incomumdesign.com
http://www.incomumdesign.com
Hello,
Is there a way of opening files I load via Transmit into a new tab?
If I download a file now each one opens in a new window.
Many thanks,
Richard
I've kinda grown accustomed to pressing Shift + Delete to delete to
the right of cursor. Any chance of this being added to Textmate? Is
it something I can add myself?
Thanks,
Vick
Allan Odgaard wrote:
> Two? In the bundle editor?
> My TextMate only has one. If you have a local bundle it should merge
> these based on the uuid found in the info.plist file contained in the
> bundle.
I think it's because I changed the PDFLatex command, as per Sune's
instructions. So I have LaTeX, the standard bundle, and Latex, with
just my altered command (different UUIDs).
Would that cause it?
I don't use many of the languages TM supports, so in the bundle editor
I have them filtered out. However, in the "Syntax Highlight as..."
menu, it still lists them all (past the edge of my small screen).
Please could this be changed to match the bundle editor so I can, in
effect, ignore the bundles I don't use, whilst still having them on
disk. Or is there a better way of doing this?
Thanks.
Does the file register only accept paths with ":" as a delimeter? I'm
putting together an Actionscript "Test Movie" command for an MTASC
Bundle, and the file paths aren't working for it. I suspect this might
be the problem. Any ideas?
--
Ben Jackson
Diretor de Desenvolvimento
INCOMUM Design & Conceito
+55 (21) 9127-2819
ben(a)incomumdesign.com
http://www.incomumdesign.com
The new text zoom feature is great, except that zooming in is literally
bound to Command+`+` (that's command and the plus key). On PowerBooks
and iBooks, `+` requires an extra modifier (shift), whereas `-`
doesn't. Ideally, both would be consistent with one another.
Could zooming in be bound to Command-= (as well as Command-+)? From my
quick tests, Safari and Proteus similarly support both, but Mail,
Terminal and TextEdit don't (go figure).
Any opinions on this?
Rich Barton
Thanks for your support, Eric and Chris ( I think... ;-) )
As Eric said, we're working on new things for Yummy right now. Things that Transmit doesn't
have and things that Transmit does have. Of the latter, DockSend is one of the simplest to
add and will be in the next update. Tabs will take a bit more work, but they will come and in
the meantime Yummy will have stuff they don't. And we won't be charging $18 to
upgrade.. ever.
Cheers,
Jason
> > Great! Only a couple days after I bought a license for YummyFTP too.
> > :/
> > Transmit 3 looks amazing so far. It looks like I'm going to be
> > upgrading
> > soon.
>
> As someone that has owned and used Yummy for a while now I can give you
> a little encouragement:
>
> 1. I think that most of the new features of Transmit were already in
> Yummy! The only thing that jumps out as not is the tabs.
>
> 2. Yummy is being activly developed with betas put out so have no fears
> about it falling behind. It is a great product and also works with
> textmate. In fact I have both Yummy(local and remote) and Path Finder
> set so that if I hit Command-B it opens in texmate.
>
> Sincerely,
>
> Eric C
>
> ______________________________________________________________________
> For new threads USE THIS: textmate(a)lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
>
Jason Downing
----------------------------------
Yummy Software
Software so good you could eat it. Yum!
www.yummysoftware.com
----------------------------------
On Feb 17, 2005, at 6:58 PM, Fred B. wrote:
> On 17 févr. 05, at 23:44, James Edward Gray II wrote:
>
>> I want to build a command, macro or whatever to have TextMate do a
>> chore for me. I've taken a couple of passes at it, but I'm not having
>> much luck yet and could use a little help.
>>
>> I have many snippets that help me quickly build Ruby iterators.
>> Here's the one for each():
>>
>> .each { |${1:e}| ${1:e}.$0 }
>>
>> So when I run that I get:
>>
>> .each { |e| e.<cursor here> }
>>
>> When those are getting longish, I break them up over multiple lines,
>> but I switch { ... } to do ... end. So I want to change the above to:
>>
>> .each do |e|
>> e.<cursor here>
>> end
>
> Sorry if I'm missing something, but would this be ok for you?
>
> each |${1:element}| do
> ${1:element}.$0
> end
That is an option, of course. However, it requires me to double the
number of iterator snippets, differentiate the keystrokes for them and
select the right one before I get into writing it. I was looking for
something better.
I'll take a glance at Chris' macro tomorrow and see if it gets me
there. Thanks to you both.
James Edward Gray II
I want to build a command, macro or whatever to have TextMate do a
chore for me. I've taken a couple of passes at it, but I'm not having
much luck yet and could use a little help.
I have many snippets that help me quickly build Ruby iterators. Here's
the one for each():
.each { |${1:e}| ${1:e}.$0 }
So when I run that I get:
.each { |e| e.<cursor here> }
When those are getting longish, I break them up over multiple lines,
but I switch { ... } to do ... end. So I want to change the above to:
.each do |e|
e.<cursor here>
end
I was trying to do this with a command, but it proved harder than I
expected. Any tips are greatly appreciated.
Thanks.
James Edward Gray II
Working with PHP code I prefer to have my comments prefixed by # (hash)
rather than // (double-slash).
However, when using Text->Shift Left/Right these comments are not moved
together with the other text.
Anyone have an idea of how I can make that work ?? Is it something only
for Allan, or just syntax file issue ??
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
I've got a fledgling Apache bundle built (can I get repository access
please Allan?) and have a couple of questions regarding how things
work.
The bracket { } based syntax.plist file I'm editing gets converted to
an apple plist file when textmate is launched, firstly why? and
secondly how can I stop it happening as it's easier to edit the bracket
based file in place.
The following (with a unique string) crops up in a few of the other
bundle syntax files, what is it?
uuid = "991022B4-6B1D-11B5-90EB-000D93589AF6";
Thanks,
Simon
I must say everybody is doing a great job writing proper subjects, and
I appreciate it very much! :)
I just have one request, namely that you only use “Req:” or similar
short prefix for feature requests. “Small Feature Request” is a little
long, and probably causes the actual subject to be clipped in many
clients (at least in mine ;) ).
Kind regards Allan
The font I used is called "Myriad Pro Semibold", which is included in
all, or at least most of Adobe's Products... by the way, Apple uses
the same font for all of their products :)
best regards,
Wolfgang
Am 15.02.2005 um 13:00 schrieb textmate-request(a)lists.macromates.com:
> On Feb 15, 2005, at 4:00, fatal wrote:
>
>> (BTW, does somebody know the font used for the type names on the
>> actual icons (CSS, PHP,etc.)?)
>
> There is an icon kit with templates which I think include the font
> setting, though I don't know if Wolfgang used this:
> http://mikeash.com/AquaIconKit1.1.dmg (and I don't have photoshop or
> similar myself, so I can't even read out that font setting for you ;)
> ).
>TM_PACKAGE=`sed <<<$TM_NEW_FILE_DIRECTORY -n
's#.*include/\(.*\)#\1#p'|tr / .` \
Allan,
I couldn't get this to work. The TM_PACKAGE is always blank.
You can see the command and template here
http://paste.lisp.org/display/5811
Am I doing something wrong?
Don't know if this is a feature yet (?), I haven't found anything like
it in the docs or in the menus...
In jEdit I used a feature all the time that auto-indented my code blocks
by pressng TAB. Is this available already, and if not, any plans for
future releases?
--
Ben Jackson
Diretor de Desenvolvimento
INCOMUM Design & Conceito
+55 (21) 9127-2819
ben(a)incomumdesign.com
http://www.incomumdesign.com
On Feb 14, 2005, at 9:01 PM, Jarkko Laine wrote:
> On 14.2.2005, at 20:11, James Edward Gray II wrote:
>
>> I'm really digging into snippets (and loving them, by the way). One
>> question though, I see $0s used in places and I'm not sure what it
>> does. Could someone explain it to me? Thanks.
>
> $0 is the place where the cursor is placed after the snippet has been
> run.
Really? I thought that was $1. Then you can tab to $2, $3, etc.
Maybe I didn't ask my question right. Let me try again. I understand
$1 through $9, but I didn't know there was a $0 zero and in playing
around it seems to behave slightly different from the others. My
question is, how does $0 relate to $1 through $9?
Thanks.
James Edward Gray II