Code-completion assistance query

Robert_Wilson

New Member
Hi All,

Just wondering if there is a way so that when typing a partial variable name and pressing CTRL + SPACE to activate the code-completion assistance it also shows variables defined within internal procedures?

I imagine this is due to the fact you can define a variable in the definitions and also have one defined with the same name in an internal procedure so you might not know which one you are selecting but this isn't something that we do and would like to have internal procedure definitions appear here.

Thanks,
 

Cringer

ProgressTalk.com Moderator
Staff member
I presume you're talking about PDSOE here? What version of Progress? I've not actually had this issue before.
 

Osborne

Active Member
As Cringer points out this works as expected and the attached images show this:
  1. PDSTest1.png - Variables defined for the whole procedure and the internal procedure are listed.
  2. PDSTest2.pmg - Only variables defined for the internal procedure are listed because they have the same names as the variables defined for the whole procedure.
Are you finding that this is not working for you?
 

Attachments

  • PDSTest1.png
    PDSTest1.png
    20.9 KB · Views: 7
  • PDSTest2.png
    PDSTest2.png
    21.8 KB · Views: 7

Robert_Wilson

New Member
I presume you're talking about PDSOE here? What version of Progress? I've not actually had this issue before.
Yeah PDSOE. I'm currently using 11.7.

As Cringer points out this works as expected and the attached images show this:
  1. PDSTest1.png - Variables defined for the whole procedure and the internal procedure are listed.
  2. PDSTest2.pmg - Only variables defined for the internal procedure are listed because they have the same names as the variables defined for the whole procedure.
Are you finding that this is not working for you?

Strange. When I create a fresh .p it seems to work okay but in this procedure I was doing some work on it doesn't.
 

Attachments

  • Screenshot_20221213_144822.png
    Screenshot_20221213_144822.png
    28.4 KB · Views: 7

Osborne

Active Member
That is odd. I am also currently using 11.7 and tried a few different .p's and .w's and always works. Cannot explain this.
 

Cringer

ProgressTalk.com Moderator
Staff member
Yeah PDSOE. I'm currently using 11.7.



Strange. When I create a fresh .p it seems to work okay but in this procedure I was doing some work on it doesn't.
It's possible it's broken preprocessors. As you're not using the AppBuilder anymore you don't need the AppBuilder preprocessor stuff anymore so can happily just delete all that junk.
 
Top