简体   繁体   English

在没有重构的情况下重命名PhpStorm中的文件?

[英]Rename file in PhpStorm without refactoring?

Firstly, I have already read this question and using the Shift+F6 method is just a quicker way to bring up the standard refactor option. 首先,我已经阅读过这个问题 ,使用Shift + F6方法只是提高标准重构选项的一种快捷方式。

I am using PhpStorm 2018.1 我使用的是PhpStorm 2018.1

Perhaps this is a bug in the latest version as I don't recall having issues with this before, but whenever I use the refactor method and don't select any of the display checkboxes as below: 也许这是最新版本中的一个错误,因为我之前不记得有这个问题,但每当我使用重构方法而不选择任何显示复选框时如下:

在此输入图像描述

When I click the refactor button it still seems to refactor it as it initially freezes for a few seconds and then comes up with this: 当我点击重构按钮时,它仍然似乎重构它,因为它最初冻结了几秒钟,然后出现了这个:

在此输入图像描述

Firstly, I'm pretty sure older versions never used to do this unless you checked one of the checkboxes (didn't there used to be two?) and secondly, even when you were refactoring something I don't recall it freezing up, it would come straight up with the progress bar search window. 首先,我很确定旧的版本从来没有用过这个,除非你选中了其中一​​个复选框(以前不是两个?)其次,即使你重构一些我不记得它冻结的东西,它将直接进入进度条搜索窗口。

The problem was a plugin, specifically the Yii2 Support plugin; 问题是一个插件,特别是Yii2支持插件; when that is disabled, the checkboxes show as per normal. 禁用时,复选框按正常显示。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM