help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any hints for JavaScript development?


From: Jason Foreman
Subject: Re: Any hints for JavaScript development?
Date: Sat, 30 Apr 2016 00:13:17 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (darwin)

Marcin Borkowski <mbork@mbork.pl> writes:

> are there any JS developers here who could share their knowledge/Emacs
> setup?  There seems to be a few JS modes out there, and some things are
> not clear to me.  For instance, it seems that the features of js2-mode
> and flycheck overlap (I don't use either yet): does it make sense to use
> them both?  What are the auto-completion options (besides plain vanilla
> Emacs or things like ivy/helm/icicles and e.g. company)?  Any other
> hints?  (I guess I should probably look at skewer-mode; any others?)

Spacemacs' layer for javascript is a good starting reference:

https://github.com/syl20bnr/spacemacs/blob/master/layers/%2Blang/javascript/packages.el#L12

While there may be some small overlap between js2-mode and flycheck
you'll most likely want them both: js2-mode gives you font lock and
indentation and potentially some syntax checking, but flycheck can hook
into a wide array of external tools that go beyond what js2-mode
provides.

Tern + company-tern appears to be the way to go for semantic
autocompletion, unless you're using Flow or Typescript in which case
those can also provide completion via their packages.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]