'C++Builder 11.1 LSP does not work with classic Borland compiler
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?
Solution 1:[1]
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.
Solution 2:[2]
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)
- Close your project.
- Tools | Options | IDE | Environment Variables | [New...] Add a variable called "BDS_NO_LSP" (without quotes) and set the value to "T" also without quotes.
- [OK]
- [Save]
- Restart the IDE
The downside is that the LSP will now not for Clang based projects.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Zencode |
| Solution 2 |
