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 腾讯IOA系统怎么在文件夹里修改办公网络的连接
  • ¥15 filenotfounderror:文件是存在的,权限也给了,但还一直报错
  • ¥15 关于远程桌面的鼠标位置转换
  • ¥15 MATLAB和mosek的求解问题
  • ¥20 修改中兴光猫sn的时候提示失败
  • ¥15 java大作业爬取网页
  • ¥15 怎么获取欧易的btc永续合约和交割合约的5m级的历史数据用来回测套利策略?
  • ¥15 有没有办法利用libusb读取usb设备数据
  • ¥15 为什么openeluer里面按不了python3呢?
  • ¥15 关于#matlab#的问题:训练序列与输入层维度不一样