Author Topic: Hyperlinks?  (Read 3050 times)

julvr

  • Guest
Hyperlinks?
« on: January 18, 2009, 06:43:44 pm »
Is it possible to insert hyperlinks into comments?  I would like to add some links in my code to various FSM diagrams and to some hardware data sheets.

If it's not possible, how do I request this feature?

Thanks

John

mariocup

  • Guest
Re: Hyperlinks?
« Reply #1 on: January 18, 2009, 07:46:56 pm »
Hi julvr,

there could be two possible implementation in my eyes. One would be to use the shell extension plugin. Currently this plug-in only accepts parameters of a file explorer (see section File Explorer and Shell Extension Plugin in http://www.codeblocks.org/en-docs-wrapper).  Perhaps it could be extended to accept input from a editor selection. For example you could define a shell extension Firefox that executes a command like "firefox $selection" and opens the selection (e.g. url) in a browser. So you could add abitrary commands for you needs.
The next solution could be a modification of the codesnippets plugin. Currently you can add file links or urls (see section Codesnippets in http://www.codeblocks.org/en-docs-wrapper) and open them via the context menu in the codesnippets browser. Perhaps it could be extended and provide a context menu even in the editor and to pass the selection as file link/url.

Just try to ask dmoore (Shell extension plugin) or Pecan (codesnippets plugin).

Bye,

Mario