facebook

Disabling validation for templating engine tags

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

    electrotype
    Participant

    Hi,

    I’m using Pebble as a Java templating engine to generate my HTML pages. It uses the {# comments #} format to insert comments. I’d like to be able to add such comments inside script tags without getting validation errors :

    Is there a way to prevent those parsing errors?

    • This topic was modified 7 years, 9 months ago by electrotype.
    #490942 Reply

    support-swapna
    Moderator

    Hi,

    I have filed a bug report for the dev team to look into the validation issue for templating engine tags.
    We will get back to you soon with the fix information.

    Apologies for inconvenience caused. Thank you for raising it.

    –Swapna
    MyEclipse Support

    #492467 Reply

    support-swapna
    Moderator

    electrotype,

    You can now configure to allow Pebble syntax during validation with the Webclipse 2016 CI 5. Please go to Help > Check for Updates and update to CI 5.

    Go to Window > Preferences > JavaScript > Validation. Expand ‘JavaScript in HTML Options’ and set ‘Allow Pebble syntax’ to True. Perform the full validation to apply the changes.

    You can also configure the ‘Allow Pebble syntax’ at project level. Right click on the project > Properties > JavaScript > Validation > check ‘Enable project specific settings’ and set ‘Allow Pebble syntax’ to True.

    Hope this helps. Let us know how it works for you.

    –Swapna
    MyEclipse/Webclipse Support

    #492475 Reply

    electrotype
    Participant

    I have to admit I’m very impress about how quick you add that feature. Wow.

    Thanks!

    #492480 Reply

    support-swapna
    Moderator

    electrotype,

    Thank you for the compliments. I have passed them to the team.
    Let us know if you see any issues.

    –Swapna
    MyEclipse/Webclipse Support

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Disabling validation for templating engine tags

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