• 0

How to export coding guidelines in Eclipse


Question

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

  • 0

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

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.