Bug 492721 - Open file from selection
Summary: Open file from selection
Status: RESOLVED DUPLICATE of bug 465265
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 23.08.5
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-06 15:46 UTC by cparg
Modified: 2024-09-27 13:46 UTC (History)
2 users (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 cparg 2024-09-06 15:46:49 UTC
SUMMARY
Please add a feature that opens the file of the current selection, or even better the file where the input cursor is located.

This is an enhancement request to implement a simple feature to open a file quickly.
The use model could be like described in the steps below:

STEPS TO REPRODUCE
1. Open a new text file
2. enter /etc/passwd in the text
3.  Place the cursor where | points in this example: /etc/pass|wd 
4. Ctrl+Shift+O
5. /etc/passwd should be opened in a new Tab, new Tab should become active Tab

OBSERVED RESULT
I checked the documentation and the web but couldn't find what I was looking for.

ADDITIONAL INFORMATION
Kate is such a versatile editor and I am surprised that such simple feature is not available.
Many thanks for the great tool!
Comment 1 Kåre Särs 2024-09-09 09:10:11 UTC
I think if this would be implemented it would have to go into the Open Link plugin.

The workflow would be: 4. Ctrl + Click on the file link.

Patches are welcome ;)
Comment 2 Waqar Ahmed 2024-09-27 13:46:58 UTC
*** This bug has been marked as a duplicate of bug 465265 ***