Top three Delphi 10.4 features

FireWind

Свой
Регистрация
2 Дек 2005
Сообщения
1,957
Реакции
1,203
Credits
4,034
Top three Delphi 10.4 features

[SHOWTOGROUPS=3,4,5,20]
Top three Delphi 10.4 features

Delphi 10.4 has just been released (turn Для просмотра ссылки Войди или Зарегистрируйся for a great overview) and has some nice enhancements even for us, die-hard Windows developers. It is too early to give any deep analysis as I have just installed it and did not do any thorough testing, but I can already pick my top three new features. In no particular order, here they are:

Language Server Protocol
Language Server Protocol (Для просмотра ссылки Войди или Зарегистрируйся) is a specification that defines communication between an editor and external tooling. It allows the language-dependant logic to be moved out of the editor into a specialized server.

Delphi now includes a LSP server which knows about the Delphi language and various parts of the IDE are now talking to it instead of using their own half-correct syntax parser. In short, this allows Code Insight to provide much better suggestions. I hope we can also expect the famously stupid Error Insight to be upgraded to the new approach very shortly.
Managed Records
Records with initialization, finalization, and assignment (copy) operator. Yay!

If you don't know why this is useful, don't worry and ignore the new functionality. Records still have all the same features they did before. They just got an upgrade.
Patches delivered via GetIt
GetIt package manager has been enhanced greatly and can, beside other improvements, now deliver patches for the IDE. Even more - the first such pach has already been delivered!

Just yesterday when I started 10.4 I noticed a heading on the Welcome screen:

sydney1.jpg


I clicked it and GetIt popped up with some information about the patch.

Not to Embarcadero: It would be really great if we could access the readme at this point, not only after the installation!

sydney2.jpg


I clicked install and shortly after the patch was installed. Fantastic!

sydney3.jpg


If the patches will be frequent and timely, this may even become my top new feature of Delphi 10.4!
[/SHOWTOGROUPS]