See IntelliSense not opening certain avr header files on empty teensy 2.0 project · Issue #81 · platformio/platform-teensy · GitHub for the solution on this.