vscode-languageserver-types
Advanced tools
Comparing version 3.14.0 to 3.15.0-next.1
@@ -366,2 +366,12 @@ /** | ||
export declare type DiagnosticSeverity = 1 | 2 | 3 | 4; | ||
export declare namespace DiagnosticTag { | ||
/** | ||
* Unused or unnecessary code. | ||
* | ||
* Clients are allowed to render diagnostics with this tag faded out instead of having | ||
* an error squiggle. | ||
*/ | ||
const Unnecessary: 1; | ||
} | ||
export declare type DiagnosticTag = 1; | ||
/** | ||
@@ -396,2 +406,6 @@ * Represents a diagnostic, such as a compiler error or warning. Diagnostic objects | ||
/** | ||
* Additional metadata about the diagnostic. | ||
*/ | ||
tags?: DiagnosticTag[]; | ||
/** | ||
* An array of related diagnostic information, e.g. when symbol-names within | ||
@@ -1128,5 +1142,8 @@ * a scope collide all definitions can be marked via this property. | ||
* | ||
* Either a string or inclusive start and exclusive end offsets within its containing | ||
* [signature label](#SignatureInformation.label). *Note*: A label of type string must be | ||
* a substring of its containing signature information's [label](#SignatureInformation.label). | ||
* Either a string or an inclusive start and exclusive end offsets within its containing | ||
* signature label. (see SignatureInformation.label). The offsets are based on a UTF-16 | ||
* string representation as `Position` and `Range` does. | ||
* | ||
* *Note*: a label of type string should be a substring of its containing signature label. | ||
* Its intended use case is to highlight the parameter label part in the `SignatureInformation.label`. | ||
*/ | ||
@@ -1375,3 +1392,4 @@ label: string | [number, number]; | ||
/** | ||
* The name of this symbol. | ||
* The name of this symbol. Will be displayed in the user interface and therefore must not be | ||
* an empty string or a string only consisting of white spaces. | ||
*/ | ||
@@ -1646,5 +1664,17 @@ name: string; | ||
/** | ||
* Trim trailing whitespaces on a line. | ||
*/ | ||
trimTrailingWhitespace?: boolean; | ||
/** | ||
* Insert a newline character at the end of the file if one does not exist. | ||
*/ | ||
insertFinalNewline?: boolean; | ||
/** | ||
* Trim all newlines after the final newline at the end of the file. | ||
*/ | ||
trimFinalNewlines?: boolean; | ||
/** | ||
* Signature for further properties. | ||
*/ | ||
[key: string]: boolean | number | string; | ||
[key: string]: boolean | number | string | undefined; | ||
} | ||
@@ -1651,0 +1681,0 @@ /** |
@@ -295,2 +295,12 @@ /* -------------------------------------------------------------------------------------------- | ||
})(DiagnosticSeverity || (DiagnosticSeverity = {})); | ||
export var DiagnosticTag; | ||
(function (DiagnosticTag) { | ||
/** | ||
* Unused or unnecessary code. | ||
* | ||
* Clients are allowed to render diagnostics with this tag faded out instead of having | ||
* an error squiggle. | ||
*/ | ||
DiagnosticTag.Unnecessary = 1; | ||
})(DiagnosticTag || (DiagnosticTag = {})); | ||
/** | ||
@@ -297,0 +307,0 @@ * The Diagnostic namespace provides helper functions to work with |
@@ -366,2 +366,12 @@ /** | ||
export declare type DiagnosticSeverity = 1 | 2 | 3 | 4; | ||
export declare namespace DiagnosticTag { | ||
/** | ||
* Unused or unnecessary code. | ||
* | ||
* Clients are allowed to render diagnostics with this tag faded out instead of having | ||
* an error squiggle. | ||
*/ | ||
const Unnecessary: 1; | ||
} | ||
export declare type DiagnosticTag = 1; | ||
/** | ||
@@ -396,2 +406,6 @@ * Represents a diagnostic, such as a compiler error or warning. Diagnostic objects | ||
/** | ||
* Additional metadata about the diagnostic. | ||
*/ | ||
tags?: DiagnosticTag[]; | ||
/** | ||
* An array of related diagnostic information, e.g. when symbol-names within | ||
@@ -1128,5 +1142,8 @@ * a scope collide all definitions can be marked via this property. | ||
* | ||
* Either a string or inclusive start and exclusive end offsets within its containing | ||
* [signature label](#SignatureInformation.label). *Note*: A label of type string must be | ||
* a substring of its containing signature information's [label](#SignatureInformation.label). | ||
* Either a string or an inclusive start and exclusive end offsets within its containing | ||
* signature label. (see SignatureInformation.label). The offsets are based on a UTF-16 | ||
* string representation as `Position` and `Range` does. | ||
* | ||
* *Note*: a label of type string should be a substring of its containing signature label. | ||
* Its intended use case is to highlight the parameter label part in the `SignatureInformation.label`. | ||
*/ | ||
@@ -1375,3 +1392,4 @@ label: string | [number, number]; | ||
/** | ||
* The name of this symbol. | ||
* The name of this symbol. Will be displayed in the user interface and therefore must not be | ||
* an empty string or a string only consisting of white spaces. | ||
*/ | ||
@@ -1646,5 +1664,17 @@ name: string; | ||
/** | ||
* Trim trailing whitespaces on a line. | ||
*/ | ||
trimTrailingWhitespace?: boolean; | ||
/** | ||
* Insert a newline character at the end of the file if one does not exist. | ||
*/ | ||
insertFinalNewline?: boolean; | ||
/** | ||
* Trim all newlines after the final newline at the end of the file. | ||
*/ | ||
trimFinalNewlines?: boolean; | ||
/** | ||
* Signature for further properties. | ||
*/ | ||
[key: string]: boolean | number | string; | ||
[key: string]: boolean | number | string | undefined; | ||
} | ||
@@ -1651,0 +1681,0 @@ /** |
@@ -305,2 +305,12 @@ (function (factory) { | ||
})(DiagnosticSeverity = exports.DiagnosticSeverity || (exports.DiagnosticSeverity = {})); | ||
var DiagnosticTag; | ||
(function (DiagnosticTag) { | ||
/** | ||
* Unused or unnecessary code. | ||
* | ||
* Clients are allowed to render diagnostics with this tag faded out instead of having | ||
* an error squiggle. | ||
*/ | ||
DiagnosticTag.Unnecessary = 1; | ||
})(DiagnosticTag = exports.DiagnosticTag || (exports.DiagnosticTag = {})); | ||
/** | ||
@@ -307,0 +317,0 @@ * The Diagnostic namespace provides helper functions to work with |
{ | ||
"name": "vscode-languageserver-types", | ||
"description": "Types used by the Language server for node", | ||
"version": "3.14.0", | ||
"version": "3.15.0-next.1", | ||
"author": "Microsoft Corporation", | ||
@@ -9,3 +9,4 @@ "license": "MIT", | ||
"type": "git", | ||
"url": "https://github.com/Microsoft/vscode-languageserver-node.git" | ||
"url": "https://github.com/Microsoft/vscode-languageserver-node.git", | ||
"directory": "types" | ||
}, | ||
@@ -12,0 +13,0 @@ "bugs": { |
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
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
239002
6726
2