gpt4 book ai didi

ftp - Sublime Text 2 : SFTP browsing remote in sidebar

转载 作者:行者123 更新时间:2023-12-04 15:23:47 24 4
gpt4 key购买 nike

我正在尝试切换到使用 Sublime Text 2 的 SFTP package 作为我的默认 FTP 客户端,因为它在工作流程改进方面看起来相当有希望——比使用 3rd 方 FTP 客户端快得多。

我试图浏览远程服务器,但似乎只有两个选项:将整个远程位置同步到本地文件夹,或通过 SFTP/FTP > 浏览服务器菜单项浏览它,该菜单项会显示 those file browsing bars 之一.我的情况涉及一个大型远程位置(不方便下载所有内容),我想在该位置编辑非常分散的文件(不方便使用该文件浏览栏进行导航)。

我想要实现的是能够在侧栏中浏览服务器,就像浏览本地文件夹时发生的行为一样,但实际上不必下载远程位置上的每个文件。仅目录列表就应该是实现此目的的足够信息。然后,在尝试从尚未下载的侧边栏中打开文件时,它可以继续下载该特定文件。

这是我还没有发现的某种选择吗?我在哪里可以配置这种行为?在大型远程位置编辑多个文件时,您的 FTP 工作流程是什么?

最佳答案

使用 SSHFS 挂载远程目录然后在那里用 ST2 编辑。

SSHFS:

This is a filesystem client based on the SSH File Transfer Protocol. Since most SSH servers already support this protocol it is very easy to set up: i.e. on the server side there's nothing to do. On the client side mounting the filesystem is as easy as logging into the server with ssh.



例子:
sshfs user@host.com:/server/path /local/path

然后
subl /local/path

关于ftp - Sublime Text 2 : SFTP browsing remote in sidebar,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17085084/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com