Page 1 of 1

menuitem: Help/Prolog Foundation Classes does not work

Posted: 7 Feb 2024 10:02
by B.Hooijenga
Hello Thomas,

In VIPce build 1106 Help/Prolog Foundation Classes(PFC) gives no reaction.
In VIPversions before VIP11 we got an chm-file but as I understand they are not used anymore.
I dearly miss an overview of all the Vip-packages.

Kind regards.
Ben

Re: menuitem: Help/Prolog Foundation Classes does not work

Posted: 7 Feb 2024 12:41
by Harrison Pratt
Agree -- I end up browsing the PFC directory files to find things. Although that is a manageable solution for people already very familiar with VIP, it could be a stonewall for new users.

I also suspect that he time commitment it would take to remedy that would be large.

Re: menuitem: Help/Prolog Foundation Classes does not work

Posted: 7 Feb 2024 15:11
by Harrison Pratt
Looking for some other things this morning I stumbled on vip.chm and vip.chw files in the /doc directory of my Vip11 installation.
It's for Vip10, but it should give you 99% of what you need.
Try putting a clickable link somewhere handy (Desktop or Taskbar).

Re: menuitem: Help/Prolog Foundation Classes does not work

Posted: 8 Feb 2024 9:11
by B.Hooijenga
Harrison,

Yes, I had already seen that, and for the moment it will do.
But no, in the end it will not be enough.

Kind regards,

Ben

Re: menuitem: Help/Prolog Foundation Classes does not work

Posted: 8 Feb 2024 14:26
by Thomas Linder Puls
Yes, there is a problem. We will consider what to do.

Re: menuitem: Help/Prolog Foundation Classes does not work

Posted: 8 Feb 2024 14:47
by Thomas Linder Puls
I can however tell you how I deal with "overview" (besides simply knowing and remembering everything :-)).

I have a project that contains all PFC classes.

In this project I can browse for everything in the project tree, and use everything from the Go to menu, search for anything in all the files and so forth.

I use the main file for small tests, etc.

For your convenience I have attached such a project.

Re: menuitem: Help/Prolog Foundation Classes does not work

Posted: 8 Feb 2024 17:01
by Harrison Pratt
If you don't have keen eyes, you're likely to miss the subtly tinted link after your search term (boxed in this screenshot) that takes you to more information, too.

I was also amazed to see that F1 linked to my own code! Does the IDE handle comment generation for custom code (i.e., "@short ... etc.) , too?
Screenshot 2024-02-08 105733.png
Screenshot 2024-02-08 105733.png (33.37 KiB) Viewed 15516 times

Re: menuitem: Help/Prolog Foundation Classes does not work

Posted: 9 Feb 2024 18:19
by Harrison Pratt
BRILLIANT!

F1 Help displays your own code's end of line comments like this

Code: Select all

myPredicate : ( real R ).   % R must be greater than 0.
As well as the & @short style comments.

Re: menuitem: Help/Prolog Foundation Classes does not work

Posted: 12 Feb 2024 9:46
by Thomas Linder Puls
Yes, F1 now works on the code in the project; yours and our.

Which is sadly also why you have lost the "complete" pfc documentation (i.e., unless you have the entire pfc in your project).

We will clearly have to find a way to deal with that in the future, but right now the best/only thing I can see is that we link the menu item back to the help file (since both still exist anyway).