Namespace rename #347
DescriptionAllow the namespace of the class to be renamed or moved through renaming, updating class under the namespace and class references Use caseWant to change
Proposed solutionAllow the namespace to have renaming. Rename the folder where it is if PSR-4 rules apply. Classes under the namespace should have updated references (new namespace), fail if there is a class/trait/interface/file collision. When moving namespaces ( |
Replies: 2 comments 1 reply
|
Did you at least try to raise an issue with Zed? Just to be clear (for future readers), this is a duplicate of #345 and phpantom already supports:
|
|
I just tried it in Zed it works fine: 0: right click the namespace @DarkGhostHunter in #345 (comment) you showed a laravel-lsp error, maybe this extension is conflicting? The feature you are asking for is fully supported by the LSP, it not working is an issue with how your system is configured and without any real information about how it's configured we can't really help you here. I'm converting this to a discussion since there is no issue to be solved with the LSP. Update: I tried installing the laravel-lsp extension but it didn't change it for me, though I don't know how it should be configured to be active (it doesn't appear as a running LSP by default). P.s. please in the future insted of just opening a new issue just post in the closed one we can still try to help you but spamming the issue tracker isn't helping anyone. |



I just tried it in Zed it works fine:
0: right click the namespace
1:
2:
3:
4: Save the proposed change
@DarkGhostHunter in #345 (comment) you showed a laravel-lsp error, maybe this extension is conflicting?
The feature you are asking for is fully supported by the LSP, it not working is an issue with how your system is configured and without any real information about how it's configured we can't really help you here.
I'm converting this to a discussion since there is no issue to be solved with the LSP.
Update: I tried installing the laravel-lsp extension but it didn't change it for me, though I don't know how it should be configured to be active (it doesn't appear as a running LSP by …