C++Builder 11.1 LSP does not work with classic Borland compiler

894 views Asked by At

Has LSP been removed for the classic Borland compiler in C++Builder 11.1?

Now it is marking error messages even in the includes of the VCL.

A new empty project shows errors, and LSP is not working with the classic Borland compiler.

Has anyone been able to try it? Is it a bug?

2

There are 2 answers

1
Zencode On

Code Insight and code completion worked for the classic compiler up through RAD Studio 11.0. It was broken for me in 11.1. I submitted a bug report in the quality system: https://quality.embarcadero.com/browse/RSP-37665

Also, the LSP project options are only for the CLANG compilers.

0
kdog17 On

I've 'upgraded' too! One annoyance from 11.0 in the IDE fixed (toolbar customization not working) to now in 11.1 no code completion using either the classic borland or clang compiler. I've stuck with Rad Studio since using version 1 in the 90's. Very disappointed!

edited data: This solution is from Roy Nelson (not sure of affiliation)

  1. Close your project.
  2. Tools | Options | IDE | Environment Variables | [New...] Add a variable called "BDS_NO_LSP" (without quotes) and set the value to "T" also without quotes.
  3. [OK]
  4. [Save]
  5. Restart the IDE

The downside is that the LSP will now not for Clang based projects.