dskpywvki951583595 2014-02-28 09:12
浏览 246
已采纳

如何使用phpStorm从远程服务器删除文件

So I've added remote server to phpStrom and I can change files there. But if I delete files they disappear only from my computer not on the server. How to delete files from remote server using phpStorm?

  • 写回答

1条回答 默认 最新

  • douju4278 2014-02-28 09:46
    关注

    To manually delete files from remote location -- use Remote Host tool window (or Tools | Deployment | Browse Remote Host if it's not visible) -- navigate and delete any file(s) you want.

    For keeping your remote host in sync with local (i.e. to delete remote file as soon as local gets deleted as well) you need to enable automatic upload in Settings | Deployment | Options, in particular:

    1. Upload changed items automatically to the default server
    2. Delete target items when source ones do not exist

    enter image description here

    Obviously, you need to configure all those options as most suitable to your workflow.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 vue2(标签-chrome|关键词-浏览器兼容)
  • ¥15 python网络流自动生成系统 医学领域
  • ¥15 sql查询仓库里都有什么
  • ¥15 代码的修改,添加和运行完善
  • ¥15 krpano-场景分组和自定义地图分组
  • ¥15 lammps Gpu加速出错
  • ¥15 关于PLUS模型中kapaa值的问题
  • ¥15 关于博途V17进行仿真时无法建立连接问题
  • ¥15 机器学习教材中的例题询问
  • ¥15 求.net core 几款免费的pdf编辑器