coc-sonarlint 0.0.18 → 0.0.20

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.
Files changed (2) hide show
  1. package/lib/index.js +8 -0
  2. 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
+ IsOpenInEditor.type,
14271
+ (fileUri) => isOpenInEditor(fileUri)
14272
+ );
14265
14273
  languageClient.onRequest(
14266
14274
  SslCertificateConfirmation.type,
14267
14275
  (cert) => showSslCertificateConfirmationDialog(cert)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coc-sonarlint",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "description": "Coc sonar lint language server extension client",
5
5
  "license": "MIT",
6
6
  "main": "lib/index.js",