Register / Login  |  Desktop view  |  Jump to bottom of page

tcMenu Designer UI » PIO / VSCode

Author: tom_tav
22/06/2022 11:06:27
Maybe my coffee is not working right now but i got stuck smilie

I moved an old INO based project to PlatformIO.

Now in TCMenu Designer (OS X, latest version) i see all installed libraries as 0.0.0 installed. In general settings i unchecked "Im using Arduino IDE...."

Pio is using the .pio folder in my project folder for the libdeps, all needed libraries are there. How do i tell TCMenu Designer to use this dir (its not selectable by GUI due to the .pio is hidden on OS X in the file select dialog)


P.S. Something else: for "open recent" function ... it would be cool to see the full path there, not only the filename.

Author: tom_tav
22/06/2022 15:34:26
One more thing, in the output there is still INO mentioned, even when INO files dont exist and the "use CPP main instead of INO file" option is enabled (see step 17 & 1 smilie:


1 - Starting ARDUINO32 generate into : /.../BugTest2
2 - Writing out header file: /.../BugTest2/BugTest2_menu.h
3 - Finished processing header file.
4 - Writing out source CPP file: /.../BugTest2/BugTest2_menu.cpp
5 - Finished processing source file.
6 - Checking if any plugin files need removal because of plugin changes
7 - Adding all files required by selected plugins
8 - Copy plugin file: ${UNO_OR_FULL}/tcMenuLiquidCrystal.cpp
9 - Copy plugin file: ${UNO_OR_FULL}/tcMenuLiquidCrystal.h
10 - Making adjustments to /.../BugTest2/BugTest2_main.cpp
11 - No existing sketch, generating an empty one
12 - Running sketch setup adjustments: setupMenu();
14 - Running sketch setup adjustments: taskManager.runLoop();
16 - Adding new callback to sketch for: TestSubMenu id(1)
17 - INO Previously existed, backup existing file
18 - Writing out changes to INO sketch file
19 - Process has completed, make sure the code in your IDE is up-to-date.
20 - You may need to close the project and then re-open it to pick up changes..

Author: davetcc
23/06/2022 08:11:57
 
P.S. Something else: for "open recent" function ... it would be cool to see the full path there, not only the filename.


It used to do that, but we changed to use just the file name as it sometimes created very long paths that were difficult to read, but noted, I guess with duplicates it is difficult to know which.

I moved an old INO based project to PlatformIO.


Great, I use platformIO myself but with CLion IDE instead of VSCode. So as you can imagine, it is well supported!

Now in TCMenu Designer (OS X, latest version) i see all installed libraries as 0.0.0 installed. In general settings i unchecked "Im using Arduino IDE...."


If you don't have global libraries any more, just turn on the "I'm not using Arduino IDE option". These days, I question if the library checker is still even needed, all Arduino IDEs, platformIO and most mbed tools manage lib versions.

Pio is using the .pio folder in my project folder for the libdeps, all needed libraries are there. How do i tell TCMenu Designer to use this dir (its not selectable by GUI due to the .pio is hidden on OS X in the file select dialog)


As above.

in the output there is still INO mentioned, even when INO files dont exist


Ignore that, it's just the logging, assume it is referring to your C++ file. I mainly use C++ main for my own projects, other than examples. Even one of the examples, EspAmplifier uses a C++ main.




Author: tom_tav
23/06/2022 09:21:25
Oh yes, i didnt think about the fact that the Library checker is just that, a checker smilie I agree with you that its not needed anymore for 3rd party IDEs.




Register / Login  |  Desktop view  |  Jump to top of page