File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -617,9 +617,17 @@ function."
617617 (let ((arguments (phpactor--command-argments :source :path )))
618618 (apply #'phpactor-action-dispatch (phpactor--rpc " transform" (append arguments (list :transform " implement_contracts" ))))))
619619
620+ ;;;### autoload
621+ (defun phpactor-find-references ()
622+ " Execute Phpactor PRC references action to find references."
623+ (interactive )
624+ (let ((arguments (phpactor--command-argments :source :path :offset )))
625+ (apply #'phpactor-action-dispatch (phpactor--rpc " references" arguments))
626+ (phpactor-list-references)))
627+
620628;;;### autoload
621629(defun phpactor-replace-references ()
622- " Execute Phpactor PRC replace_references command to complete_constructor ."
630+ " Execute Phpactor PRC references action command to replace references ."
623631 (interactive )
624632 (let ((arguments (phpactor--command-argments :source :path :offset )))
625633 (apply #'phpactor-action-dispatch (phpactor--rpc " references" (append arguments (list :mode " replace" ))))))
You can’t perform that action at this time.
0 commit comments