5
Ist es möglich, js2-mode als Javascript-Modus mit nxhtml zu verwenden?Ist es möglich, js2-mode als Javascript-Modus mit nxhtml zu verwenden?
Ist es möglich, js2-mode als Javascript-Modus mit nxhtml zu verwenden?Ist es möglich, js2-mode als Javascript-Modus mit nxhtml zu verwenden?
Nicht nach dem Autor von js2-Modus.
Von the source:
;; This mode does not yet work with "multi-mode" modes such as mmm-mode
;; and mumamo, although it could possibly be made to do so with some effort.
;; This means that js2-mode is currently only useful for editing JavaScript
;; files, and not for editing JavaScript within <script> tags or templates.
und g-d Hilfe Sie, wenn Sie Ihr Javascript in eine einzeilige Bookmarklet in js2-Modus konvertieren - die Syntax-Hervorhebung (oder so ähnlich) wird Ihre CPU töten. Der Js2-Modus ist sehr Task-spezifisch. –
ps: js-mode ist jetzt in emacs23, es ist wahrscheinlich die, die Sie wollen. – Cheeso