facebook

Warnings highlight as syntax errors after 8.21 update

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

    matthewbaldwin
    Participant

    The 8.21 update was just applied on my machine, and now warnings (such as trailing whitespaces) are now being displayed as though they are syntax errors (with red underline and a red lightbulb on the side with the code line markers). Is there a way to change this back so that it is highlighting yellow again?

    #621346 Reply

    Brian Fernandes
    Moderator

    Matthew,

    This seems to be a change in your linting settings, which the update should not have affected at all, so definitely strange to have this happen post update.

    1) I’m assuming you’re talking about TypeScript or JavaScript, can you confirm the language?
    2) Were you seeing these same issues as Warnings earlier, or were you not seeing them at all?
    3) If TypeScript, can you go to Preferences > CodeMix > Extensions > TSLint and see if, Always Show Rule Failures as Warnings is checked? If not, check it and re-open your editor to see if the issue is fixed.
    4) If #3 does not help, can you send us the tslint.json (TypeScript) or eslint.json (JavaScript) files from your project’s folder? That should be where the severity for these issues can be set.

    Apologies for the inconvenience caused, hope to be able to resolve this in short order.

    #621382 Reply

    matthewbaldwin
    Participant

    The issue was #3 in what you listed. Thank you for your assistance.

    #621455 Reply

    Brian Fernandes
    Moderator

    Matthew,

    That’s a preference that shouldn’t have been touched by the update, not sure how it was flipped in your case. We ran some tests and couldn’t replicate it locally, but will continue to investigate further. Thank you for writing back and letting us know!

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Warnings highlight as syntax errors after 8.21 update

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