platformio-vscode-ide: "mitaki28.vscode-clang" extension conflicts with "ms-vscode.cpptools"
Temporary solution
Please disable/uninstall mitaki28.vscode-clang and vsciot-vscode.vscode-arduino extensions for PlatformIO workspaces.
VSCode > Menu > View > Extensions > Enabled > Icon near extension ⚙️ > Uninstall
You can change a board and serial port using platformio.ini and board/upload_port options:
- https://docs.platformio.org/en/latest/projectconf/section_env_general.html#board
- https://docs.platformio.org/en/latest/projectconf/section_env_upload.html#upload-port
VSCode prompt ‘Arduino.h’ file not found ,But it can still compile
About this issue
- Original URL
- State: open
- Created 6 years ago
- Reactions: 19
- Comments: 47 (14 by maintainers)
Commits related to this issue
- Notify about conflicted extensions with IntelliSense // Issue #118 — committed to platformio/platformio-vscode-ide by ivankravets 6 years ago
I know this is Closed but a palatable solution to avoid the conflict of Arduino and PIO extensions for Arduino code is to disable the Arduino Extension for this workspace.
Extensions (icon on left)/Arduino/ then chose the Disable dropdown and click on Workspace.
Just one more item to thank the mess that is Arduino development.
You can’t simultaneously use Arduino extension with PlatformIO extension. Disable the Arduino extension for the PlatformIO workspace or uninstall it. PlatformIO does not depend on Arduino IDE/extensions and does not require it.
We asked Microsoft Team to help us here. They confirmed the issue but there is no feedback from their side 😦 I’ll try to ping them again.
Any luck with that? Been 7 months now.
Thank you Ivan for the answer. Have disabled Ardu ext for now. Slava Ukraini!
See updated solution in the original comment https://github.com/platformio/platformio-vscode-ide/issues/118#issue-332266163
P.S: We can’t help here.
mitaki28.vscode-clangoverridesms-vscode.cpptools’s IntelliSense provider, as result, you see these errors. It seems for me that you can manually configuremitaki28.vscode-clangas described in their docs and disablems-vscode.cpptools. Nevertheless, I don’t see any benefit frommitaki28.vscode-clang.I also get a notification every time I startup Studio Code/PlatformIO (Core 6.1.6·Home 3.4.3)
When I click “More details” I end up on this page about a four year old issue?
Is this issue resolved? I still face the include error when trying to include Arduino.h file. Have added everything in my include path as well. Please can someone help here? Can provide any relevant details further!
Any update? We still have this issue.