Hi,
Whenever I’m building my code, all my sources files are compiled along with the framework.
Then after, IntelliSense index keeps rebuild every second.
My current project uses a STM32 nucleo board with arduino framework.
When I debug my code, only the touched code is compiled. And IntelliSense rebuild isn’t called repetitively.
This has several annoyances:
- compile time is much longer: 18 seconds against 4 when just my source file is compiled
- each time the intellisense index is rebuilt, the file explorer panel lost the focus (or so) and renaming a file is impossible.
Exiting vscode and reopening the project calms down intellisense rebuild until next build.
Restarting extension host works also.
Here is my environment:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Linuxmint
Description: Linux Mint 20
Release: 20
Codename: ulyana
$ code --version
1.49.0
e790b931385d72cf5669fcefc51cdf65990efa5d
x64
$ pio --version
PlatformIO, version 5.0.1
$ python --version
Python 3.8.2
Thanks for your help.
++ Simulot