August 7, 2017 at 3:20 am #533331
Every time I open an html file I see validation errors from the angular’s tags.
This is en example on a simple ng-if:
“Undefined attribute name (ng-if).”
Why?August 7, 2017 at 8:13 am #533344
If you are working with AngularJS and including its directives in a HTML file, then the HTML validator marks AngularJS syntax as warnings. To avoid HTML warnings on AngularJS syntax, disable the HTML Syntax Validator on the project (right click on the project > Properties > Validation,uncheck ‘HTML Syntax Validator, close and reopen the files from the editor.)
Please check this tutorial for more details about AngularJS validation: https://www.genuitec.com/products/myeclipse/learning-center/web/angularjs-overview/
If you are still seeing problems, please share with us steps you followed to create the project to help us replicate the problem at our end. If possible, please also send us the .zip of the project for further investigation.
Apologies for inconvenience caused.
MyEclipse SupportAugust 9, 2017 at 3:02 am #533620
Hi, I am using webclipse on eclipse oxygen but the autocomplete feature I see on that guide is not working properly.
There is no autocompletion on ng- tags for example.
I have webclipse but in the properties of my project, under the validation option, there is no HTML Angular syntax validator.
Differently from what I see in the picture below, I only see HTML Syntax Validator.
Why? Thanks. (Usint angular 1.5.x)
PS: I even disabled the HTML Syntax Validator but I still see the warnings.August 10, 2017 at 4:37 am #533740
is there someone who can help here please?
it is pretty annoying to have an Angular IDE that isn’t able to autocomplete an ng-if…August 10, 2017 at 4:50 am #533742
Sorry that you are still seeing issues.
It looks like you are working with older version of Angular i.e 1.5. We need more details about how you have created the project and send us the .zip of the project to help us replicate the problem at our end. If possible send us a screenshot of the line in the editor where the content assist is not working.
MyEclipse SupportAugust 10, 2017 at 7:04 am #533749
Hi, I can’t send the zip file of the project, that code is under copyright.
Yes, I am using Angular 1.5.
The project was scaffolded with Yeoman using Bower for the frontend deps and NPM for NodeJS deps.
Grunt is used as build system.
I have attached the screenshot of one of the files that contains that errors.
I haven’t created a new angular project because I used yeoman and the project was created before I started using webclipse.
Can I convert my current project to something that webclipse understand as an angular project?
- This reply was modified 6 months, 1 week ago by sblantipodi.
Attachments:You must be logged in to view attached files.August 11, 2017 at 1:32 pm #533897
I will be upfront and say that that Angular IDE is designed for Angular 2+ development, not AngularJS development. As you can see, we do have some AngularJS functionality as well, but over the last year, our focus has been Angular 2 and later versions only. All the features mentioned on our Angular IDE portal as well as listings refer to Angular 2 functionality only, and I sincerely apologize if that wasn’t made clear; I’ll be taking this up with our content team.
Our devs will take another look at the issues you’re experiencing with the errors, and the defunct content assist, to see if there is a quick fix or workaround that could be applied – I will keep you posted.August 30, 2017 at 8:55 am #535214
I know that this is a vacation period but don’t forget about me please 🙂September 7, 2017 at 3:38 am #535879
is there any news here.
is there someone who use Angular 1.5.x and have code completion/validation on the angular tags?September 7, 2017 at 10:14 am #535918
The dev team is looking into it. We will keep you posted about the fix soon.
Thank you for your patience.
MyEclipse SupportJanuary 28, 2018 at 8:57 am #549559