facebook

How can I get rid of the yellow swiggly lines of javascript

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #217361 Reply

    gbradt
    Member

    Hi,
    How can I get rid of the yellow swiggly lines of javascript functions in my jsp pages?

    Thanks in advance.
    Sangeetha

    #217368

    Riyad Kalla
    Member

    Probably 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.

    #217377

    gbradt
    Member

    Hi Riyad,
    The hml validation is already turned off. But the yellow lines don’t go away.

    #217380

    Riyad Kalla
    Member

    If you hover over them, what are the messages given? Did you try closing/reopening the page? Did you try cleaning/rebuilding your project?

    #217394

    gbradt
    Member

    I do not get any message when I hover over them. Closing/opening does not help. Building also does not help.

    #217395

    Riyad Kalla
    Member

    Do 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.

    #217396

    gbradt
    Member

    Yes, 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

    #217400

    Riyad Kalla
    Member

    Can 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.

    #217426

    Riyad Kalla
    Member

    Also 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 🙁

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: How can I get rid of the yellow swiggly lines of javascript

You must be logged in to post in the forum log in