package
0.0.0-20190318102628-d7df357d3e99
Repository: https://github.com/go-zh/tools.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
Abort is:*
* Applying the workspace change is simply aborted if one of the changes provided
* fails.
AfterDelay is:*
* Automatic after a delay.
Array is:.
Boolean is:.
Change is:*
* Interested in change events
*/.
Changed is:*
* The file got changed.
Class is:.
ClassCompletion is:.
ColorCompletion is:.
Comment is:*
* Folding range for a comment
*/.
Constant is:.
ConstantCompletion is:.
Constructor is:.
ConstructorCompletion is:.
Create is:*
* Supports creating new files and folders.
Created is:*
* The file got created.
Declaration is:*
* The declaration kind, its value is `declaration`, possible extensions can be
* `declaration.function`, `declaration.class` etc.
Delete is:*
* Supports deleting existing files and folders.
Deleted is:*
* The file got deleted.
Empty is:*
* Empty Kind.
Enum is:.
EnumCompletion is:.
EnumMember is:.
EnumMemberCompletion is:.
Error is:*
* An error message.
Event is:.
EventCompletion is:.
Field is:.
FieldCompletion is:.
File is:.
FileCompletion is:.
FocusOut is:*
* When the editor lost focus.
FolderCompletion is:.
Full is:*
* Documents are synced by always sending the full content
* of the document.
Function is:.
FunctionCompletion is:.
Imports is:*
* Folding range for a imports or includes
*/.
Incremental is:*
* Documents are synced by sending the full content on open.
Info is:*
* An information message.
Interface is:.
InterfaceCompletion is:.
Invoked is:*
* Completion was triggered by typing an identifier (24x7 code
* complete), manual invocation (e.g Ctrl+Space) or via API.
Key is:.
KeywordCompletion is:.
Log is:*
* A log message.
Manual is:*
* Manually triggered, e.g.
Markdown is:*
* Markdown is supported as a content format
*/.
Method is:.
MethodCompletion is:.
Module is:.
ModuleCompletion is:.
Namespace is:.
None is:*
* Documents should not be synced at all.
Null is:.
Number is:.
Object is:.
Operator is:.
OperatorCompletion is:.
Package is:.
PlainText is:*
* Plain text is supported as a content format
*/.
PlainTextTextFormat is:*
* The primary text to be inserted is treated as a plain string.
Property is:.
PropertyCompletion is:.
QuickFix is:*
* Base kind for quickfix actions: 'quickfix'
*/.
Read is:*
* Read-access of a symbol, like reading a variable.
Refactor is:*
* Base kind for refactoring actions: 'refactor'
*/.
RefactorExtract is:*
* Base kind for refactoring extraction actions: 'refactor.extract'
*
* Example extract actions:
*
* - Extract method
* - Extract function
* - Extract variable
* - Extract interface from class
* - ..
RefactorInline is:*
* Base kind for refactoring inline actions: 'refactor.inline'
*
* Example inline actions:
*
* - Inline function
* - Inline variable
* - Inline constant
* - ..
RefactorRewrite is:*
* 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
* - ..
ReferenceCompletion is:.
Region is:*
* Folding range for a region (e.g.
Rename is:*
* Supports renaming existing files and folders.
SeverityError is:*
* Reports an error.
SeverityHint is:*
* Reports a hint.
SeverityInformation is:*
* Reports an information.
SeverityWarning is:*
* Reports a warning.
SnippetCompletion is:.
SnippetTextFormat is:*
* The primary text to be inserted is treated as a snippet.
Source is:*
* Base kind for source actions: `source`
*
* Source code actions apply to the entire file.
SourceOrganizeImports is:*
* Base kind for an organize imports source action: `source.organizeImports`
*/.
Statement is:*
* The statment kind, its value is `statement`, possible extensions can be
* `statement.if` etc
*/.
String is:.
Struct is:.
StructCompletion is:.
Text is:*
* A textual occurrence.
TextCompletion is:.
TextOnlyTransactional is:*
* If the workspace edit contains only textual file changes they are executed transactional.
Transactional is:*
* All operations are executed transactional.
TriggerCharacter is:*
* Completion was triggered by a trigger character specified by
* the `triggerCharacters` properties of the `CompletionRegistrationOptions`.
TriggerForIncompleteCompletions is:*
* Completion was re-triggered as current completion list is incomplete
*/.
TypeParameter is:.
TypeParameterCompletion is:.
Undo is:*
* The client tries to undo the operations already executed.
UnitCompletion is:.
UnknownProtocolVersion is:*
* If the protocol version provided by the client can't be handled by the server.
Unnecessary is:*
* Unused or unnecessary code.
ValueCompletion is:.
Variable is:.
VariableCompletion is:.
Warning is:*
* A warning message.
Write is:*
* Write-access of a symbol, like writing to a variable.
# Structs
ApplyWorkspaceEditParams is:*
* The parameters passed via a apply workspace edit request.
ApplyWorkspaceEditResponse is:*
* A response returned from the apply workspace edit request.
No description provided by the author
ClientCapabilities is:.
CodeAction is:*
* A code action represents a change that can be performed in code, e.g.
CodeActionContext is:*
* Contains additional diagnostic information about the context in which
* a [code action](#CodeActionProvider.provideCodeActions) is run.
CodeActionOptions is:*
* Code Action options.
CodeActionParams is:*
* Params for the CodeActionRequest
*/.
CodeActionRegistrationOptions is:.
CodeLens is:*
* A code lens represents a [command](#Command) that should be shown along with
* source text, like the number of references, a way to run tests, etc.
CodeLensOptions is:*
* Code Lens options.
CodeLensParams is:*
* Params for the Code Lens request.
CodeLensRegistrationOptions is:*
* Code Lens registration options.
Color is:*
* Represents a color in RGBA space.
ColorClientCapabilities is:.
ColorInformation is:*
* Represents a color range from a document.
ColorPresentation is:.
ColorPresentationParams is:*
* Parameters for a [ColorPresentationRequest](#ColorPresentationRequest).
ColorProviderOptions is:.
ColorServerCapabilities is:.
No description provided by the author
Command is:*
* Represents a reference to a command.
CompletionContext is:*
* Contains additional information about the context in which a completion request is triggered.
CompletionItem is:*
* A completion item represents a text snippet that is
* proposed to complete text that is being typed.
CompletionList is:*
* Represents a collection of [completion items](#CompletionItem) to be presented
* in the editor.
CompletionOptions is:*
* Completion options.
CompletionParams is:*
* Completion parameters
*/.
CompletionRegistrationOptions is:*
* Completion registration options.
ConfigurationClientCapabilities is:.
ConfigurationItem is:.
ConfigurationParams is:*
* The parameters of a configuration request.
CreateFile is:*
* Create file operation.
CreateFileOptions is:*
* Options to create a file.
DeclarationClientCapabilities is:.
DeclarationServerCapabilities is:.
DeleteFile is:*
* Delete file operation
*/.
DeleteFileOptions is:*
* Delete file options
*/.
Diagnostic is:*
* Represents a diagnostic, such as a compiler error or warning.
DiagnosticRelatedInformation is:*
* Represents a related message and source code location for a diagnostic.
DidChangeConfigurationParams is:*
* The parameters of a change configuration notification.
DidChangeConfigurationRegistrationOptions is:.
DidChangeTextDocumentParams is:*
* The change text document notification's parameters.
DidChangeWatchedFilesParams is:*
* The watched files change notification's parameters.
DidChangeWatchedFilesRegistrationOptions is:*
* Describe options to be used when registered for text document change events.
DidChangeWorkspaceFoldersParams is:*
* The parameters of a `workspace/didChangeWorkspaceFolders` notification.
DidCloseTextDocumentParams is:*
* The parameters send in a close text document notification
*/.
DidOpenTextDocumentParams is:*
* The parameters send in a open text document notification
*/.
DidSaveTextDocumentParams is:*
* The parameters send in a save text document notification
*/.
DocumentColorParams is:*
* Parameters for a [DocumentColorRequest](#DocumentColorRequest).
DocumentFilter is a type*
* A document filter denotes a document by different properties like
* the [language](#TextDocument.languageId), the [scheme](#Uri.scheme) of
* its resource, or a glob-pattern that is applied to the [path](#TextDocument.fileName).
DocumentFormattingParams is:.
DocumentHighlight is:*
* A document highlight is a range inside a text document which deserves
* special attention.
DocumentLink is:*
* A document link is a range in a text document that links to an internal or external resource, like another
* text document or a web site.
DocumentLinkOptions is:*
* Document link options
*/.
DocumentLinkParams is:.
DocumentLinkRegistrationOptions is:*
* Document link registration options
*/.
DocumentOnTypeFormattingOptions is:*
* Format document on type options
*/.
DocumentOnTypeFormattingParams is:.
DocumentOnTypeFormattingRegistrationOptions is:*
* Format document on type options
*/.
DocumentRangeFormattingParams is:.
DocumentSymbol is:*
* Represents programming constructs like variables, classes, interfaces etc.
DocumentSymbolParams is:*
* Parameters for a [DocumentSymbolRequest](#DocumentSymbolRequest).
ExecuteCommandOptions is:*
* Execute command options.
ExecuteCommandParams is:.
ExecuteCommandRegistrationOptions is:*
* Execute command registration options.
FileEvent is:*
* An event describing a file change.
FileSystemWatcher is:.
FoldingRange is:*
* Represents a folding range.
FoldingRangeClientCapabilities is:.
FoldingRangeParams is:*
* Parameters for a [FoldingRangeRequest](#FoldingRangeRequest).
FoldingRangeProviderOptions is:.
FoldingRangeServerCapabilities is:.
FormattingOptions is:*
* Value-object describing what options formatting should use.
Hover is:*
* The result of a hover request.
ImplementationClientCapabilities is:.
ImplementationServerCapabilities is:.
InitializedParams is:.
InitializeParams is:.
InitializeResult is:*
* The result returned from an initialize request.
InnerClientCapabilities is:*
* Defines the capabilities provided by the client.
InnerInitializeParams is:*
* The initialize parameters
*/.
InnerServerCapabilities is:*
* Defines the capabilities provided by a language
* server.
Location is:*
* Represents a location inside a resource, such as a line
* inside a text file.
LocationLink is:*
* Represents the connection of two locations.
LogMessageParams is:*
* The log message parameters.
MarkupContent is:*
* A `MarkupContent` literal represents a string value which content is interpreted base on its
* kind flag.
MessageActionItem is:.
ParameterInformation is:*
* Represents a parameter of a callable-signature.
Position is:*
* Position in a text document expressed as zero-based line and character offset.
PublishDiagnosticsParams is:*
* The publish diagnostic notification's parameters.
Range is:*
* A range in a text document expressed as (zero-based) start and end positions.
ReferenceContext is:*
* Value-object that contains additional information when
* requesting references.
ReferenceParams is:*
* Parameters for a [ReferencesRequest](#ReferencesRequest).
Registration is:*
* General parameters to to register for an notification or to register a provider.
RegistrationParams is:.
RenameFile is:*
* Rename file operation
*/.
RenameFileOptions is:*
* Rename file options
*/.
RenameOptions is:*
* Rename options
*/.
RenameParams is:.
RenameRegistrationOptions is:*
* Rename registration options.
ResourceOperation is:.
SaveOptions is:*
* Save options.
SelectionRange is:*
* Represents a selection range
*/.
SelectionRangeClientCapabilities is:.
SelectionRangeProviderOptions is:.
SelectionRangeServerCapabilities is:.
ServerCapabilities is:.
ShowMessageParams is:*
* The parameters of a notification message.
ShowMessageRequestParams is:.
SignatureHelp is:*
* Signature help represents the signature of something
* callable.
SignatureHelpOptions is:*
* Signature help options.
SignatureHelpRegistrationOptions is:*
* Signature help registration options.
SignatureInformation is:*
* Represents the signature of something callable.
StaticRegistrationOptions is:*
* Static registration options to be returned in the initialize
* request.
SymbolInformation is:*
* Represents information about programming constructs like variables, classes,
* interfaces etc.
TextDocument is:*
* A simple text document.
TextDocumentChangeEvent is:*
* Event to signal changes to a simple text document.
TextDocumentChangeRegistrationOptions is:*
* Describe options to be used when registered for text document change events.
TextDocumentClientCapabilities is:*
* Text document specific client capabilities.
TextDocumentContentChangeEvent is:*
* An event describing a change to a text document.
TextDocumentEdit is:*
* Describes textual changes on a text document.
TextDocumentIdentifier is:*
* A literal to identify a text document in the client.
TextDocumentItem is:*
* An item to transfer a text document from the client to the
* server.
TextDocumentPositionParams is:*
* A parameter literal used in requests to pass a text document and a position inside that
* document.
TextDocumentRegistrationOptions is:*
* General text document registration options.
TextDocumentSaveRegistrationOptions is:*
* Save registration options.
TextDocumentSyncOptions is:.
TextDocumentWillSaveEvent is:.
TextEdit is:*
* A text edit applicable to a text document.
TextEditChange is:*
* A change to capture text edits for existing resources.
TypeDefinitionClientCapabilities is:.
TypeDefinitionServerCapabilities is:.
Unregistration is:*
* General parameters to unregister a request or notification.
UnregistrationParams is:.
VersionedTextDocumentIdentifier is:*
* An identifier to denote a specific version of a text document.
WillSaveTextDocumentParams is:*
* The parameters send in a will save text document notification.
WorkspaceClientCapabilities is:*
* Workspace specific client capabilities.
WorkspaceEdit is:*
* A workspace edit represents changes to many resources managed in the workspace.
WorkspaceFolder is:.
WorkspaceFoldersChangeEvent is:*
* The workspace folder change event.
WorkspaceFoldersClientCapabilities is:.
WorkspaceFoldersInitializeParams is:.
WorkspaceFoldersServerCapabilities is:.
WorkspaceSymbolParams is:*
* The parameters of a [WorkspaceSymbolRequest](#WorkspaceSymbolRequest).
# Type aliases
CodeActionKind defines constants.
CompletionItemKind defines constants.
CompletionTriggerKind defines constants.
DeclarationLink is a type*
* Information about where a symbol is declared.
DefinitionLink is a type*
* Information about where a symbol is defined.
DiagnosticSeverity defines constants.
DiagnosticTag defines constants.
DocumentHighlightKind defines constants.
DocumentSelector is a type*
* A document selector is the combination of one or many document filters.
FailureHandlingKind defines constants.
FileChangeType defines constants.
FoldingRangeKind defines constants.
InitializeError defines constants.
InsertTextFormat defines constants.
MarkupKind defines constants.
MessageType defines constants.
ResourceOperationKind defines constants.
SelectionRangeKind defines constants.
SymbolKind defines constants.
TextDocumentSaveReason defines constants.
TextDocumentSyncKind defines constants.
WatchKind defines constants.