1

我正在使用 Eclipse 4.3.1 开发一个新的 Node 项目,并且我已经安装了 Nodeclipse 0.10.0。在 nodeclipse.org 网站上,有一张图片显示了一些带有描述等的代码提示。我需要帮助来完成这项工作,因为我在没有这些提示的情况下编码时遇到了麻烦,因为这是我的第一个 Node 项目。谢谢

4

2 回答 2

0

Nodeclipse has code hint with description (for JSDT Editor since 0.10, for TextEditor based Editor since 0.9) only for base Node.js modules.


(source: nodeclipse.org)

It is accessible with Ctrl+Space or Alt+/(for right hand)

Code completion without icons comes from completion.json that can be overwritten.

For other modules there is completion.json extended structure proposed:

{
    "completions": [
        {
            "trigger": "mymodule.doit();",
            "type": "method", // maybe also "event", "class" or "property"
            "name": "mymodule.doit",
            "desc": "the only method in some imaginary module"
        }
    ]
}

I am the author of advanced code hints in Nodeclispe (and lead the project currently). I will work on integrating such additional code hint metadata in Nodeclipse, but I will not work on creating such .json files. So it is matter whether there will be volunteers to work on specific modules support.

For any further questions and proposal create issue on GitHub.

于 2014-02-23T11:39:48.287 回答
-1

我在让 eclipse 为 web 项目工作时遇到了很多问题——比我发现的要多

  1. 崇高 - http://www.sublimetext.com/(免费)
  2. 来自 JetBrains 的 Webstorm http://www.jetbrains.com/webstorm/ ($$)
于 2014-02-21T17:50:33.557 回答