plaformio native test task and code insight warning for pio test files
I'm using the platformio plugin to develop some IoC software. I have also used the VSC platformio plugin and I prefer the Clion plugin but there are two issues that I need some help on:-
1. There is no ‘test’ task in the task list - the workaround of course is to open a terminal and enter (eg) ‘pio test -e native’ but it seems odd that this couldn't be added.
2. My test files (in the ‘test’ folder) don't appear to belong to a target that the IDE knows about and have a warning:-
‘This file does not belong to any project target; code insight features might not work properly’
However, the file are built and function when I run the pio test target. When creating the file, the checkbox for the target is grayed out and no targets can be selected. I realise that this is a minor feature, but its annoying having that banner using up screen real estate all the time.
请先登录再写评论。