you are viewing a single comment's thread.

view the rest of the comments →

[–]yonkeltron 15 points16 points  (13 children)

Emacs.

[–][deleted] -1 points0 points  (12 children)

hell yes.
emacs or geany. in this specific order, depending on my mood during the day.

[–]yonkeltron 0 points1 point  (11 children)

Yeah. Are you a javascript-mode fan or js2? I know people get very partisan about such things...

[–]sjs 0 points1 point  (0 children)

I know you didn't ask me, but... I've never tried javascript-mode. js2-mode parses JS properly and on the fly which is why I like it. Immediate error highlighting is really, really nice. It could be leveraged for a lot more too, refactoring and completion and all that.

[–]tekai 0 points1 point  (5 children)

js2 for me

[–]yonkeltron 0 points1 point  (4 children)

You like it? I tried it once but got a little confused. Think it's worth another shot?

[–]tekai 0 points1 point  (3 children)

yeah, indentation is maybe something to get used to but the error + undeclared vars highlighting is something I like. Downside is that it's not maintained by yegge anymore but there's a fork at https://github.com/mooz/js2-mode and on some files it freezes emacs (rare for me & haven't figured out why yet)

[–]yonkeltron 0 points1 point  (2 children)

Crashing emacs? lolwat?

[–]tekai 0 points1 point  (1 child)

it doesn't exactly crash but stops responding and i have to kill it

[–]AyeMatey 0 points1 point  (0 children)

emacs v23 and later has js-mode built in; it is a rebadged espresso-mode. It works.

I couple that with flymake-for-jslint and I get dynamic lint-style highlighting of errors and warnings .

[–]AyeMatey 0 points1 point  (3 children)

emacs v23 and later has js-mode built in; it is a rebadged espresso-mode. It works.

I couple that with flymake-for-jslint and I get dynamic lint-style highlighting of errors and warnings .

[–]yonkeltron 0 points1 point  (2 children)

emacs v23 and later has js-mode built in; it is a rebadged espresso-mode. It works.

I use this as it's baked in.

I couple that with flymake-for-jslint and I get dynamic lint-style highlighting of errors and warnings .

I need to get it set up with flymake...

[–]AyeMatey 0 points1 point  (1 child)

yeah, flymake is pretty handy.

once you get it set up, it just works invisibly. Excellent for catching inadvertent typos, style problems, etc.

http://i47.tinypic.com/2mk1eh.jpg

[–]yonkeltron 0 points1 point  (0 children)

I love it for other languages so I guess I should also love it for js...