I think this hasn't been asked before.. it would be great to be able to right-mouse click under an include filename, and then an 'open <filename>' option would appear allowing the file to be easily opened in the editor, e.g.
(this is my mockup image)
[Implemented] IDE: open file under cursor
I've noticed this only works if the include file is in the same folder as the file you're editing. If the file is elsewhere, courtesy of includepath, nothing happens, i.e.freak wrote:Try a doubleclick
Code: Select all
XIncludeFile "file1.pb" ; works
IncludePath "includes"
XIncludeFile "file2.pb" ; doesn't open upon double-clickI wrote the InclOpen add-in to handle this (see my website):mskuma wrote:..If the file is elsewhere, courtesy of includepath, nothing happens, ..
If you press the assigned hotkey on an IncludeFile line, it will open the file. On any other line it will pop up a menu with all included files to select from.
Of course, IncludePath is taken into account, and #PB_Compiler_Home is evaluated.
Horst.


