I know this could be a point of much controversy, but I encourage
people to avoid "top quoting" i.e. having a long quote of sometimes the
entire email you want to comment on, and then putting comments
underneath.
I don't like "bottom quoting" much either, although it does have the
advantage that you don't have to scroll a few pages to read the mail...
ideally, snip out relevant parts and quote on those. It's probasbly not
difficult for most people to go back to the mail being refered to and
check, if further depth is needed.
--
Sune.
"Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn"
http://cyanite.org -- Content follows ;-).
Just a proposal regarding the snippets.
It would be most useful if the snippets were only active when their respective mode is active. This way, the same trigger could be used for various modes and applications.
For example, the trigger "table" being already used for html, it cannot be currently used for Latex. However, if the triggers were tied to a mode, we could use the same trigger, simplifying our lifes.
Greetings,
Normand Mousseau
Yo,
I have found a cool replacement icon for my TextMate while browsing
through my icon collection, check it out:
I like it not only because it looks pretty cool, bet also because it
contains the elements of TextMate spirit: text (the pen) and automation
(the LEDs). It's part of the "World of Aqua 4" pack from the geniuses
at IconFactory.
You can also find the following one in the "World of Aqua 3" pack, but
it's looking more obvious and boring I think ;)
--
Luc Heinrich - lucsky(a)mac.com - http://www.honk-honk.com
I hope Gaetan Le Guelvouit, Andrew Ellis and Normand Mousseau are on
the list, as they are the primary contributors to the LaTeX bundle.
(I am a minor contributor.)
Can somebody volunteer to merge all the changes into the One True LaTeX Bundle?
Fixes to Do
1. I think GLG's fork missed some of Ellis's contributions, including
his heretical Send to iTeXMac;
2. the last bundle posted by NM broke my Open in TexShop command
open -a TexShop "$TM_FILEPATH"
Note the path has to be quoted or it will break on systems with
spaces in their path;
3. $ \Pi $ and \( \Pi \) are highlighted differently. That seems wrong.
It's pretty cool that people are contributing in this way! If we can
coordinate a little bit, it will be even more powerful.
- Eric
ps. Why don't I just merge the thing? I'm going on the road for a week...
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu(a)math.sfsu.edu
http://math.sfsu.edu/hsu
I have noticed that the latest beta cannot open actionscript files with a
.as extension in a project, this is because .as is missing from the
Info.plist list of recognised extensions - oops!
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Hi All,
The whole question is in the title ;-) : What is the syntax to be
used in Find/Replace dialog to move text to Upper- or Lower- case? there
was such a feature in BBEdit, but could not find it in TextMate.
Find : <.+?>
Replace : lowercase($0)
Thanks,
--
Jo <W:00°04'37" ; N:47°15'36">
1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72
I installed Lars Pind's OpenACS bundle
(http://pinds.com/blog/one-entry?entry%5fid=20990) and started playing
around with it a bit. I noticed that for some reason TM can't open the
files (with extensions adp, tcl and xql) from the project drawer. With
normal open command they opened nicely.
I fixed this by adding the extensions to Info.plist file in TextMate
application folder, but I fear it gets replaced when upgrading.
Besides, I guess there's (or should be) a way a bundle developer could
add file extensions TextMate (with a given bundle) can handle. Any
pointers on how to obtain this?
TIA,
Jarkko
--
Jarkko Laine
http://jlaine.net
Im a big fan of BBEdit (or at least I used to be), one of the things I liked
was the option to search for "Whole words only" in the find dialog, now I
know I could do this with a bit of regex, but it would be nice to have that
option as a simple checkbox. What would also be very cool is for TextMate to
remember previous searches you have done (like the Google field in Safari)
so you can retrieve those painstakingly written regex search and replace
strings!
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Im sure others have noticed this but Im finding the tooltips in the drawer a
real pain in the arse, they appear when I don't want them to, cover stuff up
and wont go away when I point at something new in the list. I know Allan
mentioned that the individual items arent individually "hitable" but I think
this needs some improvement.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Whilst preventing TextMate from opening non-supported files is welcome
(change in b4):
> TextMate will only open files from the project drawer if their
> extension is found in the Info.plist, or if they have no extension
> (hidden files like .htaccess are considered to have no extension).
This now prevents me from running commands on the file selected in the
project drawer, as $TM_FILEPATH is the frontmost _open_ file. (I have a
'Test Movie in Flash' command as part of my ActionScript bundle, now
broken, to be run on .fla files in my project). Any chance you could
add another variable, e.g. $TM_SELECTEDFILE or something, so we can
access these?
Also, why not allow these non-supported files to be opened by the
Finder when double-clicking them? And having a Open with Finder command
as well as a Reveal in Finder command?
Hello,
I've noticed that disabling Gutter -> Folding also disables the folding
functionality, and there is no way to turn it back on. I think these to
should be controlled separately. For me the small three-dots icon is
sufficient for folding control.
In any case that's a bit counterintuitive. Gutter submenu is supposed
to control the gutter only and not the general behavior.
---
Philipf
> TextMate will only open files from the project drawer if their
> extension is found in the Info.plist, or if they have no extension
> (hidden files like .htaccess are considered to have no extension).
Can you add 'as' for ActionScript to the default list of supported file
types in Info.plist? Thanks.
>Need to add the .pm extension into the plist for perl modules. (Same
>goes for the authors of the two perl syntax bundles)
Good point. Updated, along with "Send to Affrus" command and "Perldoc
Search" command, where you highlight a word and get a window of
perldoc -f information.
<http://math.sfsu.edu/hsu/textmate>
- Eric
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu(a)math.sfsu.edu
http://math.sfsu.edu/hsu
I am trying to make sure that HTML code inside a PHP file is correctly
highlighted, but is unsure about how to do it.
Example:
<?php
function PrintHtml( )
{
?>
<!-- HTML ONLY AREA -->
<p>This is HTML</p>
<?php
}
?>
I understand that the syntax is as follows, but I don't know what the
'begin' and 'end' tags should be.
name = "Embedded HTML"; begin = "???????????"; end = "??????????????";
patterns = (
{ include = "HTML"; }
);
If anyone can help, I'd be grateful.
Kind regards,
Mats
Hi Allan (and others:),
Recording and saving macros is great, editing macros is even
greater. With commands like "pastePrevious:" and "pasteNext:" we can do
a lot of work.
But we have to record and edit a lot of macros to find all available
commands. So, to spare us time, will you publish the commands list?
Thanks,
--
4 Jo
3
2
1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72
It would be preferred if people would write a new letter to this list,
rather than reply to an old one, when the content is new -- I know it
requires one to fill in the To-header, but when replying to an old
letter, it screws up the threading.
Kind regards Allan
I just noticed that the coloration for "def" is a bit overeager, see
attached snapshot. Look for "def_port".
--
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto(a)keltia.freenix.fr
Darwin snuadh.freenix.org Kernel Version 7.5.0: Wed May 12 16:58:24 PDT 2004
Im guessing from the other discussions floating around that there is some
way to make "smart" folders in the project drawer, most likely using regex
matches on filenames, but I am unclear exactly how to do this, perhaps
someone could enlighten me?
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
I don't think this made it to any of the documentation:
When the project drawer has key focus, you can press 'space' to
activate rename, and return to open the selected file (this should
probably be supplemented by cmd-down as in Finder).
To activate rename with the mouse, hold down option while clicking the
item (or use the context menu).
The reason why groups cannot be double clicked to activate rename (as
some have requested) is that I plan to do it more like Finder in the
future, so that double clicking a group will enter that group, and make
the project drawer only show the files contained in the group (there'll
be a back button of course).
Kind regards Allan
Hi,
Probably unfair to call the following a bug - as it's behaviour that
seems correct in the context of a purely local filesystem. However, it
can catch you out if your Project contains references to remote files.
It went like this:
1/. Create a deeply nested Project file, consisting solely of pointers
to files on a remote disk (mounted via SMB).
2/. Do work, close Project file.
3/. Eject the SMB drive. Go to lunch, or whatever.
4/. Return from whatever and reopen the Project file - forgetting to
remount the remote disk first ...
5/. Gaze in silent horror at the empty Project.
On start-up, TM silently deletes all unresolveable file references from
the Project, leaving only the Groups that you have created. Any
laboriously constructed filter definitions are deleted too, of course.
TM immediately writes the revised Project file back to disk, making
sure that you can't recover from your mistake.
Might it be an idea to have TM pop up a warning - if it detects that a
remote volume has disappeared?
On a machine left idle for any length of time, 'sleep' can cause
remote volumes to eject themselves - so I guess TM would need to check
this periodically, and not just at start-up.
Cheers,
-- Andre
I put a feature request for this on the wiki, but I thought it was
probably worth shouting out here too.
It would be really great if labels applied in the Finder (you know, the
colour-coded blob things) were shown in the Project Drawer.
I use labels to mark the most important files and folders in my web
apps, and being able to make use of this in TM would be *fantastic*.
Cheers.
drew.
Yo,
I was playing with TM, trying to find some nits to pick and found the
"View -> Wrap Column -> Other" thingy :)
The default wrap width is at 78, and I usually use 80, so I went to
change this and selected the previously mentioned menu item. I was
expecting some sort of dialog or sheet, but saw nothing. Worse, the
'View' menu was still highlighted so I immediately thought that
something wrong was happening and/or that TM was stuck or about to
crash. When something like this happens in an application, I have this
pavlovian habit to agitate the mouse a bit to see if the spinning pizza
of death shows up, before I just kill the app. But this time it helped
to see that, oooooh, something was actually hapenning IN the current
text window: setting the wrap width is done using an "in-place
interactive bar"...
I see three usability problems with this:
- The obvious one, which I mentioned in my (unnecessary verbose)
introduction is that unless you already know how it works, you have no
freakin' clue what happens after you select the "Other" menu item.
- You can't modify the wrap width when no window is open.
- And now try that in a window using one of those syntax which have the
infamous black background, and see how far the confusion can get... :>
Sorry, I'm a natural born nitpicker ;)
--
Luc Heinrich - lucsky(a)mac.com - http://www.honk-honk.com
I am not sure if I should put this in as a feature request...
There is a very very nice feature (or possibly quirk?) to the text
library that SubEthaEdit and BBEdit are built on. When you adjust the
font size for Monaco down to "9" then it loses its fuzziness and
"snaps" into pixel-perfect, fixed-width readability. I don't know why
this happens but TextMate doesn't do it. If I turn font smoothing off
for size 9 and lower, TextMate makes Monaco pixelated and crisper, but
it does not look fixed-width (i.e. it's slightly squished together for
some letters and not very easy to read).
I know this seems trivial, but staring at code all day is hard enough
on the eyes as it is, yet the SubEtha/BBEdit font rendering is much
more scannable.
Any ideas of settings adjustments I can try?
thanks, kumar
Hi,
While creating my syntax plist for python I ran into two things:
- Is it possible to activate a syntax mode without restarting TextMate?
- Is there a syntax highlighter for plists yet ? :)
Jeroen.
Hi All,
I seem to be locked in a battle of wills with the project file drawer
(for lack of a better name). I remove references to sub-directories and
files, and well, the file drawer puts them back in. Repeat. Repeat.
Swear, and give round one to TextMate.
Anyone else battling with the drawer?
I got into this test of wills by dragging and dropping a directory tree
that looked like:
YYYY/MM and then removing references to a few YYYY/MM/img directories
and the occasional pdf file. Well, "removing" them very temporarily :)
Thanks,
Phil
On 13. Oct 2004, at 12:50, Dominique PERETTI wrote:
> - If you reopen in TextMate, it stills appear as UTF8... BUT if you
> reopen it in BBEdit, it opens as a MacRoman file (with accents wrong).
I don't have BBEdit, but I think BBEdit _always_ opens as MacRoman. And
you have to manually tell it to open it with the proper encoding (at
least that was my experience when I tried it >2 years ago, both my
iso-8859-1 and utf-8 files were all opened as MacRoman by BBEdit)!?!
> My guess is that TextMate is right at encoding the characters, but
> forgots to write the BOM right. I think so because I get the same
> wrong results in FlashMX
> if I save the file as utf8-(no BOM) from BBEdit.
The BOM is optional in utf-8, and generally you _don't_ want it, since
a) it makes no sense as there is no byte-order ambiguity,
b) it rules the nice property of utf-8 being compatible with ascii,
c) utf-8 encoding is really easy to recognize even without a BOM.
But if several programs only treat utf-8 properly when it has a BOM, I
will consider adding an option -- though I would recommend against
using it of course! ;)
Kind regards Allan
Hello all,
I'm loving TM even with it's little blemishes (like not printing!).
But here's a question:
How do I search for or replace text with a special character, such as
a <CR>? With UltraEdit I would use ^M or something like that. Does TM
offer the same sorts of things?
Thanks,
Patrick
I'm using TextMate as my Xcode external editor. This works pretty well,
but I have a couple of problems:
(1) TextMate doesn't seem to support the external editor interface.
Specifically, what seems to be missing is the ability to go directly to
a specified line when opening a file. This is described here:
http://www.codingmonkeys.de/techpubs/externaleditor/
pbxexternaleditor.html
Remarks Metrowerks state in their documentation that the IDE (here
Project Builder) uses the optional keyAEPosition parameter to tell the
editor the selection range. If lineNum is zero or greater, scroll the
text to the specified line. If lineNum is less than zero, use the
values in startRange and endRange to select the specified characters.
Scroll the text to display the selection. If lineNum, startRange and
endRange are all negative, there is no selection range specified.
Basically, intercept the odoc AppleEvent and read the optional
parameter for line number or selection information.
(2) When I open a TextMate document that I already have open, TextMate
creates a new window for it and leaves the old window open too. This
can be very useful under special circumstances, however -- more
frequently -- it just rapidly and pointlessly clutters up my desktop.
Creating a new window is useful, but should be an optional behavior.
Usually, what I'm trying to do when I open a document is navigate to an
existing window, relying on the standard Mac UI behavior. I will
frequently double-click a file in the Xcode project window to get back
to TextMate, most often a file I already have open.
Chris
I know this has been discussed, and a number of people have expressed
their view that the TextMate icon isn't too visually pleasing already.
However, using TM in anger today, I keep finding myself searching
frantically for the icon in the dock. It's so indistinguishable at a
small size that I literally find it hard to see.
So I guess my point is that it's easy to dismiss concerns over the icon
as a matter of taste. Unfortunately in this case, and certainly for me,
it's a matter of usability - the icon isn't doing its job.
See attached!
I think I'm going to hunt out an alternative to use in the meantime, but
I hope that's useful feedback.
drew.
Hello,
Early on the first day of this mailing list I sent an email about my
first impressions, both positive and negative, which generated a few
responses, including one from Allen I believe. That said I want to
highlight what for me, as an HTML coder, is the only major downfall
that has not been spoken about extensively:
> Dragging an image from the project pane into a HTML file should add
> something like <img src="eric.jpg" alt="eric" width="100" height="100"
> /> and not the actual source code of an image at the insertion point.
Now I have seen a few requests that suggest highlighting an image in
the project drawer should display the graphic file instead of the code
and I agree, however this is not the major hurdle in my book. We need
to be able to grab a file from the drawer and pull it into our html
code and have the correct width and height added automatically.
I have been letting this subject percolate for a few days in my head
and I just can not think of another workaround that would approach any
reasonable level of efficiency (I would love to hear some though). I
could make a macro and have it tab stop at the name, width, height and
alt however I am not going to know the width and height in 99% of the
cases. I personally would also like to have it automatically add the
file name without the extension as the alt tag though some might argue
that this will promote poor coding practices, I tend to label my files
with readable names...
Please take care of this ASAP...
Sincerely,
Eric Curtis
1.0.1b2 is out, if anyone disabled their auto-checks or similar... plus
it "only" checks every 8 hours or so.
--
Sune.
"Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn"
http://cyanite.org -- Content follows ;-).
FYI: RFC = Request For Comments.
Based on recent input I suggest that I add a new list of 'drag actions'.
This will be similar to commands in that it's just a shell command TM
will execute (with the normal TM-variables, adding one for the path of
(the) dragged file(s) and one for the modifier keys).
The output options will also be as for commands, although I'll be
adding a new output option: Insert as Snippet (this will be added to
all the shell executions where you can select what to do with the
output).
A drag-action can set a regex to be matched against the current file
and the dragged file, if both match, the drag action will be executed
(this should probably be a prioritized list instead of TM showing a
menu when multiple actions could be applied, since it's likely one
wants to do 'catch all' rules).
Additionally there should probably be an option to set whether the drag
action can work with multiple files (and if this is not set, it will be
executed once for every file).
Kind regards Allan
On 11. Oct 2004, at 8:36, Rob Bevan wrote:
> [...] I'd much prefer it if TextMate adopted the Xcode way of doing
> this: the syntax file defines the language (primitives, built-in
> classes, built-in methods, user functions, preprocessor directives,
> Numbers and operators: whatever) and the user gets to pick how they
> want those displayed [...]
Yes, as I thought I made clear on the ML, there will be separate style
sheets in a later version.
Though I don't think it is as simple as Xcode and just a few "global"
names, since TM has a rather free style to define syntax highlight,
like in the HTML syntax file where a stand-alone & gets a red
background, or the way that HTML uses color for markup when on its own,
but grey-tones when there is embedded scripting (and colors are than
reserved for scripts) -- plus when embedding stuff, the names would
clash (i.e. a string in HTML, and the embedded JavaScript, Ruby, PHP or
whatever, would be identical).
But the system I have in mind is similar to normal CSS, so it should
allow both catch-all rules and pin-pointing individual elements (and
put no restrain on which elements a syntax file can define).
Also, if I didn't mention this earlier, with the breakup of syntax and
style, the former will also be used to enable/disable stuff like spell
checking, foldings, smart-typing etc. for comments, strings, tags in
HTML, etc., mark filenames so that they can be "followed" in the editor
(#include, require(), <a href="...">, etc.), mark function prototypes
or sections so that they can appear in the highly requested function
popup a.s.o. -- and full recursion will also be supported (which may
also then make it possible to do a (clickable) bread crumb display of
context in the status bar).
I will also re-visit the folding marker-system -- so this is really a
major overhaul of the current system!
I'll probably dedicate a portion of the wiki to collect requests for
this system when the time is right -- currently I have a lot of other
things that needs to be "fixed" with TextMate before I can spend
resources on this new syntax system.
Kind regards Allan
I've modified a shell script written for SubEthaEdit that allows you to
open or create files from the command line, and also to pipe text into
TextMate.
If anyone's interested, it can be downloaded from:
http://www.ini.unizh.ch/~awe/Code/TM_clTool.tgz
Andrew
Hi there
There is an InputManager here:
http://www.codingmonkeys.de/map/log/archives/000107.html
that hijacks the output of Safari's "view source" command to SubEthaEdit.
It is beyond my expertise to come up with something similar for TM but
reckon it might be useful.I like it when I am coding PHP and want to
get back the processed HTML from my local development server to look
at the final output. In BBEdit I would then maybe "check syntax" to
see if my PHP was producing OK (X)HTML (although I gather this is not
possible in TM? Maybe there is a CLI-based tool to validate XHTML to
which TM could talk? )
So, I'm putting it out there for some generous soul to hack one up for TM ;-)
The above link even includes the source code.
Any takers?
bongoman
As I slowly customise TextMate by altering the bundles in
~/Library/Application Support/TextMate, I'm wondering what happens
when TextMate is updated with alterations to the default snippets,
macros & commands?
To get the benefit of such bundle updates am I going to have to
manually edit my bundles in the above location to include the extras
in the new bundles? Or do the bundles in the actual application
package have effect to the extent that individual elements therein
have not been overriden by anything in the user's Library/Application
Support directory?
I hope this question is clear...
bongoman
Greetings,
Someone mentioned XCode top bars this morning (which I think is an
excellent idea, much better than my previous scroll bars adorners
attempt imho) when I was actually about to post updated mockups as well
:)
Here they are anyway:
I think it looks better than the bottom status bar, and it leaves room
(which was a valid concern) for possible additions, popups, buttons,
whatever.
It looks even better in the project window because it makes a better
separation between the tabs and the editing pane:
Thoughts ?
PS: question for the list moderators: what is the preferred method to
post screenshots on the list ? Attached pictures have to go through
moderator approval, which is obvious, so do you prefer URLs for example
?
--
Luc Heinrich - lucsky(a)mac.com - http://www.honk-honk.com
Fellow TextMates,
Allan has added a nice little menu in 1.0.1 for the times when two or
more things 'clash' on the same keyboard shortcut (like commands)...
this then allowed us to 'stack' multiple similar commands (like search
engines) onto the one key command, like the 'help' key. which is very
cool.
So, I've added support for Dictionary.com, Google, Thesaurus.com,
Wikipedia, Yahoo in the default bundle, and PHP.net in the PHP bundle.
See screen grab attached. Basically, it pumps the current word into
your chosen search engine, and it works great!!
I'm looking for nominations for additional searches to be added to the
Default, PHP, HTML or CSS bundles... right now it doesn't appear we can
add W3.org sites, because there's no nice flat URL structure to work
off, and no focused search engine.
Feel free to also say "we don't need Yahoo", etc etc.
I'm thinking perhaps an amazon.com search would be a possibility, but
really I'm looking for any search-based technical references that could
be of help to the masses of TM users by feeding it the current word.
It's totally easy to add your own in 1.0.1 by the way :)
Justin
Ahoy there, textmateys:
I took the liberty of making some little web buttons/badges, for anyone
who'd like one. (Actually, I was really only thinking of myself, cause
I wanted to stick something on my weblog, but it's rude not to share.)
http://www.raena.net/textmate-icons/
Hi,
I was wondering if it would be possible to create a new document from a
template without having to be in a project. Right now I've just got a
scratch project for this stuff, but I kind of like the way BBEdit will
let you make a 'New from template...' right there in the File menu.
thanks,
Raena
On 11. Oct 2004, at 11:46, José Campos wrote:
> What is better than a rainy week-end to try a new software? So (and
> this will be my last question until version 1.01 is released)
You do know that we run a mailing list? ;)
> where are "scratch macros" stored? Can they be edited and modified? If
> yes, what
> language is used to do it?
Currently only in memory -- I may keep it in the preferences, so that
it'll remember the last scratch macro from last session.
However, the format they are stored in is custom -- I figured it would
often be easier simply to re-record the macro again, than to use an
editor to change an existing.
When you save a macro it ends up in:
~/Library/Application
Support/TextMate/Bundles/Custom.tmbundle/Macros/<name>.plist
You /can/ edit this file, and I know some do. But it's officially not
supported, and the format (despite being a normal property list) is
undocumented ;)
Kind regards Allan
Hi Allan,
I've hit something that bother me a lot since I use Arch/tla[1] as version
control software. It has a feature where files are shared through hard links
in a revision library meaning that if across several changesets, a given file
doesn't change, it is stored only one time.
That requires that the editor one use to edit the file break hard links on
Save (i.e. creating the new file and renaming instead of save in-place). Emacs
does that by default and vim can be tweaked to do it too. I don't know what
BBEdit does because I've never used it outside the demo mode.
I've already bought TM because I think it is a great editor but to be able to
use it for all my developements, I need TM to behave like the above. The
default behaviour is breaking all revisions stored in the library :(
Thoughts, comments?
-----
[1] http://gnuarch.org/
--
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto(a)keltia.freenix.fr
Darwin snuadh.freenix.org Kernel Version 7.5.0: Wed May 12 16:58:24 PDT 2004
On Mon, 11 Oct 2004 07:34:08 +0200, Allan Odgaard <allan(a)macromates.com> wrote:
> > Oops, my mistake. Here try this.
> > <div>
> > <ul>
> > <li>Item 1</li>
> > <li>Item 2</li>
> > <li>Item 3</li>
> > <li>Item 4</li>
> > </ul>
>
> Yes, this is because of the rule about start and end lines to a folding
> must have the same indent.
Nay, I can live with that. The file was cleaned up with tidy. Normally
I have indents.
--
"If you ever find yourself on the side of the majority, it is time to
pause, and reflect.
-- Mark Twain
Hi TextMate Users,
Consider the following codes:
<div>
...
<li>
...
</li>
...
</div>
When I try to fold the codes by clicking on <div>, it only folds to
</li>. To fold to </div>, I have to fold <li> and then fold <div>. Is
there anyway around that?
ip
--
"If you ever find yourself on the side of the majority, it is time to
pause, and reflect.
-- Mark Twain
I can't think of a way to get folding to work for Python code. I
think it's because of the way folding is implemented in TextMate, so I
don't think it's possible, but I'm hoping someone can think of
something.
In Python, all blocks are delineated by indentation. So, here's a
couple of blocks:
if 1:
foo()
bar()
else:
fnord()
You'd want to be able to fold "if 1:" through "bar()" and be able to
fold "else:" through "fnord()". I can't think of any way to do this
with TextMate's folding implementation.
It's easy enough to set a foldingStartMarker -- any line ending with a
":" (simply speaking). But what foldingStopMarker? The "mark" is the
next line with the same indendation as the starting line, but that
line is *not* part of the fold. You want the fold to end before that
line.
I'm tearing my hair out over here. Can anyone think of a clever way
to do this? Am I missing something, or is this just impossible with
the current implementation?
Thanks to anyone for help!
1. For me, hitting `ESC` in a dialog box is not invoking the `Cancel`
button (works that way in most apps)
2. When the `Save` dialog box first comes up, I'd love it if _just_ the
pre-suffix name were selected. So on a new, blank document, it would
select "`untitled`" instead of all of "`untitled.txt`". Makes renaming
a lot faster.
(Is this the kind of thing that's appropriate here, or is there a
Bugzilla type thing where we should be posting bugs, whines, and pony
requests?) ;)
--
Merlin Mann
43Folders.com
It seems that folding isn't working in CSS documents. I'm using 1.01b1,
but didn't try folding in 1.0 so I don't know if this new or not. There
are down arrows next to each selector, but never any up arrows...
On 11. Oct 2004, at 2:02, Aaron Swartz wrote:
> The Behavior menu appears to be entirely undocumented. What do its
> menu items do?
Would be nice if such questions where sent to the mailing list! :)
Freehanded edit: allow cursor to be moved past end-of-line
Overwrite mode: overwrite instead of insert typed characters
Smart typing: insert ), }, ", etc. when typing (, {, ", etc.
Tab emulation: use spaces instead of tabs (and treat multiple
spaces as a tab)
Indented paste: will re-indent pasted text to match current
context
Tab expands snippets: controls if a snippet can be inserted by typing
its trigger and pressing tab.
Kind regards Allan
Update of my previous C/C++/Objective-C bundle update.
* Correct C99 keywords and C++ ISO 646 keywords.
* Correct handling of whitespace around preprocessor keywords.
* The makefile syntax module now lives in a new Unix bundle, which also
contains both a generic shell script syntax and an "old-style" plist
syntax.
<http://www.cjack.com/tm/C-and-Unix%20tmbundles.zip>
Share and Enjoy,
Chris
There is a beta version of the upcoming 1.0.1 release with several bug
fixes and small feature inclusions. Normaly, TextMate doesn't check for
beta versions with the automatic version check system, but if you wish
to have it do so you can type the following in your favorite shell:
defaults write com.macromates.textmate OakCheckForBetaVersions 1
..and 0 to disable beta check again of course. When starting TextMate
the first time after download, a window with release notes will
automatically open to show you the latest changes additions and bug
fixes. Have fun :-).
PS: If you for some reason can't get the beta version from within
TextMate, the URL is:
http://macromates.com/textmate/files/TextMate_1.0.1b1.dmg
--
Sune.
"Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn"
http://cyanite.org -- Content follows ;-).
Hello - new b question:
Is there a way to:
1 - route the preview browser through a local server that server side
capabilities are displayed
2 - turn off display of code such as PHP that the browser currently
interpets as text.
Thanks
_: thanks
from
__: mikeBoutté
mobile
__: 615 969 9654
http
__: mikeBoutté dot Com [ http://www.mikeboutte.com ]
email
__: Mike at mikeBoutté dot Com [ mike(a)mikeboutte.com ]
aim
__: mrbigbooties [ aim://AddBuddy?ScreenName=mrbigbooties ]
Thanks to both Ian and Phillip for kicking us into gear about doing
something to track both bundles and other end-user innovation points.
We've now put up the official wiki at:
http://wiki.macromates.com/textmate/
It's of course free to edit for all, so please do add pointers to more
bundles, improve on those that are, and otherwise take advantage of the
shared space.
Enjoy!
--
David Heinemeier Hansson,
http://www.rubyonrails.org/ -- Web-application framework for Ruby
http://www.instiki.org/ -- A No-Step-Three Wiki in Ruby
http://macromates.com/ -- TextMate: Code and markup editor for OS
X
http://www.basecamphq.com/ -- Web-based Project Management
http://www.loudthinking.com/ -- Broadcasting Brain
http://www.nextangle.com/ -- Development & Consulting Services
I'm experiencing a very annoying (and productivity destroying) delay
everytime I switch to TextMate from another application. This happens
when I have about 2 windows with ~30 files in each drawer. Only 2-3
open files in each window though.
Has anyone else seen this?
/ Carl-Johan
On 9. Oct 2004, at 22:34, Isaac Rivera wrote:
> I came up with a pretty decent syntax file mysefl.
Okay, Rob also did some ActionScript support:
http://one.textdrive.com/pipermail/textmate/2004-October/000422.html
> Trying to do a class template and have gotten most of it.
>
> Can you tell me how to have the perl script input the date in the
> template file?
>
> Its not one of the shell variables, I know, but maybe its accessible
> to the script.
These questions really belong on the ML, so I'm cc'ing the list :)
You can add your own variables to the environment by changing the
command in the Info.plist, for example here I setup TM_DATE to be
YYYY-MM-DD:
{
name = "Date Test";
extension = "txt";
command = "[ -f $TM_NEW_FILE ] || TM_DATE=`date +%Y-%m-%d` perl -pe
's/\\$\\{([^}]*)\\}/$ENV{$1}/g' <index.html >\"$TM_NEW_FILE\"";
}
So it's basically just 'var=value' before the perl command (you can set
multiple variables). And the back-ticks (`) means that it's a command
to execute, so TM_DATE is set to the result of running date +%Y-%m-%d.
All this is of course related to bash and not really TextMate.
Another neat one is the full user name which we can get with niutil,
here's an example:
command = "[ -f $TM_NEW_FILE ] || TM_DATE=`date +%Y-%m-%d`
TM_USERNAME=`niutil -readprop / /users/\\$USER realname` perl -pe
's/\\$\\{([^}]*)\\}/$ENV{$1}/g' <index.html >\"$TM_NEW_FILE\"";
One important note: the commands above are prefixed with '[ -f
$TM_NEW_FILE ] || '. This is to check if the file already exists, and
if so, it won't do the "or" branch (i.e. overwrite it).
I really should have added this to the default templates! I'll be
adding it to all templates shipping with 1.0.1 -- if you create your
own templates, please add it to avoid templates from overwriting files!
The reason TextMate doesn't perform this check is, that the template
could generate multiple files, or not generate TM_NEW_FILE at al.
Also, remember that you're not limited to using perl as command. You
can write your templates in e.g. PHP and use php as the command to
generate them.
Kind regards Allan
On Oct 9, 2004, at 8:25 PM, Alan wrote:
> So what should escape do? And which dialog box are you talking about?
I'd like the escape key to map to the cancel button. Referring here to
the save dialog box; excape/cancel in the open box works fine. :)
Hi there
I'd love to see Textmate notify me if I attempt to set a keybinding
that the application is already using.
At present, I can enter the same keybinding twice (or more) without
any notification. BBEdit alerts you if you attempt to do this and it
is quite helpful.
I'm guessing that if you do enter a shortcut that has already been
taken, TextMate fails to then display it in the corresponding menu?
bongoman
Hi there
Am wanting to create a macro or snippet to allow me to comment out a
selection thus:
/* commented selection */
But am a little unclear if this is via a macro or a snippet. Either
way, I'm having trouble seting this up.
Any clues appreciated...
bongoman
I like that there's a per-file header added when you drop a bunch of
files into a new txt doc.
Where would I go to change the appearance and content of that header?
tx,
mm
--
Merlin Mann
43Folders.com
Hello,
I've setup a wiki[1] to collect various TextMate add-ons. The general
layout is still under construction, but feel free to modify anything.
This is obviously temporary solution until macromates configure their
own repository. I'll make sure that useful content gets transfered
later on. Also the wiki is not intended to replace Ian Phillips bundle
page[2], but rather to complement it.
I took a liberty of using TextMate icon. Please tell me if that's not
ok, and I'll remove it.
[1] http://glyf.org/TextMate/
[2] http://ianp.org/articles/textmate.html
---
Philipf
I quickly created an alternate icon that is distinctive in the dock and
says a little bit about what the application does. (It's not brilliant,
but I think it's functionally a little better). The icon may be used
freely for non-commercial purposes.
Alternate Textmate icon
http://www.spahr.org/share/textmate_icon.zip
Updated Smarty Syntax (same URL as previous version)
http://www.spahr.org/share/PHP_Smarty.tmbundle.zip
James.
I like that there's a per-file header added when you drop a bunch of
files into a new txt doc.
Where would I go to change the appearance and content of that header?
tx,
mm
--
Merlin Mann
43Folders.com
Hi all,
There were a couple of bugs in the Snippets, Commands, Macros and
Languages bundled with 1.0 (What can I say, I was in a rush!).
I'd like to use this thread to document any problems you've encountered
or suggestions you have specifically in regards to the Bundles.
Please, no feature requests, or anything related to the general TM
application.
Here's what I have so far:
Snippets:
- br and hr snippets are redundant (use "Make HTML Tag 2" command
instead)
- meta snippet didn't have any placeholders
- PHP function snippet didn't have a placeholder for the function name
- The three PHP tag openers are a little much... will make one
redundant, and people can customise top suit their own preferences
Languages:
- swapped SCRIPT and STYLE patterns around the wrong way in HTML.plist
Macros:
- nothing yet
Commands:
- rename "Reload in Safari" to "Refresh Safari", since that's all it
does
- add a php.net manual look-up command for the current word
I'd appreciate any suggestions for more snippets, macros and commands
to add to the default set. Please keep them all in this thread, so
it's easy for me to keep track of what's going on. Anything that can
help people speed up their productivity or solve repetitive or boring
tasks is a great candidate.
Justin French
It´s great to finally have folding in a native osx application.
Although the current implementation has a few usability issues:
First, the folding column needs to be rightmost in the gutter,
next to the text. Currently, when line numbering is active,
matching folding widget with line is harder than it could be.
Second, the present top and bottom widget icons are too
similar, making it hard to read a structure overview off the
document. It´s primary function is to show start or end of
the block, thus arrow direction must be the most visible
feature.
In addition i suggest a highlighting feature, allowing us to close
a fold(?) by clicking anywhere on a line between between
folding icons. A mouse over effect shows what parts will be affected.
This will allow easier matching of open and closing arrows, as well
as reducing mouse travel.
View the attached mock-up for a clearer, visual description.
(note in the image I am experimenting with a x-code style top-bar as well ;)
hp.
Greetings!
So, have anyone started to make some custom syntax definitions for the
various laguages out there? Lets share!
I wish I could say "I'll start" but I've just started on one so I'm
still wrapping my head around it. It still baffles me why colours
arent global (like, often i want the same color for strings regardless
of laguages for instance)
(apologies if this has been bought up already, I'm the list newbie)
Cheers,
johan
--
Johan Sørensen
Professional Futurist
www.johansorensen.com
I added an alias in my .tcshrc file to open files similar to the
bbedit command line utility.
(alias tm open -a TextMate)
When trying it out, i figured i´d test opening folders using my new command.
so typing "tm ." worked great! but unfortunately I was in my home folder:
TextMate halted, loading some 20GB worth of files to my new project.
And my point is is :) : There ought to be some handling of this
situation (when dragging folders to the dock icon as well) either
trough a warning, an option to add none-recursively, abort button in
shelf etc.
Greetings,
It seems like people are starting to go hog wild creating TM bundles,
so I have started a (currently very crude) bundle editor for TextMate
last night, which looks like this:
(note: this is not a Photoshop mockup, it's an actual screenshot of a
running Cocoa application ;) ).
If you guys think that this kind of tool would be useful until Allan
and friends come up with an integrated bundle editor, let me know.
Allan and friends, if you have something like this up your sleeves that
you are ready to ship, like, in 2 weeks, let me know as well ;)
--
Luc Heinrich - lucsky(a)mac.com - http://www.honk-honk.com
As well as jumping to the correct line in files when there's a
compilation error, it now does the same with NAnt builds (for the csc
task at least).
Also included now:
Selective builds: in your nant.build file highlight a target and it
will be built, this uses the $TM_CURRENT_WORD variable, if nothing's
selected it will try to build "all" as before.
Build File syntax highlighting.
Enjoy,
Ian.
#ifndef __COMMON_SENSE__ | Ian Phillips
#include <std_disclaimer> | http://ianp.org
#endif
Hey,
This might have come up already, but I think it would helpful to have a
single page that collects (or at least points to) all the available
add-ons folks have put together for TextMate, such as bundles,
syntaxes, snippets, and so on. A two-line summary of what it does (with
screenshots where possible) would also be great.
I agree that the power of TextMate comes from unlocking its _insane_
amount of configurability. But, I also suspect that some of the
nay-sayers--especially those less experienced with the power of a
shell--would be much more inspired if they saw what they could *do*
with TM (without having to build the actual widgets themselves).
For inspiration, I think Alcor has done a nice job with [Quicksilver's
plug-in page][1], which folks can sort by alpha, popularity, or update
freshness. Best of all, users can click to install any of the plug-ins
right from that page. Takes a lot of the mystery out of the process.
Just one data point. If ya'all need help with bandwidth or what have
you, please let me know how I can pitch in. I am, as the kids say, a
fan.
[1]: http://quicksilver.blacktree.com/plugins.php (Quicksilver's
plug-in page)
--
Merlin Mann
43Folders.com
Hi
It would be excellent if one could set a custom selection color in
syntax plists. I was rather excited to see the feature under View: Show
Color Settings, but unimpressed that it was not used when syntax
coloring was enabled. Might there be an undocumented property to set it
in a syntax file?
- craig davey
I'm trying to work out a couple of bugs in my XML syntax. I may have
uncovered a bug in the folding code, or I may just be suffering from
regexp brainfade...
What I was originally trying to accomplish was two types of folding. I
wanted the following to fold up:
(begin) <foo>
<bar />
(end) </foo>
... and I also wanted this to fold:
(begin) <foo key="value"
(end) key1="value" />
The latter would ideally fold to
<foo key="value"(...)
Am I correct in believing that this second form can't be accomplished
with the simple folding marker regexps available now? The help doc
says that it expects the end folding marker to be on the same indent
level as the start folding marker, and the second form definitely is
not.
Now, for the part that may be a bug:
I haven't found a regexp that will make TM *ignore* the abbreviated
(but multi-line) XML element above (the 2nd one). Perhaps this is all
well and good, except that TM seems to rather arbitrarily match the
would-be end tag for the shortened element. I'll annotate the
screenshot below:
Line 62 starts one of those singleton elements. Note that there is no
closing tag, but at line 67, another element begins as the same indent
level. In the current state, if I use the folding start button in the
gutter at line 62, TM folds the document to line 72 (the end of the
first </target> text). If I fold the "clean" target (lines 67 to 71)
and then fold the <target> at line 62, TM folds all the way to line 92.
It seems to me that TM should stop searching for a match if a new start
fold marker is discovered at the same indent level. Is that correct,
or are my regexps just more sloppy than I thought they were? :-)
--
__ ____
/ / / __/ Brian Lalor
/ _ \/__ \ blalor(a)bravo5.org
/_.__/____/ http://bravo5.org/
Is it open to me to set HTML attributes to have a different color to
the tag itself? I'm aware that I can edit the relevant file in the
Bundles directory to configure my syntax coloring but recall reading
something somewhere that this was not possible as yet re attributes &
tags.
Hi folks,
I wanted to try TM for Perl programming, so I whipped up a quickie
syntax coloring bundle, available at
<http://math.sfsu.edu/hsu/textmate>. You might not like my subtle
colors. Feel free to change them for yourself.
I'm certain this work can be improved. If you do modify it, I'd
appreciate your sending me the improved copy!
best wishes, Eric
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu(a)math.sfsu.edu
http://math.sfsu.edu/hsu
James A. Baker asked me for a BBEdit feature where the selection is
wrapped in a tag, which you pick from a list of tags. But then his
stream of thoughts derived the following TextMate solution, which I
think was very neat:
Create this snippet, name it _wtag:
<${2:tt}>$1</${2:tt}>$0
Then select Start Macro Recording and type:
cmd-x, _wtag, tab, cmd-v, tab, stop recording, save it for later.
Now you have a macro which wraps the current selection inside a tag
pair (the default tag name is tt, but you can change it). Press tab
again after having typed the name to leave the snippet.
Another neat trick I saw on a blog (but unfortunately lost the
reference) was a command configured to do:
open http://php.net/$TM_CURRENT_WORD
So simple, and yet so powerful (it looks up the word under the caret in
the PHP reference documentation).
It's really fantastic to see this end-user innovation, keep it up! :)
Kind regards Allan
Has anyone successfully unsubscribed from this list? When I hit either
the "password reminder" or "unsubscribe" button in the Mailman web
interface, I don't get any email from the Mailman. But he's happy
enough to deliver the list messages.
Guan
Just thought I'd chime in with my experiences of using TM over the last
couple of days.
Firstly, may I heap lavish praise on the developer(s). The
live-updating project drawer (despite its shortcomings, below) is
fantastic, and the Esc autocomplete is nothing short of magic. How does
it *always* seem to guess the right completion for a given start string
out of many possibilities? Regardless, this has made coding a lot less
laborious. The snippet and macro features are also great time savers.
But enough of the praise, here's my comments and suggestions :-)
* I rarely want to view the ASCII version of an image file. How about a
preview of the image in the editor pane instead?
* Whilst speed is generally not an issue, there is an annoying 2-4
second delay (i.e. spinning beach-ball) when switching to TM when I've
got an (open) project located on an SMB share.
* By default, TM requires a lot of keyboard mashing for relatively
common commands. For instance, I see no reason why the Command + Option
+ Control + D for toggling the project drawer can't simply be Command +
D (in fact, I've hacked this myself in IB and it works fine)
* How about a split view (i.e. the ability to see different sections of
the same document at once)?
* TM doesn't seem to remember the window scroll position if you do the
following: open a document (that scrolls), and scroll down without
changing the insertion point. Switch to another document/tab. Switch
back. The window scroll position is back to its original position, and
is no longer at the section of text I was looking at.
* When searching within a document for a string located "below the
fold", the matching string barely creeps "above the fold", i.e. is
bottom aligned relative to the window. This makes it harder to see the
match in context. I prefer the behaviour (which I believe BBEdit
exhibits) whereby the matching string is centred vertically in the
window, making it easier to spot and put in context.
* How about being able to create a "real" folder (as opposed to a
group) in the project draw?
* I would like the group name to be selected and editable immediately
after its creation, à la "New Folder" in the Finder
* The Shift Left/Shift Right commands exhibit weird behaviour. I expect
them to work like Command + [ and Command + ] in BBEdit or SubEthaEdit,
but they don't. (Sorry for the vagueness. It's easier for you to see it
yourself than for me to describe how.)
Overall, I like the direction TextMate is going in.
Regards,
Rich Barton
I found the single pixel cursor rather difficult to see with a black
background (even though I've edited the bundle for Ruby now). I'd like to
see an option to use a block cursor.
Thanks,
--
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto(a)keltia.freenix.fr
Darwin snuadh.freenix.org Kernel Version 7.5.0: Wed May 12 16:58:24 PDT 2004
I have just downloaded textmate and I looks like a very promising editor. I hope to be able to use it soon!
I would very much like to see an environment for both latex and python. Those two environments are those I am in most of the time. I am sure that I not alone.
Also, to me the tab behaviour of Emacs (where you can press tab anywhere on a line to align the content of the line) is a big plus when programming. It helps structure back the code rapidly. This feature would be part of a more global automatic formatting for programs but at least it is almost essential.
This being said, you are doing an excellent work!
Congratulations and I look forward to your next version which might include these features.
Hi All,
Been a bit busy at work today, but the list is updated now. So far we
have:
C
C/C++/Objective-C
Java
JavaScript
Mono/C# (now updated with compile output support thanks to Jan Sabbe).
OCaml
PHP Smarty
Python
XML
Have a nice day!
Yours,
Ian.
#ifndef __COMMON_SENSE__ | Ian Phillips
#include <std_disclaimer> | http://ianp.org
#endif
When editing Ruby code, everything after the first "/" in code turns
yellow. For example, in the code
class Foo
def bletch(num)
@foo = num / 12
end
end
everything from the "/" to the end of the file is yellow.
Is this a known issue? What can I do to fix it?
Jim
--
Jim Menard, jimm(a)io.com, http://www.io.com/~jimm
"...it uses Smalltalk, rather than modern-day kludges such as Java,
which
resembles a modern object-orientated environment in the way that a pub
ashtray
resembles a cigar store."
-- Andrew Orlowski, "Forgotten language enables nonstop gadgets",
The Reg
Hey,
Thanks for a really neat product. I'm still messing about with it, but
I think it's a keeper.
I've noticed some things, though --
Odd help behaviour: the tooltip that appears when you hover over the
Commands textarea says that you can use the purple help icon to get a
full list of TextMate's exported variables, but that just goes to the
Commands reference page instead. There's a small link to the list of
variables, sure, but maybe the list of variables belongs on that page
too? (or it should link there as advertised, instead?)
Also, why does selecting Help *from the Help menu,* while the commands
window is open, mean that it goes to that page? I understand that
context is cool, but I expect to find that choosing '(AppName) Help'
from the Help menu would take me to the app's help index page.
Second: the whole dealie about the preferences window has been
discussed, it seems, but it's also something I miss. While there's
nothing that really *has* to be in a preference window, it seems
logical to me that per-document options ought to be kept well away from
the permanent ones.
Third, I'm not sure if it's my own font problems or not, but I've never
noticed it any other place -- when I'm using any bitmap font the first
character in a line has a larger gap between it and the next character.
You can see this in action here:
<http://www.raena.net/images/gappy.gif>
Fourth, why is Page Up and Down moving the insertion point? Can one
change that at all?
And finally, I'm not really concerned with (s)ftp support myself since
I prefer to use Transmit, but does anyone know how i can tell Transmit
to make TextMate available in its list of external editors? Can that be
done at all?
Hi,
Are there any known issues with TM and saving files that needs
authorization to view/edit?
I opended /etc/hosts with sudo from the cmdline, and TM doesn't seem
to want to save the changes, no error, it just remains unsaved.
--johan
--
Johan Sørensen
Professional Futurist
www.johansorensen.com
I usually work with an additional monitor plugged into my Powerbook at
home, but not at work.
If I accidentally leave anything open on the external monitor before
disconnecting everything, on restoring the affected application the
window is pulled onto screen. That is to say, if at any time the desktop
area is reduced, windows readjust their position so not to be lost.
TextMate doesn't seem to be doing this.
I connected up my external monitor this evening to find a window that
had been 'lost' all day!
drew.
Does anyone know if it would be possible to use the various extensions
within TextMate to provide a navigable list of functions within a class
file? A bit like the one BBEdit or SubEthaEdit has.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
hi,
Just starting using RubyonRails....and each time i create a project i
want to modify .htaccess to enable mod_ruby....and it's not possible.
would be cool if the contextual menu of the drawer propose a 'toggle
invisible file view' item or something like that
thanks...
textmate is really the best 40$ i ever spent
Hey Allan & David,
First, thanks for filling a major void in OSX land. I've been using
UltraEdit on Windows for several years until I bought a Powerbook in August.
I love everything about OSX except the lack of a solid (and reasonably
priced) text editor. Thanks to ditto, I think I found one.
So far I'm pleased with TextMate, though I haven't been able to use it much.
The single biggest problem I've found so far is that it seems to load files
entirely into memory. Try loading a 100MB enterprise server log in TextMate
and you'll see it die while consuming megabyte after megabyte of memory.
UltraEdit by contrast only loads what it needs into memory, making it very
very fast while viewing and manipulating large files. UltraEdit handles
GB-size files without breaking a sweat. I think the only complication
around that is line numbering becomes slightly more involved.
The second feature I'm looking for is a hex view/edit/search&replace. Being
able to locate and fix an invalid UTF-8 character sequence inside an XML
file that is causing my application to bomb has proven to be a critical
feature. Hex search&replace comes in handy when I need to remove all 0x00
characters from a file, for example.
Finally -- and this should be the easy one -- please add a "count" button to
the search window. Often I want to count the occurrences of a certain error
message in a log, or see how many things I'm about to change by
search&replace.
That's it (for now ;) Keep up the good work!
Thanks,
Kevin Hunt
Couple of questions regarding syntaxes:
I'm working on modifying the HTML syntax to support JSP. I've created
the following definition for comments; JSP and HTML comments are
similar. JSP comments look like <%-- comment --%>. I can use a simple
regexp to search for <!-- or <%--, but is there a way to be smarter
about how the comment ends? I'd like to make sure an illegal JSP
comment gets highlighted as such:
WRONG:
<%-- -->
... or maybe ...
<%-- --> --%>
I've currently got the (not quite smart enough) pattern:
{
name = "Comments";
begin = "<[%!]--";
end = "--%?>";
foregroundColor = "red";
},
How is the "include" keyword supposed to work in a pattern? I've tried
this:
name = "Embedded Java";
backgroundColor = "#E5E5E5";
begin = "<%";
include = "Java";
end = "%>";
... but that only highlights the background of the excursion, not the
text within. I've created a Java bundle with "Java" defined in
Syntaxes/Java.plist.
--
__ ____
/ / / __/ Brian Lalor
/ _ \/__ \ blalor(a)bravo5.org
/_.__/____/ http://bravo5.org/
I do not know if this has been mentioned before, but the undo/redo
functionality needs improvements. What bothers me is that the undo
functionality will "undo" stuff character-by-character, and not by
block. I want block undos. Ideally, I would like to have more of a
VIM-like undo functionality.
You may wonder what would be defined as a "block undo"? One definition
would be: any time when I type in text (or remote text with the
backspace/delete) would be one block. When I move the mouse, or use the
arrow keys, or use PGUP,PGDOWN, etc. the undo block would end.
Nick
Interarchy supports ediiting files over sftp. It would make me überhappy is
TestMate would support this feature. I asked the Interarchy developer what
details you would need to know to make this work. He replied with the links
to the info below.
I know you intend to support editing files over sftp with TextMate in
version 1.1, but I like Interarchy and adding compatability to work with
Interarchy looks pretty simple. So pretty please with sugar on top, add
this feature. :-D Thanks,
Simon
------ Forwarded Message
From: Peter N Lewis <peter(a)stairways.com.au>
Date: Thu, 7 Oct 2004 10:06:08 +0800
To: Simon Dorfman <Simon(a)SimonDorfman.com>
Subject: Re: Edit with... TextMate
>I want to ask the developer of a new text editor (TextMate macromates.com)
>to support your "Edit with..." feature. What does he need to know to make
>it jive with Interarchy?
The details are at:
http://www.merzwaren.com/external_editor.html
and Bare Bones' original specification is at:
http://www.barebones.com/support/developer/odbsuite.html
If they drop me a line when it is implemented we'll be happy to add
TexMate to our list of possible editors.
Enjoy,
Peter.
--
<http://www.stairways.com/> <http://download.stairways.com/>
------ End of Forwarded Message
Hi all,
I just downloaded the PHP & Smarty syntax bundle, and found that it too
was based on a dark background. Can someone please explain this
seeming 'obsession' with dark backgrounds when 99% of all other apps
are the basic white background with black/coloured text ???
What is it that I don't get about it ??? (I personally find it very
hard to read text that way.)
Kind regards,
Mats
I hate .textClipping files, they are some kind of bastard
implementation of a file. They really aren't terribly useable but they
are easy to create and so show up far too often. I've never looked into
the format but I don't understand why Apple didn't just make them txt
or rtf files. Instead they created a specially functioning file that is
not well supported.
.textClipping files are supported as expected if you drag from the
Finder to an open document in TextMate, i.e. the contents are inserted
at the insertion point.
Dropping a .textClipping file on TextMate's app icon opens a new empty
window with the textClipping's name. Desired behavior would be to
display the textClipping's contents. Bonus points for making the
textClipping editable!
Selecting a textClipping in the project drawer displays an empty window
with the title set to the textClipping file's title. Desired behavior
would be to display the textClipping's contents. Bonus points for
making the textClipping editable.
Dragging a textClipping file from a project window to the currently
displayed document results in no change to the current document.
Desired behavior is to insert the contents of the textClipping file at
the insertion point, i.e. the same behavior as dragging from the
Finder.
thanks for listening!
Hi All,
I was wondering if anyone's been working on js syntax highlighting.
I derived one from the ruby file, but it's still a tad bit buggy.
Perhaps we could join efforts?
I'll post the bundle as soon as I get back to the mac.
>Given that TextMate is pretty good at piping output from shell
>commands, would it not be possible to automagically generate a running
>"TODO" list in a file using a command similar to this...?
> `grep -r FIXME /Users/USERNAME/Sites/FooProject/`
Merlin:
You could pipe it to an external file. In the Filter Through Command window, choose "Document" and set it to "Show as tooltip" so it's non destructive to your current file, and run:
grep -r FIXME >~/project/TODO; open -a /Applications/TextMate.app ~/project/TODO
It will auto-generate and pop open for ya.
Regards,
Joe
I can't decide if this is a TextMate question or a GREP question, but
here goes.
Like a lot of people, I frequently use HTML comments like this to
remind myself where known problems exist:
> `<!-- FIXME sibling P tags not taking margin/padding in IE/Win -->`
Given that TextMate is pretty good at piping output from shell
commands, would it not be possible to automagically generate a running
"TODO" list in a file using a command similar to this...?
> `grep -r FIXME /Users/USERNAME/Sites/FooProject/`
Is that sensible? And how might I set that up in a doc to refresh
itself? Better as a separate shell script I'd call up somehow? Maybe
better off as manual macro I run when I want updates? TIA.
(Man, I'm just *loving* the possibilities of this app)
mm
--
Merlin Mann
43Folders.com
Hello,
I'm just trying out TextMate and I very much like the feature for collapsing
brackets. (I remember seeing a post on some mac blog about using
OmniOutliner to write code just so a similar feature could be achieved.
Anyway...)
However, I have a suggestion. I have trouble distinguishing between the
little triangle icons used on the left side. I was thinking adding color to
them would make it much easier to see which is the top and bottom and which
is collapsed. So I looked in the resources of the app and found the graphics
files and tried changing them. The colors I chose are perhaps a bit much,
but perhaps this post will inspire someone else (or the developers) to come
up with a better color scheme.
I went with a red-yellow-green stop-light color metaphor. Green is the top
of an open triangle. Red is the bottom of an open triangle. And Yellow is
a collapsed triangle. If that makes any sense...
Basically, I changed these files:
Folding Bottom Cap.png -> tint Red
Folding Collapsed.png -> tint Yellow
Folding Ellipsis.png -> tint Yellow
Folding Top Cap.png -> tint Green
I've attached a zip containing my newly tinted PNGs. I'm not sure if this
mailing list will let attachments go through, but if it does, enjoy.
Otherwise, I guess you'll have to tint 'em yourself.
Simon in New Orleans
I'm trying to work up a command to call ant with for my Java bundle.
I'm confused by the dual-pane window that's displayed. The bottom
looks to be just the entire output of the command with line numbers in
the gutter. The top I just don't grok, however.
It may be that I'm completely missing the point of the command output
window; if so, please set me straight. :-)
Does the pattern matching expect every single line to match the
pattern? For example:
/path/to/file:1: error on line 1
/path/to/file:2: warning on line 2
"ant -emacs" has output like this:
>>>>begin
[...]
compile:
Compiling 1 source file to
/Users/blalor/devel/java/portal/ConsumerCustomCommands/build
/Users/blalor/devel/java/portal/ConsumerCustomCommands/src/com/
deltafaucet/portal/commands/profile/AprimoAccountListener.java:30:
cannot resolve symbol
symbol : class Foo
location: class
com.deltafaucet.portal.commands.profile.AprimoAccountListener
private static Foo bar = new Baz();
^
/Users/blalor/devel/java/portal/ConsumerCustomCommands/src/com/
deltafaucet/portal/commands/profile/AprimoAccountListener.java:30:
cannot resolve symbol
symbol : class Baz
location: class
com.deltafaucet.portal.commands.profile.AprimoAccountListener
private static Foo bar = new Baz();
^
<<<<end
I'm not sure what the command output window is trying to accomplish...
I've got my command set up like this:
Before running command: Save modified files in project
Command(s): ant -s build.xml -emacs
Standard input: None
Standard output: Show in separate window
Pattern: ^(/[^:]+):(\d+):(.*)$
Format string: $3
File register: 1
Line: 2
Column:
This causes the command window to look like this:
I would expect that the top part of the window would only show the
lines that matched the regexp, at a minimum, but I really think it
should perhaps highlight the line, make it clickable (to jump to the
source), etc.
I think what's needed (for compiles, anyway) is to have the command
output displayed in a pane in the project window (say, at the bottom)
and display each line of output from the command. Each line that
matches the regexp should appear in a different color, and, if the
line, and possibly column, are given as registers, the top part of the
project window should jump to the line and file, leaving the lower pane
in place. I tend to keep my code windows up so that they take up most
of the screen real estate (especially with the project drawer open).
The command window really gets in the way. But I think it's a step in
the right direction, because I want to be able to jump to a line in the
file.
--
__ ____
/ / / __/ Brian Lalor
/ _ \/__ \ blalor(a)bravo5.org
/_.__/____/ http://bravo5.org/
Slightly improved C/C++/Objective-C bundle:
<http://www.cjack.com/tm/C.tmbundle.zip>
* Keyword corrections for all languages.
* Move to a more conventional black-on-white color scheme.
* C++ inherits from C to make this more manageable. Although C++ is not
a strict superset of C, the differences are extremely slight (for the
purposes of TextMate, at least).
* That's all for now.
I'm happy to coordinate further improvements to the C bundle; you're
also welcome to grab my changes and post your own version if you
prefer. Highlighting could be further improved. There are a zillion
useful macros and snippets to be written. Makefile syntax could be
factored out into a "Unix" bundle, one that would also support the
myriad shell scripting formats.
Allan/Macromates folks, please consider including at least the keyword
modifications in future versions of TextMate.
Share and enjoy,
Chris
I'm trying to use Profont, but if I type an f followed by an i, the
spacing goes crazy, ie. the letters move close together, but the cursor
moves as if the spacing was normal. This happens only for f and i, and
I haven't seen this in any other apps using ProFont.
Is anyone else having the same problem?
Thanks,
Andrew
Hello,
First thanks to Allan for all the great work on TextMate ^o^.
Sorry if any of you in the mailing list do not like long mails. If you
do not want to read it, just jump to the next mail in you mail box ;-)
And sorry for putting so many things in one mail, but one mail is
easier to skip or remove than 3 or 4 ;-)
So there are my list of remarks about TextMate. They do not mean that I
do not like them program. On the contrary, I just want it to be even
better ^o^. Feel free to criticize any of them (except the first one).
First, I do not really care if the preferences are in there own dialog
box or in the menus. In the menus, it has the advantage of being faster
to change. But with the feature list that will certainly grow in the
future, some things will certainly have to be put in a separate dialog
box. (And no, do not reply to this paragraph, as it has already become
a troll on this mailing list ;-))
'Re-open with encoding' is great but the encodings list is quite short.
UTF-32 is not even there. If someone works a little with Japanese text,
he will need Shift-JIS and EUC-JP. Someone with Chinese text might want
Big5. Even a westerner wanting to use the euro symbol might want
ISO-8859-15. The best would be to be able to add or remove encodings in
the list. The same thing would be great in the 'Save' dialog (the list
should be the same in both places and be editable at both places). And
adding it in the 'Open' dialog would be great too.
Little bug : if we select 'other' in the View->Tabs Size menu, nothing
happens. There should be a dialog box asking for the number of spaces
you want.
An other little problem I have is the drawing of CJK characters. These
characters are wider than latin characters and as they are drawn today
in TextMate, a character may overlap with the previous and next one. In
terminals, this is generally handled by making them double-width. In
SubEthaEdit, it is quite strange as they are not fixed size at all,
some are larger than others. If you want any screenshot, example, just
ask.
Note that I am in no way good in Chinese, Japanese or Korean, I just
made a few Ruby scripts to help me train my Japanese, and they do
include some Japanese characters.
For the ligatures problem, if it has not been corrected in the sources
yet, it's quite easy to correct:
If you want ATSUI not to use common english ligatures (fi, fl):
ATSUFontFeatureType type = kLigaturesType;
ATSUFontFeatureType selector = kCommonLigaturesOffSelector;
ATSUSetFontFeatures(myATSUStyle, 1, &type, &selector);
and if you do not want any type of ligature:
ATSUFontFeatureType types[9] =
{
kLigaturesType,
kLigaturesType,
kLigaturesType,
kLigaturesType,
kLigaturesType,
kLigaturesType,
kLigaturesType,
kLigaturesType,
kLigaturesType
};
ATSUFontFeatureType selectors[9] =
{
kRequiredLigaturesOffSelector,
kCommonLigaturesOffSelector,
kRareLigaturesOffSelector,
kLogosOffSelector,
kRebusPicturesOffSelector,
kDiphthongLigaturesOffSelector,
kSquaredLigaturesOffSelector,
kAbbrevSquaredLigaturesOffSelector,
kSymbolLigaturesOffSelector
};
ATSUSetFontFeatures(myATSUStyle, 9, types, selectors);
Some info there :
http://developer.apple.com/documentation/Carbon/Conceptual/
ATSUI_Concepts/atsui_app_features/chapter_9_section_15.html (be
careful, the feature selector names on this web page are not all good)
It will also disable ligatures for Hindi or Arabic script, but as
TextMate's goal is not seem to be a multi-lingual editor... (but it
would be great if it could at least manage the CJK characters well ;-))
Last thing: having a direct link to
http://lists.macromates.com/mailman/listinfo or at least to the
archives of the mailing list
(http://one.textdrive.com/pipermail/textmate/) on TextMate's web page
would really be great. I only found it after subscribing to the mailing
list, in the mail asking for confirmation.
Cheers,
Vincent Isambart
Interarchy supports ediiting files over sftp. It would make me überhappy is
TestMate would support this feature. I asked the Interarchy developer what
details you would need to know to make this work. He replied with the links
to the info below.
I know you intend to support editing files over sftp with TextMate in
version 1.1, but I like Interarchy and adding compatability to work with
Interarchy looks pretty simple. So pretty please with sugar on top, add
this feature. :-D Thanks,
Simon
------ Forwarded Message
From: Peter N Lewis <peter(a)stairways.com.au>
Date: Thu, 7 Oct 2004 10:06:08 +0800
To: Simon Dorfman <Simon(a)SimonDorfman.com>
Subject: Re: Edit with... TextMate
>I want to ask the developer of a new text editor (TextMate macromates.com)
>to support your "Edit with..." feature. What does he need to know to make
>it jive with Interarchy?
The details are at:
http://www.merzwaren.com/external_editor.html
and Bare Bones' original specification is at:
http://www.barebones.com/support/developer/odbsuite.html
If they drop me a line when it is implemented we'll be happy to add
TexMate to our list of possible editors.
Enjoy,
Peter.
--
<http://www.stairways.com/> <http://download.stairways.com/>
------ End of Forwarded Message
I just downloaded TextMate and am pretty happy with it. Since it is a
Cocoa app, all of the standard MacOSX key bindings come with it! I've
used emacs as a text editor for years and can't break away from the
basic editing commands.
I created my own TextMate keybinding file, as noted in the help section,
and resolved an issue with '^f' not being bound to 'move cursor
forward'. The only other thing that I can't seem to figure out is '^y'.
When used with '^k' I should be able to 'kill' to the end of a line,
then 'yank' that text out of the kill ring. It's a quick and dirty
cut-and-paste option that's very much ingrained. I can't find any key
bindings that override this behavior, but it doesn't seem to work.
Any ideas?
Thaddeus
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.
Hi
First of all, TextMate is great work. I only had to try it out for a
few seconds and it was instantly obvious to me that TextMate just
_feels_ great to use. It's powerful yet doesn't feel clunky or
bloated, unlike some other editors which shall not be named.
The only thing missing for me to be able to use it in my day-to-day
work is the possibility to have projects synchronize with an
ftp-server. I'm a web developer, and most of the time I work against a
remote ftp-server (not always, but quite often).
The only editor I've found that does this in a simple fashion is
Dreamweaver MX, which, while not terrible as a code editor, it isn't
exactly optimal either.
I hope ftp-support is added soon, not just being able to edit a remote
file, but actually being able to associate a project with an ftp
account. Because, then I'd have no reason to use Dreamweaver MX again,
instead of using it all the damn time.
Best regards,
Tomas Jogin, Sweden
http://jogin.com/weblog/
I've got a rough cut at python support bundle[1]. It includes syntax
and three snippets: klass, def and deff. The snippets rely on a de
facto python standard of 4-spaces for indentation. I'll keep making
minor updates, but feel free to use it in the future TextMate releases.
The editor is rather neat so far. Keep up the good work.
[1] http://glyf.org/TextMate/pythonsyntax.tgz
---
Philip f
Greetings,
(this was cc-ed to feedback(a)macromates.com and contains screenshot
attachments, which I hope the ML server won't strip out).
A little background first: I'm a long time BBEdit user, I think that
it's a great product but I also think that it really starts to show its
age. It really looks like the BareBones guys are trapped in the
technology they used from day 1 and that if they'd want to get fresh,
they'd have to restart from scratch, which they probably won't. That's
why TextMate looks promising, and because it's built on top of modern
technologies it has the potential to become really great.
However, this v1.0 looks like nothing more than a good draft to me.
Yeah, shoot me, but that's David's hyping machine fault... :p
So here's a first batch of random comments about my first impressions.
They are mostly cosmetic and usability related, since I didn't really
used the product a lot yet, but I'm pretty sure I'll have some more as
time goes by.
- Ok so, I'm one of those who was very surprised not to find a
preferences dialog. When you think about configurability, you usually
think about preferences. I just saw a post about this on the MacroMates
blog, so let's just avoid this subject right now.
- Now let's go straight to the GUI itself. Here's a screenshot of a
TextMate default window (with my own default background color):
What I see here:
+ The color contrast between the gutter and the text area is pretty
low so the distinction is hard.
+ The gutter can only have 4 digits line numbers (no, files larger
than 9999 line are not that rare).
+ The (orange) wrap column line is almost invisible.
+ The lower status bar has loads of useless empty space.
+ The empty corner at the intersection of the scroll bar looks, well,
empty.
Here's my (photoshop) take on this:
+ A simple gray line to separate the gutter from the text area.
+ The gutter is a bit larger to allow 5 digits line numbers.
+ The outside limit of the wrap line is drawn in the same color than
the text area but with a lower brightness (that's currently how BBEdit
8 does it, it looks really nice imho).
+ The status bar is collapsed and put at the same level than the
horizontal scroll bar, saving lots of empty space. The left indicator
is the current line number, the right indicator is the column number
(again, that's how BBEdit does it, but they do it for a good reason).
Small icons could be added to make this more obvious.
+ No more weird empty corners.
Doesn't this look much tidy and cleaner like that ?
Let's move on to the project window. Here's how a basic project
currently looks in TextMate:
What we have here:
+ Weird looking tabs. They're not even tabs actually, and they really
look like they're quick hacks to me.
+ Weirdly sized icons in the drawer list.
+ (same comments than above for the text window itself).
Here's my take on this:
+ Tabs looking like tabs (actually stolen from NetNewsWire and
resized a bit).
+ Smaller icons in the drawer list allowing for a more balanced look
(quite impressive to see what a couple more pixel space can do uh ?).
+ Folder name is bold.
+ (same modifications than above to the text window).
Let's move on to features:
- Find and replace feature:
+ There should be a "Use selection for replace" menu shortcut.
+ There should be a "Replace" menu shortcut.
+ There should be a "Replace all" menu shortcut.
+ There should be a "Replace and find next" menu shortcut.
All these would allow to perform basic search & replace operations
straight from the keyboard, *without* having to open the find panel at
all.
- I guess that you guys already know that and are already preparing
something to fix this problem, but I'll say it anyway: having to
manually go and edit plist files from the guts of the app to have some
decent colors (relax, I'm kidding, I just don't like thos ugly black
backgrounds) is ridiculous. Tell me you're working on something before
I start my own Cocoa 'tmbundle' editor.
- Something which I found pretty weird: each tmbundle defines its very
own color settings right ? So if I want to have the same background
color for *all* languages I have to change *all* tmbundle syntax files,
right ? Wouldn't it be much simpler to have "default" settings which
each tmbundle would inherit from and could then override or not ? So
just like CSS elements can inherit from their parents, a syntax file
could either inherit attributes from the defaults, or override with its
own values. That would greatly simplify the whole coloring settings I
think. Thoughts ?
- Another pretty obvious one: there is no "function popup", or any
other way to quickly navigate through the list of functions or methods
of a code file, or the structure of a markup file.
- Snippets are great, but the snippet menu is already pretty crowded. I
think that allowing snippets to be grouped in families (based on the
tmbundle they're coming from, to begin with) or categories or whatever,
could help minimize the clutter. Ditto for macros and commands.
- How about the ability to have the snippets, macros and commands in a
palette ?
- How about giving some basic abilities to a command to specify when it
is actually applicable ? A command menu item (or palette entry ;))
could then be disabled if it is not. For example, the "Compile" command
does not make sense for a '.html' file, or the "Reload in Safari"
command does not really make sense for a '.rb' file.
- Being able to write commands in something else than shell scripts
could be cool. Like, being able to directly write applescript instead
of having to go through 'osascript' commands.
- Hey, you seem to have pretty good text editing widget (that
OakTextView thingy), so why not also use it for command editing ? Heck,
why not even also use it for colored regexp editing in the find panel ?
- Detail: it seems like a lots of ATSUI related debug messages are
still being sent to the console.
- Snippets, macros and commands are good ways to automate a lot of
stuff, but are there any plans to allow TextMate plugins, for those
tasks which would require an elaborate GUI ?
Oh, and one final comment: I *R*E*A*L*L*Y* *H*A*T*E* the icon. It's
butt ugly. Really. Heck, you have John 'Magic' Marstall on the mailing
list, I'm pretty sure he could do something about this :))
--
Luc Heinrich - lucsky(a)mac.com - http://www.honk-honk.com
Hi,
I've searched the documentation and the list archive for any mention
of "invisibles", i.e. the ability to show tabs and spaces, a la
BBEdit's "Show Invisibles" and "Show Spaces" or SubEthaEdit's "Show
Invisible Characters". Now, maybe it's there, but I can't find it; in
that case I'd appreciate a hint.
If not, and since we're supposed to send feature requests to the
list, that would be mine.
Best, Mic
Can anybody get this to work? Is it not implemented yet or am I just
screwing up?
Ian.
#ifndef __COMMON_SENSE__ | Ian Phillips
#include <std_disclaimer> | http://ianp.org
#endif
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 7.10.2004, space aliens observed Mats Persson saying:
>I just downloaded the PHP & Smarty syntax bundle, and found that it
>too was based on a dark background. Can someone please explain this
>seeming 'obsession' with dark backgrounds when 99% of all other apps
>are the basic white background with black/coloured text ???
A lot of people who spend the day writing on a Computer prefer dark
backgrounds because for them it is less tiring. Dark text on white
background works well on paper, because paper reflects light and doesn't
emit it. A screen, however, emits light, which makes white really
bright.
I prefer dark backgrounds and find them more readable and a lot less
tiring for the eye than bright backgrounds.
lucas
- --
"No one ever attains very eminent success by simply doing what is required of him; it is the amount and excellence of what is over and above the required that determines greatness."
-- Charles Kendall Adams
-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.2.2
iQA/AwUBQWVAErXYdom/dB2cEQKdlwCfVX4ysljltPmUtOZ/LKK4iPFBU+IAnAxE
ZRSqSwv9Hgm01hqqihT5ohPE
=9naC
-----END PGP SIGNATURE-----
(pardon my english)
Having seen the 'rails_setup.mov' I thought Textmate's interface would
be more Xcode like, but I see that you finally opted for something more
Mail.app like. I wonder why, I see the splitview metaphor more adequate
for Textmate.
OS
Cmd-E to enter search string is a nice start.
Cmd-Opt-E to enter replacement string.
Cmd-... to replace and find next
Cmd-... to replace all
I use these commands more than almost any other when editing text. To
have to use a dialog to enter the replacement string...to have to use
the mouse to replace next...ouch. That's a big showstopper for me.
Oh...and why does 'Ignore Case' get greyed out when you use regular
expression (and yet maintain the state last set to, as though it's
either locked on or off)?
--
(-, /\ \/ / /\/
I've been having fun poking around Textmate. I spent today picking
through the internals to create my own syntax coloring for PHP and
Smarty. Smarty ( http://smarty.php.net/ ) is a templating system for
PHP.
http://www.spahr.org/share/PHP_Smarty.tmbundle.zip
Anyone is welcome to download and modify at as they please. Of note : a
complete php function list is included in the php syntax file. I'm
quite please with the Smarty coloring, all html elements are in cool
and muted tones, and all smarty template logic is in saturated and warm
tones -- it's rather easy to see what's what.
James.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 7.10.2004, space aliens observed Benny saying:
>>BTW, what the heck is "Freehanded edit"?
>It is an editing mode in which the caret is free to go anywhere in
>the display i.e. it is not limited horizontally by newlines. Kind of
>like in really old-style editors.
Ah! That's pretty awesome! No more of this foolish entering of spaces!
:-)
lucas
- --
"You'd have to kill me and prop me up in the seat of my car with a smile painted on my face to get me to go near Hollywood."
-- Philip K. Dick
-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.2.2
iQA/AwUBQWT+lrXYdom/dB2cEQK46gCdFO6dQNkgoHsS4iOTg8wa8Qham5AAoN6m
In6xZGE/p7BdgcpYovPowGby
=M4HB
-----END PGP SIGNATURE-----
How about this as a solution for preferences:
1. Move all of the preferences off the menus and into a separate
(command-, invoked!) window.
2. Add a toolbar and allow most of the preference options to be added
to it via the "customize..." option.
This would allow users to make frequently changed preferences easily
available, and it seems to be the method that a few other apps have
chosen.
And now for some feature requests:
1. Allow projects to define their own variables in the same way that you
can with the defaults command line tool. This would be useful when
setting up templates and snippets.
2. Add a separate "New" sub-menu, which bundles can contribute to, I see
this working like the existing templates feature, but with parameters
in a similar to snippets. Probably need to have the parameters
configured in the property list that would go with the template file.
2a. An alternative to this would be to allow template property lists to
specify a series of parameters that would be prompter for in a
dialog
before the file is created. E.g.
{
parameter = "1";
displayName = "Class Name";
defaultValue = "MyClass";
}
3. A minor UI tweak: have the encoding and line endings embedded in the
status bar, this could either be a read-only display, or a combo-box
to alter them.
4. Add a preference/option to show or hide white space characters
(e.g. line endings, tabs, etc.).
What do people think?
Yours,
Ian.
#ifndef __COMMON_SENSE__ | Ian Phillips
#include <std_disclaimer> | http://ianp.org
#endif
I'm not sure if I'm using it right, but the quote auto completion seems
to slow me down, as most of the time you need to add something after a
quote, but I'm required to use the right arrow key to move over a
character to go past the quote, which is a rather long distance compared
to the quote key.
Is there some trick I don't know about?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6.10.2004, space aliens observed Sune Foldager saying:
>Good, argumentative reasons for it, please! :-).
For me, it went something like this:
"OK, now I want to change the background color of this window. That must
be in Preferences. Uhm. No preferences in the app menu. Must be burried
somewhere. Probably in Edit. Nope. Maybe in Window? Nah. Okay, so I'll
go through each menu. Oh, Color Settings. Okay, but that only works with
syntax highlighting disabled. That must mean that there are more
settings somewhere else. I guess I just missed the Preferences. They
*must* be in the app menu. Argh. Okay, "TextMate Help". What, you mean I
can't change this?"
Had all settings been inside a Preferences dialog, it would have been
clear what the user can change and what he can't right from the
beginning.
Having preferences inside the menu has additional problems. It clutters
the menu with things you use seldomly, which makes things you use more
often (like actual commands) harder to find. And it makes it harder to
find preferences, because it's often not clear where a given preference
should go, and if you can't find it, you can't be sure whether you just
missed it or whether it simply doesn't exist at all. A preferences
window also gives you room for additional information about settings.
BTW, what the heck is "Freehanded edit"?
lucas
- --
"Afer all, who needs courage when you have a gun?"
-- Prof Hubert Farnsworth
-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.2.2
iQA/AwUBQWTtN7XYdom/dB2cEQKLfwCeJdL0hMZkjcm0MqGbsh+tdQ2ZZt8An2be
sREVT2jSFy1pLzFpZrdamzIu
=mtXU
-----END PGP SIGNATURE-----
I have been waiting for a good and affordable text editor to come
along for OS X. I come from the Windows world and used UltraEdit
there. The one thing I really like about TextMate is the Tabbed
interface much like other MDI like editors such UltraEdit and IntelliJ
IDEA, especially the re-ording of tabs. I just wish that TextMate
offered this tabbing without having to create a project or even a
scratch project. It would be really neat if TextMate just opening up
in scratch project mode. Is possible in the current version?
Other than that and some more syntax highlighting, it's a great piece
of work! You are to be commended! First editor I have used on OS X
that felt "right".
Patrick
Small thingie: I think it would be very convenient if after entering all
the parameters in the snippet, the tab key would place the cursor at the
end of the snippet.
Example:
ahref\thttp://somewhere.com/\tsomewhere\t results in
<a href="http://somewhere.com/">somewhere</a>CURSOR instead of
<a href="http://somewhere.com/">somewhere CURSOR</a>
:)
BTW: I'm starting to enjoy this editor very much...! :)
--
Joost Schuttelaar
Any plans for XHTML/CSS code hinting?
And what about browser previews other than the built in safari
rendering?
Also, can we just have the project drawer show up by default. There's
hardly ever an instance where I wouldn't need/want it in view.
-t
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6.10.2004, space aliens observed drew saying:
>I keep my dock quite small, and the icon just looks like a nasty
>brown blur.
Yeah, the problem with the icon isn't that it's ugly (I really don't
care either way), but that you can't easily recognize it if it's bellow
a certain size, which it is in my dock. That's what's great about
BBEdit's icon. It may not be pretty, but I always see it immediately
because it's unique.
lucas
- --
"The probability that we may fail in the struggle ought not to deter us from the support of a cause we believe to be just."
-- Abraham Lincoln
-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.2.2
iQA/AwUBQWTtP7XYdom/dB2cEQKZfgCgo5hqWe9T4OU47+Suu+3HXIlIn0oAoOmC
7BDdL/cTMVoVukEEYISBRuBc
=acBq
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6.10.2004, space aliens observed Justin French saying:
>>The main feature I use in BBEdit is the excellent CSS support. I can
>>easily create new CSS rules and find out what the correct syntax is.
>>Having something similar in TextMate would be great.
>All the CSS properties (font-size, width, height, etc) are all in
>there as keywords, as are all the units (px, em, etc). Agreed, most
>of the values (bold, underline, block) are not in there yet, and TM
>has no idea if "left" is a valid value for "float", but I don't think
>BBEdit knows this either...
It does, though :-)
Here's how BBEdit work. If I have something like this:
.foo {
}
I move the cursor between the two brackets and hit Cmd-M. This gives me
a list of properties. I select one. This gives me something like this:
.foo
{
border-color: ;
}
Then I hit Cmd-Opt-M, and now I get a list of possible values for this
property along with related properties.
HTML tags work the same. This helps since
- I only ever use tags that are valid in the scope that I am in
- I always know what tags/properties I can use and how to spell them
- I always know what values are allowed
I'm not sure if something along those lines is planned for TextMate
since it may not be as much targeted at HTML as BBEdit is, but it would
certainly be very nice to have something like this, maybe even more
automatic, for example with dropdown lists of legal
functions/tags/properties/values/... automatically appearing while
typing.
lucas
- --
"I hate words."
"Words suck."
"If I wanted to read, I'd go to school."
-- Beavis & Butthead
-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.2.2
iQA/AwUBQWQmVrXYdom/dB2cEQJMKACgpXlWarOtjYDq1G1xC2kVjUTXLT4AniDv
QYLRRQoh7EyG7msEVmKmR/E4
=yi2e
-----END PGP SIGNATURE-----
This is something I've longed for but have never seen it in any text
editor yet: the ability to simply select markup tags and/or their
enclosed contents. Most editors follow the selection logic of word >
line, which IMO is rarely useful in working with code.
What I'd like is an assortment of modifier-clicks (command-click,
option-click, command-shift-click, option-shift-click, etc.) that
perform the following:
(when the pointer is inside a tag)
- single-click selection of the current, single tag
- single-click selection of the current tag, its corresponding
opening/closing tag, and everything in between
(when the pointer is between two tags)
- single-click selection of everything between the two most immediate
tags (and excluding the tags themselves), with perhaps additional
clicks casting wider and wider inter-tag selections (going from
<td>[selection]</td> to <tr>[<td>selection</td>]</tr>, for example)
Some items (like the <div> tag in HTML syntax mode) are already being
treated as collapsible objects now, but there's no way (AFAIK) to grab
such an object and move it around without carefully selecting the whole
thing character-to-character. This seems like a needless restriction to
me.
Hope that's helpful.
John
Looks like things are calming down a little so I thought I'd chime in
with my TM experiences. I used it all day today for hacking on a Rails
app and here are my thoughts. I've avoided putting in nits that I've
seen addressed already, though it's possible I've missed seeing some,
please forgive me if there are duplicates :) My editing background is
that I'm a hardcore vim user and I quite dislike using the mouse while
editing.
Issues
* Renaming a group is kind of a pain, can it default to being ready to
edit when you click to make a new group?
* A language nitpick, the message on the group info window ... "What
did you expect to find here? ..." I dunno, seems a little
unfriendly?
* There seem to be some pretty annoying issues with the whole tree in
the drawer collapsing without my telling it to do so. For example,
have a group with folders in it, do the info on that folder to change
the regex, then when the changes get applied *poof* the tree
collapses. It has also collapsed at random times when I've switched
back to the desktop TM was on, though I cannot consistently reproduce
this, it just happens whenever.
* Any way to undo more than one character at a time? This is arduous,
though it may be difficult to implement without modes (ala vim).
* Dragging things around in the tree seems to be more painful than it
should. I'm not sure why, but I was trying to drag a folder such
that it would be below (but not nested in) another folder and I
couldn't get it to go. I became frustrated and deleted the reference
and re-added the folder. Anybody else experience this, or is it just
me?
Feature Requests
* Completions drawn from all open files, please?
* Auto un-dent things like (in Ruby) else, end, closing braces, etc?
The major issue for me is the collapsing of the tree that is going on.
Other than that this thing is pretty sexy. I enjoy the organization it
provides me and I look forward to the next release after this flood of
feedback you have recieved from the users. I'm confident that it will
be quite nice.
Thanks
-Scott
On Oct 6, 2004, at 3:24 AM, Allan Odgaard wrote:
> On 6. Oct 2004, at 12:17, timothy martens wrote:
>
>> 1. Preview in Browsers with the ability to add/remove browsers. I
>> love the built in Safari engine live preview, but can we harness
>> other User Agents' rendering engines as well?
>
> You can open the current page in a browser using the Commands. There's
> already one that assigns command-r to activate and refresh Safari.
This is not working for me. When I do CMD+R ()reload in Safari) --
Safari launches/opens my default home page not the document in Textmate
I'd like to preview? Does the script need to be modified? Anyone?
I'm aware of the "Reload in Safari" under COmmands, but it's not
loading the page I want to preview in the browser but rather my default
home page? Any written a script that does this properly (i.e., launches
browser and preview page)?
Regexp is great (yay for positive and negative look-aheads...wish there
was pos/neg lookbehinds, too, even if only fixed-width). However, it's
lacking a pretty important feature, IMO: character case manipulation in
the replacement.
I'd love a way to:
* Change the first character of the saved subexpression to
upper/lowercase.
* Change all characters to upper/lowercase until further notice.
I really lust for the folding feature of TextMate for Ruby work (and a
couple other features that BBEdit lacks) but the core isn't quite
there...yet :)
--
(-, /\ \/ / /\/
Sune Foldager wrote:
> UltraEdit has an option for permanently highlighting the current line,
> I don't know if that's the same as in BBEdit
Yes, it's the same thing.
> (maybe just a different background color in the gutter, so it doesn't
> have to take up more space).
I'm open to alternatives, and that sounds like a decent one to me.
Kind Regards,
-jeff
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6.10.2004, space aliens observed Tomas Jogin saying:
>>>I hope ftp-support is added soon, not just being able to edit a
>>>remote file, but actually being able to associate a project with an
>>>ftp account.
>>Is there any reason why you don't use an actual FTP application for
>>this? Interarchy has some awesome features for this kind of work.
>>What I do right now is this: For each Project in TextMate, I have an
>>FTP Disk in Interarchy. When I open a Project, I mount the FTP Disk.
>>Whenever I change something in TextMate, it's being uploaded
>>automatically to the FTP server.
>The reason I don't want to use an actual FTP application is that I
>don't want to incessantly switch between the editor and the
>ftp-application.
Using FTP disks, you don't have to. Of course, it's not quite as nice as
absolute automation, but it's pretty close. And it could probably be
totally automated using AppleScript by having a script that opens both
the Project and the Interarchy FTP disk.
Once both are open, you don't have to do anything in Interarchy anymore.
It will pick up on any changes you make in TextMate (or any other
application) all by itself.
>The interarchy feature you mention sounds pretty nice, and in fact
>I'll download Interarchy right now, because it does sound sweet, but
>having it integrated with the editor would be even better. By the
>way, something like that isn't possible with Transmit (which I
>currently use), right?
No, Transmit doesn't do anything like that as far as I know. FTP disks
are a unique feature of Interarchy.
lucas
- --
"These guys are pretty cool - even though they're sixty."
-- Beavis & Butthead (about Aerosmith)
-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.2.2
iQA/AwUBQWQkQLXYdom/dB2cEQKYdACgmZYdBNb4NtRTjweCzWyYU2vsbzIAoMQ9
GXF/o6AFjsPVB9hl2qW7VSjc
=S7Mp
-----END PGP SIGNATURE-----
Hey, I really like TextMate's features (especially the tabs and
project window). I'm just wonder if there is somewhere we can view the
projected timeline for the development of this app. I have 30 days to
evaluate it and I'd like to know what features will be up and coming
so I can determine if it will fit my needs and wants. Thanks.
-- jheyer
I'm a bit confused by this from the help book:
A regular expression which is used to identify the portion of text to
be styled. Example: "\\<(true|false)\\>".
How is this different from: "(true|false)"
in other words what are the < and > doing in the regex?
James.
The following two screenshots shows that TM's syntax engine gets confused
by / inside either heredocs or plain "" strings:
<http://www.keltia.net/download/slash1.pdf>
<http://www.keltia.net/download/slash2.pdf>
Cheers,
PS thanks to danp on #rubyonrails/freenode who found it.
--
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto(a)keltia.freenix.fr
Darwin snuadh.freenix.org Kernel Version 7.5.0: Wed May 12 16:58:24 PDT 2004
So I wanted to start associating most of my plain text files to open
in TextMate and I was hit with a big "bummer". It appears that .sql is
not an ending the TextMate developers had thought would be a text file
and thus, I get the blank icon instead of the nice TextMate Text
Document icon.
Is there a way to tell the Finder that I want the TextMate icon no
matter what the file extension?
Thanks,
Patrick
P.S. I'm fairly new on the OS X platform coming from Windows for the
past few years and the OS 7 and 8 before that.
So what we´d need is a dtd interpreter?
Implementing bbedit cmd-m style inserting should be fairly easy
to implement given two new features in the Commands implementation;
1. "TM_CURRENT_BLOCK" environment variable. (TextMate must know this
already to handle folding.)
and
2. "Select value from list, and insert at caret" Standard output, for commands.
this way, using Commands, we can pass '<div>', '<ul id="menu">','div'
or whatever from my hypothetical TM_CURRENT_BLOCK variable to an
external script and make that return newline separated valid tags for
that context.
"Select value from list.." output would then present the result in a
list, and allow you to insert your choice at the caret.
This said, what i´d REALLY love would be a SketchUp style ruby API for
extending the editor. (http://sketchup.com/forum/list.php?f=6)
hp.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6.10.2004, space aliens observed Joost Schuttelaar saying:
>>Others suggested the Interarchy application, which can make virtual
>>FTP disks, and I agree that it tends to be a very good solution. Try
>>it out if you need the integrated FTP! :-)
>40 bucks just to mount a FTP server seems a bit much to me...
Interarchy does a lot more than that. It's quite simply the best FTP
client on the Mac and the only FTP client that does everything I want an
FTP client to do. If you work with FTP (or SFTP or any of the other
supported protocols) regularly, you owe it yourself to at least check
out Interarchy.
lucas
- --
"Were you born worthless, or did you have to work at it?"
-- R. Lee Ermey as Sergeant Hartman in "Full Metal Jacket"
-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.2.2
iQA/AwUBQWReXrXYdom/dB2cEQIArACg50l79CTpZywgttCDzZd8EHa54+wAoMsj
7n1rsWF5X8WcY5/DDDVSzKMN
=nTm8
-----END PGP SIGNATURE-----
I'm using ProFont and coding in PHP (for today, at least).
I'm finding the anti-aliased text unusable on a white background. It's
all fuzzy and lacks definition. If I switch anti-aliasing off, any
emboldened keywords become unreadable, as ProFont doesn't really support
bold text.
The ruby colour scheme, which uses a dark background, doesn't seem to
suffer from this.
Any suggestions?
drew.
--
drew mclellan
http://allinthehead.com/
web standards project
http://webstandards.org/
I was poking around in the HTMl bundles and found an easy way to add
more elements that would fold (Marc asked about this).
Go to and edit:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
HTML.tmbundle/Syntaxes/HTML.plist
Line 34 and 35 are:
foldingStartMarker =
"(<(?i:(head|table|div|style|script|ul|ol|form|dl|p|li|a|select))\\>.*?
>|\\{)";
foldingStopMarker =
"(</(?i:
(head|table|div|style|script|ul|ol|form|dl|p|li|a|select))>|\\})";
I added the p,li,a, and select.
One thing to note is that a fold will only occur if an element takes up
multiple lines (one line wrapped will not fold).
Have Fun,
Eric Curtis
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6.10.2004, space aliens observed Sune Foldager saying:
>>2) I for one can never remember all the different versions of (X)HTML
>>and how you're allowed to nest tags in each version and what tags
>>have which attributes and so on.
>I think the best practice is to just write HTML like it was XHTML
>strict.. or at least transitional. That is, always end your tags,
>always end non-dual tags with /> and so on.
That's what I do, but it doesn't help me with the problems I mentioned.
>I think making TM into an editor which manages all the standards for
>you is a mistake. There is the w3.org site for checking the standards,
>and I think it's best if the person knows about it, not the program.
I write applications in Java, C#, Objective-C, C, C++, AppleScript, Perl
and some other languages. I write HTML, CSS, JavaScript, RSS and more
for several different web sites which use different versions of (X)HTML.
I'm afraid I don't work with HTML often enough to remember what
attributes were removed from which version of HTML, but I still want to
write valid HTML. Of course I validiate my sites with the HTML
validator. But even so I would like to have an editor that helps me
write corrent HTML in the first place by showing me what's allowed and
what's not while I actually write the code.
This is not a show stopper. TextMate is great even without such a
feature. But this feature would definitely help me a great deal and save
a ton of my time.
lucas
- --
"There is no more noble occupation in the world than to assist another human being - to help someone succeed."
-- Alan Loy McGinnis
-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.2.2
iQA/AwUBQWRAJrXYdom/dB2cEQJeGACgmlCeSc0p/4oUMK/C2/ToMlret/EAnA3L
Zl4ZH/30CZfRPBLj2UySf465
=4foR
-----END PGP SIGNATURE-----
Hi,
First of all, congratulations on a very impressive first release! I
think TextMate has great potential, but people should keep in mind that
it's only a 1.0 release. BBEdit (for example) has a 12 year head-start!
Give it some time.
I humbly submit these two small(?) feature requests which I haven't yet
seen on this list:
- An option to highlight the line containing the insertion point (a la
BBEdit 8).
- An option to "Indent wrapped lines by n spaces" (a la Xcode).
Both of these seemingly trivial things would make my coding life
(ObjC/Ruby) a bit easier.
Thanks for listening, and keep up the excellent work!
Kind Regards,
-jeff
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6.10.2004, space aliens observed Nick Hristov saying:
>>6. Context sensitive code completion that is included in skedit and
>>DW (XHTML/CSS are most importnat to me).
>In my opinion that is a bad idea. This will bloat the editor. XHTML
>and CSS are not all that hard to learn, and you can quickly learn by
>heart the properties.
Two thoughts:
1) It won't bloat the editor if the user can turn it off
2) I for one can never remember all the different versions of (X)HTML
and how you're allowed to nest tags in each version and what tags
have which attributes and so on.
Of course, it will take time to implement something like this, so the
question is whether there are enough people who want it.
TM Users wrote:
>Lucas, just in case you're not aware, that's exactly how skEdit
>operates
Well, the problem with skEdit is that I downloaded it about a month ago,
opened it, promply forgot about it and now can't open it anymore since
the demo has expired :-)
I'll try to get it running again.
lucas
- --
"Are you the boys that spray-painted my dog?"
"Uh, no, that was some other guys, huh huh."
-- Beavis & Butthead
-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.2.2
iQA/AwUBQWQyj7XYdom/dB2cEQLdoQCgw+JhPRFUH8WQMQl8s3TmBu2R9YMAoJD/
P54vyar6b9m9UFdt7qrRJN9S
=z5Lv
-----END PGP SIGNATURE-----
First of all, congrats on getting the app out. As an imminent
switcher, I have been looking for an ultraedit replacement.
I know the site says that Editing over Secure FTP is coming soon.
However is there a way to open and save documents over FTP. I did a
cursory search and couldn't find it. Any help would be appreciated.
Thanks,
Ron
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6.10.2004, space aliens observed Nick Hristov saying:
>Why not just do an ftp mount through the finder?
Because you can't write to a server mounted in the Finder.
lucas
- --
"It's dawned on me that Zero Tolerance only seems to mean putting extra police in poor, run-down areas, and not in the Stock Exchange."
-- Terry Pratchett
-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.2.2
iQA/AwUBQWQzC7XYdom/dB2cEQI3XQCg2/L1YMraapquMtP/8B8QPNL1GnEAn3YK
KUP8Ir+r6mMS2k8gXzczH66r
=d16D
-----END PGP SIGNATURE-----
Nick,
FTP Mount via the finder is read-only. That would be kinda
pointless for this application wouldn't you think?
On Wed, 6 Oct 2004 12:33:20 -0500, Nick Hristov <hrisnik(a)iit.edu> wrote:
> Why not just do an ftp mount through the finder?
>
> Nick
>
> On Oct 6, 2004, at 11:58 AM, Lucas K. Mathis wrote:
>
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On 6.10.2004, space aliens observed Tomas Jogin saying:
> >>>> I hope ftp-support is added soon, not just being able to edit a
> >>>> remote file, but actually being able to associate a project with an
> >>>> ftp account.
> >>> Is there any reason why you don't use an actual FTP application for
> >>> this? Interarchy has some awesome features for this kind of work.
> >>> What I do right now is this: For each Project in TextMate, I have an
> >>> FTP Disk in Interarchy. When I open a Project, I mount the FTP Disk.
> >>> Whenever I change something in TextMate, it's being uploaded
> >>> automatically to the FTP server.
> >> The reason I don't want to use an actual FTP application is that I
> >> don't want to incessantly switch between the editor and the
> >> ftp-application.
> >
> > Using FTP disks, you don't have to. Of course, it's not quite as nice
> > as
> > absolute automation, but it's pretty close. And it could probably be
> > totally automated using AppleScript by having a script that opens both
> > the Project and the Interarchy FTP disk.
> >
> > Once both are open, you don't have to do anything in Interarchy
> > anymore.
> > It will pick up on any changes you make in TextMate (or any other
> > application) all by itself.
> >
> >
> >> The interarchy feature you mention sounds pretty nice, and in fact
> >> I'll download Interarchy right now, because it does sound sweet, but
> >> having it integrated with the editor would be even better. By the
> >> way, something like that isn't possible with Transmit (which I
> >> currently use), right?
> >
> > No, Transmit doesn't do anything like that as far as I know. FTP disks
> > are a unique feature of Interarchy.
> >
> > lucas
> >
> > - --
> > "These guys are pretty cool - even though they're sixty."
> > -- Beavis & Butthead (about Aerosmith)
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: PGP SDK 3.2.2
> >
> > iQA/AwUBQWQkQLXYdom/dB2cEQKYdACgmZYdBNb4NtRTjweCzWyYU2vsbzIAoMQ9
> > GXF/o6AFjsPVB9hl2qW7VSjc
> > =S7Mp
> > -----END PGP SIGNATURE-----
> > _______________________________________________
> > textmate mailing list
> > textmate(a)lists.macromates.com
> > http://lists.macromates.com/mailman/listinfo/textmate
> >
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate
>
I've got a rough cut at XML and Java syntaxes done. They're available
in my Subversion repository[1].
[1] http://telly.bravo5.org/svn/repos/TextMate/
--
__ ____
/ / / __/ Brian Lalor
/ _ \/__ \ blalor(a)bravo5.org
/_.__/____/ http://bravo5.org/
Gread job so far, macromates!
Here is stuff to think about:
- AppleScriptability (pardon my ignorance, is it scriptable)?
- Gutter: use color lines as clues for start and end of code blocks
(steal that idea from jEdit :)
- Preferences? Editting bundles is an unpleasant hybrid between mac and
unix. (btw., in the short term you can create a "themes" part on your
website and place collections of bundles there ...
http://theexciter.com/ has a few already).
Did I say you have done great job? Hope you bury bbsoftware :)
Nick
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6.10.2004, space aliens observed timothy martens saying:
>Any plans for XHTML/CSS code hinting?
The main feature I use in BBEdit is the excellent CSS support. I can
easily create new CSS rules and find out what the correct syntax is.
Having something similar in TextMate would be great.
lucas
- --
"Wine makes a man more pleased with himself; I do not say that it makes him more pleasing to others."
-- Samuel Johnson
-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.2.2
iQA/AwUBQWP9YbXYdom/dB2cEQLbtQCfSFIHwQQnhvkV4wLeofsyYvhCQ4oAoJcz
GGzTM3zdpzqlZViEHYyrgj/T
=G/6W
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6.10.2004, space aliens observed David Heinemeier Hansson saying:
>SFTP support is planned for version 1.1. And unlike most editors that
>merely integrate with Transmit or other existing programs, the plan
>is to have support from within TextMate.
In addition to that, I would love to be able to use TextMate as an
external editor for other FTP applications like Interarchy.
lucas
- --
"It's that dude! The Grim Rapper!"
-- Beavis & Butthead
-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.2.2
iQA/AwUBQWP9d7XYdom/dB2cEQLKnwCgrkrvjjgRDIC60Zma4KHgtP3ghuAAnAzn
MOVzOXHw9DxirCVWlsFQxIAc
=5cmY
-----END PGP SIGNATURE-----
> On 6.10.2004, space aliens observed Tomas Jogin saying:
> >I hope ftp-support is added soon, not just being able to edit a
> >remote file, but actually being able to associate a project with an
> >ftp account.
>
> Is there any reason why you don't use an actual FTP application for
> this? Interarchy has some awesome features for this kind of work. What I
> do right now is this: For each Project in TextMate, I have an FTP Disk
> in Interarchy. When I open a Project, I mount the FTP Disk. Whenever I
> change something in TextMate, it's being uploaded automatically to the
> FTP server.
The reason I don't want to use an actual FTP application is that I
don't want to incessantly switch between the editor and the
ftp-application. I just want to hit a shortcut key to upload the
document I'm currently editing and that's it. Often times, I have many
documents open at once, which reside in different directories. If I
used a separate FTP-application, not only would I have to switch to
it, but I'd also have to traverse to the right directory, on both the
server and the client, and then upload the file in question -- instead
of just hitting a keyboard shortcut in the editor and that's it.
The interarchy feature you mention sounds pretty nice, and in fact
I'll download Interarchy right now, because it does sound sweet, but
having it integrated with the editor would be even better. By the way,
something like that isn't possible with Transmit (which I currently
use), right?
Thanks for the tip on Interarchy, but the feature request still stands. ;-)
Best regards,
Tomas Jogin
Is there a command to revert a file to it's saved state? It'd be
easier than closing the file (declining to save my changes) and then
re-opening it.
--
__ ____
/ / / __/ Brian Lalor
/ _ \/__ \ blalor(a)bravo5.org
/_.__/____/ http://bravo5.org/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6.10.2004, space aliens observed Tomas Jogin saying:
>I hope ftp-support is added soon, not just being able to edit a
>remote file, but actually being able to associate a project with an
>ftp account.
Is there any reason why you don't use an actual FTP application for
this? Interarchy has some awesome features for this kind of work. What I
do right now is this: For each Project in TextMate, I have an FTP Disk
in Interarchy. When I open a Project, I mount the FTP Disk. Whenever I
change something in TextMate, it's being uploaded automatically to the
FTP server.
I'm not sure what exactly the plan is as far as TextMate's FTP support
is concerned, but if you need this right now, Interarchy can provide it.
lucas
- --
"I know why the caged bird sings."
-- Maya Angelou
-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.2.2
iQA/AwUBQWPyRbXYdom/dB2cEQKDKwCgkipEKndn+Kkz1AActqloXvdqHdEAoJ9d
FqtQbXhGio8J7wAmxllYQYIz
=3Cho
-----END PGP SIGNATURE-----
Hi,
Many congratulations on the release. TextMate is truly impressive
stuff.
I certainly wouldn't want to start any holy wars already, but I've
written a small comparison of TextMate and my current daily editor,
SubEthaEdit, that might be of passing interest.
<URL:http://www.lowerelement.com/Geekery/Mac_OS_X/TextMate_vs_SubEthaEdit.ht…>
As others have already observed, for programmers, an editor is the one
piece of software in near-constant use, and deciding to switch to a new
editor is a big, very personal, deal. I never could appreciate BBEdit
in the way that many others do -- for me, TextMate is already streets
ahead of BBEdit in terms of comfort. There are things about
SubEthaEdit I'd sincerely miss, however, despite the excellent
additional features offered by TextMate. The 30-day trial (and what I
suspect will be a fairly aggressive release schedule of improvements)
are very welcome in making that decision.
Cheers,
Andrew.
--
::
article seven Andrew Green
automatic internet andrew(a)article7.co.uk | www.article7.co.uk
Well, maybe I do. Just experimenting with TM and dropping files on an
open window to see how it handles things. Everything pretty much
everything opened as I expected until I dropped one file and got:
setting up accounts.rtfd/
1__#$!(a)%!#__smile.tiff
1__#$!(a)%!#__smile.tiff.tiff
smile.tiff
smile.tiff.tiff
TXT.rtf
wink.tiff
wink.tiff.tiff
Haha. The file in question was a cut and paste from a conversation that
Dean and I had via iChat. Crazy stuff.
So I'm not sharing silliness for no gain, what exactly am I seeing
here? Why is TM only registering the embedded smiley graphics and not
the text itself?
– Damelon
Well done guys. I came, I saw, I bought.
TextMate has delivered most of what was promised by the hype that
preceded the long-anticipated launch. I now look forward to its ongoing
development.
First impressions have been very impressive.
Allan
Hi TexMaters!
Forgive the rudimentary nature of the question...
Wondering how snippets work. For example, the "a href tag" snippet
which inserts "<a href="$1">$2</a>" has a trigger of "ahref"
But when I type "ahref" in an html document it does not seems to
trigger the snippet? What am I missing?
-t
TextMate 1.0 is finally here!
We know that the wait has been excruciating and the longing unbearable,
so we’re incredible proud and relieved to finally be able to say: It’s
here!
=> http://macromates.com/release
It's okay to rush for the download now. You can come back to read the
rest of this later...
TextMate was born out a personal frustration with the lack of a decent
editor for code and markup on OS X. So TextMate is first and foremost a
relief for that personal frustration. An editor that we could use to
write C++, Ruby, PHP, HTML, CSS, JavaScript, and any other programming
or presentation language.
But as all of you that signed up for this mailing list showed us, we
were not alone with our frustrations. The anticipation for the release
has really been overwhelming, so we're extremely happy to finally
deliver.
That said, this is a 1.0 release. There will be rough spots, there most
certainly will be bugs that our extensive testing hasn't found yet, and
there will be features missing that you'd wish were there. Hopefully,
though, what is there will be promising enough that you'll feel
comfortable jumping on board from the start.
So instead of raving endlessly about what is there (go to the site for
that), we're going to tell you what it still lacks:
* Good defaults for more languages (1.1)
Currently, only real love has been given to Obj-/C/C++,
Ruby, HTML, and CSS. Hopefully, you guys will help us
bring the same level of support to other languages.
* Editing over Secure FTP (1.1)
Work on files residing on another machine using Secure FTP.
* Integrate with CVS/Subversion (1.2)
Check-in, check-out, check-in, check-out. Why don't we sing
that song from within the editor?
As you can see, we're planning to address those points in near-future
point releases that will be free upgrades to all who register version
1.0 of TextMate.
We respect your right to try before you buy, so for 30 days you can
enjoy a completely unrestricted version of TextMate -- without forced
delays at start up or anything like that.
What we would appreciate, though, is that you register TextMate as soon
as you decide it's something for you. We're currently building TextMate
on a 733mhz G4. It takes 45 minutes for a complete build. It's very
painful and has been slowing down development considerably. The first
registrations will go towards getting a dual G5 -- so we can deliver
TextMate 1.1 even faster!
Sincerely yours,
Allan Odgaard & David Heinemeier Hansson