Bug 86850 - link syntax to urls/links + make them clickable
Summary: link syntax to urls/links + make them clickable
Status: RESOLVED INTENTIONAL
Alias: None
Product: kate
Classification: Applications
Component: syntax (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-09 15:42 UTC by Gerald Weber
Modified: 2015-10-08 09:02 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 Gerald Weber 2004-08-09 15:42:29 UTC
Version:           3.1.4 (using KDE 3.1.4)
Installed from:    SuSE
Compiler:          gcc version 3.3.1 (SuSE Linux)
OS:                Linux (i686) release 2.4.21-192-default

Do you think it would be possible to insert url links in the xml highlight syntax files?

For example something like this:
<list name = "keywords">
<item link = "http://somesite/something.html">something </item>

Then in kate this keyword would not only be highlighted but also linked to a
browseable url, meaning that one could click onto the "something" keyword and
would go directly to the webpage and perhaps obtain an explanation or help about the "something" keyword.

This would turn kate(part) into a highly dynamic programing language browser.
Comment 1 Gerald Weber 2004-08-09 15:43:53 UTC
Actually this wishlist is not for konqueror but for kate. Sorry about this.
Comment 2 Wilbert Berendsen 2004-11-12 13:34:11 UTC
this could be useful for linking documentation to sourcecode.

<item link="http://php.net/mysql_connect">mysql_connect</item>

etc.

This could also be generalized to the parent element:

<list link="http://php.net/%k">
   <item> strlen </item>
   <item> eregi </item>
<!-- etc. -->
</list>

this would render al keywords clickable, with the %k substituted for the keyword.
Comment 3 Dominik Haumann 2011-07-11 20:17:55 UTC
Really good idea in comment #2.
Comment 4 Christoph Cullmann 2012-11-09 20:08:46 UTC
*** Bug 93087 has been marked as a duplicate of this bug. ***
Comment 5 Christoph Cullmann 2015-10-08 09:02:10 UTC
Dear user,

this wish list item is now closed, as it wasn't touched in the last two years and no contributor stepped up to implement it.

The Kate/KTextEditor team is very small and we can just try to keep up with fixing bugs. Therefore wishs that show no activity for two years or more will be closed from now on to keep at least a bit overview about 'current' wishs of the users.

If you want your feature to be implemented, please step up to provide some patch for it. If you think it is really needed, you can reopen your request, but keep in mind, if no new good arguments are made and no people get attracted to help out to implement it, it will expire in two years again.

We have a nice website kate-editor.org that provides all the information needed to contribute, please make use of it. For highlighting improvements our user manual shows how to write syntax definition files.

Greetings
Christoph