Bugs in marking of identifiers more than 30 characters long

Claus Pedersen

Member³
By mistake I write:
IF myFunctionWithALongNameMyVariable)
and the identifier is marked as being too long. This is OK.

Now I add the missing opening paranthesis before MyVariable, so the line becomes:
IF myFunctionWithALongName(MyVariable)

The identifier is still marked as being too long. This is obviously wrong, as the function name is now only 23 characters long.

This also applies when e.g. a dot(.), percent(%) or other allowed PL/SQL delimiter is inserted (except semi-colon(;))

Please correct this.

Also the following minor errors are still present (my priority):

If I manually type an identifier
local_variable_that_is_way_too_long
the marking works.

1. If I use refactoring/rename, nothing is marked.

2. If I copy-paste something into the middle of an identifier string, nothing is marked, even if the length now exceeds 30 characters.

3. If I use search/replace, nothing is marked, even if a variable name now exceeds 30 characters.

4. If I delete the last letter, the marking disappears, despite the fact that the length of the identifier is still too long.
 
Update (version 10.0.3)

From the 10.0.3 error correction:
Long identifier marks did not always disappear after correction
If I now write:
IF myFunctionWithALongNameMyVariable)

the marking disappears when the last closing paranthesis is typed. The marking should stay in place.
Now the marking seems to disappear when any delimiter (space dot, comma, paranthesis etc.) is typed?

I can not see that any of the additional errors have been corrected.
 
Back
Top