Bug 165593

Summary: goto file / line feature
Product: [Developer tools] kdevplatform Reporter: Maciej Pilichowski <bluedzins>
Component: quickopenAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: wishlist CC: rafal.przemyslaw.malinowski
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Maciej Pilichowski 2008-07-02 22:01:35 UTC
Version:            (using KDE 3.5.9)
Installed from:    SuSE RPMs

goto file / line feature

Currently there is goto line feature, but when (unfortunately often) I have to work with backtraces it would be useful to be able to jump to file _and_ the line at once. So I would call goto line (or specialized function) and enter:
/home/macias/prg/mambo/source/Creator.cpp:1957
and this would open/switch to this file and jump to line 1957.
Comment 1 Andreas Pakulat 2008-07-02 23:08:21 UTC
this could actually be part of the quickopen plugin, nice idea.
Comment 2 Olivier.jg 2010-12-19 07:48:14 UTC
*** Bug 212549 has been marked as a duplicate of this bug. ***
Comment 3 Milian Wolff 2012-03-16 15:44:47 UTC
Git commit c3112b2cf67619f9ec89379b3926818063cd1af5 by Milian Wolff.
Committed on 16/03/2012 at 16:41.
Pushed by mwolff into branch 'master'.

make it possible to open files at a given line via quickopen

quickopen now can parse strings like "some/file:123".
When a ProjectFileData item is executed, the file "some/file" will
be opened and the cursor position set to line "123".

REVIEW: 101054

Thanks to Dmitry Risenberg for the patch!

CCMAIL: dmitry.risenberg@gmail.com

M  +22   -0    language/interfaces/quickopendataprovider.cpp
M  +8    -0    language/interfaces/quickopendataprovider.h
M  +13   -6    plugins/quickopen/projectfilequickopen.cpp

http://commits.kde.org/kdevplatform/c3112b2cf67619f9ec89379b3926818063cd1af5
Comment 4 Milian Wolff 2012-03-16 15:46:03 UTC
Git commit b8e3c824e40ec14be1180866d385efad4b803c2c by Milian Wolff.
Committed on 16/03/2012 at 16:45.
Pushed by mwolff into branch 'master'.

Implement "some/path:123" quickopen functionality for C++ include files
REVIEW: 101055

Many thanks to Dmitry Risenberg for this patch!

CCMAIL: dmitry.risenberg@gmail.com

M  +11   -2    languages/cpp/quickopen.cpp

http://commits.kde.org/kdevelop/b8e3c824e40ec14be1180866d385efad4b803c2c