Neil,

The point about the multi-file search is an excellent one. My work
around, since I'm using C or C++ with complicated projects, is to use
cscope on the remote server, with my CSCOPE_EDITOR=bbeditcscope, where
bbeditcscope is a script that looks like this:

    #!/bin/bash

    # $1 : Line number from cscope in +## format
    # $2 : File name, relative to cscope's location
    ssh derosier@$REMOTEHOST /usr/local/bin/bbedit --front-window $1
"sftp://$USER@$HOSTIP/$PWD/$2";

In my .bashrc, I set $REMOTEHOST and $HOSTIP:

    export REMOTEHOST=`echo $SSH_CLIENT | cut -d ' ' -f 1`
    export HOSTIP=`echo $SSH_CONNECTION | cut -d ' ' -f 3`

Of course, while I call it a work around, I usually make heavy use of
cscope anyway as it's way easier to search giant codebases like the
Linux kernel with it.

@Mook - That should give you enough clues to figure out how to make a
bbedit command on the server.

- Steve

On Thu, May 2, 2019 at 4:52 AM Neil Faiman <[email protected]> wrote:
>
> I'll second Steve's recommended technique of creating a project and manually 
> loading it with remote files, which he describes clearly and completely. This 
> is how I do all my work, and it works seamlessly.
>
> One other limitation, though, beyond those that Steve mentioned: doing a 
> multi-file search (Cmd-Shift-F) on the project doesn't work when the files 
> are on a remote server. You can work around this with a command-line grep if 
> you have terminal access to the remote server, but it is a noticeable 
> limitation.
>
> Regards,
>
>         Neil Faiman
>
> --
> This is the BBEdit Talk public discussion group. If you have a
> feature request or need technical support, please email
> "[email protected]" rather than posting to the group.
> Follow @bbedit on Twitter: <https://www.twitter.com/bbedit>
> ---
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/bbedit.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <https://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to