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.
-
Sencha User
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
-
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.
-
Sencha User
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
-
Sencha User
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