Bug 492721

Summary: Open file from selection
Product: [Applications] kate Reporter: cparg
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: kare.sars, waqar.17a
Priority: NOR    
Version: 23.08.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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 ***