arduino.language.realTimeDiagnostics
setting has no effect
#1207
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
In order to reduce the resource usage related to the language server features, the library discovery process is no longer triggered after every change to the sketch code (#1107).
This change means that the contents of libraries only become known to the language server after a significant user action (opening a sketch, changing the board selection, compiling) triggers the library discovery process.
Sketch code which relies on the library would receive spurious problem detections from the language server before that time. For this reason, an advanced setting has been added to control the problem detection feature. It defaults to being off.
🐛 Problem detection is done by the IDE even when it should be disabled by the setting.
To reproduce
The "Preferences" tab will now open in the editor panel.
arduino.language.realTimeDiagnostics
ⓘ The issue will occur with any board selected that has language server support.
🐛 A problem "squiggle" appears even though the setting should have disabled it:
Expected behavior
Problem detection is only done when the
arduino.language.realTimeDiagnostics
setting is enabled.Arduino IDE version
2.0.0-rc8-snapshot-8ad10b5
Operating system
Windows
Operating system version
10
Additional context
I bisected the issue to 8ad10b5 (it does not occur when using the build from the previous commit fe31d15)
Issue checklist
The text was updated successfully, but these errors were encountered: