Andre S. Veteran Posted June 23, 2009 Veteran Share Posted June 23, 2009 Hi, for my work I need to create a set of templates and preferences for C/C++. It should be easy for a user to import these and set them as default. I looked at their coding guidelines and set up my own eclipse environment to comply with them. I had to create a few different things: - C/C++ source and header files templates (Window -> Preferences -> C/C++ -> Code Style -> Code Templates -> Files) - C/C++ templates (The ctrl-space ones : Window -> Preferences -> C/C++ -> Editor -> Templates) - Code Style (Window -> Preferences -> C/C++ -> Code Style) How can I export all that in a package that's easy to import and set as default? Thanks. Link to comment Share on other sites More sharing options...
0 Andre S. Veteran Posted June 30, 2009 Author Veteran Share Posted June 30, 2009 Well, this turned out to be very easy. They can all be exported and imported invidually as xml files, there's an option in each of their respective dialogs for it. The user still has to import each of them manually, but once he's done it once, he can export all his preferences through File -> Export... and make it a one-step process next time. Link to comment Share on other sites More sharing options...
Question
Andre S. Veteran
Hi, for my work I need to create a set of templates and preferences for C/C++. It should be easy for a user to import these and set them as default.
I looked at their coding guidelines and set up my own eclipse environment to comply with them. I had to create a few different things:
- C/C++ source and header files templates (Window -> Preferences -> C/C++ -> Code Style -> Code Templates -> Files)
- C/C++ templates (The ctrl-space ones : Window -> Preferences -> C/C++ -> Editor -> Templates)
- Code Style (Window -> Preferences -> C/C++ -> Code Style)
How can I export all that in a package that's easy to import and set as default?
Thanks.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts