jcaillon / 3P

3P (short for Progress Programmers Pal), is a notepad++ plugin designed to help writing progress 4GL (OpenEdge ABL) code. It transforms notepad++ into a full featured IDE for openedge code editor, providing syntax checking, compilation, auto-completion, tool-tips and much more!
https://jcaillon.github.io/3P/
GNU General Public License v3.0
80 stars 35 forks source link

On save, "function prototypes - synchronization done" continually adds function prototypes #297

Closed gdavisnl closed 2 years ago

gdavisnl commented 2 years ago

Is there a way to turn this feature off?

On save, 3P shows this message and adds the function prototype image (19)

It does this on each save so the same prototype is added multiple times to the top of the file, proto

How can i turn off this feature? I'm essentially using 3P for code hinting and formatting.

jcaillon commented 2 years ago

Yes there is an option:

image

But I suggest to fix your code instead, you are missing a special pre-compile block to indicate the list of function prototypes like so:

image

since you are using other other &ANALYZE-xxx keywords 3P is assuming you are using a file compatible with the procedure editor of progress thus it expects this section. This also probably means that your progress file no longer works in the app builder, so be aware of that.