File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -385,11 +385,16 @@ of GitHub.")
385385 (apply #'phpactor-action-dispatch (list :action (plist-get action :name ) :parameters (plist-get action :parameters ))))
386386 actions))
387387
388- (cl-defun phpactor-action-open-file (&key path offset force_reload )
388+ (cl-defun phpactor-action-open-file (&key path offset force_reload target )
389389 " Open file from Phpactor."
390390 (unless (and path offset)
391391 (user-error " Definition not found" ))
392392
393+ ; ; TODO: Implement other target: Phpactor\Extension\Rpc\Response\OpenFileResponse
394+ ; ; `target' expects "focused_window", "vsplit", "hsplit" and "new_tab"
395+ (unless target
396+ (setq target " focused_window" ))
397+
393398 (if (fboundp 'xref-push-marker-stack )
394399 (xref-push-marker-stack )
395400 (with-no-warnings
You can’t perform that action at this time.
0 commit comments