pressing Ctrl-T for autoformatting creates 80% processor-load through clang takes more than a minute #1008
Closed
3 tasks done
Labels
conclusion: duplicate
Has already been submitted
topic: language server
Related to the Arduino Language Server
type: imperfection
Perceived defect in any part of project
Describe the problem
I tested Arduino IDE 0.2 - oh sorry IDE 2.0 - today.
I loaded the blink example saved with a different filename and added a variable and an if-condition
I intentionally misplaced the added code to be clumsy indented for testing the auto-format function
I hit Ctrl-T - nothing happened
maybe after 20 seconds the status said "indexing" for more than a minute
then the status said "building sketch" for more than a minute
clang.exe took 80% processor-load
for me this is absolutely inacceptable
To reproduce
use my computer
Expected behavior
fast execution of autoformatting
Arduino IDE version
2.0 rc6
Operating system
Windows
Operating system version
Windows 10 update tonight by compulsion
Additional context
sorry guys guys this is not imperfection. This behaviour is almost perfect imperfection
Issue checklist
The text was updated successfully, but these errors were encountered: