I am writing a plugin which I want to use the CDT-plugin (since I don't want to implement my own brand new C/C++ editor).
Questions:
Fro your first question, simply add the CDT plugins to your Required plug-ins of your project. Details here .
Editors and natures are different things, you cannot set an "editor as a nature" . Probably what you're searching for is the C++ nature you want to set for a project programmatically. Simply search the nature's ID in the .project
file of a C++ project, then you can start looking into the details.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.