integrated-application-development / delphilint

Delphi IDE package providing on-the-fly code analysis and linting, powered by SonarDelphi
GNU Lesser General Public License v3.0
87 stars 13 forks source link

Set sonar.delphi.installationPath when initializing SonarDelphi #11

Closed fourls closed 8 months ago

fourls commented 8 months ago

Fixes #10 by using the correct setting name for the SonarDelphi property containing Delphi installation.

DelphiLint currently incorrectly passes the Delphi installation through to SonarDelphi using the sonar.delphi.bds.path setting, which was replaced by sonar.delphi.installationPath in SonarDelphi 1.0.0. As a result, SonarDelphi uses the default Delphi 11 installation path in all cases, which causes errors when Delphi 11 is not installed.