MCPcopy
hub / github.com/ycm-core/YouCompleteMe / SendCommandRequest

Function SendCommandRequest

python/ycm/client/command_request.py:231–242  ·  view source on GitHub ↗
( arguments,
                        modifiers,
                        buffer_command = DEFAULT_BUFFER_COMMAND,
                        extra_data = None,
                        skip_post_command_action = False )

Source from the content-addressed store, hash-verified

229
230
231def SendCommandRequest( arguments,
232 modifiers,
233 buffer_command = DEFAULT_BUFFER_COMMAND,
234 extra_data = None,
235 skip_post_command_action = False ):
236 request = SendCommandRequestAsync( arguments,
237 extra_data = extra_data,
238 silent = False )
239 # Block here to get the response
240 if not skip_post_command_action:
241 request.RunPostCommandActionsIfNeeded( modifiers, buffer_command )
242 return request.Response()
243
244
245def GetCommandResponse( arguments, extra_data = None ):

Callers 1

SendCommandRequestMethod · 0.90

Calls 3

SendCommandRequestAsyncFunction · 0.85
ResponseMethod · 0.45

Tested by

no test coverage detected