Re: [gedit-list] External Tools featured added... (FileBrowser Integration)
- From: Steve Frécinaux <nudrema gmail com>
- To: Brian Cardarella <bcardarella gmail com>
- Cc: gedit-list <gedit-list gnome org>
- Subject: Re: [gedit-list] External Tools featured added... (FileBrowser Integration)
- Date: Mon, 29 Oct 2007 21:24:27 +0100
Hello,
could you send a patch instead please, to make reviewing it easier ?
On Mon, 2007-10-29 at 15:23 -0400, Brian Cardarella wrote:
> Steve,
>
> I have added a small feature to the External Tools plugin. (I saw
> your name on the page so I assume it is your software)
>
> I have been using the FileBrowser plugin a lot recently. I jump
> between many Rails projects and used the External Tools plugin to run
> different commands on my projects. Only I had to have a file from my
> project open in order to execute the command properly.
>
> What I did was borrow the FileBrowser Integration code from the
> SnapOpen plugin. Now the ExternalTools plugin has an additional
> variable to use when running commands: GEDIT_FILEBROWSER_ROOT
>
> So, whatever directory is the set directory in the FileBrowser will
> be set to this variable. Now I just navigate to my project and run the
> commands. It feels more natural this way instead of having the file
> open to run the commands.
>
> I am attaching the file. All I did was modify the functions.py
> file. If this is something you like then please feel free to integrate
> it but please give credit to the SnapOpen author for the original
> FileBrowser Integration method.
>
> - Brian Cardarella
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]