Bug#37086: open include file under cursor

Jörg Rüppel joerg at sharky-x.de
Sun Jan 13 07:19:02 UTC 2002


Hi again,

I tried what you suggested but it doesn't work properly. It only works when 
the file I want to open is in the same dir as the file I am currently in, 
even when the #include statement contains a relative path to the included 
file from the current one. It also doesn't work for system headers (i.e. 
#include <someheader.h> ). And marking the whole filename isnt very 
intuitive, either. It would be better if KDevelop automagically noticed that 
the cursor is in an include statement and also opens the header according to 
the current context (i.e. open the same file as the preprocessor would ).

Just my 2 cents ( yes, we really have cents now here in Germany :)

Regards,
Jörg

Am Samstag, 12. Januar 2002 19:12 schrieben Sie:
> Hi,
>
> just highlight the filename, click on it with the right mouse button and
> choose "Open File".
>
> Harry
>
> > Package: kdevelop
> > Version: 2.0.2 (using KDE 2.2.2 )
> > Severity: wishlist
> > Installed from:    SuSE
> > Compiler:          gcc version 2.95.3 20010315 (SuSE)
> > OS:                Linux (i686) release 2.4.16-4GB
> > OS/Compiler notes:
> >
> > Hello,
> >
> > I'm not sure if this has been wishlisted before, but I was not able to
> > find something like this. I'd like to open header files thorugh a context
> > menu when the cursor is in an include statement, like this
> >
> > #include "base.h"
> >
> > Right clicking and selecting open "base.h" should take to this file.
> >
> > (Submitted via bugs.kde.org)
> > (Called from KBugReport dialog)




More information about the KDevelop-devel mailing list