Bug 35519 - open file highlighted in editor
Summary: open file highlighted in editor
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 2.0.2
Platform: RedHat Enterprise Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: KDevelop-Devel List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-28 23:18 UTC by Greek Bill
Modified: 2008-06-29 15:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greek Bill 2001-11-28 23:05:32 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kdevelop
Version:           2.0.2 (using KDE 2.2.0 -11)
Severity:          wishlist
Installed from:    Red Hat Linux 7.2
Compiler:          gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)
OS:                Linux (i686) release 2.4.7-10
OS/Compiler notes: 

It would be great if you could open a file whose filename is in the editor.

e.g.

#include <myheader.h>

Click somewhere between the angle brackets and press a key combination will open myheader.h

To make it easier to code you could say that the user has to highlight the whole of the filename.

This will be particularly useful as you often need to open a header that you have included in a file.

Thanks

Bill

PS Keep up the good work!











(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Amilcar do Carmo Lucas 2003-03-28 11:27:12 UTC
This is implemented in Kdevelop3.0 since alpha4. 
Click on the line where the include is with the rigth mouse buttom. On the context 
menu select "Goto include file : ...."  
 
Caleb you can close this one ;) 
Comment 2 Caleb Tennis 2003-03-28 13:48:24 UTC
works in cvs 
Comment 3 Ken Brooks 2006-05-19 17:57:55 UTC
I think this one needs to be reopened.  Working in KDevelop 3.3.2 I cannot get this menu item to appear, either by highlighting the filename or by highlighting the entire line.  Using an x86_64 world, in case that's informative.

BTW, I'd really like a keyboard shortcut for this one.  Under Apple's XCode it is command-shift-D and I use it all the time!
Comment 4 Jens Dagerbo 2006-05-19 19:48:11 UTC
Well.. it does work, but only for header files that are part of the project.

Figuring out exactly what system header include the build system will pull in is a much harder problem. Perhaps something to look at for KDevelop4.
Comment 5 Jens Dagerbo 2006-05-19 19:49:15 UTC
Which I guess makes it a valid wish. Reopening.
Comment 6 Andreas Pakulat 2008-06-29 15:10:12 UTC
this is fixed in KDevelop4