Getting jQuery and AngularJS content assist / auto-complete in eclipse for standalone HTML "file" -
i have followed steps described here adding autocomplete functionality eclipse.
in after installing jsdt plugin, have create project, add plugin js resource. have found 2 weird things:
- i can autocomplete have included no jquery library in html
- i cannot autocomplete html file created explicitly in notepad , opened in eclipse. example in screenshot above in tempq.html can autocomplete in angularjsexp.html open in tab , not part of project cannot autocomplete jquery when enter
$().
also how can similar autocomplete angularjs in eclipse. read somewhere using jsdt can autocomplete functionality angularjs too. possible?
angularjs eclipse gives completion angularjs (directive name (ng-app, ...), modules, controllers, expression on $scope model). based on tern.java provides jquery plugin benefit jquery (after configuring angularjs nature in project, can select jquery tern module on project properties tern -> modules).
Comments
Post a Comment