Live data from Hacker News

TextMate 2

old.nabble.com

151–160 of 164 posts

Re: TextMate 2

#151
post #120

I really liked the web preview of TM1. But its gone in this version of TM2. :( No other editor has this functionality, except maybe espresso[1], but I don't really like their solution. Nor am I that happy with http://livereload.com/ as it only updates on save. As a front end dev, I want a live preview in my editor that autoupdates on each key press, this makes prototyping so much faster. I guess its time to start wor…

Try out Coda by Panic. IMHO the best editor out there. http://panic.com/coda

Coda is nice to look out. But compared to other editors it's years behind. Now I know Panic is working on Coda 2. But I'm not betting the farm on that. Considering Coda has been out for like 5 years. Sure they've released minor updates to keep the current version running on Lion (and bug fixes) but Panic hasn't address anything else really. I could write a LONG list of missing options and features (Like no CSS3 support for one).

And it's damn expensive; $100.00 when emacs is free. Look if you are going to charge for an editor, you better make sure it stays with the times. Something Coda has not.

Re: TextMate 2

#154

Has anyone figured out how to stop the font from resetting? I know he said it was in tm_properties, but I'm not sure how to set this.

Got it - .tm_properties goes in your home folder, wasn't sure if this was project specific. Example contents:

fontName = "Bitstream Vera Sans Mono"

fontSize = 16

tabSize = 2

softTabs = true

Re: TextMate 2

#156

Earlier quoted context omitted.

Sure. A live preview window is a web preview window that is attached to another window (or buffer I suppose). The live preview window is basically a web browser window that auto-updates on each keypress from the attached editor window. Espresso and Chocolat have this functionality, but it looks like these editors simply refresh the whole page on every keypress. This constant refreshing causes a flicker on each keypre…

I looked into doing this for Chocolat a50, but I couldn't figure out how to do it. It's clearly possible to update a single resource without doing a full reload, because the Web Inspector does it. The iframe idea is interesting. I'm not sure why it would be any less flickery, since it seems equivalent to what we do now: get the -mainFrame and call -loadHTMLString:baseURL: on it.

I don't know much obj-c (yet), so I'm not sure how similar you say Chocolat is to the iframe injection solution, but you can see it in action here:

http://jsbin.com/#javascript,html,live

There is no flickering. If you could implement this into Chocolat I would use it everyday :)

Re: TextMate 2

#157

Earlier quoted context omitted.

Character-by-character undo is actually the reason I first started using Textmate. Most of the time, I don't want the editor to guess what I want to undo, I want it to undo each individual keystroke and action I made.

Seriously? That's why there are different kinds of Undo for different key combinations in serious text editors.

Yes, seriously. It's a personal preference. Is the second part of your comment intended to imply TextMate isn't a serious text editor?

Re: TextMate 2

#158

Earlier quoted context omitted.

Seriously? That's why there are different kinds of Undo for different key combinations in serious text editors.

Yes, seriously. It's a personal preference. Is the second part of your comment intended to imply TextMate isn't a serious text editor?

Yes, that's my general viewpoint.

TM is just something "good enough" for people not wanting to go full on to either Vim/Emacs or an IDE. People one would call "newbies" back in the day.

Re: TextMate 2

#159

Earlier quoted context omitted.

Yes, seriously. It's a personal preference. Is the second part of your comment intended to imply TextMate isn't a serious text editor?

Yes, that's my general viewpoint. TM is just something "good enough" for people not wanting to go full on to either Vim/Emacs or an IDE. People one would call "newbies" back in the day.

That sounds awfully like something someone would say if they were trolling. I'm going to assume you weren't.

There are many things I've found I like in TextMate that Vim can't do - character-by-character undo, for example.

Re: TextMate 2

#160
post #74

Earlier quoted context omitted.

You should add Tramp to your list--I don't think textmate has anything like it and it's extremely useful. You can open a remote file or shell as easily as opening the same locally; my coworkers don't even notice that I'm editing files remotely!

TM2 seems to have a similar function. Haven't tried installing on the server side though. Edit: Here it is... http://erniemiller.org/2011/12/12/textmate-2-rmate-awesome/

That seems similar. However, for Emacs, you don't have to install anything on the remote computer--it uses scp by default, I think. It also supports different protocols; for example, you can use it to edit files, browse directories or run shells with sudo.
Post reply on HN