FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-lsp-server/pylsp/hookspecs.py at develop · deepnote/python-lsp-server · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
deepnote
/
python-lsp-server
Public
forked from
python-lsp/python-lsp-server
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python-lsp-server
/
pylsp
/
hookspecs.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
150 lines (92 loc) · 2.72 KB
Breadcrumbs
python-lsp-server
/
pylsp
/
hookspecs.py
Copy path
File metadata and controls
150 lines (92 loc) · 2.72 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
# Copyright 2017-2020 Palantir Technologies, Inc.
# Copyright 2021- Python Language Server Contributors.
from
pylsp
import
hookspec
@
hookspec
def
pylsp_code_actions
(
config
,
workspace
,
document
,
range
,
context
):
pass
@
hookspec
def
pylsp_code_lens
(
config
,
workspace
,
document
)
->
None
:
pass
@
hookspec
def
pylsp_commands
(
config
,
workspace
)
->
None
:
"""The list of command strings supported by the server.
Returns:
List[str]: The supported commands.
"""
@
hookspec
def
pylsp_completions
(
config
,
workspace
,
document
,
position
,
ignored_names
)
->
None
:
pass
@
hookspec
def
pylsp_completion_detail
(
config
,
item
)
->
None
:
pass
@
hookspec
(
firstresult
=
True
)
def
pylsp_completion_item_resolve
(
config
,
workspace
,
document
,
completion_item
)
->
None
:
pass
@
hookspec
def
pylsp_definitions
(
config
,
workspace
,
document
,
position
)
->
None
:
pass
@
hookspec
(
firstresult
=
True
)
def
pylsp_type_definition
(
config
,
document
,
position
):
pass
@
hookspec
def
pylsp_dispatchers
(
config
,
workspace
)
->
None
:
pass
@
hookspec
def
pylsp_document_did_open
(
config
,
workspace
,
document
)
->
None
:
pass
@
hookspec
def
pylsp_document_did_save
(
config
,
workspace
,
document
)
->
None
:
pass
@
hookspec
def
pylsp_document_highlight
(
config
,
workspace
,
document
,
position
)
->
None
:
pass
@
hookspec
def
pylsp_document_symbols
(
config
,
workspace
,
document
)
->
None
:
pass
@
hookspec
(
firstresult
=
True
)
def
pylsp_execute_command
(
config
,
workspace
,
command
,
arguments
)
->
None
:
pass
@
hookspec
def
pylsp_experimental_capabilities
(
config
,
workspace
)
->
None
:
pass
@
hookspec
def
pylsp_folding_range
(
config
,
workspace
,
document
)
->
None
:
pass
@
hookspec
(
firstresult
=
True
)
def
pylsp_format_document
(
config
,
workspace
,
document
,
options
)
->
None
:
pass
@
hookspec
(
firstresult
=
True
)
def
pylsp_format_range
(
config
,
workspace
,
document
,
range
,
options
)
->
None
:
pass
@
hookspec
(
firstresult
=
True
)
def
pylsp_hover
(
config
,
workspace
,
document
,
position
)
->
None
:
pass
@
hookspec
def
pylsp_initialize
(
config
,
workspace
)
->
None
:
pass
@
hookspec
def
pylsp_initialized
()
->
None
:
pass
@
hookspec
def
pylsp_lint
(
config
,
workspace
,
document
,
is_saved
)
->
None
:
pass
@
hookspec
def
pylsp_references
(
config
,
workspace
,
document
,
position
,
exclude_declaration
)
->
None
:
pass
@
hookspec
(
firstresult
=
True
)
def
pylsp_rename
(
config
,
workspace
,
document
,
position
,
new_name
)
->
None
:
pass
@
hookspec
def
pylsp_settings
(
config
)
->
None
:
pass
@
hookspec
(
firstresult
=
True
)
def
pylsp_signature_help
(
config
,
workspace
,
document
,
position
)
->
None
:
pass
@
hookspec
def
pylsp_workspace_configuration_changed
(
config
,
workspace
)
->
None
:
pass
@
hookspec
def
pylsp_shutdown
(
config
,
workspace
)
->
None
:
pass
Back
|
FazBrowse Home
|
New Git URL