lib/solargraph/language_server/host.rb
def create uri
        filename = uri_to_file(uri)
        result = false
        libraries.each do |lib|
          result = true if lib.create_from_disk filename
        end
        diagnoser.schedule uri if open?(uri)
        result
      end
# Respond to a notification that a file was created in the workspace.
# The libraries will determine whether the file should be merged; see
# Solargraph::Library#create_from_disk.
#
# @param uri [String] The file uri.
# @return [Boolean] True if a library accepted the file.
Respond to a notification that a file was created in the workspace.
The libraries will determine whether the file should be merged; see
Solargraph::Library#create_from_disk.
Respond to a notification that a file was created in the workspace . The libraries will determine whether the file should be merged ; see Solargraph :: Library#create_from_disk .
def create uri
        filename = uri_to_file(uri)
        result = false
        libraries.each do |lib|
          result = true if lib.create_from_disk filename
        end
        diagnoser.schedule uri if open?(uri)
        result
      end
def create uri filename = uri_to_file ( uri ) result = false libraries . each do | lib | result = true if lib . create_from_disk filename end diagnoser . schedule uri if open? ( uri ) result end
Respond to a notification that a file was created in the workspace.
Respond to a notification that a file was created in the workspace .
True if a library accepted the file.
True if a library accepted the file .
Boolean
uri
The file uri.
The file uri .