Jump to content
Gert Scholten

DelphiLSP.Exe version 11.1 vs 12.2

Recommended Posts

Hello,

 

I'm wondering if I'm the only one with this problem.

 

I've just installed Delphi 12.2 in the idle hope code insight would work. I've tried the 64-bit option and the 32-bit option. Both are totally onresponsive in our main project: ctrl+space, ctrl+shift+space and ctrl_click do nothing. However they do work in smaller side projects.

 

I couldn't remember when it was the last time code insight just worked.... well i did a couple of google searches and found a blog about the DelphiLSP.exe from 11.1. It suggests you replace the current version with the older version from 11.1. 

 

And.... for the first time since 11.1 code insight started working in our main project in about 60/70% of the cases!!! Yes it's not as fast as it could be, but it works.

 

What I don't understand is the degration of the performance over the later versions of Delphi. How can it be that with all LSP optimalizations things have only gotten worse for our project? As in, code insight totally doesn't work in 12.2. But 12.2 with de Delphilsp.exe from 11.1 works great.

Share this post


Link to post

The 64 bit DelphiLSP simply hangs on my mid-sized project, just spins the progress bar over and over again, still saying 0% is done.

32 bit works fine on the same project, performance feels about the same as in 12.1.


This is from the 12.2 document, fyi

image.thumb.png.206531e6b99e45fde274f8ed34fa23be.png

work on most symbols, sometimes resolves 🙂

 

Unfortunately yes, LSP needs some work to be actually good. Ctrl-click often doesn't work, jiggly lines at wrong places, errors in editor but project compiles...

It can be lived together with if you already got used to Delphi's quirks 🙂

  • Like 1

Share this post


Link to post

LSP in 12.x (when it works) gives also wrong method/prop/var names sometimes,  such as in the same unit strict private fields from other object

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×