Bug 254662 - Custom include paths can only be edited once.
Summary: Custom include paths can only be edited once.
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: 0.1
Platform: Unlisted Binaries Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: junior-jobs
: 274712 276960 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-19 17:17 UTC by Frederik Gladhorn
Modified: 2014-03-21 15:57 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederik Gladhorn 2010-10-19 17:17:28 UTC
Version:           4.1.60 (using KDE 4.5.1) 
OS:                Linux

When adding custom include paths to a project, one can select the paths only once, then they are inaccessible through normal gui.

vi <project>/.kdev_include_paths is one option, generating a fake include is also possible. A more user friendly way would be nice.


Reproducible: Didn't try
Comment 1 j__n 2012-01-18 01:17:00 UTC
is this a duplicate of bug 186163?
Comment 2 Aleix Pol 2012-01-18 01:36:53 UTC
No, it's not, this one is a usability problem.
Comment 3 Milian Wolff 2012-11-21 12:59:04 UTC
*** Bug 276960 has been marked as a duplicate of this bug. ***
Comment 4 Daniel Santos 2013-08-30 11:20:34 UTC
hmm, this may actually be a duplicate of bug #221792.  Either way, it's on my wish list.  Not sure, because that bug requests a feature where you can right click on the directories and specify this.  IMHO, there needs to be a dialog in the project configuration (custom makefile or otherwise)
Comment 5 Kevin Funk 2013-10-03 00:09:46 UTC
@Daniel: Not a duplicate either, bug 221792 is about integrating a file browser to the dialog. This one is about making the overall dialog more accessible from within KDevelop.
Comment 6 Kevin Funk 2013-10-03 00:10:51 UTC
*** Bug 274712 has been marked as a duplicate of this bug. ***
Comment 7 Sergey Kalinichev 2014-03-21 15:57:19 UTC
Git commit 75170596d827cc150752b59b473e7046d1010dcf by Sergey Kalinichev.
Committed on 21/03/2014 at 13:58.
Pushed by skalinichev into branch 'master'.

Break Custom Buildsystem Plugin apart into 2 pieces.

Features:
*Now it's possible to define macros and add include directories/files through GUI.
*The GUI is always accessible by clicking on Project->Open Configuration.

Note that there is no relation between this plugin and .kdev_include_paths.
That is include directories from .kdev_include_paths are not accessible
from Custom defines and includes plugin and vice versa.
In future .kdev_include_paths file will be used only for out-of-project files.

Known shortcomings:
*After includes/defines modification, the project must be reloaded manually to apply the changes.
*Include files assistant stores data in .kdev_include_paths, but it should in .kdev4 file for in-project files.
*It's difficult to add many include directories at a time.
*...

Don't forget to run kbuildsycoca4.
Related: bug 329788
REVIEW: 115696


http://commits.kde.org/kdevelop/75170596d827cc150752b59b473e7046d1010dcf