facebook

Can't turn off JavaScript validation with the 2.0 release

  1. CodeMix & Angular IDE
  2.  > 
  3. Getting Help
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #599436 Reply

    aforsell
    Participant

    I have unchecked JavaScript in Preferences > CodeMix > Languages > Project Validation
    but I still get validation errors from CodeMix.
    This was not a problem in the previous release < 2.0.

    Regards,
    Anders

    • This topic was modified 6 years, 1 month ago by aforsell.
    #599442 Reply

    support-swapna
    Moderator

    Anders,

    The Project Validation page settings are for files which you do not have them opened in the editor. So if you have disabled the JavaScript under Project Validation then you would see validation errors only when you open the JS file in the editor.

    To turn off validation for JavaScript files, please go to Preferences > CodeMix > Settings > User Settings, enter javascript.validate.enable in the filter box and set the value to ‘false’. This will turn off the validation for javascript irrespective of whether the file is opened in the editor or closed.

    Hope this helps. Please let us know how it works for you.

    –Swapna
    Genuitec Support

    #599447 Reply

    aforsell
    Participant

    Yes that helped!

    Thanks,
    Anders

    #599448 Reply

    support-swapna
    Moderator

    Anders,

    Glad that it helps.
    Please let us know if you see any other issues with CodeMix 2.0.

    –Swapna
    Genuitec Support

    #599449 Reply

    Brian Fernandes
    Moderator

    Anders,

    1) Instead of User Settings, you might want to use the Workspace Settings node (Preferences > CodeMix > Settings > Workspace Settings) so that this setting is a bit more limited in scope, and you don’t use this facility for all your workspaces.

    2) We’re curious to know what your use case is – are you editing JavaScript files and you don’t like the live validation, or are yous seeing validation errors appear in your project for JS files that haven’t been touched? Why do you want to turn it off?

    Just trying to understand so we can improve CodeMix behavior. Appreciate your time, thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Can't turn off JavaScript validation with the 2.0 release

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