

PeterPanettone
Members-
Content Count
1409 -
Joined
-
Last visited
-
Days Won
5
PeterPanettone last won the day on August 2 2021
PeterPanettone had the most liked content!
Community Reputation
182 ExcellentTechnical Information
-
Delphi-Version
Delphi 12 Athens
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
New Delphi features in Delphi 13
PeterPanettone replied to David Heffernan's topic in RTL and Delphi Object Pascal
It is available from this URL: https://www.embarcadero.com/RADAICompanion -
Still angry with jokes? Please calm down.
-
On the other hand, the Bonus KSVC 8.0.1 library, which is freely available to Delphi Subscription users, has not yet appeared in GetIt.
-
Someone said: "It can be considered unfair to offer a trial download of IPWorks in Embarcadero's GetIt Package Manager without explicitly marking it as a "Trial," primarily due to inconsistencies in labeling that may mislead developers about its licensing and usage restrictions."
-
In GetIt, the IPWorks component library is not explicitly marked as "TRIAL": Can it be used for free when downloading it from GetIt? At the IPWorks homepage, the IPWorks component library can be purchased for $999.
-
A simple Code Editor trick to quickly jump to predefined locations in a huge unit
PeterPanettone replied to PeterPanettone's topic in General Help
CnWizards is a very helpful Delphi IDE plugin with many useful features, among them the above-mentioned F3 SEARCH feature: https://www.cnpack.org/index.php?lang=en Here is the option to activate this feature: -
A simple Code Editor trick to quickly jump to predefined locations in a huge unit
PeterPanettone replied to PeterPanettone's topic in General Help
I've found it: F3 automatically searches the next occurrence of the selected text only if CnWizards is installed. I've tested it by unloading CnWizards. When CnWizards is not loaded, then F3 on the selected text displays this message: And then, when clicking the "Yes" button after having checked "Wrap around without asking", this message is displayed: This could be a bug in the Delphi IDE that CnWizards resolves. -
A simple Code Editor trick to quickly jump to predefined locations in a huge unit
PeterPanettone replied to PeterPanettone's topic in General Help
It doesn't?? In my Delphi 12.2 and Delphi 13, it does! This is very strange! -
A simple Code Editor trick to quickly copy an entire procedure/function to the clipboard
PeterPanettone replied to PeterPanettone's topic in General Help
OK, here is another one: -
A simple Code Editor trick to quickly jump to predefined locations in a huge unit
PeterPanettone posted a topic in General Help
OK, here is another simple trick I often use to quickly jump to specific locations in very large units (e.g., 20,000 lines, like in my upcoming "Advanced Windows Start Menu"): We could use simple bookmarks for this purpose, but I often clear them all after finishing a specific short-term task. So we need something more persistent:* *Prerequisites: CnWizards 1. Create these kinds of comments on the locations you want to jump to quickly: implementation // toc_implementation public // toc_public // toc_PrivateVariables private // toc_private TForm1 = class(TForm) // toc_MainFormClass // etc. 2. Then put all these TOC items at the very top of your huge unit: {TOC: toc_implementation toc_public toc_PrivateVariables toc_private toc_MainFormClass } 3. Then, when you need to quickly jump to one of these locations in your huge unit: - Press CTRL+Home to jump to the top of the unit - Double-click one of the toc_ items to select it - Press F3 to quickly jump to this location This will save you a lot of search time! -
You are so right. That is exactly the right way to look at AI. Unfortunately, AI is also becoming a tool for political oppression. And thank you for the humorous part.
-
Do you think AI is becoming a new religion?
-
You are right, DOCUMENTATION is everything. AI-generated code without accompanying documentation is dangerous (SUPERGROK always links to documentation for anything it generates). However, I strongly reject "regulation" laws from a criminal organization as the so-called "EU" (EU ≠ Europe).
-
Generally, AIs often make mistakes or hallucinate when asked advanced questions about Delphi code. The most reliable AI for Delphi code is SUPERGROK.
-
A simple Code Editor trick to quickly copy an entire procedure/function to the clipboard
PeterPanettone posted a topic in General Help
1. Collapse the procedure/function: 2. Click on the line number to select the entire (now hidden) code of the procedure/function. 3. Press CTRL+C to copy the entire code of the procedure/function. This is particularly useful for longer procedures/functions. It also works in Delphi 13.