Feature #2288 2006-06-13 18:47
llubnek
Help plugin: Allow URLs/command lines
1. Allow URLs such as http://cppreference.com/ for the help system.
You could also add variable substitution so that if (for example) you have this line in your help file list:
http://cppreference.com/keywords/%helpword%.html
and your mouse is positioned over the asm keyword in the editor when you press F1, the help system looks up http://cppreference.com/keywords/asm.html
Or, 2. Allow command lines in the help system.
So that these would work: firefox "http://cppreference.com/" man cpp C:\PROGRA~1\MOZILL~1\FIREFOX.EXE -url "http://cppreference.com/" (under Windows)
Again, variable substitution would help.
Tools do not work well for this since, as they are set up now, you can only use one tool at a time.
- Category
- Plugins
- Status
- Closed
- Close date
- 2006-11-20 03:00
- Assigned to
- ceniza
History
Notice for devs: Could be done by using the SDK's filemanager feature (FielLoader) this can handle both inputs: file and webpage. See CF branch how it's done in the parrot plugin.
Substitution in http URLs, and only there, is already implemented (please read the info in Help->Plugins->Help plugin). For the example you gave, it would be: http://cppreference.com/keywords/$(keyword).html
Now, having the option to execute the line you provide + keyword substitution could be considered, and so far I see no problem to do that. I'll try to implement it soon :)
I'll need to make those options visible somehow. Keyword substitution right now is just like a hidden feature.
This feature has been implemented in SVN. Thank you.