Does anybody know how to add a C/C++ project nature to an Eclipse project through the UI ? I'm importing a project and working with legacy code that was originally started in Visual Studio 4 and I'd really like to be able to make as much use of Eclipse's helpers as possible.
Project Natures in Eclipse Project Natures are used in the Eclipse IDE in order to configure projects in the workspace. One project may have several project natures. The most popular project nature is org.eclipse.jdt.core.javanature , which is used to indicate that a project is a Java project.
Launch Eclipse → Help → Install New Software → In "Work with" field, pull down the drop-down menu and select "Kepler - http://download.eclipse.org/releases/kepler" (or juno for Eclipse 4.2; or helios for Eclipse 3.7). In "Name" box, expand "Programming Language" node ⇒ Check "C/C++ Development Tools" ⇒ "Next" ⇒ ...
In Eclipse, go to the "File" menu, then "New", then "C++ Project" if it's there. If not, choose "Project", then find "C/C++" in the list of wizards, click the "+" sign to expand it, and choose "C++ Project". A dialog box will ask whether to open the C/C++ perspective. Answer "yes", and remember this decision.
Eclipse is a popular open-source IDE that you can use to develop C++ applications using Eclipse's C/C++ development tools. This IDE is multiplatform and can run on Windows, Linux, and macOS. It will allow you to debug and compile your code as well as get auto-completion for your code while editing.
Assuming you've got the CDT plugin installed
Right-click on the project.
Select: New -> Other
Under C/C++, select "Convert to a C/C++ project"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With