johnnix 0 Posted December 14, 2022 Hello, I am using latest Delphi version 28.0.46141.0937 and for some time now I am facing an issue with code completion in my projects. Once I open a project file I get strange "errors" like the ones shown in the attachment and all code related automation does not work. Does anyone know where to look for a fix? Thank you all for your time! Share this post Link to post
programmerdelphi2k 237 Posted December 14, 2022 bug known! you can try close project, and open again! ( I always do it) kill the LSP : run this command as Admin: taskkill.exe /F /IM delphilsp.exe Share this post Link to post
mvanrijnen 123 Posted December 14, 2022 join the club: [RSP-39812] LSP and Code Completion not working properly - Embarcadero Technologies Share this post Link to post
Lajos Juhász 293 Posted December 14, 2022 You will have to wait for a future version of the Delphi. Maybe the new IDE will resolve this issue (or an improved LSP server). Share this post Link to post
FredS 138 Posted December 14, 2022 3 hours ago, Lajos Juhász said: an improved LSP server The myth of a working LSP server.. since before Godzilla 🙂 1 Share this post Link to post
haentschman 92 Posted December 15, 2022 (edited) Quote an improved LSP server ...and much faster! 🥱 (code completion, find window etc.) Edited December 15, 2022 by haentschman Share this post Link to post
johnnix 0 Posted December 15, 2022 Thank you all for your replies, I really do appreciate it! Share this post Link to post
Sherlock 663 Posted January 12, 2023 There has been a fix for the Win32 compiler. Perhaps a test run and a sign that there is something happening in Embarcaderoland: https://quality.embarcadero.com/browse/RSP-39812 Share this post Link to post
Jirka52 2 Posted January 12, 2023 Disable "Error insight" in Options - User interface - Editor - Language - page "Error insight" Share this post Link to post
jaenicke 13 Posted February 14, 2023 (edited) Important hint regarding LSP Yesterday I noticed that with both Delphi 10.4 and Delphi 11, an invalid path reliably knocks out the LSP. (Yes, this is reported and goes its way). This invalid path can be at least in the system PATH, the library path and unfortunately already simply the search path. You can easily test this yourself by entering a non-existent path there and restart Delphi. Important: If you correct it, you may have to restart Windows. For some reason it is not always enough to restart Delphi and the DelphiLSP.exe (even if the system PATH is not changed). I haven't looked into that yet and it doesn't always happen. Edited February 15, 2023 by jaenicke 1 2 Share this post Link to post