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

Method UpdateDiagnostics

python/ycm/buffer.py:81–88  ·  view source on GitHub ↗
( self, force = False )

Source from the content-addressed store, hash-verified

79
80
81 def UpdateDiagnostics( self, force = False ):
82 if force or not self._async_diags:
83 self.UpdateWithNewDiagnostics( self._parse_request.Response(), False )
84 else:
85 # We need to call the response method, because it might throw an exception
86 # or require extra config confirmation, even if we don't actually use the
87 # diagnostics.
88 self._parse_request.Response()
89
90
91 def UpdateWithNewDiagnostics( self, diagnostics, async_message ):

Callers 1

Calls 2

ResponseMethod · 0.45

Tested by

no test coverage detected