MCPcopy Create free account

hub / github.com/ycm-core/YouCompleteMe / functions

Functions902 in github.com/ycm-core/YouCompleteMe

↓ 115 callersFunctionMockVimBuffers
Simulates the Vim buffers list |buffers| where |current_buffer| is the buffer displayed in the current window and |cursor_position| is the current
python/ycm/tests/test_utils.py:660
↓ 101 callersMethodassert_has_exact_calls
( self, calls, any_order = False )
python/ycm/tests/test_utils.py:736
↓ 53 callersMethodget
( self, key, default = None )
python/ycm/tests/test_utils.py:628
↓ 44 callersFunctionAssertBuffersAreEqualAsBytes
( result_buffer, expected_buffer )
python/ycm/tests/vimsupport_test.py:33
↓ 37 callersMethodGetCompletionResponse
( self )
python/ycm/youcompleteme.py:358
↓ 36 callersFunction_BuildLocations
( start_line, start_column, end_line, end_column )
python/ycm/tests/vimsupport_test.py:61
↓ 35 callersMethodSendCompletionRequest
( self, force_semantic = False )
python/ycm/youcompleteme.py:336
↓ 33 callersFunctionMockCurrentColumnAndLineContents
( column, line_contents )
python/ycm/tests/base_test.py:36
↓ 27 callersFunctionGetIntValue
( variable )
python/ycm/vimsupport.py:926
↓ 23 callersMethodOnFileReadyToParse
( self )
python/ycm/youcompleteme.py:616
↓ 23 callersFunction_BuildChunk
( start_line, start_column, end_line, end_column,
python/ycm/tests/vimsupport_test.py:39
↓ 19 callersMethodHandleFileParseRequest
( self, block = False )
python/ycm/youcompleteme.py:753
↓ 17 callersFunctionBuildCompletionNamespace
( namespace = None, insertion_text = 'Test', menu_
python/ycm/tests/postcomplete_test.py:82
↓ 17 callersFunctionMockVimModule
The 'vim' module is something that is only present when running inside the Vim Python interpreter, so we replace it with a MagicMock for tests. If y
python/ycm/tests/test_utils.py:683
↓ 14 callersFunctionAddToGroupMap
( name, parent )
python/ycm/syntax_parse.py:115
↓ 13 callersFunctionBuildRequestData
Build request for the current buffer or the buffer with number |buffer_number| if specified.
python/ycm/client/base_request.py:220
↓ 13 callersMethodCurrentBuffer
( self )
python/ycm/youcompleteme.py:662
↓ 13 callersMethodpop
( self, index )
python/ycm/tests/test_utils.py:496
↓ 12 callersMethodShouldResendFileParseRequest
( self )
python/ycm/youcompleteme.py:789
↓ 12 callersMethod_Check
( self, completion_data, expected_vim_data )
python/ycm/tests/client/completion_request_test.py:32
↓ 12 callersFunction_HandlePollResponse
( response, diagnostics_handler )
python/ycm/client/messages_request.py:73
↓ 12 callersFunction_SetupForCsharpCompletionDone
( completions )
python/ycm/tests/postcomplete_test.py:115
↓ 11 callersFunctionBuildCompletion
( insertion_text = 'Test', menu_text = None, extra_menu_info = None,
python/ycm/tests/postcomplete_test.py:59
↓ 11 callersFunctionEscapeForVim
( text )
python/ycm/vimsupport.py:859
↓ 11 callersMethodHandleFuture
Get the server response from a |future| object and catch any exception while doing so. If an exception is raised because of a unknown .ycm_ext
python/ycm/client/base_request.py:63
↓ 11 callersFunctionMockCurrentFiletypes
( filetypes = [ '' ] )
python/ycm/tests/base_test.py:30
↓ 11 callersFunctionMockTextAfterCursor
( text )
python/ycm/tests/base_test.py:44
↓ 11 callersFunction_assert_rejects
( filter, text )
python/ycm/tests/diagnostic_filter_test.py:37
↓ 10 callersMethodCompletionRequestReady
( self )
python/ycm/youcompleteme.py:353
↓ 10 callersMethodPostDataToHandler
( self, data, handler, timeout = _R
python/ycm/client/base_request.py:128
↓ 10 callersMethod_GetExtraDataUserMayHaveCompleted
( self )
python/ycm/client/completion_request.py:89
↓ 9 callersMethodFileParseRequestReady
( self, block = False )
python/ycm/buffer.py:45
↓ 9 callersMethodOnPeriodicTick
( self )
python/ycm/youcompleteme.py:595
↓ 9 callersMethodPostDataToHandlerAsync
( data, handler, timeout = _READ_TIMEOUT_SEC )
python/ycm/client/base_request.py:144
↓ 9 callersMethodRunPostCommandActionsIfNeeded
( self, modifiers, buffer_command =
python/ycm/client/command_request.py:81
↓ 9 callersFunction_CreateFilterForTypes
( opts, types )
python/ycm/tests/diagnostic_filter_test.py:45
↓ 9 callersFunction_assert_accepts
( filter, text )
python/ycm/tests/diagnostic_filter_test.py:33
↓ 9 callersMethoddone
( self )
python/ycm/tests/mock_utils.py:55
↓ 8 callersFunctionBuildCompletionFixIt
( fixits, insertion_text = 'Test', menu_text = None,
python/ycm/tests/postcomplete_test.py:98
↓ 8 callersMethodDone
( self )
python/ycm/client/base_request.py:51
↓ 8 callersFunctionFormatDebugInfoResponse
( response )
python/ycm/client/debug_info_request.py:41
↓ 8 callersMethodIsServerAlive
( self )
python/ycm/youcompleteme.py:275
↓ 8 callersFunctionPresentDialog_Confirm_Call
Return a mock.call object for a call to vimsupport.PresentDialog, as called why vimsupport.Confirm with the supplied confirmation message
python/ycm/tests/event_notification_test.py:38
↓ 8 callersMethodResponse
( self )
python/ycm/client/base_request.py:55
↓ 8 callersFunctionUserOptions
( options )
python/ycm/tests/__init__.py:68
↓ 7 callersFunctionGetBufferNumberForFilename
( filename, create_buffer_if_needed = False )
python/ycm/vimsupport.py:148
↓ 7 callersMethodGetLines
Returns the contents of the buffer as a list of unicode strings.
python/ycm/tests/test_utils.py:458
↓ 7 callersFunctionMockCompletionRequest
Mock out the CompletionRequest, replacing the response handler JsonFromFuture with the |response_method| parameter.
python/ycm/tests/completion_test.py:38
↓ 7 callersMethodStart
( self )
python/ycm/client/base_request.py:47
↓ 7 callersFunctionYcmTextPropertyTupleMatcher
( start_line, start_col, end_line, end_col )
python/ycm/tests/diagnostic_interface_test.py:97
↓ 7 callersFunction_JavaFilter
( config )
python/ycm/tests/diagnostic_filter_test.py:41
↓ 7 callersMethod_OnCompleteDone_FixIt
( self )
python/ycm/client/completion_request.py:126
↓ 7 callersFunction_SetUpCompleteDone
( completions )
python/ycm/tests/postcomplete_test.py:122
↓ 6 callersFunctionCompleteItemIs
( word, abbr = None, menu = None, info = None, kind = None, **kwargs )
python/ycm/tests/postcomplete_test.py:37
↓ 6 callersFunctionDisplayServerException
( exception, truncate_message = False )
python/ycm/client/base_request.py:303
↓ 6 callersMethodGetErrorCount
( self )
python/ycm/buffer.py:122
↓ 6 callersMethodGetWarningCount
( self )
python/ycm/buffer.py:126
↓ 6 callersFunctionMakeServerException
( data )
python/ycm/client/base_request.py:330
↓ 6 callersFunctionMockArbitraryBuffer
Used via the with statement, set up a single buffer with an arbitrary name and no contents. Its filetype is set to the supplied filetype.
python/ycm/tests/event_notification_test.py:45
↓ 6 callersFunctionMockEventNotification
Mock out the EventNotification client request object, replacing the Response handler's JsonFromFuture with the supplied |response_method|. Additio
python/ycm/tests/event_notification_test.py:58
↓ 6 callersFunctionPathToTestFile
( *args )
python/ycm/tests/__init__.py:33
↓ 6 callersMethodResolveCompletionItem
( self, item )
python/ycm/youcompleteme.py:710
↓ 6 callersMethodSendCommandRequest
( self, arguments, modifiers, ha
python/ycm/youcompleteme.py:461
↓ 6 callersFunctionStopServer
( ycm )
python/ycm/tests/__init__.py:97
↓ 6 callersMethod_AddExtraConfDataIfNeeded
( self, extra_data )
python/ycm/youcompleteme.py:1007
↓ 6 callersFunction_FilterToMatchingCompletions
Filter to completions matching the item Vim said was completed
python/ycm/client/completion_request.py:154
↓ 5 callersFunctionContentsOfTestFile
( test_file )
python/ycm/tests/syntax_parse_test.py:29
↓ 5 callersMethodIsServerReady
( self )
python/ycm/youcompleteme.py:287
↓ 5 callersFunctionMockResolveRequest
Mock out the CompletionRequest, replacing the response handler JsonFromFuture with the |response_method| parameter.
python/ycm/tests/completion_test.py:58
↓ 5 callersMethodOnCompleteDone
( self )
python/ycm/client/completion_request.py:79
↓ 5 callersFunctionSendEventNotificationAsync
( event_name, buffer_number = None, extra_data
python/ycm/client/event_notification.py:58
↓ 5 callersFunctionSetVariableValue
( variable, value )
python/ycm/vimsupport.py:914
↓ 5 callersFunctionSimpleDiagnosticToJson
( start_line, start_col, end_line, end_col )
python/ycm/tests/diagnostic_interface_test.py:28
↓ 5 callersFunctionWaitUntilReady
( timeout = 5 )
python/ycm/tests/__init__.py:82
↓ 5 callersMethod_OnCompleteDone_Csharp
( self )
python/ycm/client/completion_request.py:107
↓ 5 callersFunctionhandle_to_index
( handle : int )
python/ycm/hierarchy_tree.py:52
↓ 4 callersFunctionBufferIsVisible
( buffer_number )
python/ycm/vimsupport.py:159
↓ 4 callersFunctionGetBoolValue
( variable )
python/ycm/vimsupport.py:922
↓ 4 callersFunctionGetBufferFilepath
( buffer_object )
python/ycm/vimsupport.py:166
↓ 4 callersFunctionJumpToPreviousWindow
Jump the vim cursor to its previous window position
python/ycm/vimsupport.py:1218
↓ 4 callersMethodNativeFiletypeCompletionUsable
( self )
python/ycm/youcompleteme.py:550
↓ 4 callersFunctionPostVimMessage
Display a message on the Vim status line. By default, the message is highlighted and logged to Vim command-line history (see :h history). Unset th
python/ycm/vimsupport.py:725
↓ 4 callersMethodResponse
( self )
python/ycm/client/command_request.py:72
↓ 4 callersFunctionRunNotifyUserIfServerCrashed
( ycm, post_vim_message, test )
python/ycm/tests/youcompleteme_test.py:52
↓ 4 callersFunctionSendCommandRequestAsync
( arguments, extra_data = None, silent = True,
python/ycm/client/command_request.py:218
↓ 4 callersMethodShowDiagnostics
( self )
python/ycm/youcompleteme.py:952
↓ 4 callersMethodToggleLogs
( self, size, mods, *filenames )
python/ycm/youcompleteme.py:859
↓ 4 callersMethodUpdateWithNewDiagnosticsForFile
( self, filepath, diagnostics )
python/ycm/youcompleteme.py:561
↓ 3 callersFunctionConvertCompletionDataToVimData
( completion_data )
python/ycm/client/completion_request.py:186
↓ 3 callersFunctionCurrentColumn
Returns the 0-based current column. Do NOT access the CurrentColumn in vim.current.line. It doesn't exist yet when the cursor is at the end of the
python/ycm/vimsupport.py:79
↓ 3 callersFunctionCurrentWorkingDirectory
( path )
python/ycm/tests/test_utils.py:116
↓ 3 callersFunctionGetCurrentBufferFilepath
()
python/ycm/vimsupport.py:155
↓ 3 callersMethodGetCurrentCompletionRequest
( self )
python/ycm/youcompleteme.py:523
↓ 3 callersMethodGetDataFromHandler
( self, handler, timeout = _READ_TIMEOUT_SEC,
python/ycm/client/base_request.py:103
↓ 3 callersFunctionGetVariableValue_CompleteItemIs
( word, abbr = None, menu = None, info = None, kind = None, **kwargs )
python/ycm/tests/postcomplete_test.py:50
↓ 3 callersMethodOnCursorMoved
( self )
python/ycm/buffer.py:118
↓ 3 callersMethodOnVimLeave
( self )
python/ycm/youcompleteme.py:695
↓ 3 callersMethodReset
( self )
python/ycm/hierarchy_tree.py:95
↓ 3 callersMethodRestartServer
( self )
python/ycm/youcompleteme.py:330
↓ 3 callersFunctionSimpleDiagnosticToJsonWithInvalidLineNum
( start_line, start_col, end_line, end_col )
python/ycm/tests/diagnostic_interface_test.py:57
next →1–100 of 902, ranked by callers