Legacy RPC Commands

_RpcHandler_status

type

Default: "formatted"

_RpcHandler_file_info

path

Default: null

_RpcHandler_references

mode

Default: "find"

filesystem

Default: "git"

replacement

Default: null

path

Default: null

offset

Default: null

source

Default: null

_RpcHandler_copy_class

dest_path

Default: null

source_path

Default: null

_RpcHandler_move_class

dest_path

Default: null

confirmed

Default: null

source_path

Default: null

_RpcHandler_class_inflect

new_path

Default: null

variant

Default: null

overwrite_existing

Default: null

current_path

Default: null

_RpcHandler_class_new

new_path

Default: null

variant

Default: null

overwrite_existing

Default: null

current_path

Default: null

_RpcHandler_transform

transform

Default: null

path

Default: null

source

Default: null

_RpcHandler_extract_constant

constant_name

Default: null

constant_name_suggestion

Default: null

path

Default: null

offset

Default: null

source

Default: null

_RpcHandler_extract_method

method_name

Default: null

offset_start

Default: null

offset_end

Default: null

source

Default: null

path

Default: null

_RpcHandler_generate_accessor

names

Default: null

path

Default: null

source

Default: null

offset

Default: null

_RpcHandler_generate_mutator

names

Default: null

path

Default: null

source

Default: null

offset

Default: null

_RpcHandler_generate_method

path

Default: null

source

Default: null

offset

Default: null

_RpcHandler_import_class

qualified_name

Default: null

alias

Default: null

offset

Default: null

source

Default: null

path

Default: null

_RpcHandler_rename_variable

name

Default: null

name_suggestion

Default: null

scope

Default: null

path

Default: null

source

Default: null

offset

Default: null

_RpcHandler_change_visibility

path

Default: null

source

Default: null

offset

Type: integer

Default: null

_RpcHandler_override_method

method_name

Default: null

class_name

Default: null

path

Default: null

source

Default: null

_RpcHandler_extract_expression

variable_name

Default: null

offset_start

Default: null

path

Default: null

source

Default: null

offset_end

Default: null

_RpcHandler_import_missing_classes

path

Default: null

source

Default: null

_RpcHandler_hover

source

Default: null

offset

Default: null

_RpcHandler_complete

type

Default: "php"

source

Default: null

offset

Default: null

_RpcHandler_navigate

source_path

Default: null

destination

Default: null

confirm_create

Default: null

_RpcHandler_context_menu

action

Default: null

current_path

Default: null

source

Default: null

offset

Default: null

_RpcHandler_echo

message

Default: null

_RpcHandler_offset_info

offset

Default: null

source

Default: null

_RpcHandler_goto_definition

language

Type: string

Language of the current file

Default: "php"

target

Type: string

Where should the reference be opened

Default: "focused_window"

Allowed values: “focused_window”, “vsplit”, “hsplit”, “new_tab”

offset

Type: integer

Number of character into the buffer

Default: null

source

Content of the current file

Default: null

path

Path of the current file

Default: null

_RpcHandler_goto_type

language

Type: string

Language of the current file

Default: "php"

target

Type: string

Where should the reference be opened

Default: "focused_window"

Allowed values: “focused_window”, “vsplit”, “hsplit”, “new_tab”

offset

Type: integer

Number of character into the buffer

Default: null

source

Content of the current file

Default: null

path

Path of the current file

Default: null

_RpcHandler_goto_implementation

language

Type: string

Language of the current file

Default: "php"

target

Type: string

Where should the reference be opened

Default: "focused_window"

Allowed values: “focused_window”, “vsplit”, “hsplit”, “new_tab”

offset

Type: integer

Number of character into the buffer

Default: null

source

Content of the current file

Default: null

path

Path of the current file

Default: null

_RpcHandler_index

watch

Default: false

interval

Type: integer

Default: 5000