Hacker GitHub

← All repos

mooz/js2-mode

View on GitHub ↗ ★ 1,333 Emacs Lisp

Improved JavaScript editing mode for GNU Emacs

11 mentions on Hacker News by 9 people: 1 story, 10 comments · first 2011-10-31 · latest 2019-08-29

Mentions per year 11 mentions · busiest year 2012 (3)
20082026
  1. …out, especially if you use React/JSX. Had many issues wrestling with indentation in previous setup. https://github.com/mooz/js2-mode/blob/master/README.md#react...
    comment by declank · 2019-08-29 · in Emacs 26.3
  2. ▲ 4
    Js2-mode ((improved) JavaScript mode for Emacs)
    story by tosh · 2018-11-24 · 0 comments
  3. …js2-mode illustrates that such a parsing approach is no guarantee of real-world accuracy either. https://github.com/mooz/js2-mode/issues The goal just shifts from having a semi-accurate regexp tokenizer, to having the language mode's…
    comment by mbrock · 2016-01-29 · in How I fixed a bug in Atom
  4. …all cases. You need a full parser for that to happen, most mode authors don't bother[0]. JS2-mode ( https://github.com/mooz/js2-mode/ ) does that (or attempts to). Most syntactic colorisers are souped-up tokenisers, not actual parsers. It…
    comment by masklinn · 2016-01-29 · in How I fixed a bug in Atom
  5. …story here[2], and you would see that lack of threads in elisp hindered its development. [0]: https://github.com/mooz/js2-mode [1]: https://github.com/magnars/js2-refactor.el [2]: http://steve-yegge.blogspot.com/2008/03/js2-mode-new-javascr…
    comment by PuercoPop · 2014-08-31 · in Taking it to Th’emacs
  6. …js ast with full recognition of Ecma-262 language standard and exposes ast for use in other pugins https://github.com/mooz/js2-mode/blob/master/js2-mode.el 11k amazing loc
  7. …a compromise--intelligence at the cost of weird behavior. Now there is no compromise at all. [2]: https://github.com/mooz/js2-mode
    comment by tikhonj · 2012-04-23 · in Open sourcing all my private projects
  8. …Since you are an emacs user, you may want to try mooz's community fork of Yegge's js2-mode https://github.com/mooz/js2-mode Haven't tried it myself, but you may also want to look at Moz Repl in emacs. http://www.emacswiki.org/emacs/MozRepl…
    comment by malandrew · 2012-02-04 · in Ask HN: JavaScript Dev Tools
  9. …It is awesome. [1]: Original version: http://code.google.com/p/js2-mode/ [2]: Improved (IMO) fork: https://github.com/mooz/js2-mode Additionally, you can configure JS[HL]int to use flymake[3]. The trick is to improve performance by having…
    comment by tikhonj · 2012-01-24 · in Javascript Best Practices
  10. The fork of js2-mode at https://github.com/mooz/js2-mode will catch that, as will js3-mode.
    comment by thomblake · 2011-11-02 · in How One Missing `var` Ruined our Launch
  11. …other things js2 does, helps prevent a whole host of annoying JavaScript issues, as I type. [1]: https://github.com/mooz/js2-mode
    comment by tikhonj · 2011-10-31 · in How One Missing `var` Ruined our Launch