-
-
Notifications
You must be signed in to change notification settings - Fork 801
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to initialise PlatformIO project for the specified IDE #151
Comments
@valeros please look into @0xc0170 https://github.com/0xc0170/project_generator Looks like what do we need. Nevertheless, |
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 These See examples: |
I guess that you mean doing |
Yes. See Get Started. |
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. |
@0xc0170, I've just opened a new issue #154. We will show you what do we need in the final result. 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 Thanks! |
Aims
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
--ide
to platformio init command.How it works
If user specifies supported
--ide
type, then PlatformIO generates fully compatible project for the specified IDE (configuration files, etc.). This project can be imported later viaIDE -> Import Project
and should contain preconfigured settings:platformio --quiet run
, clean command -platformio --quiet run --target clean
__AVR_ATmega328__
IDE
We should support these IDE/Editors from the beginning:
eclipse
Eclipsevisualstudio
Visual Studiosublimetext
Sublime Textqtcreator
Qt CreatorExamples
Questions
How about multiple
--board
options or environments?If more then one board is specified, then "first-generated" environment should be used. Nevertheless, we will add additional option, like
use_for_ide = true
to[env:xxx]
group inplatformio.ini
.The text was updated successfully, but these errors were encountered: