Sha256: 193d86a325958e928013f06c419b52bcec1a0c8e2a2d65e35c024066a934d12f

Contents?: true

Size: 1009 Bytes

Versions: 107

Compression:

Stored size: 1009 Bytes

Contents

module LanguageServer
  module Protocol
    module Constant
      #
      # How whitespace and indentation is handled during completion
      # item insertion.
      #
      module InsertTextMode
        #
        # The insertion or replace strings is taken as it is. If the
        # value is multi line the lines below the cursor will be
        # inserted using the indentation defined in the string value.
        # The client will not apply any kind of adjustments to the
        # string.
        #
        AS_IS = 1
        #
        # The editor adjusts leading whitespace of new lines so that
        # they match the indentation up to the cursor of the line for
        # which the item is accepted.
        #
        # Consider a line like this: <2tabs><cursor><3tabs>foo. Accepting a
        # multi line completion item is indented using 2 tabs and all
        # following lines inserted will be indented using 2 tabs as well.
        #
        ADJUST_INDENTATION = 2
      end
    end
  end
end

Version data entries

107 entries across 107 versions & 13 rubygems

Version Path
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/insert_text_mode.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/insert_text_mode.rb
katalyst-govuk-formbuilder-1.9.2 vendor/bundle/ruby/3.3.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/insert_text_mode.rb
harbr-2.8.1 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/insert_text_mode.rb
bison-0.1.0 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/insert_text_mode.rb
mlh-rubocop-config-1.0.3 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/insert_text_mode.rb
study_line-0.2.7 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/insert_text_mode.rb
study_line-0.2.6 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/insert_text_mode.rb
study_line-0.2.5 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/insert_text_mode.rb
study_line-0.2.4 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/insert_text_mode.rb
study_line-0.2.3 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/insert_text_mode.rb
study_line-0.2.2 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/insert_text_mode.rb
study_line-0.2.1 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/insert_text_mode.rb
study_line-0.2.0 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/insert_text_mode.rb
harbr-0.2.10 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/insert_text_mode.rb
harbr-0.2.9 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/insert_text_mode.rb
harbr-0.2.8 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/insert_text_mode.rb
harbr-0.2.7 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/insert_text_mode.rb
harbr-0.2.6 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/insert_text_mode.rb
harbr-0.2.5 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/insert_text_mode.rb