This is the second part of my series of articles describing how to make Emacs a great JavaScript development environment. This time we’ll focus on getting good auto-completion with type inference. If you haven’t read it yet, you should jump to the first post first to get things started. Setting up Tern & company-mode for auto-completion Tern is a great tool once setup correctly. It parses JavaScri
There’s a lot that can be done to make Emacs a great tool for JavaScript development. So much that I had to split it up into several posts. In this first article we’ll see how to setup js2-mode and two other packages that rely upon it: js2-refactor and xref-js2. Emacs comes with a major mode for JavaScript named js-mode. While it is a good major mode, we’ll be using js2-mode instead, an external p
coffee-mode-bufferで CoffeeScriptを JavaScriptにコンパイル した際に, CoffeeScriptのカーソル位置に対応する JavaScriptの ポイントにジャンプできるようになりました。 sourcemapをインストールする https://github.com/syohex/emacs-sourcemap sourcemap.elは sourcemapのデコーダです. コンパイル時に sourcemapを出力して、それを sourcemap.elでパースして, 最も近い位置を探して, その位置にポイントを移動させます. sourcemap.elは MELPAからインストールできます. 設定 coffee-args-compileに '-m'を追加して, sourcemapを生成する ようにします. そして coffee-after-compil
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く