VsCode : Custom source path

Hello :wave:

I have a global project inside which i have a very small particle part. I’d like not to create a dedicated VScode project for it be simply be able from the project WorkSpace.

When i open the .ino file i get the tasks bar at the top allowing to compile/flash/etc… Also with CTRL+Shift+P i can compile/flash my project BUT it only works if my .ino file is inside an “src/” folder at the root of the workspace.

I’d like to have it inside a “particle/” folder and couldn’t find any way to change that.

If i try to compile after changing the folder name it says it cannot find the sources.

Any solution to this problem ?

Have a good day !