List Info

Thread: Project Headers




Project Headers
country flaguser name
Germany
2007-12-17 18:35:51
Currently Quickopen-Class und Quickopen-Function and
Quickopen-File don't work 
correctly. The reason is that the project only reports the
source-files to be 
part of the project, but not the headers, while the classes
are defined in 
the headers, so they don't show up in the class list.

So we need to make a decision, should headers be officially
part of the 
project, or should this be worked around somehow in the
quickopen plugin?

greetings, David

_______________________________________________
KDevelop-devel mailing list
KDevelop-develkdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel

Re: Project Headers
country flaguser name
Australia
2007-12-17 19:54:36
On Tue, 18 Dec 2007 11:35:51 am David Nolden wrote:
> Currently Quickopen-Class und Quickopen-Function and
Quickopen-File don't
> work correctly. The reason is that the project only
reports the
> source-files to be part of the project, but not the
headers, while the
> classes are defined in the headers, so they don't show
up in the class
> list.
>
> So we need to make a decision, should headers be
officially part of the
> project, or should this be worked around somehow in the
quickopen plugin?

Well, cmake doesn't need any mention of non-installed
headers, and I'm 
presuming we want to be able to access them too.

So, either all headers under the project directory are
included by default, or 
we make a work-around (possibly using the duchain?)

Cheers,
Hamish

_______________________________________________
KDevelop-devel mailing list
KDevelop-develkdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel

Re: Project Headers
user name
2007-12-18 02:03:52
On 18.12.07 01:35:51, David Nolden wrote:
> Currently Quickopen-Class und Quickopen-Function and
Quickopen-File don't work 
> correctly. The reason is that the project only reports
the source-files to be 
> part of the project, but not the headers, while the
classes are defined in 
> the headers, so they don't show up in the class list.
> 
> So we need to make a decision, should headers be
officially part of the 
> project, or should this be worked around somehow in the
quickopen plugin?

Hmm, I was going to put a workaround into the
projectmanagerview to also
list all other files in the project directory (with a filter
to turn
that off of course). 

But as this is needed in more places how about extending the
project
model. Have a NonProjectFolderItem and NonProjectFileItem,
which are
either created by the import job or by the project manager -
not sure
which one is better.

And we could have a convenience method inside IProject to
retrieve all
non-project files (by iterating over the project model).

Andreas

-- 
You have a strong appeal for members of the opposite sex.

_______________________________________________
KDevelop-devel mailing list
KDevelop-develkdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel

Re: Project Headers
country flaguser name
Germany
2007-12-19 05:01:27
On Tuesday 18 December 2007 09:03:52 Andreas Pakulat wrote:
> Hmm, I was going to put a workaround into the
projectmanagerview to also
> list all other files in the project directory (with a
filter to turn
> that off of course).
>
> But as this is needed in more places how about
extending the project
> model. Have a NonProjectFolderItem and
NonProjectFileItem, which are
> either created by the import job or by the project
manager - not sure
> which one is better.
>
> And we could have a convenience method inside IProject
to retrieve all
> non-project files (by iterating over the project
model).
>
> Andreas

Althogh I don't have much insight into the project
management stuff, this 
sounds good.

greetings, David

_______________________________________________
KDevelop-devel mailing list
KDevelop-develkdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )