dongmei8760 2014-12-14 13:50
浏览 75
已采纳

如何在phpstorm上的远程主机浏览器上创建一个新文件

I struggling to create a new file on the "Phpstorm" remote host browser. Currently i able to create only a new directory.

Thank you.

  • 写回答

1条回答 默认 最新

  • dsh12544 2014-12-14 20:54
    关注

    You cannot do that: PhpStorm does not support "edit remote only" type of editing files -- you have to create and edit file locally and then upload to remote.

    Think about this: if you will be able to create a file directly on remote server ... but unable to edit it because IDE can work (edit) with local files only .. then what is the point of such empty remote file?

    Regarding folders: well ... they are just folders (they have no content (in a sense of file content)) -- you can freely move files between folders.


    UPDATE (2017/01/16): As of PhpStorm v9 it's now possible to do Remote Edit (file will be downloaded in temp location and will not be stored in actual local project).

    Read more in official blog post: https://blog.jetbrains.com/phpstorm/2015/04/remote-edit-in-phpstorm-9-eap/

    Some possible disadvantages of such editing: https://stackoverflow.com/a/36850634/783119

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

报告相同问题?

悬赏问题

  • ¥15 C++ 头文件/宏冲突问题解决
  • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
  • ¥50 安卓adb backup备份子用户应用数据失败
  • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
  • ¥15 请问Lammps做复合材料拉伸模拟,应力应变曲线问题
  • ¥30 python代码,帮调试
  • ¥15 #MATLAB仿真#车辆换道路径规划
  • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建
  • ¥15 数据可视化Python
  • ¥15 要给毕业设计添加扫码登录的功能!!有偿