Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow to initialise PlatformIO project for the specified IDE #151
PlatformIO can be integrated to multiple IDE/editors using a few installation/customisation steps. They are described in main documentation. Will be useful to have additional option
How it works
If user specifies supported
We should support these IDE/Editors from the beginning:
# Arduino compatible project for Eclipse $ platformio init --board=uno --ide=eclipse # mbed compatible project for Microsoft Visual Studio $ platformio init --board=lpc1768 --ide=visualstudio
How about multiple
If more then one board is specified, then "first-generated" environment should be used. Nevertheless, we will add additional option, like
referenced this issue
Apr 2, 2015
0xc0170/project_generator might save you a bit of work with exporting to IDEs - we currently don't support visualstudio or sublimetext, however it wouldn't take much work to get those working. The only problem is that project_generator is currently only used with ARM architecture processors, however it wouldn't take very much work to get this to work with AVR and others. I've actually been meaning to add sublimetext support to pgen since it's what I always use, so I'll open an issue over there now.
if you have any questions about project_generator ask me or @0xc0170
@matthewelse Thanks, see my comment above
Do we have option to specify own
All project settings are predefined by a user in yaml files -> dictionaries, thus if a project dictionary is filled with proper data, it can be passed to pgen to export the project files. Is this enhancement to create a full project (all source files, include paths, macros in the IDE) ? Or just required project files with defined output binary created by your build system, be available for debugging? If you got questions, create a new issue on pgen github. We can continue the discussion there, if needed.
I would like to see more tools supported, as mentioned above, like sublime, visual studio or any other which users prefer to use.
Here are a few examples with Eclipse: https://github.com/platformio/platformio/tree/develop/examples/ide-eclipse
Just: include paths, macros + replacement of internal build system to PlatformIO Code Builder.
I create new issue on