- This topic has 8 replies, 2 voices, and was last updated 20 years, 8 months ago by
Riyad Kalla.
-
AuthorPosts
-
gbradtMemberHi,
How can I get rid of the yellow swiggly lines of javascript functions in my jsp pages?Thanks in advance.
SangeethaOctober 11, 2004 at 10:22 am #217368
Riyad KallaMemberProbably turn off HTML validation. Either on a per-project level (Project Properties > MyEclipse-Validation > uncheck HTML validation) or do it from Window > Preferences > MyEclipse > Validation > uncheck HTML validation.
October 11, 2004 at 10:55 am #217377
gbradtMemberHi Riyad,
The hml validation is already turned off. But the yellow lines don’t go away.October 11, 2004 at 11:11 am #217380
Riyad KallaMemberIf you hover over them, what are the messages given? Did you try closing/reopening the page? Did you try cleaning/rebuilding your project?
October 11, 2004 at 1:23 pm #217394
gbradtMemberI do not get any message when I hover over them. Closing/opening does not help. Building also does not help.
October 11, 2004 at 1:25 pm #217395
Riyad KallaMemberDo you have a yellow box marker in the right margin? What do you get when you mouse over that? Are you sure you are opening your pages using a MyEclipse editor? Try and right click > open With> and make sure a MyEclipse editor is the default.
October 11, 2004 at 1:32 pm #217396
gbradtMemberYes, I am opening it with MyEclipse. The yellow boxes gives some vague errors like “Multiple annotations found at this line” etc or invalid..bla bla. The other thing I noticed was that if I have <script language=”JavaScript” type=”text/javascript”>in my jsp and then have javascript functions the swiggly line is just restricted to the script language text. But If include something like header.jsp which has the <script language=”JavaScript” type=”text/javascript”> and then have functions in my jsp page, then the swiggly lines show up. Now, is there any way I can set the preference to turn off the lines in myeclipse preference for javascript
October 11, 2004 at 2:32 pm #217400
Riyad KallaMemberCan you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.
Also please give the snippet of code, and how your files are setup so I can reproduce this locally.
October 12, 2004 at 12:36 am #217426
Riyad KallaMemberAlso can you try right clicking in your package explorer going down to MyEclipse and selecting “Remove validation warnings”, see if that does it (we had a bug a long time ago that resulted in sticky warnings… we are wondering if its back 🙁
-
AuthorPosts