简体   繁体   English

Angular js内容有助于Eclipse中的Java模型/实体

[英]angular js content assist for java models/entities in eclipse

Hej. HEJ。 Is there any plugin that w'll auto complete java models/entities and their attributes in angularjs layer editor? 是否有任何插件可以在angularjs图层编辑器中自动完成Java模型/实体及其属性? Fe I have java model class: Fe我有java模型类:

class User {
    int id;
    String name;
  }

If I will type editor form in angularjs like this: 如果我要在angularjs中输入编辑器形式,如下所示:

   <div ng-app="">
        <p>Name : <input type="text" ng-   model="User.name"></p>
        <h1>Hello {{User.name}}</h1>
    </div>

I Would like to eclipse give me suggestion of that model. 我想让我对这个模型有所建议。 is it something like that out there? 那里是那样的东西吗?

I think it doesn't exists a such plugin. 我认为它不存在这样的插件。 But if you write the well AngularJS JavaScript with controller which registers in the $scope user JavaScritpt variable with name and id properties, AngularJS Eclipse can support this completion type. 但是,如果您用控制器编写了不错的AngularJS JavaScript,并在$ scope用户JavaScritpt变量中注册了具有名称id属性的控制器,则AngularJS Eclipse可以支持此完成类型。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM