phpstorm
phpstorm
科小洋Lmy
过去的代码都是未经测试的代码
展开
-
phpstorm初始类无法自动跳转
错误示例 <?php namespace app\yuanxin\controller; use app\yuanxin\logic\YuanxinLogic; class Index extends Base { public function _initialize() { parent::_initialize(); $this->YuanxinLogic = new YuanxinLogic(); $this->原创 2021-12-07 11:31:46 · 917 阅读 · 0 评论 -
PhpStorm解决Git合并冲突的方法
冲突展示 ![在这里插入图片描述](https://img-blog.csdnimg.cn/img_convert/8df69383b1d73ab9e14bea2eae0bf60c.png 点击“Accept Yours”直接使用你自己的代码,点击“Accept Theirs”则使用传入的代码 双击冲突的文件或点击Merge,打开 Merge Revicions(合并审查)窗口 左侧是本地当前分支(dev),右侧是要合并(Merge)过来的分支(hotfix),中间是合并后的代码结果 存在冲突的位置,原创 2021-07-20 19:39:52 · 1647 阅读 · 1 评论 -
phpstorm常用功能&快捷键(mac)
command + delete 删除整行 option + comman +enter 下面增加一行 command + D 复制出一行 command + / 单行注释 control + shift + / 多行注释 command + B 函数追踪,同comaand + 单击 control + tab 打开的文件间切换 control + shift + tab 向上切...原创 2020-03-21 13:49:43 · 268 阅读 · 0 评论 -
使用phpstorm查看本地文件与git库文件的区别
首先确保本地的文件代码是Git库pull下来的 打开所需的文件 然后右键 出现下面的界面 依次点击 1->2 出现下面的界面原创 2021-03-08 17:40:03 · 609 阅读 · 0 评论 -
使用phpstorm查看提交git库的历史
首先确保本地的文件代码是Git库pull下来的 打开所需的文件 然后右键 出现下面的界面 依次点击 1->2 出现下面的界面 左侧的就是提交git库的记录 右侧是提交文件的修改对比原创 2021-03-08 17:39:52 · 2772 阅读 · 1 评论 -
phpstorm上传文件到服务器
以ftp为例 这个就搞定啦 上传单个文件 上传目录原创 2020-11-05 17:14:51 · 300 阅读 · 0 评论