CodeAction
Object Hierarchy:
Description:
public interface CodeAction : Object
A code action represents a change that can be performed in code, e.g. to fix a problem or to refactor code.
A CodeAction must set either `edit` and/or a `command`. If both are supplied, the `edit` is applied first, then the `command` is
executed.
Content:
Properties:
- public abstract Command command { get; set; }
A command this code action executes. If a code action provides an edit
and a command, first the edit is executed and then the command.
- public abstract Container diagnostics { get; set; }
The diagnostics that this code action resolves.
- public abstract WorkspaceEdit edit { get; set; }
The workspace edit this code action performs.
- public abstract CodeActionKind kind { get; set; }
The kind of the code action.
- public abstract string title { get; set; }
A short, human-readable, title for this code action.
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref