CodeActionKind

langoustine.lsp.enumerations$.CodeActionKind$

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Inherited classlikes

object given_Typeable_T extends Typeable[T]

Attributes

Inherited from:
StringEnum (hidden)
Graph
Supertypes
trait TypeTest[Any, T]
trait Serializable
class Object
trait Matchable
class Any

Value members

Inherited methods

inline protected def entry(n: String): T

Attributes

Inherited from:
StringEnum (hidden)

Concrete fields

Empty kind.

Empty kind.

Attributes

Base kind for quickfix actions: 'quickfix'

Base kind for quickfix actions: 'quickfix'

Attributes

Base kind for refactoring actions: 'refactor'

Base kind for refactoring actions: 'refactor'

Attributes

Base kind for refactoring extraction actions: 'refactor.extract'

Base kind for refactoring extraction actions: 'refactor.extract'

Example extract actions:

  • Extract method
  • Extract function
  • Extract variable
  • Extract interface from class
  • ...

Attributes

Base kind for refactoring inline actions: 'refactor.inline'

Base kind for refactoring inline actions: 'refactor.inline'

Example inline actions:

  • Inline function
  • Inline variable
  • Inline constant
  • ...

Attributes

Base kind for refactoring rewrite actions: 'refactor.rewrite'

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
  • ...

Attributes

Base kind for source actions: source

Base kind for source actions: source

Source code actions apply to the entire file.

Attributes

Base kind for auto-fix source actions: source.fixAll.

Base kind for auto-fix source actions: source.fixAll.

Fix all actions automatically fix errors that have a clear fix that do not require user input. They should not suppress errors or perform unsafe fixes such as generating new types or classes.

Attributes

Since:

3.15.0

Base kind for an organize imports source action: source.organizeImports

Base kind for an organize imports source action: source.organizeImports

Attributes

Givens

Inherited givens

Attributes

Inherited from:
StringEnum (hidden)
given reader: Reader[CodeActionKind]

Attributes

Inherited from:
StringEnum (hidden)
given writer: Writer[CodeActionKind]

Attributes

Inherited from:
StringEnum (hidden)

Extensions

Inherited extensions

extension (t: T)
inline def raw: String

Attributes

Inherited from:
StringEnum (hidden)