vscode-languageserver-types
Advanced tools
Comparing version 3.0.2-beta.5 to 3.0.3
@@ -107,15 +107,15 @@ /** | ||
*/ | ||
const Error = 1; | ||
const Error: 1; | ||
/** | ||
* Reports a warning. | ||
*/ | ||
const Warning = 2; | ||
const Warning: 2; | ||
/** | ||
* Reports an information. | ||
*/ | ||
const Information = 3; | ||
const Information: 3; | ||
/** | ||
* Reports a hint. | ||
*/ | ||
const Hint = 4; | ||
const Hint: 4; | ||
} | ||
@@ -252,2 +252,13 @@ export declare type DiagnosticSeverity = 1 | 2 | 3 | 4; | ||
/** | ||
* The TextDocumentEdit namespace provides helper function to create | ||
* create a edit that manipulates a text document. | ||
*/ | ||
export declare namespace TextDocumentEdit { | ||
/** | ||
* Creates a new `TextDocumentEdit` | ||
*/ | ||
function create(textDocument: VersionedTextDocumentIdentifier, edits: TextEdit[]): TextDocumentEdit; | ||
function is(value: any): value is TextDocumentEdit; | ||
} | ||
/** | ||
* A workspace edit represents changes to many resources managed | ||
@@ -412,20 +423,20 @@ * in the workspace. | ||
export declare namespace CompletionItemKind { | ||
const Text = 1; | ||
const Method = 2; | ||
const Function = 3; | ||
const Constructor = 4; | ||
const Field = 5; | ||
const Variable = 6; | ||
const Class = 7; | ||
const Interface = 8; | ||
const Module = 9; | ||
const Property = 10; | ||
const Unit = 11; | ||
const Value = 12; | ||
const Enum = 13; | ||
const Keyword = 14; | ||
const Snippet = 15; | ||
const Color = 16; | ||
const File = 17; | ||
const Reference = 18; | ||
const Text: 1; | ||
const Method: 2; | ||
const Function: 3; | ||
const Constructor: 4; | ||
const Field: 5; | ||
const Variable: 6; | ||
const Class: 7; | ||
const Interface: 8; | ||
const Module: 9; | ||
const Property: 10; | ||
const Unit: 11; | ||
const Value: 12; | ||
const Enum: 13; | ||
const Keyword: 14; | ||
const Snippet: 15; | ||
const Color: 16; | ||
const File: 17; | ||
const Reference: 18; | ||
} | ||
@@ -441,3 +452,3 @@ export declare type CompletionItemKind = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18; | ||
*/ | ||
const PlainText = 1; | ||
const PlainText: 1; | ||
/** | ||
@@ -453,3 +464,3 @@ * The primary text to be inserted is treated as a snippet. | ||
*/ | ||
const Snippet = 2; | ||
const Snippet: 2; | ||
} | ||
@@ -705,11 +716,11 @@ export declare type InsertTextFormat = 1 | 2; | ||
*/ | ||
const Text = 1; | ||
const Text: 1; | ||
/** | ||
* Read-access of a symbol, like reading a variable. | ||
*/ | ||
const Read = 2; | ||
const Read: 2; | ||
/** | ||
* Write-access of a symbol, like writing to a variable. | ||
*/ | ||
const Write = 3; | ||
const Write: 3; | ||
} | ||
@@ -747,20 +758,20 @@ export declare type DocumentHighlightKind = 1 | 2 | 3; | ||
export declare namespace SymbolKind { | ||
const File = 1; | ||
const Module = 2; | ||
const Namespace = 3; | ||
const Package = 4; | ||
const Class = 5; | ||
const Method = 6; | ||
const Property = 7; | ||
const Field = 8; | ||
const Constructor = 9; | ||
const Enum = 10; | ||
const Interface = 11; | ||
const Function = 12; | ||
const Variable = 13; | ||
const Constant = 14; | ||
const String = 15; | ||
const Number = 16; | ||
const Boolean = 17; | ||
const Array = 18; | ||
const File: 1; | ||
const Module: 2; | ||
const Namespace: 3; | ||
const Package: 4; | ||
const Class: 5; | ||
const Method: 6; | ||
const Property: 7; | ||
const Field: 8; | ||
const Constructor: 9; | ||
const Enum: 10; | ||
const Interface: 11; | ||
const Function: 12; | ||
const Variable: 13; | ||
const Constant: 14; | ||
const String: 15; | ||
const Number: 16; | ||
const Boolean: 17; | ||
const Array: 18; | ||
} | ||
@@ -1025,11 +1036,11 @@ export declare type SymbolKind = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18; | ||
*/ | ||
const Manual = 1; | ||
const Manual: 1; | ||
/** | ||
* Automatic after a delay. | ||
*/ | ||
const AfterDelay = 2; | ||
const AfterDelay: 2; | ||
/** | ||
* When the editor lost focus. | ||
*/ | ||
const FocusOut = 3; | ||
const FocusOut: 3; | ||
} | ||
@@ -1036,0 +1047,0 @@ export declare type TextDocumentSaveReason = 1 | 2 | 3; |
@@ -212,2 +212,23 @@ (function (factory) { | ||
})(TextEdit = exports.TextEdit || (exports.TextEdit = {})); | ||
/** | ||
* The TextDocumentEdit namespace provides helper function to create | ||
* create a edit that manipulates a text document. | ||
*/ | ||
var TextDocumentEdit; | ||
(function (TextDocumentEdit) { | ||
/** | ||
* Creates a new `TextDocumentEdit` | ||
*/ | ||
function create(textDocument, edits) { | ||
return { textDocument: textDocument, edits: edits }; | ||
} | ||
TextDocumentEdit.create = create; | ||
function is(value) { | ||
var candidate = value; | ||
return Is.defined(candidate) | ||
&& VersionedTextDocumentIdentifier.is(candidate.textDocument) | ||
&& Array.isArray(candidate.edits); | ||
} | ||
TextDocumentEdit.is = is; | ||
})(TextDocumentEdit = exports.TextDocumentEdit || (exports.TextDocumentEdit = {})); | ||
var TextEditChangeImpl = (function () { | ||
@@ -214,0 +235,0 @@ function TextEditChangeImpl(edits) { |
{ | ||
"name": "vscode-languageserver-types", | ||
"description": "Types used by the Language server for node", | ||
"version": "3.0.2-beta.5", | ||
"version": "3.0.3", | ||
"author": "Microsoft Corporation", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
69847
1946
1