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 Bibtex4Word 引用中文文献
  • ¥20 用opencv c/c++ 转换成灰度图,然后做一下直方图均衡,输出mp4文件
  • ¥20 matlab中的双层数值积分
  • ¥50 服务器打印水晶报表问题
  • ¥30 gradle环境下javafx项目如何使用druid连接池
  • ¥15 服务器打印水晶报表问题
  • ¥18 深度学习tensorflow1,ssdv1,coco数据集训练一个模型
  • ¥100 关于注册表摄像头和麦克风的问题
  • ¥30 代码本地运行正常,但是TOMCAT部署时闪退
  • ¥15 关于#python#的问题