Released: Sep 12, 2024
Aggiornamenti in 12.2 Athens
Funzionalità
Smart CodeInsight: AI Powered Coding
- RAD Studio 12.2 introduces an open architecture for AI plugins, offering ready-to-use support for three online solutions (OpenAI, Gemini by Google, and Claude by Anthropic) and one offline solution (Ollama). The IDE surfaces the new AI tooling in two different ways. First, There is a general purpose AI chat pane you can dock. Second, there is a new editor menu, with multiple commands you can issue on the selected code.
Editor Enhancements: Focus Mode and Scrollbar Annotations
- There are times when you are writing code and don't want to be distracted by the many IDE panes and features. The new RAD Studio Focus Mode accomplishes that: it leaves the IDE with the editor(s) only, so you can avoid interruptions. Another very useful feature is the new scrollbar annotations: the editor scrollbar shows at a glance the sections of the code which have been modified, have bookmarks and have errors or warnings.
WebStencils Template Library
- RAD Studio version 12.2 introduces WebStencils, server-side script-based integration and processing of HTML files to the WebBroker and RAD Server technologies. This flexible feature empowers you to develop modern websites based on any JavaScript library, powered by the data extracted and processed by a RAD Studio server-side application. The WebStencils main goal is to help with navigational websites by adopting web technologies (WebBroker, DataSnap, RAD Server) and providing server-side scripting. For instance, you can use WebStencils to generate HTML pages with standard tools and adopt any CSS and JavaScript libraries while retaining the ability to add data from the generated pages coming from the Delphi application, like the result of a database query. In addition, WebStencils can be a good foundation for HTMX as a web development solution. HTMX pages benefit from server-side code generation and hook into REST servers for content updates.
Improved Mobile Development and external libraries linking
- RAD Studio 12.2 has significant improvements for Delphi mobile development, for both iOS and Android. To better support Apple platforms, this release has updated the linker to the most recent version, so that it's now possible to link iOS static libraries written in Xcode, like for example Firebase iOS SDK.
- In terms of Android support, to give developers more control over the packaging and deployment, this release adds options to Compress Dex files and Compress native library files in the toolchain in the Android Project options. In addition, for Android, the targetSdkVersion of the Android manifest file can now be configured in the Project Options dialog. The release also adds the ability to import Android libraries ('aar' files), which works, for example, with the Facebook SDK for Android and Firebase Analytics.
Debugger Quality
- This release adds several improvements in the various RAD Studio debuggers. Most notably, the Delphi debugger will now correctly handle repeated inline variables with the same name It also improves debugger error handling and the remote debuggers communication timeouts.
Delphi LSP
- The Delphi Language Serve Protocol engine powering CodeInsight has been expanded with core groundwork and a focus on better resolving and navigating symbols, including symbols in the class interface, including fields, local constants and variables, and forward type declarations. This release addresses many requests including some related to Delphi multiline strings. In addition, RAD Studio 12.2 includes a 64-bit version of the DelphiLSP engine, which offers better support for large codebases, having no memory limits. As with the 64-bit versions of the Delphi compilers, this feature is only available in the Enterprise and Architects editions.
Delphi RTL, VCL, and FireMonkey Quality
- RAD Studio 12.2 has dozens of improvements to the core Delphi RTL and to both the VCL and FireMonkey UI libraries. Including the new TParallelArray and TOrderedDictionary classes of the RTL; VCL quality work around frames scaling, FormsTabBar, styling issues, and High DPI issues; FMX intensive quality work for many areas, with additional focus on mobile editing controls.