It's great to see such weekly improvement of this product!
Smart typing is almost incredibly cool. I like the 'no doubling if there's text in front' and the 'surround selection with braces' is awesome... I was about to try to write a macro or command to simulate this.
Issue 1. Documents with syntax highlighting disabled don't have smart typing turned on, regardless of setting. I assume this is a little bug and not intended behavior.
Issue 2. If I'm typing in the middle of the ()'s, I still have to right-arrow over the last ) to get to the rest of the typing. Am I supposed to be able to Tab out of the braces somehow? Otherwise, it's not really saving me a keystroke since -> and ) are about equally hard for me to hit.
Alpha under OS9 had an interesting implementation of this, where they used bullets like • to mark tab stops; then when you hit Tab, you knew you were jumping to the next bullet...
- Eric
On 25. Oct 2004, at 22:38, Eric Hsu wrote:
Issue 1. Documents with syntax highlighting disabled don't have smart typing turned on, regardless of setting. I assume this is a little bug and not intended behavior.
The problem is that there are no defined pairs. For example HTML has < and > as pairs but not ' and ' etc.
So IMHO pairs really need to be explicitly stated. But I'll consider adding a way to set the default pairs.
Issue 2. If I'm typing in the middle of the ()'s, I still have to right-arrow over the last ) to get to the rest of the typing. Am I supposed to be able to Tab out of the braces somehow?
Currently there is no such "accelerator" -- what I do is have cmd-return do "move to end of line and return" and cmd-shift-return do "move to end of line, insert ;, and return". That way, most of the time I won't even have to skip over the auto-inserted closers.
Otherwise, it's not really saving me a keystroke since -> and ) are about equally hard for me to hit.
hehe... on a Danish keymap something like } is at option-shift-9, so definitely easier with right-arrow ;)
Alpha under OS9 had an interesting implementation of this, where they used bullets like • to mark tab stops; then when you hit Tab, you knew you were jumping to the next bullet...
Sounds useful -- I'm definitely open for inserting tab stops, since I can then probably combine smart typing and snippets, and snippets need visual placeholders as well... but this is currently not on top of my list though.
Kind regards Allan
Allan Odgaard wrote:
Currently there is no such "accelerator" -- what I do is have cmd-return do "move to end of line and return" and cmd-shift-return do "move to end of line, insert ;, and return". That way, most of the time I won't even have to skip over the auto-inserted closers.
Allan, is this something that should work now, or does it need some configuration?
I like the sound of cmd-shift-return :)
drew.
On 26. Oct 2004, at 1:16, Drew McLellan wrote:
Currently there is no such "accelerator" -- what I do is have cmd-return do "move to end of line and return" and cmd-shift-return do "move to end of line, insert ;, and return". That way, most of the time I won't even have to skip over the auto-inserted closers.
Allan, is this something that should work now, or does it need some configuration?
It needs "configuration" in the form of recording it as macros:
· option-cmd-m (start macro recording) · cmd-left (move to end of line) · type ; and return · option-cmd-m (stop macro recording) · ctrl-cmd-m (save scratch macro, give it a name and the key equivalent cmd-shift-return)
Similar for the version which doesn't add ; at the end of the line.
Kind regards Allan
The problem is that there are no defined pairs. For example HTML has < and > as pairs but not ' and ' etc.
So IMHO pairs really need to be explicitly stated. But I'll consider adding a way to set the default pairs.
I'd make a set of basic pairs for when you just want to type some basic text out. () [] '' "" etc
Has anyone run into this issue:
You have a project open, with multiple files and folders. You switch to another program, and when you switch back to TextMate, the all of the panels in the project panel are closed.
I run into this all of the time, and it drives me crazy.
I am using launchbar to switch between apps, but I don't know if that has anything to do with it.
mike
Mike,
This is likely to be the "refresh bug" I complained about a couple of days ago. http://one.textdrive.com/pipermail/textmate/2004-October/000919.html
It was introduced in 1.01ß2. According to Allan, it has now been identified and will be fixed soon.
Dominique PERETTI http://www.lachoseinteractive.net
(OFF TOPIC : Mike, you'll be interested in this :http://wiki.macromates.com/textmate/show/ Compile+your+actionscript+project+from+TextMate ) ;-)
On 26 oct. 04, at 06:54, Mike Chambers wrote:
Has anyone run into this issue:
You have a project open, with multiple files and folders. You switch to another program, and when you switch back to TextMate, the all of the panels in the project panel are closed.
I run into this all of the time, and it drives me crazy.
I am using launchbar to switch between apps, but I don't know if that has anything to do with it.
mike
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/mailman/listinfo/textmate