coc-sonarlint 0.0.13 → 0.0.15
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 +280 -244
- package/package.json +53 -42
package/package.json
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coc-sonarlint",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "
|
|
5
|
-
"author": "asmodeus812",
|
|
3
|
+
"version": "0.0.15",
|
|
4
|
+
"description": "Coc sonar lint language server extension client",
|
|
6
5
|
"license": "MIT",
|
|
7
6
|
"main": "lib/index.js",
|
|
8
7
|
"keywords": [
|
|
9
8
|
"coc.nvim"
|
|
10
9
|
],
|
|
11
|
-
|
|
12
10
|
"engines": {
|
|
13
11
|
"coc": "^0.0.82"
|
|
14
12
|
},
|
|
@@ -72,8 +70,6 @@
|
|
|
72
70
|
"onLanguage:typescriptreact",
|
|
73
71
|
"onLanguage:jsx-tags",
|
|
74
72
|
"onLanguage:jsonc",
|
|
75
|
-
"workspaceContains:*/pom.xml",
|
|
76
|
-
"workspaceContains:build.gradle",
|
|
77
73
|
"workspaceContains:.sonar.properties"
|
|
78
74
|
],
|
|
79
75
|
"contributes": {
|
|
@@ -303,15 +299,40 @@
|
|
|
303
299
|
"markdownDescription": "Files whose name match this [glob pattern](https://docs.oracle.com/javase/tutorial/essential/io/fileOps.html#glob) are considered as test files by analyzers. Most rules are *not* evaluated on test files.\n\nIn [Connected Mode](command:SonarLint.HelpAndFeedbackLinkClicked?%22connectedModeDocs%22), this setting is configured **on the server-side** and shared among all contributors.\n\nExample: `**/test/**,**/*test*,**/*Test*`",
|
|
304
300
|
"scope": "resource"
|
|
305
301
|
},
|
|
306
|
-
|
|
302
|
+
|
|
303
|
+
"sonarlint.listFilesFoldersExclusions": {
|
|
307
304
|
"order": 13,
|
|
305
|
+
"type": "array",
|
|
306
|
+
"default": [
|
|
307
|
+
"node_modules",
|
|
308
|
+
"target",
|
|
309
|
+
".settings",
|
|
310
|
+
".angular",
|
|
311
|
+
".next",
|
|
312
|
+
".nuxt",
|
|
313
|
+
".cargo",
|
|
314
|
+
".cache",
|
|
315
|
+
".github",
|
|
316
|
+
".tmp",
|
|
317
|
+
".log",
|
|
318
|
+
".vim",
|
|
319
|
+
".git",
|
|
320
|
+
".svn",
|
|
321
|
+
".hg",
|
|
322
|
+
".idea",
|
|
323
|
+
".vscode"
|
|
324
|
+
],
|
|
325
|
+
"markdownDescription": "List of folder names which are to be excluded when the files for analysis are collected and sent to sonar language server"
|
|
326
|
+
},
|
|
327
|
+
"sonarlint.analysisExcludesStandalone": {
|
|
328
|
+
"order": 14,
|
|
308
329
|
"type": "string",
|
|
309
|
-
"default": "",
|
|
330
|
+
"default": "**/target/**,**/build/**,**/node_modules/**,**/.angular/**,**/.next/**,**/.nuxt/**,**/.cargo/**,**/.cache/**,**/.tmp/**,**/.log/**,**/.git/**,**/.svn/**,**/.hg/**,**/.idea/**,**/.vscode/**",
|
|
310
331
|
"markdownDescription": "Files whose name match this [glob pattern](https://docs.oracle.com/javase/tutorial/essential/io/fileOps.html#glob) will not be processed by analyzers. In [Connected Mode](command:SonarLint.HelpAndFeedbackLinkClicked?%22connectedModeDocs%22) with SonarQube or SonarCloud, this property will be ignored and server exclusion settings will be applied. No rules are evaluated on excluded files. Example: `**/lib/**,**/*generated*`",
|
|
311
332
|
"scope": "resource"
|
|
312
333
|
},
|
|
313
334
|
"sonarlint.notifyMissingCompileCommands": {
|
|
314
|
-
"order":
|
|
335
|
+
"order": 15,
|
|
315
336
|
"default": true,
|
|
316
337
|
"type": "boolean",
|
|
317
338
|
"markdownDescription": "Specifies if missing or invalid compile commands in c or cpp projects will prompt the user to generate or create one, by default the user will be asked for each new workspace he visits, and the user can opt out of it per workspace by selecting the option - Do not ask for compile commands again for this workspace",
|
|
@@ -326,11 +347,11 @@
|
|
|
326
347
|
"sonarlint.ls.directory": {
|
|
327
348
|
"order": 21,
|
|
328
349
|
"type": "string",
|
|
329
|
-
"markdownDescription": "Specifies the directory
|
|
350
|
+
"markdownDescription": "Specifies the directory where the sonar lint binaries are located, the directory must contain two sub-folders, a server/ and analyzers/, where the server binary is located in the server/ folder and all analyzer binaries are located in the analyzers/ folder",
|
|
330
351
|
"scope": "machine"
|
|
331
352
|
},
|
|
332
353
|
"sonarlint.ls.vmargs": {
|
|
333
|
-
"order":
|
|
354
|
+
"order": 22,
|
|
334
355
|
"type": "string",
|
|
335
356
|
"markdownDescription": "Extra JVM arguments used to launch the SonarLint Language Server. e.g. `-Xmx1024m`",
|
|
336
357
|
"scope": "machine"
|
|
@@ -405,7 +426,7 @@
|
|
|
405
426
|
"sonarlint.disableTelemetry": {
|
|
406
427
|
"order": 99,
|
|
407
428
|
"type": "boolean",
|
|
408
|
-
"default":
|
|
429
|
+
"default": true,
|
|
409
430
|
"markdownDescription": "Disable sending anonymous usage statistics to SonarSource. Click [here](https://github.com/SonarSource/sonarlint-vscode/blob/master/telemetry-sample.md) to see a sample of the data that are collected.",
|
|
410
431
|
"scope": "window"
|
|
411
432
|
},
|
|
@@ -420,54 +441,44 @@
|
|
|
420
441
|
},
|
|
421
442
|
"commands": [
|
|
422
443
|
{
|
|
423
|
-
"command": "
|
|
424
|
-
"title": "Show
|
|
425
|
-
"category": "SonarLint"
|
|
444
|
+
"command": "sonarlint.show.sonar.lint.output",
|
|
445
|
+
"title": "Show sonarlint Output"
|
|
426
446
|
},
|
|
427
447
|
{
|
|
428
|
-
"command": "
|
|
429
|
-
"title": "Enable Verbose Logging"
|
|
430
|
-
"category": "SonarLint"
|
|
448
|
+
"command": "sonarlint.enable.verbose.logs",
|
|
449
|
+
"title": "Enable Verbose Logging"
|
|
431
450
|
},
|
|
432
451
|
{
|
|
433
|
-
"command": "
|
|
434
|
-
"title": "Install
|
|
435
|
-
"category": "SonarLint"
|
|
452
|
+
"command": "sonarlint.install.managed.jre",
|
|
453
|
+
"title": "Install managed java runtime binaries"
|
|
436
454
|
},
|
|
437
455
|
{
|
|
438
|
-
"command": "
|
|
439
|
-
"title": "Configure
|
|
440
|
-
"category": "SonarLint"
|
|
456
|
+
"command": "sonarlint.configure.compilation.database",
|
|
457
|
+
"title": "Configure compilation database for C/C++ analysis"
|
|
441
458
|
},
|
|
442
459
|
{
|
|
443
|
-
"command": "
|
|
444
|
-
"title": "Deactivate"
|
|
445
|
-
"enablement": "view == SonarLint.AllRules"
|
|
460
|
+
"command": "sonarlint.deactivate.rule",
|
|
461
|
+
"title": "Deactivate sonar rule"
|
|
446
462
|
},
|
|
447
463
|
{
|
|
448
|
-
"command": "
|
|
449
|
-
"title": "Activate"
|
|
450
|
-
"enablement": "view == SonarLint.AllRules"
|
|
464
|
+
"command": "sonarlint.activate.rule",
|
|
465
|
+
"title": "Activate sonar rule"
|
|
451
466
|
},
|
|
452
467
|
{
|
|
453
|
-
"command": "
|
|
454
|
-
"title": "
|
|
455
|
-
"enablement": "view == SonarLint.AllRules"
|
|
468
|
+
"command": "sonarlint.show.all.rules",
|
|
469
|
+
"title": "Show all rules"
|
|
456
470
|
},
|
|
457
471
|
{
|
|
458
|
-
"command": "
|
|
459
|
-
"title": "
|
|
460
|
-
"enablement": "view == SonarLint.AllRules"
|
|
472
|
+
"command": "sonarlint.show.active.rules",
|
|
473
|
+
"title": "Show active rules"
|
|
461
474
|
},
|
|
462
475
|
{
|
|
463
|
-
"command": "
|
|
464
|
-
"title": "
|
|
465
|
-
"enablement": "view == SonarLint.AllRules"
|
|
476
|
+
"command": "sonarlint.show.inactive.rules",
|
|
477
|
+
"title": "Show inactive rules"
|
|
466
478
|
},
|
|
467
479
|
{
|
|
468
|
-
"command": "
|
|
469
|
-
"title": "Find Rule By Key"
|
|
470
|
-
"enablement": "view == SonarLint.AllRules"
|
|
480
|
+
"command": "sonarlint.find.rule.by.key",
|
|
481
|
+
"title": "Find Rule By Key"
|
|
471
482
|
}
|
|
472
483
|
]
|
|
473
484
|
}
|