facebook

Disable Javascript Validator on MyEclipse 2013

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #341335 Reply

    minhur
    Member

    I’m not able to turn off Javascript Validators on my project.

    I have these settings checked:

    MyEclipse > Validation >
    – Checked Suspend all validators
    – Unchecked everything under Manual/Build

    MyEclipse > Files and Editors > JavaScript > Validators
    – Unchecked Process JSDoc
    – Unchecked Enable JS semantic validation

    On my project’s Builders setting
    – Unchecked Javascript Validator
    – Unchecked Validation

    And yet, after setting these and doing build > clean, and refresh,
    Javascript errors are still surfacing on Problems tab.

    Is there a way to complete turn them off?

    #341336 Reply

    minhur
    Member

    The Project also has these facets

    – Dynamic Web Module
    – Java
    – JavaScript

    #341337 Reply

    minhur
    Member

    Basically I want the ability to turn off JavaScript Facet while keeping Dynamic Web Module.

    It seems that even though I only checked Java and Dynamic Web Module, Javascript Facet is checked by default. I don’t mind it being on, I just want validations to stop pestering me

    #341338 Reply

    minhur
    Member

    Nevermind, I was able to figure it out,
    I’ve turned on Facet Capability and only checked Dynamic Web Module and not javascript.

    Consider this topic closed

    #341339 Reply

    support-swapna
    Moderator

    minhur,

    Glad that you got it resolved.
    Do let us know if you see any issues.

    #341344 Reply

    minhur
    Member

    Reopening this thread.

    My workaround fixed on Windows enviornment, but it seems to still be happening on a Mac.

    So I would like the ability to turn off javascript facet for my project but keep the Dynamic Web Module on a Mac

    steps to reproduce are.
    1) have a project with some bad js code, such as function 1sds() {
    2) convert project to faced form by
    MyEclipse> Project Facets > Convert to Faceted Form
    3) Check ONLY Java and Dynamic Web Module
    4) after the build, the javascript file still reports an error

    #341345 Reply

    minhur
    Member

    It seems to only work if I’ve disabled all validation before hand, which I forgot to do on a Mac.
    Is this still a bug? I feel like I found a workaround but it’s horrible that it’s giving me Javascript errors that are not correct (since JS error reports are not accurate)

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Disable Javascript Validator on MyEclipse 2013

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