A cool addition to the folding would be to draw some form of connector
between the start of the fold and the end, not in the margin, but actually
within the code, then not only do you get an indication of which folding
markers belong together, you also get a nice indication of where ifs and
loops end, which if they are very long is quite tricky, (even if the
indenting is correct). The Actionscript editor SEPY does something like
this, but it runs like crap on the Mac.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Hi,
I know I'm being anal about this, but then again I am a mac user, but
I'm not really sure I like the bold for the folders in the
projectdrawer. They are already plenty visually marked with the
standard mac os folder icon, no need to bold up the text, in fact,
this is probably the first application where I've seen this (afaik).
I'm also not too sure about the file-texts being ~80% black, but that
I can live with, it's just the boldness of the folders that's a little
too much!
If you do want them to be like that, and I'm the only one bothered by
it, would it be possible for a way to turn them off? (preferably with
a defaults write)
-- johan
I've now spent a couple of weekends writing code with TextMate, which
is I
think enough time to understand its way of working. Some of the things
I like
most about it come from the language syntax bundles, which are really
powerful and flexible. That's a great feature and a real selling point.
Typing close characters for me: nice. Auto-completion: nice. C++ class
templates: nice. I like the spare look, no stinkin' toolbars cluttering
stuff up and distracting from my all-important data.
Love the new tab look in b7. (Maybe a tad darker to set them off more
from their background? Eh, maybe not.) Also love the sharp new approach
to drawing the selection. Much more readable!
Inevitably, I have suggestions. Users, they're so annoying that way!
Most of my suggestions have to do with searching. TextMate doesn't feel
quite right, yet.
(I've scanned a bunch of the previous messages to the list, but not
enough to be sure these weren't discussed already. Apologies if I'm
repeating the past.)
- Keyboard accelerator for "replace and find next". For the love
of god, Montresor!
- "Find the selection" action, with keyboard accelerator. (Yes, it can
be macroed, but why should I have to macro such an important action?)
- Scroll the text to keep the cursor in the "hot zone" when possible.
E.g., if you have to scroll to make the result of a search visible,
scroll enough to put the new selection in the middle of the screen.
Repeated find-nexts though large files always seem to end up for me
with the selection on the bottom-most line, with no context visible.
Yuck!
- For extra points, place the selection where it won't be hidden by
the Find dialog, which is often covering up the text. (But you're
going
to add a replace-and-find-next accelerator, so the Find dialog won't
be shown so often and this won't matter as much. Right?)
- Bigger fields in the find/replace dialog, please! Try copying some
text that spans multiple lines and pasting that into the find field.
Hard to deal with, yes?
- Whole word matching option, please, controlled by a checkbox on the
find
dialog. I often want this without wanting the bother of writing a
regular expression every time.
- Multi-file search outside of project groups, please! Minimal
implementation searches all the files in a particular directory with
optional descent into subdirectories. This is a switch-blocker for me,
and I bet it would make lots of other people happy.
More controversially:
You're probably sick of hearing this, but please reconsider adding
an app preferences dialog. It will do two things for you:
- It will clear out rarely-changed items that are currently
cluttering your menus.
- It will make clear which preferences are app-wide, and which
ones are settings for the current document.
- Bonus: your app will feel more Mac-like than it does now.
Remember, it does me no good to have easy access to stuff I set once,
then never ever change again.
As I think about that suggestion and fiddle with things, I begin to
realize
that TextMate doesn't have per-document settings, and that the
appearance of
having them is a bug. For instance, open two documents. Turn on text
wrapping
in one. Note that only the selected document at the time you change the
setting is affected. This leads you to believe that wrapping is a
document
setting. But if you quit TextMate and restart, suddenly all documents
are
getting text-wrapped. Whoops.
I would suggest that some choices should be saved with the document, as
part
of its state (cursor position, selection, wrap, font choice, etc). Those
settings belong in menus. Consider making anything you expect the user
to
change often part of the document state. Any setting that affects all
documents probably belongs in a preference dialog, tucked out of the
way.
I can argue this the other way, that adding document state is more
trouble than it's worth. BBEdit does it, and I like it. Soft line wrap
in
particular is something that I definitely want on some documents and
definitely don't want on others. Worth thinking about, anyway.
Boy, I got longwinded. Hope at least some of this is helpful.
Thanks for making such a solid editor, and hope you enjoy that new G5!
--ceej
hi,
sorry to say that but new tabs doesn't pop to the eye like the old
ones...with the old ones the selected one was instantly seen because it
was blue....
what's your opinion about that?
olivier
Hi there,
My fingers are itching to get the latest beta, as everyone raves
about, but I can't seem to download it. TM itself says "Remote file or
URL was invalid" when checking from within the app, and I can't
contact the macromates website either.
Could some kind soul make 1.01b7 available somewhere, pretty please?
Oh, and Allan et al. TM is the first editor I ever paid for (been
using a mix of vim, SEE, and Smultron so far).
Cheers,
Jonas
A few more suggestions on minor issues:
- Chunk up undo actions. E.g., undo shouldn't undo a bunch of typing
by single letters, but instead by the whole typing episode.
- When I'm selecting big ranges of text, and I've moved the mouse to
or beyond the top or bottom of the page, scroll to reveal more text
and extend the selection.
- Selecting lines is funky with lines that consist of only a newline.
For instance, triple-click to select a line that's part of a block,
then sweep the cursor down. The selection will "stick" above the first
blank line, then snap down to grab that and the first non-empty line
as
you sweep downward. What if I want to grab a block with its trailing
whitespace and move the whole thing? I can't.
- Tiny bug: To reproduce this, cut or delete some selected text, then
undo the cut. The restored text is selected, good. Now move the cursor
with an arrow key: doesn't move as expected! It seems to be offsetting
from the middle of the selection, instead of from the bounds. This
happens
if you make a selection and copy it, as well.
--ceej
TM 1.0.1 B7 (which I just downloaded) feels really nice. The new tabs
I'm experimenting with feel and look nice, the added preferences are
great, and everything just feels a lot more refined.
SO MANY of the "gripes" and "deal breakers" mentioned on this list have
been nailed by Allan, and the app feels much better for it.
Applause.
Justin
Here's an idea (stolen from BBEdit):
A dialog of some sort that appears when running long shell scripts would be
very useful, I have one that runs a compiler, which can take several minutes
and I might want to cancel it rather than wait for the script to timeout.
Chris
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
To what extent is TM applescriptable?
Is it at least possible to somehow replicate this chunk of script re TM?
tell application "BBEdit"
set theSelection to the contents of selection
end tell
I'm wanting to use TM with the PHP Function Index from artis:
http://www.artissoftware.com/phpfi/
bongoman
Is it possible to get more encodings in the "Open with encoding..." entry
in the menu please? The system's list is pretty long (maybe too long) but
having at least Latin9 (ISO-8859-15) would be nice for us Europeans :-)
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
Hello,
When reindenting code, I usually doubleclick on the whitespace to the
left on the first word on the line. I'm expecting the whitespace only
to get highlighted, TextMate highlights all the whitespace and the
first word. Very annoying!
//johan
Allan,
I've found a bug with mirror typing in that I seem to be able to get stuck
in mirror typing mode. It seems related to how many tab completions there
are, if I tab all the way through them and then press tab one more time then
mirror typing is cancelled, but if I ignore one of them then the file in
question gets stuck with mirror typing on and some very odd things happen
(like multiple copies of whatever text Im typing appearing on the same
line). Once in this weird mode the line upon which the mirror typing was
initially active seems to remain in this mode, other lines in the same file
are fine, hitting tab again seems to kill it off.
I reckon there are a couple of possible solutions to this seeing as how it
is difficult to tell when the user wants to abandon mirror mode and return
to normal, you could use a key press to cancel the mode, like escape for
example, and you could supplement that with some form of user feedback about
which mode you are in, an icon in the status bar or something would be
useful, or I guess you could just improve your rules for automatically
figuring out which mode the user is in.
Anyway, just thought you should know, keep up the good work, the betas are
looking great!
Chris Jenkins
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
First: I´m delighted and impressed with the frequency of
beta-releases, A joy checking for updates every night :)
On Beta6 it was really nice to see the interface improvements. Border
on the gutter, and a elegant wrap-line really, makes a difference.. So
much so, that I instantly made replacements for the folding widgets.
Based on my previously released mock-up; The arrow-directions are more
visible, and the ellipsis got a minor tweak to work better on dark
backgrounds. It still looks a bit messy when a document has many
foldings, so I included a set of light arrows which I propose to use
on level 2 and below.
Differencing background-color of the folding column from the rest of
the gutter, would also be nice.. I believe :)
My files are available on the following address:
http://homepage.mac.com/hpeikemo/AlternateFolding_1710.zip
hp.
Is there any way to disable the double click open thing?
Since double click the the finder-way to open files, Whem I want to
open a file (with TM), I often double click the drawer items instead of
single clicking them.
With the new "open with finder" feature/bug, I end up launching
subethaedit and jedit accidently all the time.
I want to be able to insert separators in the project drawer. For
example, when I create a rails project, I have the following roots:
- controllers
- models
- helpers
- views
- javascripts
- stylesheets
- rails
I want to use separators to be able to view them as follows:
- controllers
- models
- helpers
- views
-----
- javascripts
- stylesheets
-----
- rails
I guess I could use groups or something, but I prefer to avoid nesting,
otherwise I'd just do it with the rails dir and nothing more.
I'll most likely be releasing 1.0.1 later today, and I'll try to ship
it with all user submitted bundles.
So if you've made changes or you have something you haven't published,
please add it to the wiki [1]. When there are multiple bundles for the
same language, be sure to add comments to why (or merge them ;) ) so
that I can quickly get an overview of this stuff.
I'm planning to include all syntax highlight files in the
"SharedSupport" folder of TextMate, so these will be available
out-of-the-box. And then I'm also adding an external "support" folder
to the disk image, where bundles are located which contain more than
just syntax highlight files, which the user can then double click to
get that extra support (TextMate will merge the default bundle with
syntaxes with the installed bundle that contain the added
functionality).
I'd hoped 1.0.1 would have had better bundle management from within
TextMate, but this will take a little more time, and I think it's about
time the 1.0.1 update was released -- this also means that some of the
other things some of you may have been expecting for 1.0.1 didn't make
it. Don't worry, I do write down every suggestion I get, so there's no
need to re-send your feedback, at least not if I replied to it.
Kind regards Allan
[1] http://wiki.macromates.com/
Create a file test.as, open this in TextMate.
Type: if (x = y)
After typing y, using the mouse to move the caret outside of the
closing bracket hangs TextMate. This doesn't happen if you use the
right arrow key.
(This may only happen with my ActionScript bundle installed: haven't
tested this with any of the other ones).
On 16. Oct 2004, at 20:15, Max wrote:
> I'm developing a web application in PHP. Is there any chance to work
> on a php page, and then see if it works through
> http://localhost/mypage with a command? Just like F12 from
> Dreamweaver... Or do I have to switch to Safari and click on the
> bookmark I made?
I don't know what Dreamweaver does on F12, but you can do a command
like this:
open `echo $TM_FILEPATH | sed
"s|.*/$USER/Sites/\(.*\)|http://localhost/~$USER/\1|"`
Before running command: probably save ;)
Input/output: none/discard
If you are editing a page named:
/Users/max/Sites/project/page.php
It will open Safari (if default browser) and point it to:
http://localhost/~max/project/page.php
And you can of course assign F12 to this command.
Kind regards Allan
P.S. Generally send these type of questions to the mailing list:
http://lists.macromates.com/mailman/listinfo/textmate
Hi,
I've put money where my mouth is and created a PList bundle:
http://www.os3.nl/~jeroen/tm/plist_tm.tar.gz
It contains a syntax highlighting file for syntax highlighting ASCII-PList
files and a template file (with some comments and pointers).
Jeroen.
Hi,
I'm having a bit of a trouble to match a '.' which is part of a string
surrounded by " ".
I've tried: (?=\".*)\.(?=.*\".*$), but this doesn't seem to work.
Can anyone please help out?
Regards, Jeroen.
Hi,
Could the path in the file shell variables (e.g. TM_SELECTED_FILE) be
surrounded by "" if necessary? Currently it doesn't work if there are
spaces in the path.
Jeroen.
I just did a beta 5 build, this has preliminary support for the
discussed drag commands (although the GUI editor didn't make it to beta
5).
I'm thinking about calling them "Anchors", any objections?
I unfortunately broke reformatting in beta 4 (and didn't make a fix in
beta 5), the problem is that paragraph selection in soft wrap was
changed, so it won't find the paragraph automatically (if soft wrap is
enabled). Either select it manually or disable soft wrap (cmd-option-w)
temporarily. Slightly related is also that when at the begin/end of a
paragraph, selecting the paragraph selects too much.
Kind regards Allan
Hi,
We can, in a project, create a new file using a template. We can of
course customize/create new template(s), but as they are located in the
application packet, we have to re-do the job every time the application
is upgraded (every night in fact:).
Could we have customized templates stored in :
~/Library/Application Support/TextMate/Bundles/Custom.tmbundles,
side-by-side with Macros and Snippets?
Or could we save "template" files "as stationery"
--
Jo <W:00°04'37" ; N:47°15'36">
1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72
Hi All,
(Is there|Will there be) an option in TM "Save as..." dialog box to
set document's creator?
i.e. when we edit an old BBEdit *.txt file, change encoding and line
ends through the "Save as..." dialog box, we also could change creator
to "TxMt" (or choose any application in a scrolling menu)
(in fact, as what happens in BBEdit "Save..." menu)
Have a nice day,
--
Jo <W:00°04'37" ; N:47°15'36">
1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72