Bug 205307 - open file using selected text
Summary: open file using selected text
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-27 10:03 UTC by Peer Frank
Modified: 2013-11-20 00:46 UTC (History)
0 users

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 Peer Frank 2009-08-27 10:03:55 UTC
Version:           3.3.65 (using 4.3.65 (KDE 4.3.65 (KDE 4.4 >= 20090820)) "release 2", KDE:KDE4:UNSTABLE:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (i686) release 2.6.27.29-0.1-pae

a nice feature would be selecting a file name in the code (double click on a "word") and use this as a url to open this file in a new tab (see nedit, opens selected text as file url via CTRL Y)
Comment 1 Dominik Haumann 2011-08-30 20:22:56 UTC
Do you mean create a new file? Or open the url, if it is a url and the file exists?
Comment 2 Peer Frank 2011-09-07 07:39:13 UTC
open the selection as an url. This is very handy e.g. when you have data files that cross reference data in other files.
Comment 3 Alex Turbov 2013-11-20 00:46:02 UTC
Git commit 6f4784ed53c80c0861244d68699664c911f5b9f3 by Alex Turbov.
Committed on 20/11/2013 at 00:45.
Pushed by turbov into branch 'master'.
Implemented as a Python plugin.

A  +6    -0    addons/kate/pate/src/plugins/katepate_try_open_file.desktop
A  +82   -0    addons/kate/pate/src/plugins/try_open_file.py
A  +23   -0    addons/kate/pate/src/plugins/try_open_file_ui.rc

http://commits.kde.org/kate/6f4784ed53c80c0861244d68699664c911f5b9f3