coc-sonarlint 0.0.18 → 0.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +8 -0
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -12101,6 +12101,10 @@ var NeedCompilationDatabaseRequest;
|
|
|
12101
12101
|
"sonarlint/needCompilationDatabase"
|
|
12102
12102
|
);
|
|
12103
12103
|
})(NeedCompilationDatabaseRequest || (NeedCompilationDatabaseRequest = {}));
|
|
12104
|
+
var IsOpenInEditor;
|
|
12105
|
+
((IsOpenInEditor2) => {
|
|
12106
|
+
IsOpenInEditor2.type = new coc2.RequestType("sonarlint/isOpenInEditor");
|
|
12107
|
+
})(IsOpenInEditor || (IsOpenInEditor = {}));
|
|
12104
12108
|
var ShouldAnalyseFileCheck;
|
|
12105
12109
|
((ShouldAnalyseFileCheck2) => {
|
|
12106
12110
|
ShouldAnalyseFileCheck2.type = new coc2.RequestType("sonarlint/shouldAnalyseFile");
|
|
@@ -14262,6 +14266,10 @@ function installCustomRequestHandlers() {
|
|
|
14262
14266
|
ShouldAnalyseFileCheck.type,
|
|
14263
14267
|
(params) => shouldAnalyseFile(params.uri)
|
|
14264
14268
|
);
|
|
14269
|
+
languageClient.onRequest(
|
|
14270
|
+
(void 0).type,
|
|
14271
|
+
(fileUri) => isOpenInEditor(fileUri)
|
|
14272
|
+
);
|
|
14265
14273
|
languageClient.onRequest(
|
|
14266
14274
|
SslCertificateConfirmation.type,
|
|
14267
14275
|
(cert) => showSslCertificateConfirmationDialog(cert)
|