The latest RAD Studio release introduces some noteworthy improvements to the Delphi Language Server Protocol (LSP), making life easier for developers working with large codebases. One of the biggest updates is the 64-bit version of the DelphiLSP engine, which eliminates memory limits and provides smoother performance for large projects.
64-bit LSP: No More Memory Limits
The 64-bit version of the DelphiLSP engine is designed to handle massive projects without the memory constraints of the 32-bit engine. If you’ve experienced performance slowdowns or crashes with large applications, this new version is a game changer. It’s easy to activate in the IDE and ensures a much smoother experience with CodeInsight.
Quality Improvements for CodeInsight
Alongside the 64-bit upgrade, the DelphiLSP engine brings several improvements aimed at making coding more intuitive:
- Symbol Hints: Hints now work for most symbols in class interfaces, including fields, giving you quick access to information about class members.
- Local Constants and Variables: Hovering over local constants and variables now shows their definitions, making it easier to track values without leaving your code.
- Forwarded Type Declarations: The engine can now resolve forwarded type declarations in more cases, reducing errors and improving code navigation.
Conclusion
The new 64-bit DelphiLSP engine and its enhanced CodeInsight features are intended for very large applications, which is why it is present in RAD Studio’s Enterprise or Architect editions. With improved performance for large codebases and smarter symbol handling, these updates help streamline your workflow and maintain clean, efficient code.