|
|
Re: Deleting a selected include paths removes all paths - work around [message #1733391 is a reply to message #1733345] |
Fri, 27 May 2016 07:54 |
Greg Greenwood Messages: 2 Registered: July 2009 |
Junior Member |
|
|
At least I found a work around for the incredible amount of time it takes for the Project>Settings window to open so you can change the Include paths. Do NOT use the Project>Settings pull down. Open the .cproject XML file with an editor (dual monitors is a big plus) and use an existing Include path line starting after:
superClass="gnu.c.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
Copy a line. Then edit the path being careful not to disturb any of the XML tokens. The line begins with 9 tabs (in my case) and starts with:
<listOptionValue builtIn="false" value=
Then add a double quote. Then the desired path. Then finish the line with a double quote followed by />
When you have all the paths added then restart eclipse. Be sure to wait for the status indicator in the bottom right to finish the startup stuff. And voila, the new paths are there.
Takes a lot less time. You can even have the .cproject file open in an editor while eclipse is running in case you find some more includes that need to be added. This can also be used to REMOVE unwanted paths.
It really is too bad the import feature cannot recognize or be told that the import is bringing in include files and automatically add the paths to the settings.
[Updated on: Sat, 28 May 2016 08:05] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02890 seconds