Method: LanguageServer::Protocol::Interface::CodeLensWorkspaceClientCapabilities#refresh_support

Defined in:
lib/language_server/protocol/interface/code_lens_workspace_client_capabilities.rb

#refresh_supportboolean | nil

Whether the client implementation supports a refresh request sent from the server to the client.

Note that this event is global and will force the client to refresh all code lenses currently shown. It should be used with absolute care and is useful for situation where a server for example detect a project wide change that requires such a calculation.

Returns:

  • (boolean | nil)

Since:

  • 3.16.0



26
27
28
# File 'lib/language_server/protocol/interface/code_lens_workspace_client_capabilities.rb', line 26

def refresh_support
  attributes.fetch(:refreshSupport)
end