Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Localizing tags in html
Localizing tags in html [message #547791] Mon, 19 July 2010 15:49 Go to next message
Marc Chamberlin is currently offline Marc ChamberlinFriend
Messages: 27
Registered: July 2009
Junior Member
Hello -

I will preface this by saying if the answer to my questions is
documented somewhere, please point the way, I am willing to try an grok
on my own. ;-)

I am new to the world of Eclipse and admit it is daunting to try an
understand it all.. That said, I am trying to bring a fairly large
project into the Eclipse-Helios IDE that involves a mixture of
Javascript, JSP, HTML, and PHP. Working on a Linux system. One issue
that I am struggling with -

Many of my Javascript files include small HTML segments which are found
in their own .html files, and they contain a lot of localizing tags. Is
there any way for me to teach the HTML parser about localizing tags? -
<l10n> ... </l10n> I am getting zillions of warnings about these,
the complaint about them being unknown tags..

Thanks in advance for any suggestions and offers of help!

Re: Localizing tags in html [message #549502 is a reply to message #547791] Mon, 26 July 2010 21:42 Go to previous message
Nick Sandonato is currently offline Nick SandonatoFriend
Messages: 126
Registered: July 2009
Senior Member
Hi Marc,

Unfortunately, we don't have any way for you to define your own tags outside of getting into some code and writing an extension to add your own tags.

We do, however, have an enhancement request open looking for very similar functionality:

You can modify the severity that "Unknown tag names" will be reported with by going to Window > Preferences. Navigate under Web > HTML Files > Validation and choose Ignore for "Unknown tag name" under "Elements". This does have the unfortunate side effect of not catching unknown tag names that are actually unknown.
Previous Topic:Does eclipse has a feature of auto usage finder on selecting a part of code ?
Next Topic:WTP with Spring and Tiles 2
Goto Forum:

Current Time: Tue Oct 27 13:53:05 GMT 2020

Powered by FUDForum. Page generated in 0.04125 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top