TypeCobol icon indicating copy to clipboard operation
TypeCobol copied to clipboard

Completion should propose all leaf variables?

Open smedilol opened this issue 6 years ago • 3 comments

With this kind of syntax:

       01 Person typedef strict.
         03 Names.
           05 LastName  pic X(30).
           05 FirstName pic X(30).
         03 BirthDate type Date.
      01 Person1 type Person.

When you ask for completion after: move Person1:: you only get:

Names
BirthDate

Shouldn't it be better to have all leaf variables as well?

Names
Names::LastName
Names::FirstName
BirthDate

So someone who don't know the structure doesn't have to look at its definition.

smedilol avatar Apr 19 '18 13:04 smedilol