You found a bug! We've classified it as DSGNR-2436 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Apr 2012
    Location
    Karlstad Sweden
    Posts
    25
    Vote Rating
    0
    mikael.lofstedt is on a distinguished road

      0  

    Default warning sign red or other color, comfusing...

    warning sign red or other color, comfusing...


    hi

    Usually when I miss a semicolon I get a red sign with a !.

    Now it´s sometimes another color.

    I think it´s better to just have red,
    and if the other color is just recomendation,
    it´s something wrong,

    two example:

    console.log('hello); - not give any red sign. in the 1 it got alot of red signs when missing '.

    localStorage.setItem('bana', record.get('bana'); not any red sign,
    but another color and info: expected '(' and instaed saw ';', mising semicolon.

    if(a < 5)
    {
    b = 6;
    }*/

    gives nothing for the '*/'

    please check this out.

    / Mike

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,165
    Vote Rating
    119
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    One is a warning, one is an error.

    You are correct about the code snippet:
    Code:
    if(a < 5)
    {
       b = 6;
    }*/
    It should definitely be giving you an error that you are trying to close a comment that hasn't been started. We will upgrade JSHint to get this new feature.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Location
    Karlstad Sweden
    Posts
    25
    Vote Rating
    0
    mikael.lofstedt is on a distinguished road

      0  

    Default


    hi

    Thanks for your reply.

    I have some more if statment error,
    and it´s a red sign.

    And when I reopen the document,
    it´s no error.

    I have one for example a request,
    but now it should not happen every time.
    So if I add an if before,
    I get the error, but nothing is wrong.

    I have 10 screenshot as example.
    Now I started to see this on the first Architect.

    I think it´s just comfusing with different colors,
    no need for information.
    It should have an 'i' instead of '!'.

    / Mike

  4. #4
    Sencha User
    Join Date
    Apr 2012
    Location
    Karlstad Sweden
    Posts
    25
    Vote Rating
    0
    mikael.lofstedt is on a distinguished road

      0  

    Default


    hi

    No need to get information during writeing a line that it´s missing some signs.
    I know that the end ')' is missing when writing console.log('Hello_world

    Please remove that til next time.

    / Mike

Thread Participants: 1