lib/solargraph/language_server/host.rb
def unregister_capabilities methods
        logger.debug "Unregistering capabilities: #{methods}"
        @register_semaphore.synchronize do
          send_request 'client/unregisterCapability', {
            unregisterations: methods.select{|m| registered?(m)}.map{ |m|
              @registered_capabilities.delete m
              {
                id: m,
                method: m
              }
            }
          }
        end
      end
# Unregister the methods with the client.
# This method will avoid duplicating unregistrations and ignore methods
# that were not flagged for dynamic registration by the client.
#
# @param methods [Array<String>] The methods to unregister
# @return [void]
Unregister the methods with the client.
This method will avoid duplicating unregistrations and ignore methods
that were not flagged for dynamic registration by the client.
Unregister the methods with the client . This method will avoid duplicating unregistrations and ignore methods that were not flagged for dynamic registration by the client .
def unregister_capabilities methods
        logger.debug "Unregistering capabilities: #{methods}"
        @register_semaphore.synchronize do
          send_request 'client/unregisterCapability', {
            unregisterations: methods.select{|m| registered?(m)}.map{ |m|
              @registered_capabilities.delete m
              {
                id: m,
                method: m
              }
            }
          }
        end
      end
def unregister_capabilities methods logger . debug "Unregistering capabilities: #{methods}" @register_semaphore . synchronize do send_request 'client/unregisterCapability' , { unregisterations : methods . select { | m | registered? ( m ) } . map { | m | @registered_capabilities . delete m { id : m , method : m } } } end end
Unregister the methods with the client.
Unregister the methods with the client .
None
void
methods
The methods to unregister
The methods to unregister