You need to sign in to do that
Don't have an account?
applesauce
Unknown Tag (Apex:Page) errors in IDE
Is there some way to turn off the 'Unknown Tag' warnings in the IDE? Every time I edit an apex page or class it's covered with yellow squiggly lines, which is really annoying.
I've tried going through the preferences screen but haven't found anything yet.
I'm using the Spring 09 release of IDE.
Thanks Jon
I think I found a setting that will work. In General > Editors > Text Editors > Annotations
Select 'Warnings' in the Annotation Types list, and uncheck the 'Text as' checkbox.
That seems to have removed the yellow squiggles, but still allows auto complete to work.
All Answers
The Visualforce editor in the Force.com IDE does not yet support code assist for Visualforce tags. The current editor is actually based on the Eclipse HTML editor, which is why it provides code assistance for HTML tags. Unfortunately, the trade off for HTML tag completion is that Eclipse puts warning indicators on unknown elements such as Visualforce tags.
Some of the squiggly lines may be due to the spell checker, which can be disabled from Eclipse Preferences under General > Editors > Text Editors > Spelling.
We'll investigate whether there's a way to turn off these warning messages at the code level for the Visualforce editor, until such time as we add full Visualforce support.
Thanks Jon
I think I found a setting that will work. In General > Editors > Text Editors > Annotations
Select 'Warnings' in the Annotation Types list, and uncheck the 'Text as' checkbox.
That seems to have removed the yellow squiggles, but still allows auto complete to work.