Bug 165593 - goto file / line feature
Summary: goto file / line feature
Status: RESOLVED FIXED
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: quickopen (show other bugs)
Version: git master
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
: 212549 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-02 22:00 UTC by Maciej Pilichowski
Modified: 2012-03-16 15:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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