Not sure how to use snippets and library anymore

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.

  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;

Not sure how to use snippets and library anymore

Postby sootsnoot » Sun Sep 10, 2023 6:17 pm

Hi, I've been using RapidPHP for a long time (since version 10), have upgraded many times, now on 17.7.

I used to use snippets occasionally and defined a couple, e.g. a template for writing transactions in Doctrine 1.2.

I now find that I no longer remember how to use them. If I go to the main navbar menu for PHP and hover on PHP>drop-down showing if, switch, for, and while, and then at the bottom "Edit PHP snippets". When I do that, I don't see the snippets I defined years ago. But in poking around, I discovered Options>Edit Library... and there were my snippets! But I couldn't do anything with them other than edit them, I couldn't figure out how to get them into my code!
Now, with some poking in documentation on the web, I see View>Library adds a new panel with my old snippets in it, and I can insert them by double-clicking, whew!! And I can edit or delete them by right-clicking. So AFAICT, access through the PHP>PHP> and Options>Library... paths is excess baggage.

So I guess I'd just comment that the interface is puzzling at best. Why are there three completely different ways to access libraries of code fragments, only one of which allows inserting them into my code, all three allow editing them, one calls them snippets while the other ones don't, and not all of the places list all of the fragments I might be interested in...
sootsnoot
 
Posts: 26
Joined: Sun Feb 24, 2013 4:30 am

Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Support

Who is online

Users browsing this forum: crestsoft and 60 guests