Menu

Feature requests: open selected file

2007-07-11
2012-11-13
  • Paul Macdonnell

    Paul Macdonnell - 2007-07-11

    Hi,
    Just wondering if I could put forward a couple of feature requests.
    1) Open the selected file.
       When in source code, if you select/highlight a filename, can we have an option to open this filename.  I don't expect the app to determine if the file actually exists or not, just have the option to treat the selected text as though it were a filename and attempt to open it.  If it doesn't exist, then raise an error.

    2) Go to declaration
       When on a declared function (or class), can we have the option to take you to the file and location where the function (or class) is defined.  I think this may possibly better done within the "Function List" plugin, as you will need to have some relatively detailed knowledge of this script as well as any scripts that it references (ie include/require).  On this also, can the "Function List" also have the option to open the require/include files directly from it's list?

    Apologies if this isn't in quite the right spot, but my request is kind of a mixed bag...

    Cheers,
    Paul

     
    • Greg Bullock

      Greg Bullock - 2007-07-11

      Regarding (1), use <Alt>+<F5>, or Run: open file.

      Regards.
      Greg

       
      • Paul Macdonnell

        Paul Macdonnell - 2007-07-11

        Thanks Greg,
        I just found that one myself as well.  Sorry...

        Cheers,
        Paul

         
    • Nobody/Anonymous

      Regarding the second,

      there are a lot of machanism needed. To create such a solution you need something like a "Project Manager". Only in this case it is possible to search in predefined files for the definition.

      Best Regards
      Jens