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