Review Request 120240: Add utility to modify include paths
Maciej Cencora
m.cencora at gmail.com
Fri Oct 17 07:50:41 UTC 2014
> On Paź 14, 2014, 1:48 po południu, Maciej Cencora wrote:
> > languages/plugins/custom-definesandincludes/includepathsconverter.cpp, line 141
> > <https://git.reviewboard.kde.org/r/120240/diff/2/?file=313389#file313389line141>
> >
> > Actually I cannot find a good usecase for add/removing single path. For me setting all paths at once for given subdir is enough.
>
> Sergey Kalinichev wrote:
> Not sure what you mean by that and why is it a problem at all...
> E.g. you still can add all include path with xargs (even if there is only one of them). Also you can manually add/remove all/one include paths even without using it.
I mean, I never add or remove single paths. I always replace all paths for given project subdir (removing previous ones) and to do this I need to:
kdev_includepathsconverter -l $SUBPATH | xargs kdev_includepathsconverter -r $SUBPATH // remove all
cat $SUBPATH/.kdev_include_paths | xargs kdev_includepathsconverter -a $SUBPATH // add all from file
It would be great if I could just write
kdev_includepathsconverter -s $SUBPATH $FILE
or
cat $FILE | xargs kdev_includepathsconverter -s $SUBPATH $FILE
BTW, is there another why to force kdevelop to reload include paths when they have been modified from cli (besides reopening the project)?
- Maciej
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120240/#review68393
-----------------------------------------------------------
On Paź 3, 2014, 6:13 rano, Sergey Kalinichev wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/120240/
> -----------------------------------------------------------
>
> (Updated Paź 3, 2014, 6:13 rano)
>
>
> Review request for KDevelop.
>
>
> Bugs: 338968
> http://bugs.kde.org/show_bug.cgi?id=338968
>
>
> Repository: kdevelop
>
>
> Description
> -------
>
> This utility makes it possible to modify project include paths from command line.
>
>
> Diffs
> -----
>
> languages/plugins/custom-definesandincludes/CMakeLists.txt a36fd20
> languages/plugins/custom-definesandincludes/includepathsconverter.h PRE-CREATION
> languages/plugins/custom-definesandincludes/includepathsconverter.cpp PRE-CREATION
>
> Diff: https://git.reviewboard.kde.org/r/120240/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Sergey Kalinichev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20141017/a9c209ee/attachment.html>
More information about the KDevelop-devel
mailing list