MarkusAmshove / natls

Language Server implementation for the Natural 4GL programming language
MIT License
13 stars 3 forks source link

Analyzer could flag numbered labels (old style labels) #367

Open Claes65 opened 1 year ago

Claes65 commented 1 year ago

eg. ESCAPE BOTTOM (0123) - as opposed to ESCAPE BOTTOM (RD.)

This is important because the numbers can change implicitly when you add or remove lines from a source. And this can lead to merge conflicts.

(nnnn) in comments should ideally also be flagged. They change implicitly as well.

We can't do for copycodes, but any other modules we can check.