Sha256: b0b756d90ffcbc579f0d6ac8c59126f6bb5c60b2d1da82c6226c6803aeb52a30
Contents?: true
Size: 1.97 KB
Versions: 4
Compression:
Stored size: 1.97 KB
Contents
module LanguageServer module Protocol module Constant # # The kind of a code action. # # Kinds are a hierarchical list of identifiers separated by `.`, e.g. `"refactor.extract.function"`. # # The set of kinds is open and client needs to announce the kinds it supports to the server during # initialization. # A set of predefined code action kinds # module CodeActionKind # # Base kind for quickfix actions: 'quickfix' # QUICK_FIX = 'quickfix' # # Base kind for refactoring actions: 'refactor' # REFACTOR = 'refactor' # # Base kind for refactoring extraction actions: 'refactor.extract' # # Example extract actions: # # - Extract method # - Extract function # - Extract variable # - Extract interface from class # - ... # REFACTOR_EXTRACT = 'refactor.extract' # # Base kind for refactoring inline actions: 'refactor.inline' # # Example inline actions: # # - Inline function # - Inline variable # - Inline constant # - ... # REFACTOR_INLINE = 'refactor.inline' # # Base kind for refactoring rewrite actions: 'refactor.rewrite' # # Example rewrite actions: # # - Convert JavaScript function to class # - Add or remove parameter # - Encapsulate field # - Make method static # - Move method to base class # - ... # REFACTOR_REWRITE = 'refactor.rewrite' # # Base kind for source actions: `source` # # Source code actions apply to the entire file. # SOURCE = 'source' # # Base kind for an organize imports source action: `source.organizeImports` # SOURCE_ORGANIZE_IMPORTS = 'source.organizeImports' end end end end
Version data entries
4 entries across 4 versions & 1 rubygems