facebook

Disable warning in webclipse

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

    sblantipodi
    Participant

    Hi all,
    I have a promise.

    runningPromise.then(function (res) {
      deferred.resolve(res);
      }).catch(function (error) {
        deferred.reject(error);
      });

    eclipse shows me this warning
    Cannot use keyword catch as identifier

    How can I disable this unuseful warning?
    Thanks

    #559354 Reply

    support-swapna
    Moderator

    Davide,

    Sorry that you are seeing this issue.

    Are you seeing the warning in a TypeScript file or a JS file?
    I see the problem in a JS file at my end and unfortunately there is no way to disable/turn off the said warning message. I have raised a bug for the dev team to fix it. We will keep you posted when the fix is out.

    Apologies for inconvenience caused.

    –Swapna
    MyEclipse Support

    #559357 Reply

    sblantipodi
    Participant

    Thanks for the answer. I have this problem using Javascript.
    Ok I will wait the fix, it crashes my project since it’s full of this warning.

    Please keep me posted.

    Thanks.

    #559360 Reply

    support-swapna
    Moderator

    Davide,

    Can you please clarify whether the project is not running due to the warnings? If the project runs fine, then please clarify about the project crash you mentioned.

    Also please refer to this thread which discusses similar problem and check if any of the suggestions help:
    https://stackoverflow.com/questions/25774628/is-the-catch-method-name-of-js-promises-a-invalid-since-its-a-js-keyword

    –Swapna
    MyEclipse Support

    #559370 Reply

    sblantipodi
    Participant

    I’m sorry I used the wrong word. It doesn’t crash my project, it runs without problems
    but webclipse shows so much warnings that crashes my eyes.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Disable warning in webclipse

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