-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathPhpactor.py
More file actions
87 lines (80 loc) · 6.21 KB
/
Copy pathPhpactor.py
File metadata and controls
87 lines (80 loc) · 6.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#####################################################################################################
# Phpactor Commands: [SUBLIME-PHPACTOR] -> Phpactor -> [SUBLIME-PHPACTOR] -> Phpactor Editor Action #
#####################################################################################################
from .modules.commands.phpactor_rpc.rpc import PhpactorRpcCommand
from .modules.commands.phpactor_rpc.dispatch_rpc_editor_action import PhpactorDispatchRpcEditorActionCommand
from .modules.commands.phpactor_rpc.echo import PhpactorEchoCommand
from .modules.commands.phpactor_rpc.goto_definition import PhpactorGotoDefinitionCommand
from .modules.commands.phpactor_rpc.goto_type import PhpactorGotoTypeCommand
from .modules.commands.phpactor_rpc.transform import PhpactorTransformCommand
from .modules.commands.phpactor_rpc.import_class import PhpactorImportClassCommand
from .modules.commands.phpactor_rpc.copy_class import PhpactorCopyClassCommand
from .modules.commands.phpactor_rpc.move_class import PhpactorMoveClassCommand
from .modules.commands.phpactor_rpc.offset_info import PhpactorOffsetInfoCommand
from .modules.commands.phpactor_rpc.class_new import PhpactorClassNewCommand
from .modules.commands.phpactor_rpc.class_inflect import PhpactorClassInflectCommand
from .modules.commands.phpactor_rpc.references import PhpactorReferencesCommand
from .modules.commands.phpactor_rpc.extract_constant import PhpactorExtractConstantCommand
from .modules.commands.phpactor_rpc.generate_method import PhpactorGenerateMethodCommand
from .modules.commands.phpactor_rpc.generate_accessor import PhpactorGenerateAccessorCommand
from .modules.commands.phpactor_rpc.context_menu import PhpactorContextMenuCommand
from .modules.commands.phpactor_rpc.navigate import PhpactorNavigateCommand
from .modules.commands.phpactor_rpc.import_missing_classes import PhpactorImportMissingClassesCommand
from .modules.commands.phpactor_rpc.override_method import PhpactorOverrideMethodCommand
from .modules.commands.phpactor_rpc.change_visibility import PhpactorChangeVisibilityCommand
from .modules.commands.phpactor_rpc.extract_expression import PhpactorExtractExpressionCommand
from .modules.commands.phpactor_rpc.extract_method import PhpactorExtractMethodCommand
from .modules.commands.phpactor_rpc.rename_variable import PhpactorRenameVariableCommand
from .modules.commands.phpactor_rpc.goto_implementation import PhpactorGotoImplementationCommand
###################################################################################################
# Phpactor Helper Commands: [SUBLIME-PHPACTOR] -> Phpactor -> [SUBLIME-PHPACTOR] -> Custom Action #
###################################################################################################
from .modules.commands.phpactor_rpc.file_info import PhpactorFileInfoCommand
from .modules.commands.phpactor_rpc.class_search import PhpactorClassSearchCommand
##########################################################
# Phpactor Editor Actions: [SUBLIME-PHPACTOR] -> Sublime #
##########################################################
from .modules.commands.phpactor_rpc.editor_action.echo import PhpactorEditorActionEchoCommand
from .modules.commands.phpactor_rpc.editor_action.error import PhpactorEditorActionErrorCommand
from .modules.commands.phpactor_rpc.editor_action.collection import PhpactorEditorActionCollectionCommand
from .modules.commands.phpactor_rpc.editor_action.file_references import PhpactorEditorActionFileReferencesCommand
from .modules.commands.phpactor_rpc.editor_action.input_callback import PhpactorEditorActionInputCallbackCommand
from .modules.commands.phpactor_rpc.editor_action.update_file_source import PhpactorEditorActionUpdateFileSourceCommand
from .modules.commands.phpactor_rpc.editor_action.open_file import PhpactorEditorActionOpenFileCommand
from .modules.commands.phpactor_rpc.editor_action.close_file import PhpactorEditorActionCloseFileCommand
from .modules.commands.phpactor_rpc.editor_action.information import PhpactorEditorActionInformationCommand
from .modules.commands.phpactor_rpc.editor_action.replace_file_source import PhpactorEditorActionReplaceFileSourceCommand
############################
# General Sublime Commands #
############################
from .modules.commands.tk_show_status_message import TkShowStatusMessageCommand
from .modules.commands.tk_open_file import TkOpenFileCommand
from .modules.commands.tk_close_file import TkCloseFileCommand
from .modules.commands.tk_open_file_preview import TkOpenFilePreviewCommand
from .modules.commands.tk_open_file_at_offset import TkOpenFileAtOffsetCommand
from .modules.commands.tk_run_command_when_file_loaded import TkRunCommandWhenFileLoaded,TkRunCommandWhenFileLoadedListener
#################################
# Sublime Sidebar Menu Commands #
#################################
from .modules.commands.sidebar.class_new import PhpactorSidebarClassNewCommand
from .modules.commands.sidebar.copy_class import PhpactorSidebarCopyClassCommand
from .modules.commands.sidebar.move_class import PhpactorSidebarMoveClassCommand
from .modules.commands.sidebar.class_inflect import PhpactorSidebarClassInflectCommand
from .modules.commands.sidebar.copy_absolute_path import PhpactorSidebarCopyAbsolutePathCommand
from .modules.commands.sidebar.copy_relative_path import PhpactorSidebarCopyRelativePathCommand
#####################################
# Sublime Tab Context Menu Commands #
#####################################
from .modules.commands.tab_context.reveal_in_side_bar import PhpactorTabContextRevealInSideBarCommand
from .modules.commands.tab_context.copy_absolute_path import PhpactorTabContextCopyAbsolutePathCommand
from .modules.commands.tab_context.copy_relative_path import PhpactorTabContextCopyRelativePathCommand
#################################
# Sublime Context Menu Commands #
#################################
from .modules.commands.context.copy_absolute_path import PhpactorContextCopyAbsolutePathCommand
from .modules.commands.context.copy_relative_path import PhpactorContextCopyRelativePathCommand
from .modules.commands.context.copy_class_reference import PhpactorContextCopyClassReferenceCommand
######################################
# Phpactor RPC based auto-completion #
######################################
from .modules.commands.phpactor_rpc.complete import PhpactorComplete