3P icon indicating copy to clipboard operation
3P copied to clipboard

Handle undefined but still referenced object

Open ccleaud opened this issue 9 years ago • 2 comments

Hi,

Considering this piece of code:

CREATE tt_someting.
ASSIGN tt_something.field_something = 42.
RELEASE tt_someting.

Shouldn't 3P able to know that tt_someting is a buffer / table / temp-table / work-table even if its type is not defined? I think 3P should also propose this il it auto-completion list, with a '?' icon because of unknown type.

Thanks for taking this case into account, it will be very helpful.

Regards, C.CLEAUD

ccleaud avatar Dec 30 '15 08:12 ccleaud

I can't think of a case where it would happen. Aside from an include file with this piece of code?

I need to assert the performance lost in the parser before answering. Your suggestion implies comparing every keyword of the file with knows keywords; i doubt it will have a light impact. I'll keep you updated, please answer my question tho :)

jcaillon avatar Dec 31 '15 13:12 jcaillon

It could benice to hav this feature when an include is missing in the PROPATH.

ccleaud avatar Jan 04 '16 23:01 ccleaud