1

为 JS 文件编辑器设置 Code Formatter Preferences 很容易,但是 Nodeclipse Node.js 文件编辑器呢?

4

1 回答 1

1

从 Nodeclipse 0.9 开始,.njs 文件的默认编辑器是基于 TextEditor 的。它没有高级功能,除了Window -> Preferences -> Editors -> Text Editors.

右键单击 .njs 文件并选择Open with -> Nodeclipse JSDT-based Editor. 然后你就拥有了在 JavaScript 下的 Preferences 中找到的所有这些功能(包括格式)。

Nodeclipse 基于 JSDT 的编辑器将在 Nodeclipse 0.10 中恢复为 .njs 文件的默认设置

于 2014-01-21T07:52:16.700 回答