-
-
Notifications
You must be signed in to change notification settings - Fork 960
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Cursor position ignored during code actions that insert or edit workspace #5106
Comments
I didn't write Java with vim, couldn't test this for now. The |
@fannheyward not sure what do you mean which verbose logs ? i have enabled This is from CocInfo 2024-08-21T14:39:26.813 INFO (pid:523584) [attach] - receive notification: doCodeAction [
{
providerId: '2f55606f-1a30-4c51-a8b2-c7687085cc33',
diagnostics: [],
data: { pid: '1', rid: '2' },
kind: 'source.generate.accessors',
title: 'Generate Getters and Setters'
}
] I feel like it might be related to the fact that when you execute actions your cursor changes focus to another buffer (the actions list or whatever) but that is just a random guess. |
Set |
@fannheyward here is some more information from the logs [Trace - 06:51:46.132] Received response 'textDocument/codeAction - (14)' in 101ms.
Result: [
{
"title": "Extract interface...",
"kind": "refactor.extract.interface",
"diagnostics": [
{
"range": {
"start": {
"line": 2,
"character": 22
},
"end": {
"line": 2,
"character": 23
}
},
"severity": 2,
"code": "java:S2326",
"source": "sonarlint",
"message": "T is not used in the class.",
"data": {
"entryKey": "ae5c8e5b-e09c-4b9c-94fb-0a0f6c7424c7"
}
},
{
"range": {
"start": {
"line": 16,
"character": 36
},
"end": {
"line": 16,
"character": 40
}
},
"severity": 2,
"code": "java:S1172",
"source": "sonarlint",
"message": "Remove these unused method parameters \"flag\", \"test\", \"pp\", \"p1\". [+3 locations]",
"data": {
"entryKey": "14c600cd-26d2-4734-b4c1-a082accbe729"
}
},
{
"range": {
"start": {
"line": 17,
"character": 37
},
"end": {
"line": 17,
"character": 38
}
},
"severity": 2,
"code": "java:S108",
"source": "sonarlint",
"message": "Either remove or fill this block of code.",
"data": {
"entryKey": "90e47cc9-238c-4006-aa54-1339de36d5cb"
}
},
{
"range": {
"start": {
"line": 19,
"character": 33
},
"end": {
"line": 19,
"character": 34
}
},
"severity": 2,
"code": "java:S108",
"source": "sonarlint",
"message": "Either remove or fill this block of code.",
"data": {
"entryKey": "e7b74550-f898-4b28-bed7-8ac39bd151bc"
}
},
{
"range": {
"start": {
"line": 22,
"character": 8
},
"end": {
"line": 22,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "12333eb1-159f-4fb7-a4c4-1b9d2e2d1998"
}
},
{
"range": {
"start": {
"line": 23,
"character": 8
},
"end": {
"line": 23,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "6ee032b4-a841-4bef-aa2b-04e88c0be5b0"
}
},
{
"range": {
"start": {
"line": 24,
"character": 8
},
"end": {
"line": 24,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "9207d41b-b672-4b55-ac1c-ecbdf9ffe172"
}
},
{
"range": {
"start": {
"line": 25,
"character": 8
},
"end": {
"line": 25,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "cd6e81b6-e137-4b51-ba59-8857f4ae9c03"
}
},
{
"range": {
"start": {
"line": 27,
"character": 8
},
"end": {
"line": 27,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "28299bd2-6104-4d52-8af6-2acf0dfe5fa3"
}
},
{
"range": {
"start": {
"line": 28,
"character": 8
},
"end": {
"line": 28,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "d6cd89f3-1577-464e-80c5-1f37a432c036"
}
},
{
"range": {
"start": {
"line": 29,
"character": 8
},
"end": {
"line": 29,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "c4cf43bf-a9f7-404a-bb6c-5b68d9e4278f"
}
},
{
"range": {
"start": {
"line": 30,
"character": 8
},
"end": {
"line": 30,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "f827b93e-33e8-43dd-b4c5-7eea2c1872dc"
}
},
{
"range": {
"start": {
"line": 32,
"character": 8
},
"end": {
"line": 32,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "bf1f7ac4-2344-4c9c-91db-56397b0ba863"
}
},
{
"range": {
"start": {
"line": 33,
"character": 8
},
"end": {
"line": 33,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "8b6b076b-1ad2-4967-968a-60ba9d07abcf"
}
},
{
"range": {
"start": {
"line": 34,
"character": 8
},
"end": {
"line": 34,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "20bdd3fa-5515-4f49-8e2e-c1249c04c595"
}
},
{
"range": {
"start": {
"line": 35,
"character": 8
},
"end": {
"line": 35,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "f441700a-dc09-4b1c-8e95-7460f2a91b2c"
}
}
],
"command": {
"title": "Extract interface...",
"command": "java.action.applyRefactoringCommand",
"arguments": [
"extractInterface",
{
"textDocument": {
"uri": "file:///home/asmodeus/.projects/javahehe/src/main/java/com/mycompany/app/ListTest.java"
},
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 49,
"character": 0
}
},
"context": {
"diagnostics": [
{
"range": {
"start": {
"line": 2,
"character": 22
},
"end": {
"line": 2,
"character": 23
}
},
"severity": 2,
"code": "java:S2326",
"source": "sonarlint",
"message": "T is not used in the class.",
"data": {
"entryKey": "ae5c8e5b-e09c-4b9c-94fb-0a0f6c7424c7"
}
},
{
"range": {
"start": {
"line": 16,
"character": 36
},
"end": {
"line": 16,
"character": 40
}
},
"severity": 2,
"code": "java:S1172",
"source": "sonarlint",
"message": "Remove these unused method parameters \"flag\", \"test\", \"pp\", \"p1\". [+3 locations]",
"data": {
"entryKey": "14c600cd-26d2-4734-b4c1-a082accbe729"
}
},
{
"range": {
"start": {
"line": 17,
"character": 37
},
"end": {
"line": 17,
"character": 38
}
},
"severity": 2,
"code": "java:S108",
"source": "sonarlint",
"message": "Either remove or fill this block of code.",
"data": {
"entryKey": "90e47cc9-238c-4006-aa54-1339de36d5cb"
}
},
{
"range": {
"start": {
"line": 19,
"character": 33
},
"end": {
"line": 19,
"character": 34
}
},
"severity": 2,
"code": "java:S108",
"source": "sonarlint",
"message": "Either remove or fill this block of code.",
"data": {
"entryKey": "e7b74550-f898-4b28-bed7-8ac39bd151bc"
}
},
{
"range": {
"start": {
"line": 22,
"character": 8
},
"end": {
"line": 22,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "12333eb1-159f-4fb7-a4c4-1b9d2e2d1998"
}
},
{
"range": {
"start": {
"line": 23,
"character": 8
},
"end": {
"line": 23,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "6ee032b4-a841-4bef-aa2b-04e88c0be5b0"
}
},
{
"range": {
"start": {
"line": 24,
"character": 8
},
"end": {
"line": 24,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "9207d41b-b672-4b55-ac1c-ecbdf9ffe172"
}
},
{
"range": {
"start": {
"line": 25,
"character": 8
},
"end": {
"line": 25,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "cd6e81b6-e137-4b51-ba59-8857f4ae9c03"
}
},
{
"range": {
"start": {
"line": 27,
"character": 8
},
"end": {
"line": 27,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "28299bd2-6104-4d52-8af6-2acf0dfe5fa3"
}
},
{
"range": {
"start": {
"line": 28,
"character": 8
},
"end": {
"line": 28,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "d6cd89f3-1577-464e-80c5-1f37a432c036"
}
},
{
"range": {
"start": {
"line": 29,
"character": 8
},
"end": {
"line": 29,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "c4cf43bf-a9f7-404a-bb6c-5b68d9e4278f"
}
},
{
"range": {
"start": {
"line": 30,
"character": 8
},
"end": {
"line": 30,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "f827b93e-33e8-43dd-b4c5-7eea2c1872dc"
}
},
{
"range": {
"start": {
"line": 32,
"character": 8
},
"end": {
"line": 32,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "bf1f7ac4-2344-4c9c-91db-56397b0ba863"
}
},
{
"range": {
"start": {
"line": 33,
"character": 8
},
"end": {
"line": 33,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "8b6b076b-1ad2-4967-968a-60ba9d07abcf"
}
},
{
"range": {
"start": {
"line": 34,
"character": 8
},
"end": {
"line": 34,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "20bdd3fa-5515-4f49-8e2e-c1249c04c595"
}
},
{
"range": {
"start": {
"line": 35,
"character": 8
},
"end": {
"line": 35,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "f441700a-dc09-4b1c-8e95-7460f2a91b2c"
}
}
],
"only": [
"",
"source",
"quickfix",
"refactor"
],
"triggerKind": 1
}
}
]
}
},
{
"title": "Move...",
"kind": "refactor.move",
"diagnostics": [
{
"range": {
"start": {
"line": 2,
"character": 22
},
"end": {
"line": 2,
"character": 23
}
},
"severity": 2,
"code": "java:S2326",
"source": "sonarlint",
"message": "T is not used in the class.",
"data": {
"entryKey": "ae5c8e5b-e09c-4b9c-94fb-0a0f6c7424c7"
}
},
{
"range": {
"start": {
"line": 16,
"character": 36
},
"end": {
"line": 16,
"character": 40
}
},
"severity": 2,
"code": "java:S1172",
"source": "sonarlint",
"message": "Remove these unused method parameters \"flag\", \"test\", \"pp\", \"p1\". [+3 locations]",
"data": {
"entryKey": "14c600cd-26d2-4734-b4c1-a082accbe729"
}
},
{
"range": {
"start": {
"line": 17,
"character": 37
},
"end": {
"line": 17,
"character": 38
}
},
"severity": 2,
"code": "java:S108",
"source": "sonarlint",
"message": "Either remove or fill this block of code.",
"data": {
"entryKey": "90e47cc9-238c-4006-aa54-1339de36d5cb"
}
},
{
"range": {
"start": {
"line": 19,
"character": 33
},
"end": {
"line": 19,
"character": 34
}
},
"severity": 2,
"code": "java:S108",
"source": "sonarlint",
"message": "Either remove or fill this block of code.",
"data": {
"entryKey": "e7b74550-f898-4b28-bed7-8ac39bd151bc"
}
},
{
"range": {
"start": {
"line": 22,
"character": 8
},
"end": {
"line": 22,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "12333eb1-159f-4fb7-a4c4-1b9d2e2d1998"
}
},
{
"range": {
"start": {
"line": 23,
"character": 8
},
"end": {
"line": 23,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "6ee032b4-a841-4bef-aa2b-04e88c0be5b0"
}
},
{
"range": {
"start": {
"line": 24,
"character": 8
},
"end": {
"line": 24,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "9207d41b-b672-4b55-ac1c-ecbdf9ffe172"
}
},
{
"range": {
"start": {
"line": 25,
"character": 8
},
"end": {
"line": 25,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "cd6e81b6-e137-4b51-ba59-8857f4ae9c03"
}
},
{
"range": {
"start": {
"line": 27,
"character": 8
},
"end": {
"line": 27,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "28299bd2-6104-4d52-8af6-2acf0dfe5fa3"
}
},
{
"range": {
"start": {
"line": 28,
"character": 8
},
"end": {
"line": 28,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "d6cd89f3-1577-464e-80c5-1f37a432c036"
}
},
{
"range": {
"start": {
"line": 29,
"character": 8
},
"end": {
"line": 29,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "c4cf43bf-a9f7-404a-bb6c-5b68d9e4278f"
}
},
{
"range": {
"start": {
"line": 30,
"character": 8
},
"end": {
"line": 30,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "f827b93e-33e8-43dd-b4c5-7eea2c1872dc"
}
},
{
"range": {
"start": {
"line": 32,
"character": 8
},
"end": {
"line": 32,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "bf1f7ac4-2344-4c9c-91db-56397b0ba863"
}
},
{
"range": {
"start": {
"line": 33,
"character": 8
},
"end": {
"line": 33,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "8b6b076b-1ad2-4967-968a-60ba9d07abcf"
}
},
{
"range": {
"start": {
"line": 34,
"character": 8
},
"end": {
"line": 34,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "20bdd3fa-5515-4f49-8e2e-c1249c04c595"
}
},
{
"range": {
"start": {
"line": 35,
"character": 8
},
"end": {
"line": 35,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "f441700a-dc09-4b1c-8e95-7460f2a91b2c"
}
}
],
"command": {
"title": "Move...",
"command": "java.action.applyRefactoringCommand",
"arguments": [
"moveFile",
{
"textDocument": {
"uri": "file:///home/asmodeus/.projects/javahehe/src/main/java/com/mycompany/app/ListTest.java"
},
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 49,
"character": 0
}
},
"context": {
"diagnostics": [
{
"range": {
"start": {
"line": 2,
"character": 22
},
"end": {
"line": 2,
"character": 23
}
},
"severity": 2,
"code": "java:S2326",
"source": "sonarlint",
"message": "T is not used in the class.",
"data": {
"entryKey": "ae5c8e5b-e09c-4b9c-94fb-0a0f6c7424c7"
}
},
{
"range": {
"start": {
"line": 16,
"character": 36
},
"end": {
"line": 16,
"character": 40
}
},
"severity": 2,
"code": "java:S1172",
"source": "sonarlint",
"message": "Remove these unused method parameters \"flag\", \"test\", \"pp\", \"p1\". [+3 locations]",
"data": {
"entryKey": "14c600cd-26d2-4734-b4c1-a082accbe729"
}
},
{
"range": {
"start": {
"line": 17,
"character": 37
},
"end": {
"line": 17,
"character": 38
}
},
"severity": 2,
"code": "java:S108",
"source": "sonarlint",
"message": "Either remove or fill this block of code.",
"data": {
"entryKey": "90e47cc9-238c-4006-aa54-1339de36d5cb"
}
},
{
"range": {
"start": {
"line": 19,
"character": 33
},
"end": {
"line": 19,
"character": 34
}
},
"severity": 2,
"code": "java:S108",
"source": "sonarlint",
"message": "Either remove or fill this block of code.",
"data": {
"entryKey": "e7b74550-f898-4b28-bed7-8ac39bd151bc"
}
},
{
"range": {
"start": {
"line": 22,
"character": 8
},
"end": {
"line": 22,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "12333eb1-159f-4fb7-a4c4-1b9d2e2d1998"
}
},
{
"range": {
"start": {
"line": 23,
"character": 8
},
"end": {
"line": 23,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "6ee032b4-a841-4bef-aa2b-04e88c0be5b0"
}
},
{
"range": {
"start": {
"line": 24,
"character": 8
},
"end": {
"line": 24,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "9207d41b-b672-4b55-ac1c-ecbdf9ffe172"
}
},
{
"range": {
"start": {
"line": 25,
"character": 8
},
"end": {
"line": 25,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "cd6e81b6-e137-4b51-ba59-8857f4ae9c03"
}
},
{
"range": {
"start": {
"line": 27,
"character": 8
},
"end": {
"line": 27,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "28299bd2-6104-4d52-8af6-2acf0dfe5fa3"
}
},
{
"range": {
"start": {
"line": 28,
"character": 8
},
"end": {
"line": 28,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "d6cd89f3-1577-464e-80c5-1f37a432c036"
}
},
{
"range": {
"start": {
"line": 29,
"character": 8
},
"end": {
"line": 29,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "c4cf43bf-a9f7-404a-bb6c-5b68d9e4278f"
}
},
{
"range": {
"start": {
"line": 30,
"character": 8
},
"end": {
"line": 30,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "f827b93e-33e8-43dd-b4c5-7eea2c1872dc"
}
},
{
"range": {
"start": {
"line": 32,
"character": 8
},
"end": {
"line": 32,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "bf1f7ac4-2344-4c9c-91db-56397b0ba863"
}
},
{
"range": {
"start": {
"line": 33,
"character": 8
},
"end": {
"line": 33,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "8b6b076b-1ad2-4967-968a-60ba9d07abcf"
}
},
{
"range": {
"start": {
"line": 34,
"character": 8
},
"end": {
"line": 34,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "20bdd3fa-5515-4f49-8e2e-c1249c04c595"
}
},
{
"range": {
"start": {
"line": 35,
"character": 8
},
"end": {
"line": 35,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "f441700a-dc09-4b1c-8e95-7460f2a91b2c"
}
}
],
"only": [
"",
"source",
"quickfix",
"refactor"
],
"triggerKind": 1
}
},
{
"uri": "file:///home/asmodeus/.projects/javahehe/src/main/java/com/mycompany/app/ListTest.java"
}
]
}
},
{
"title": "Organize imports",
"kind": "source.organizeImports",
"diagnostics": [],
"data": {
"pid": "0",
"rid": "0"
}
},
{
"title": "Generate Getters and Setters...",
"kind": "source.generate.accessors",
"diagnostics": [],
"command": {
"title": "Generate Getters and Setters...",
"command": "java.action.generateAccessorsPrompt",
"arguments": [
{
"kind": 2,
"textDocument": {
"uri": "file:///home/asmodeus/.projects/javahehe/src/main/java/com/mycompany/app/ListTest.java"
},
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 49,
"character": 0
}
},
"context": {
"diagnostics": [
{
"range": {
"start": {
"line": 2,
"character": 22
},
"end": {
"line": 2,
"character": 23
}
},
"severity": 2,
"code": "java:S2326",
"source": "sonarlint",
"message": "T is not used in the class.",
"data": {
"entryKey": "ae5c8e5b-e09c-4b9c-94fb-0a0f6c7424c7"
}
},
{
"range": {
"start": {
"line": 16,
"character": 36
},
"end": {
"line": 16,
"character": 40
}
},
"severity": 2,
"code": "java:S1172",
"source": "sonarlint",
"message": "Remove these unused method parameters \"flag\", \"test\", \"pp\", \"p1\". [+3 locations]",
"data": {
"entryKey": "14c600cd-26d2-4734-b4c1-a082accbe729"
}
},
{
"range": {
"start": {
"line": 17,
"character": 37
},
"end": {
"line": 17,
"character": 38
}
},
"severity": 2,
"code": "java:S108",
"source": "sonarlint",
"message": "Either remove or fill this block of code.",
"data": {
"entryKey": "90e47cc9-238c-4006-aa54-1339de36d5cb"
}
},
{
"range": {
"start": {
"line": 19,
"character": 33
},
"end": {
"line": 19,
"character": 34
}
},
"severity": 2,
"code": "java:S108",
"source": "sonarlint",
"message": "Either remove or fill this block of code.",
"data": {
"entryKey": "e7b74550-f898-4b28-bed7-8ac39bd151bc"
}
},
{
"range": {
"start": {
"line": 22,
"character": 8
},
"end": {
"line": 22,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "12333eb1-159f-4fb7-a4c4-1b9d2e2d1998"
}
},
{
"range": {
"start": {
"line": 23,
"character": 8
},
"end": {
"line": 23,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "6ee032b4-a841-4bef-aa2b-04e88c0be5b0"
}
},
{
"range": {
"start": {
"line": 24,
"character": 8
},
"end": {
"line": 24,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "9207d41b-b672-4b55-ac1c-ecbdf9ffe172"
}
},
{
"range": {
"start": {
"line": 25,
"character": 8
},
"end": {
"line": 25,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "cd6e81b6-e137-4b51-ba59-8857f4ae9c03"
}
},
{
"range": {
"start": {
"line": 27,
"character": 8
},
"end": {
"line": 27,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "28299bd2-6104-4d52-8af6-2acf0dfe5fa3"
}
},
{
"range": {
"start": {
"line": 28,
"character": 8
},
"end": {
"line": 28,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "d6cd89f3-1577-464e-80c5-1f37a432c036"
}
},
{
"range": {
"start": {
"line": 29,
"character": 8
},
"end": {
"line": 29,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "c4cf43bf-a9f7-404a-bb6c-5b68d9e4278f"
}
},
{
"range": {
"start": {
"line": 30,
"character": 8
},
"end": {
"line": 30,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "f827b93e-33e8-43dd-b4c5-7eea2c1872dc"
}
},
{
"range": {
"start": {
"line": 32,
"character": 8
},
"end": {
"line": 32,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "bf1f7ac4-2344-4c9c-91db-56397b0ba863"
}
},
{
"range": {
"start": {
"line": 33,
"character": 8
},
"end": {
"line": 33,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "8b6b076b-1ad2-4967-968a-60ba9d07abcf"
}
},
{
"range": {
"start": {
"line": 34,
"character": 8
},
"end": {
"line": 34,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "20bdd3fa-5515-4f49-8e2e-c1249c04c595"
}
},
{
"range": {
"start": {
"line": 35,
"character": 8
},
"end": {
"line": 35,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "f441700a-dc09-4b1c-8e95-7460f2a91b2c"
}
}
],
"only": [
"",
"source",
"quickfix",
"refactor"
],
"triggerKind": 1
}
}
]
}
},
{
"title": "Generate Getters...",
"kind": "source.generate.accessors",
"diagnostics": [],
"command": {
"title": "Generate Getters...",
"command": "java.action.generateAccessorsPrompt",
"arguments": [
{
"kind": 0,
"textDocument": {
"uri": "file:///home/asmodeus/.projects/javahehe/src/main/java/com/mycompany/app/ListTest.java"
},
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 49,
"character": 0
}
},
"context": {
"diagnostics": [
{
"range": {
"start": {
"line": 2,
"character": 22
},
"end": {
"line": 2,
"character": 23
}
},
"severity": 2,
"code": "java:S2326",
"source": "sonarlint",
"message": "T is not used in the class.",
"data": {
"entryKey": "ae5c8e5b-e09c-4b9c-94fb-0a0f6c7424c7"
}
},
{
"range": {
"start": {
"line": 16,
"character": 36
},
"end": {
"line": 16,
"character": 40
}
},
"severity": 2,
"code": "java:S1172",
"source": "sonarlint",
"message": "Remove these unused method parameters \"flag\", \"test\", \"pp\", \"p1\". [+3 locations]",
"data": {
"entryKey": "14c600cd-26d2-4734-b4c1-a082accbe729"
}
},
{
"range": {
"start": {
"line": 17,
"character": 37
},
"end": {
"line": 17,
"character": 38
}
},
"severity": 2,
"code": "java:S108",
"source": "sonarlint",
"message": "Either remove or fill this block of code.",
"data": {
"entryKey": "90e47cc9-238c-4006-aa54-1339de36d5cb"
}
},
{
"range": {
"start": {
"line": 19,
"character": 33
},
"end": {
"line": 19,
"character": 34
}
},
"severity": 2,
"code": "java:S108",
"source": "sonarlint",
"message": "Either remove or fill this block of code.",
"data": {
"entryKey": "e7b74550-f898-4b28-bed7-8ac39bd151bc"
}
},
{
"range": {
"start": {
"line": 22,
"character": 8
},
"end": {
"line": 22,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "12333eb1-159f-4fb7-a4c4-1b9d2e2d1998"
}
},
{
"range": {
"start": {
"line": 23,
"character": 8
},
"end": {
"line": 23,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "6ee032b4-a841-4bef-aa2b-04e88c0be5b0"
}
},
{
"range": {
"start": {
"line": 24,
"character": 8
},
"end": {
"line": 24,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "9207d41b-b672-4b55-ac1c-ecbdf9ffe172"
}
},
{
"range": {
"start": {
"line": 25,
"character": 8
},
"end": {
"line": 25,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "cd6e81b6-e137-4b51-ba59-8857f4ae9c03"
}
},
{
"range": {
"start": {
"line": 27,
"character": 8
},
"end": {
"line": 27,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "28299bd2-6104-4d52-8af6-2acf0dfe5fa3"
}
},
{
"range": {
"start": {
"line": 28,
"character": 8
},
"end": {
"line": 28,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "d6cd89f3-1577-464e-80c5-1f37a432c036"
}
},
{
"range": {
"start": {
"line": 29,
"character": 8
},
"end": {
"line": 29,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "c4cf43bf-a9f7-404a-bb6c-5b68d9e4278f"
}
},
{
"range": {
"start": {
"line": 30,
"character": 8
},
"end": {
"line": 30,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "f827b93e-33e8-43dd-b4c5-7eea2c1872dc"
}
},
{
"range": {
"start": {
"line": 32,
"character": 8
},
"end": {
"line": 32,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "bf1f7ac4-2344-4c9c-91db-56397b0ba863"
}
},
{
"range": {
"start": {
"line": 33,
"character": 8
},
"end": {
"line": 33,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "8b6b076b-1ad2-4967-968a-60ba9d07abcf"
}
},
{
"range": {
"start": {
"line": 34,
"character": 8
},
"end": {
"line": 34,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "20bdd3fa-5515-4f49-8e2e-c1249c04c595"
}
},
{
"range": {
"start": {
"line": 35,
"character": 8
},
"end": {
"line": 35,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "f441700a-dc09-4b1c-8e95-7460f2a91b2c"
}
}
],
"only": [
"",
"source",
"quickfix",
"refactor"
],
"triggerKind": 1
}
}
]
}
},
{
"title": "Generate Setters...",
"kind": "source.generate.accessors",
"diagnostics": [],
"command": {
"title": "Generate Setters...",
"command": "java.action.generateAccessorsPrompt",
"arguments": [
{
"kind": 1,
"textDocument": {
"uri": "file:///home/asmodeus/.projects/javahehe/src/main/java/com/mycompany/app/ListTest.java"
},
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 49,
"character": 0
}
},
"context": {
"diagnostics": [
{
"range": {
"start": {
"line": 2,
"character": 22
},
"end": {
"line": 2,
"character": 23
}
},
"severity": 2,
"code": "java:S2326",
"source": "sonarlint",
"message": "T is not used in the class.",
"data": {
"entryKey": "ae5c8e5b-e09c-4b9c-94fb-0a0f6c7424c7"
}
},
{
"range": {
"start": {
"line": 16,
"character": 36
},
"end": {
"line": 16,
"character": 40
}
},
"severity": 2,
"code": "java:S1172",
"source": "sonarlint",
"message": "Remove these unused method parameters \"flag\", \"test\", \"pp\", \"p1\". [+3 locations]",
"data": {
"entryKey": "14c600cd-26d2-4734-b4c1-a082accbe729"
}
},
{
"range": {
"start": {
"line": 17,
"character": 37
},
"end": {
"line": 17,
"character": 38
}
},
"severity": 2,
"code": "java:S108",
"source": "sonarlint",
"message": "Either remove or fill this block of code.",
"data": {
"entryKey": "90e47cc9-238c-4006-aa54-1339de36d5cb"
}
},
{
"range": {
"start": {
"line": 19,
"character": 33
},
"end": {
"line": 19,
"character": 34
}
},
"severity": 2,
"code": "java:S108",
"source": "sonarlint",
"message": "Either remove or fill this block of code.",
"data": {
"entryKey": "e7b74550-f898-4b28-bed7-8ac39bd151bc"
}
},
{
"range": {
"start": {
"line": 22,
"character": 8
},
"end": {
"line": 22,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "12333eb1-159f-4fb7-a4c4-1b9d2e2d1998"
}
},
{
"range": {
"start": {
"line": 23,
"character": 8
},
"end": {
"line": 23,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "6ee032b4-a841-4bef-aa2b-04e88c0be5b0"
}
},
{
"range": {
"start": {
"line": 24,
"character": 8
},
"end": {
"line": 24,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "9207d41b-b672-4b55-ac1c-ecbdf9ffe172"
}
},
{
"range": {
"start": {
"line": 25,
"character": 8
},
"end": {
"line": 25,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "cd6e81b6-e137-4b51-ba59-8857f4ae9c03"
}
},
{
"range": {
"start": {
"line": 27,
"character": 8
},
"end": {
"line": 27,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "28299bd2-6104-4d52-8af6-2acf0dfe5fa3"
}
},
{
"range": {
"start": {
"line": 28,
"character": 8
},
"end": {
"line": 28,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "d6cd89f3-1577-464e-80c5-1f37a432c036"
}
},
{
"range": {
"start": {
"line": 29,
"character": 8
},
"end": {
"line": 29,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "c4cf43bf-a9f7-404a-bb6c-5b68d9e4278f"
}
},
{
"range": {
"start": {
"line": 30,
"character": 8
},
"end": {
"line": 30,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "f827b93e-33e8-43dd-b4c5-7eea2c1872dc"
}
},
{
"range": {
"start": {
"line": 32,
"character": 8
},
"end": {
"line": 32,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "bf1f7ac4-2344-4c9c-91db-56397b0ba863"
}
},
{
"range": {
"start": {
"line": 33,
"character": 8
},
"end": {
"line": 33,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "8b6b076b-1ad2-4967-968a-60ba9d07abcf"
}
},
{
"range": {
"start": {
"line": 34,
"character": 8
},
"end": {
"line": 34,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "20bdd3fa-5515-4f49-8e2e-c1249c04c595"
}
},
{
"range": {
"start": {
"line": 35,
"character": 8
},
"end": {
"line": 35,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "f441700a-dc09-4b1c-8e95-7460f2a91b2c"
}
}
],
"only": [
"",
"source",
"quickfix",
"refactor"
],
"triggerKind": 1
}
}
]
}
},
{
"title": "Generate Constructors...",
"kind": "source.generate.constructors",
"diagnostics": [],
"command": {
"title": "Generate Constructors...",
"command": "java.action.generateConstructorsPrompt",
"arguments": [
{
"textDocument": {
"uri": "file:///home/asmodeus/.projects/javahehe/src/main/java/com/mycompany/app/ListTest.java"
},
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 49,
"character": 0
}
},
"context": {
"diagnostics": [
{
"range": {
"start": {
"line": 2,
"character": 22
},
"end": {
"line": 2,
"character": 23
}
},
"severity": 2,
"code": "java:S2326",
"source": "sonarlint",
"message": "T is not used in the class.",
"data": {
"entryKey": "ae5c8e5b-e09c-4b9c-94fb-0a0f6c7424c7"
}
},
{
"range": {
"start": {
"line": 16,
"character": 36
},
"end": {
"line": 16,
"character": 40
}
},
"severity": 2,
"code": "java:S1172",
"source": "sonarlint",
"message": "Remove these unused method parameters \"flag\", \"test\", \"pp\", \"p1\". [+3 locations]",
"data": {
"entryKey": "14c600cd-26d2-4734-b4c1-a082accbe729"
}
},
{
"range": {
"start": {
"line": 17,
"character": 37
},
"end": {
"line": 17,
"character": 38
}
},
"severity": 2,
"code": "java:S108",
"source": "sonarlint",
"message": "Either remove or fill this block of code.",
"data": {
"entryKey": "90e47cc9-238c-4006-aa54-1339de36d5cb"
}
},
{
"range": {
"start": {
"line": 19,
"character": 33
},
"end": {
"line": 19,
"character": 34
}
},
"severity": 2,
"code": "java:S108",
"source": "sonarlint",
"message": "Either remove or fill this block of code.",
"data": {
"entryKey": "e7b74550-f898-4b28-bed7-8ac39bd151bc"
}
},
{
"range": {
"start": {
"line": 22,
"character": 8
},
"end": {
"line": 22,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "12333eb1-159f-4fb7-a4c4-1b9d2e2d1998"
}
},
{
"range": {
"start": {
"line": 23,
"character": 8
},
"end": {
"line": 23,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "6ee032b4-a841-4bef-aa2b-04e88c0be5b0"
}
},
{
"range": {
"start": {
"line": 24,
"character": 8
},
"end": {
"line": 24,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "9207d41b-b672-4b55-ac1c-ecbdf9ffe172"
}
},
{
"range": {
"start": {
"line": 25,
"character": 8
},
"end": {
"line": 25,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "cd6e81b6-e137-4b51-ba59-8857f4ae9c03"
}
},
{
"range": {
"start": {
"line": 27,
"character": 8
},
"end": {
"line": 27,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "28299bd2-6104-4d52-8af6-2acf0dfe5fa3"
}
},
{
"range": {
"start": {
"line": 28,
"character": 8
},
"end": {
"line": 28,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "d6cd89f3-1577-464e-80c5-1f37a432c036"
}
},
{
"range": {
"start": {
"line": 29,
"character": 8
},
"end": {
"line": 29,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "c4cf43bf-a9f7-404a-bb6c-5b68d9e4278f"
}
},
{
"range": {
"start": {
"line": 30,
"character": 8
},
"end": {
"line": 30,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "f827b93e-33e8-43dd-b4c5-7eea2c1872dc"
}
},
{
"range": {
"start": {
"line": 32,
"character": 8
},
"end": {
"line": 32,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "bf1f7ac4-2344-4c9c-91db-56397b0ba863"
}
},
{
"range": {
"start": {
"line": 33,
"character": 8
},
"end": {
"line": 33,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "8b6b076b-1ad2-4967-968a-60ba9d07abcf"
}
},
{
"range": {
"start": {
"line": 34,
"character": 8
},
"end": {
"line": 34,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "20bdd3fa-5515-4f49-8e2e-c1249c04c595"
}
},
{
"range": {
"start": {
"line": 35,
"character": 8
},
"end": {
"line": 35,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "f441700a-dc09-4b1c-8e95-7460f2a91b2c"
}
}
],
"only": [
"",
"source",
"quickfix",
"refactor"
],
"triggerKind": 1
}
}
]
}
},
{
"title": "Generate hashCode() and equals()...",
"kind": "source.generate.hashCodeEquals",
"diagnostics": [],
"command": {
"title": "Generate hashCode() and equals()...",
"command": "java.action.hashCodeEqualsPrompt",
"arguments": [
{
"textDocument": {
"uri": "file:///home/asmodeus/.projects/javahehe/src/main/java/com/mycompany/app/ListTest.java"
},
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 49,
"character": 0
}
},
"context": {
"diagnostics": [
{
"range": {
"start": {
"line": 2,
"character": 22
},
"end": {
"line": 2,
"character": 23
}
},
"severity": 2,
"code": "java:S2326",
"source": "sonarlint",
"message": "T is not used in the class.",
"data": {
"entryKey": "ae5c8e5b-e09c-4b9c-94fb-0a0f6c7424c7"
}
},
{
"range": {
"start": {
"line": 16,
"character": 36
},
"end": {
"line": 16,
"character": 40
}
},
"severity": 2,
"code": "java:S1172",
"source": "sonarlint",
"message": "Remove these unused method parameters \"flag\", \"test\", \"pp\", \"p1\". [+3 locations]",
"data": {
"entryKey": "14c600cd-26d2-4734-b4c1-a082accbe729"
}
},
{
"range": {
"start": {
"line": 17,
"character": 37
},
"end": {
"line": 17,
"character": 38
}
},
"severity": 2,
"code": "java:S108",
"source": "sonarlint",
"message": "Either remove or fill this block of code.",
"data": {
"entryKey": "90e47cc9-238c-4006-aa54-1339de36d5cb"
}
},
{
"range": {
"start": {
"line": 19,
"character": 33
},
"end": {
"line": 19,
"character": 34
}
},
"severity": 2,
"code": "java:S108",
"source": "sonarlint",
"message": "Either remove or fill this block of code.",
"data": {
"entryKey": "e7b74550-f898-4b28-bed7-8ac39bd151bc"
}
},
{
"range": {
"start": {
"line": 22,
"character": 8
},
"end": {
"line": 22,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "12333eb1-159f-4fb7-a4c4-1b9d2e2d1998"
}
},
{
"range": {
"start": {
"line": 23,
"character": 8
},
"end": {
"line": 23,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "6ee032b4-a841-4bef-aa2b-04e88c0be5b0"
}
},
{
"range": {
"start": {
"line": 24,
"character": 8
},
"end": {
"line": 24,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "9207d41b-b672-4b55-ac1c-ecbdf9ffe172"
}
},
{
"range": {
"start": {
"line": 25,
"character": 8
},
"end": {
"line": 25,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "cd6e81b6-e137-4b51-ba59-8857f4ae9c03"
}
},
{
"range": {
"start": {
"line": 27,
"character": 8
},
"end": {
"line": 27,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "28299bd2-6104-4d52-8af6-2acf0dfe5fa3"
}
},
{
"range": {
"start": {
"line": 28,
"character": 8
},
"end": {
"line": 28,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "d6cd89f3-1577-464e-80c5-1f37a432c036"
}
},
{
"range": {
"start": {
"line": 29,
"character": 8
},
"end": {
"line": 29,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "c4cf43bf-a9f7-404a-bb6c-5b68d9e4278f"
}
},
{
"range": {
"start": {
"line": 30,
"character": 8
},
"end": {
"line": 30,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "f827b93e-33e8-43dd-b4c5-7eea2c1872dc"
}
},
{
"range": {
"start": {
"line": 32,
"character": 8
},
"end": {
"line": 32,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "bf1f7ac4-2344-4c9c-91db-56397b0ba863"
}
},
{
"range": {
"start": {
"line": 33,
"character": 8
},
"end": {
"line": 33,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "8b6b076b-1ad2-4967-968a-60ba9d07abcf"
}
},
{
"range": {
"start": {
"line": 34,
"character": 8
},
"end": {
"line": 34,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "20bdd3fa-5515-4f49-8e2e-c1249c04c595"
}
},
{
"range": {
"start": {
"line": 35,
"character": 8
},
"end": {
"line": 35,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "f441700a-dc09-4b1c-8e95-7460f2a91b2c"
}
}
],
"only": [
"",
"source",
"quickfix",
"refactor"
],
"triggerKind": 1
}
}
]
}
},
{
"title": "Generate toString()...",
"kind": "source.generate.toString",
"diagnostics": [],
"command": {
"title": "Generate toString()...",
"command": "java.action.generateToStringPrompt",
"arguments": [
{
"textDocument": {
"uri": "file:///home/asmodeus/.projects/javahehe/src/main/java/com/mycompany/app/ListTest.java"
},
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 49,
"character": 0
}
},
"context": {
"diagnostics": [
{
"range": {
"start": {
"line": 2,
"character": 22
},
"end": {
"line": 2,
"character": 23
}
},
"severity": 2,
"code": "java:S2326",
"source": "sonarlint",
"message": "T is not used in the class.",
"data": {
"entryKey": "ae5c8e5b-e09c-4b9c-94fb-0a0f6c7424c7"
}
},
{
"range": {
"start": {
"line": 16,
"character": 36
},
"end": {
"line": 16,
"character": 40
}
},
"severity": 2,
"code": "java:S1172",
"source": "sonarlint",
"message": "Remove these unused method parameters \"flag\", \"test\", \"pp\", \"p1\". [+3 locations]",
"data": {
"entryKey": "14c600cd-26d2-4734-b4c1-a082accbe729"
}
},
{
"range": {
"start": {
"line": 17,
"character": 37
},
"end": {
"line": 17,
"character": 38
}
},
"severity": 2,
"code": "java:S108",
"source": "sonarlint",
"message": "Either remove or fill this block of code.",
"data": {
"entryKey": "90e47cc9-238c-4006-aa54-1339de36d5cb"
}
},
{
"range": {
"start": {
"line": 19,
"character": 33
},
"end": {
"line": 19,
"character": 34
}
},
"severity": 2,
"code": "java:S108",
"source": "sonarlint",
"message": "Either remove or fill this block of code.",
"data": {
"entryKey": "e7b74550-f898-4b28-bed7-8ac39bd151bc"
}
},
{
"range": {
"start": {
"line": 22,
"character": 8
},
"end": {
"line": 22,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "12333eb1-159f-4fb7-a4c4-1b9d2e2d1998"
}
},
{
"range": {
"start": {
"line": 23,
"character": 8
},
"end": {
"line": 23,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "6ee032b4-a841-4bef-aa2b-04e88c0be5b0"
}
},
{
"range": {
"start": {
"line": 24,
"character": 8
},
"end": {
"line": 24,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "9207d41b-b672-4b55-ac1c-ecbdf9ffe172"
}
},
{
"range": {
"start": {
"line": 25,
"character": 8
},
"end": {
"line": 25,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "cd6e81b6-e137-4b51-ba59-8857f4ae9c03"
}
},
{
"range": {
"start": {
"line": 27,
"character": 8
},
"end": {
"line": 27,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "28299bd2-6104-4d52-8af6-2acf0dfe5fa3"
}
},
{
"range": {
"start": {
"line": 28,
"character": 8
},
"end": {
"line": 28,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "d6cd89f3-1577-464e-80c5-1f37a432c036"
}
},
{
"range": {
"start": {
"line": 29,
"character": 8
},
"end": {
"line": 29,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "c4cf43bf-a9f7-404a-bb6c-5b68d9e4278f"
}
},
{
"range": {
"start": {
"line": 30,
"character": 8
},
"end": {
"line": 30,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "f827b93e-33e8-43dd-b4c5-7eea2c1872dc"
}
},
{
"range": {
"start": {
"line": 32,
"character": 8
},
"end": {
"line": 32,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "bf1f7ac4-2344-4c9c-91db-56397b0ba863"
}
},
{
"range": {
"start": {
"line": 33,
"character": 8
},
"end": {
"line": 33,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "8b6b076b-1ad2-4967-968a-60ba9d07abcf"
}
},
{
"range": {
"start": {
"line": 34,
"character": 8
},
"end": {
"line": 34,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "20bdd3fa-5515-4f49-8e2e-c1249c04c595"
}
},
{
"range": {
"start": {
"line": 35,
"character": 8
},
"end": {
"line": 35,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "f441700a-dc09-4b1c-8e95-7460f2a91b2c"
}
}
],
"only": [
"",
"source",
"quickfix",
"refactor"
],
"triggerKind": 1
}
}
]
}
},
{
"title": "Override/Implement Methods...",
"kind": "source.overrideMethods",
"diagnostics": [],
"command": {
"title": "Override/Implement Methods...",
"command": "java.action.overrideMethodsPrompt",
"arguments": [
{
"textDocument": {
"uri": "file:///home/asmodeus/.projects/javahehe/src/main/java/com/mycompany/app/ListTest.java"
},
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 49,
"character": 0
}
},
"context": {
"diagnostics": [
{
"range": {
"start": {
"line": 2,
"character": 22
},
"end": {
"line": 2,
"character": 23
}
},
"severity": 2,
"code": "java:S2326",
"source": "sonarlint",
"message": "T is not used in the class.",
"data": {
"entryKey": "ae5c8e5b-e09c-4b9c-94fb-0a0f6c7424c7"
}
},
{
"range": {
"start": {
"line": 16,
"character": 36
},
"end": {
"line": 16,
"character": 40
}
},
"severity": 2,
"code": "java:S1172",
"source": "sonarlint",
"message": "Remove these unused method parameters \"flag\", \"test\", \"pp\", \"p1\". [+3 locations]",
"data": {
"entryKey": "14c600cd-26d2-4734-b4c1-a082accbe729"
}
},
{
"range": {
"start": {
"line": 17,
"character": 37
},
"end": {
"line": 17,
"character": 38
}
},
"severity": 2,
"code": "java:S108",
"source": "sonarlint",
"message": "Either remove or fill this block of code.",
"data": {
"entryKey": "90e47cc9-238c-4006-aa54-1339de36d5cb"
}
},
{
"range": {
"start": {
"line": 19,
"character": 33
},
"end": {
"line": 19,
"character": 34
}
},
"severity": 2,
"code": "java:S108",
"source": "sonarlint",
"message": "Either remove or fill this block of code.",
"data": {
"entryKey": "e7b74550-f898-4b28-bed7-8ac39bd151bc"
}
},
{
"range": {
"start": {
"line": 22,
"character": 8
},
"end": {
"line": 22,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "12333eb1-159f-4fb7-a4c4-1b9d2e2d1998"
}
},
{
"range": {
"start": {
"line": 23,
"character": 8
},
"end": {
"line": 23,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "6ee032b4-a841-4bef-aa2b-04e88c0be5b0"
}
},
{
"range": {
"start": {
"line": 24,
"character": 8
},
"end": {
"line": 24,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "9207d41b-b672-4b55-ac1c-ecbdf9ffe172"
}
},
{
"range": {
"start": {
"line": 25,
"character": 8
},
"end": {
"line": 25,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "cd6e81b6-e137-4b51-ba59-8857f4ae9c03"
}
},
{
"range": {
"start": {
"line": 27,
"character": 8
},
"end": {
"line": 27,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "28299bd2-6104-4d52-8af6-2acf0dfe5fa3"
}
},
{
"range": {
"start": {
"line": 28,
"character": 8
},
"end": {
"line": 28,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "d6cd89f3-1577-464e-80c5-1f37a432c036"
}
},
{
"range": {
"start": {
"line": 29,
"character": 8
},
"end": {
"line": 29,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "c4cf43bf-a9f7-404a-bb6c-5b68d9e4278f"
}
},
{
"range": {
"start": {
"line": 30,
"character": 8
},
"end": {
"line": 30,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "f827b93e-33e8-43dd-b4c5-7eea2c1872dc"
}
},
{
"range": {
"start": {
"line": 32,
"character": 8
},
"end": {
"line": 32,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "bf1f7ac4-2344-4c9c-91db-56397b0ba863"
}
},
{
"range": {
"start": {
"line": 33,
"character": 8
},
"end": {
"line": 33,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "8b6b076b-1ad2-4967-968a-60ba9d07abcf"
}
},
{
"range": {
"start": {
"line": 34,
"character": 8
},
"end": {
"line": 34,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "20bdd3fa-5515-4f49-8e2e-c1249c04c595"
}
},
{
"range": {
"start": {
"line": 35,
"character": 8
},
"end": {
"line": 35,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "f441700a-dc09-4b1c-8e95-7460f2a91b2c"
}
}
],
"only": [
"",
"source",
"quickfix",
"refactor"
],
"triggerKind": 1
}
}
]
}
},
{
"title": "Generate Delegate Methods...",
"kind": "source.generate.delegateMethods",
"diagnostics": [],
"command": {
"title": "Generate Delegate Methods...",
"command": "java.action.generateDelegateMethodsPrompt",
"arguments": [
{
"textDocument": {
"uri": "file:///home/asmodeus/.projects/javahehe/src/main/java/com/mycompany/app/ListTest.java"
},
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 49,
"character": 0
}
},
"context": {
"diagnostics": [
{
"range": {
"start": {
"line": 2,
"character": 22
},
"end": {
"line": 2,
"character": 23
}
},
"severity": 2,
"code": "java:S2326",
"source": "sonarlint",
"message": "T is not used in the class.",
"data": {
"entryKey": "ae5c8e5b-e09c-4b9c-94fb-0a0f6c7424c7"
}
},
{
"range": {
"start": {
"line": 16,
"character": 36
},
"end": {
"line": 16,
"character": 40
}
},
"severity": 2,
"code": "java:S1172",
"source": "sonarlint",
"message": "Remove these unused method parameters \"flag\", \"test\", \"pp\", \"p1\". [+3 locations]",
"data": {
"entryKey": "14c600cd-26d2-4734-b4c1-a082accbe729"
}
},
{
"range": {
"start": {
"line": 17,
"character": 37
},
"end": {
"line": 17,
"character": 38
}
},
"severity": 2,
"code": "java:S108",
"source": "sonarlint",
"message": "Either remove or fill this block of code.",
"data": {
"entryKey": "90e47cc9-238c-4006-aa54-1339de36d5cb"
}
},
{
"range": {
"start": {
"line": 19,
"character": 33
},
"end": {
"line": 19,
"character": 34
}
},
"severity": 2,
"code": "java:S108",
"source": "sonarlint",
"message": "Either remove or fill this block of code.",
"data": {
"entryKey": "e7b74550-f898-4b28-bed7-8ac39bd151bc"
}
},
{
"range": {
"start": {
"line": 22,
"character": 8
},
"end": {
"line": 22,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "12333eb1-159f-4fb7-a4c4-1b9d2e2d1998"
}
},
{
"range": {
"start": {
"line": 23,
"character": 8
},
"end": {
"line": 23,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "6ee032b4-a841-4bef-aa2b-04e88c0be5b0"
}
},
{
"range": {
"start": {
"line": 24,
"character": 8
},
"end": {
"line": 24,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "9207d41b-b672-4b55-ac1c-ecbdf9ffe172"
}
},
{
"range": {
"start": {
"line": 25,
"character": 8
},
"end": {
"line": 25,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "cd6e81b6-e137-4b51-ba59-8857f4ae9c03"
}
},
{
"range": {
"start": {
"line": 27,
"character": 8
},
"end": {
"line": 27,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "28299bd2-6104-4d52-8af6-2acf0dfe5fa3"
}
},
{
"range": {
"start": {
"line": 28,
"character": 8
},
"end": {
"line": 28,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "d6cd89f3-1577-464e-80c5-1f37a432c036"
}
},
{
"range": {
"start": {
"line": 29,
"character": 8
},
"end": {
"line": 29,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "c4cf43bf-a9f7-404a-bb6c-5b68d9e4278f"
}
},
{
"range": {
"start": {
"line": 30,
"character": 8
},
"end": {
"line": 30,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "f827b93e-33e8-43dd-b4c5-7eea2c1872dc"
}
},
{
"range": {
"start": {
"line": 32,
"character": 8
},
"end": {
"line": 32,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "bf1f7ac4-2344-4c9c-91db-56397b0ba863"
}
},
{
"range": {
"start": {
"line": 33,
"character": 8
},
"end": {
"line": 33,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "8b6b076b-1ad2-4967-968a-60ba9d07abcf"
}
},
{
"range": {
"start": {
"line": 34,
"character": 8
},
"end": {
"line": 34,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "20bdd3fa-5515-4f49-8e2e-c1249c04c595"
}
},
{
"range": {
"start": {
"line": 35,
"character": 8
},
"end": {
"line": 35,
"character": 18
}
},
"severity": 2,
"code": "java:S106",
"source": "sonarlint",
"message": "Replace this use of System.out by a logger.",
"data": {
"entryKey": "f441700a-dc09-4b1c-8e95-7460f2a91b2c"
}
}
],
"only": [
"",
"source",
"quickfix",
"refactor"
],
"triggerKind": 1
}
}
]
}
},
{
"title": "Sort Members for 'ListTest.java'",
"kind": "source.sortMembers",
"diagnostics": [],
"data": {
"pid": "1",
"rid": "0"
}
},
{
"title": "Change modifiers to final where possible",
"kind": "source.generate.finalModifiers",
"diagnostics": [],
"data": {
"pid": "2",
"rid": "0"
}
}
]
[Trace - 06:51:49.210] Sending request 'codeAction/resolve - (15)'.
Params: {
"diagnostics": [],
"kind": "source.generate.accessors",
"title": "Generate Getters and Setters...",
"command": {
"arguments": [
{
"context": {
"diagnostics": [
{
"data": {
"entryKey": "ae5c8e5b-e09c-4b9c-94fb-0a0f6c7424c7"
},
"range": {
"end": {
"character": 23,
"line": 2
},
"start": {
"character": 22,
"line": 2
}
},
"source": "sonarlint",
"code": "java:S2326",
"message": "T is not used in the class.",
"severity": 2
},
{
"data": {
"entryKey": "14c600cd-26d2-4734-b4c1-a082accbe729"
},
"range": {
"end": {
"character": 40,
"line": 16
},
"start": {
"character": 36,
"line": 16
}
},
"source": "sonarlint",
"code": "java:S1172",
"message": "Remove these unused method parameters \"flag\", \"test\", \"pp\", \"p1\". [+3 locations]",
"severity": 2
},
{
"data": {
"entryKey": "90e47cc9-238c-4006-aa54-1339de36d5cb"
},
"range": {
"end": {
"character": 38,
"line": 17
},
"start": {
"character": 37,
"line": 17
}
},
"source": "sonarlint",
"code": "java:S108",
"message": "Either remove or fill this block of code.",
"severity": 2
},
{
"data": {
"entryKey": "e7b74550-f898-4b28-bed7-8ac39bd151bc"
},
"range": {
"end": {
"character": 34,
"line": 19
},
"start": {
"character": 33,
"line": 19
}
},
"source": "sonarlint",
"code": "java:S108",
"message": "Either remove or fill this block of code.",
"severity": 2
},
{
"data": {
"entryKey": "12333eb1-159f-4fb7-a4c4-1b9d2e2d1998"
},
"range": {
"end": {
"character": 18,
"line": 22
},
"start": {
"character": 8,
"line": 22
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "6ee032b4-a841-4bef-aa2b-04e88c0be5b0"
},
"range": {
"end": {
"character": 18,
"line": 23
},
"start": {
"character": 8,
"line": 23
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "9207d41b-b672-4b55-ac1c-ecbdf9ffe172"
},
"range": {
"end": {
"character": 18,
"line": 24
},
"start": {
"character": 8,
"line": 24
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "cd6e81b6-e137-4b51-ba59-8857f4ae9c03"
},
"range": {
"end": {
"character": 18,
"line": 25
},
"start": {
"character": 8,
"line": 25
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "28299bd2-6104-4d52-8af6-2acf0dfe5fa3"
},
"range": {
"end": {
"character": 18,
"line": 27
},
"start": {
"character": 8,
"line": 27
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "d6cd89f3-1577-464e-80c5-1f37a432c036"
},
"range": {
"end": {
"character": 18,
"line": 28
},
"start": {
"character": 8,
"line": 28
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "c4cf43bf-a9f7-404a-bb6c-5b68d9e4278f"
},
"range": {
"end": {
"character": 18,
"line": 29
},
"start": {
"character": 8,
"line": 29
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "f827b93e-33e8-43dd-b4c5-7eea2c1872dc"
},
"range": {
"end": {
"character": 18,
"line": 30
},
"start": {
"character": 8,
"line": 30
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "bf1f7ac4-2344-4c9c-91db-56397b0ba863"
},
"range": {
"end": {
"character": 18,
"line": 32
},
"start": {
"character": 8,
"line": 32
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "8b6b076b-1ad2-4967-968a-60ba9d07abcf"
},
"range": {
"end": {
"character": 18,
"line": 33
},
"start": {
"character": 8,
"line": 33
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "20bdd3fa-5515-4f49-8e2e-c1249c04c595"
},
"range": {
"end": {
"character": 18,
"line": 34
},
"start": {
"character": 8,
"line": 34
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "f441700a-dc09-4b1c-8e95-7460f2a91b2c"
},
"range": {
"end": {
"character": 18,
"line": 35
},
"start": {
"character": 8,
"line": 35
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
}
],
"triggerKind": 1,
"only": [
"",
"source",
"quickfix",
"refactor"
]
},
"range": {
"end": {
"character": 0,
"line": 49
},
"start": {
"character": 0,
"line": 0
}
},
"kind": 2,
"textDocument": {
"uri": "file:///home/asmodeus/.projects/javahehe/src/main/java/com/mycompany/app/ListTest.java"
}
}
],
"title": "Generate Getters and Setters...",
"command": "java.action.generateAccessorsPrompt"
}
}
[Trace - 06:51:49.212] Received response 'codeAction/resolve - (15)' in 2ms.
Result: {
"title": "Generate Getters and Setters...",
"kind": "source.generate.accessors",
"diagnostics": [],
"command": {
"title": "Generate Getters and Setters...",
"command": "java.action.generateAccessorsPrompt",
"arguments": [
{
"context": {
"diagnostics": [
{
"data": {
"entryKey": "ae5c8e5b-e09c-4b9c-94fb-0a0f6c7424c7"
},
"range": {
"end": {
"character": 23,
"line": 2
},
"start": {
"character": 22,
"line": 2
}
},
"source": "sonarlint",
"code": "java:S2326",
"message": "T is not used in the class.",
"severity": 2
},
{
"data": {
"entryKey": "14c600cd-26d2-4734-b4c1-a082accbe729"
},
"range": {
"end": {
"character": 40,
"line": 16
},
"start": {
"character": 36,
"line": 16
}
},
"source": "sonarlint",
"code": "java:S1172",
"message": "Remove these unused method parameters \"flag\", \"test\", \"pp\", \"p1\". [+3 locations]",
"severity": 2
},
{
"data": {
"entryKey": "90e47cc9-238c-4006-aa54-1339de36d5cb"
},
"range": {
"end": {
"character": 38,
"line": 17
},
"start": {
"character": 37,
"line": 17
}
},
"source": "sonarlint",
"code": "java:S108",
"message": "Either remove or fill this block of code.",
"severity": 2
},
{
"data": {
"entryKey": "e7b74550-f898-4b28-bed7-8ac39bd151bc"
},
"range": {
"end": {
"character": 34,
"line": 19
},
"start": {
"character": 33,
"line": 19
}
},
"source": "sonarlint",
"code": "java:S108",
"message": "Either remove or fill this block of code.",
"severity": 2
},
{
"data": {
"entryKey": "12333eb1-159f-4fb7-a4c4-1b9d2e2d1998"
},
"range": {
"end": {
"character": 18,
"line": 22
},
"start": {
"character": 8,
"line": 22
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "6ee032b4-a841-4bef-aa2b-04e88c0be5b0"
},
"range": {
"end": {
"character": 18,
"line": 23
},
"start": {
"character": 8,
"line": 23
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "9207d41b-b672-4b55-ac1c-ecbdf9ffe172"
},
"range": {
"end": {
"character": 18,
"line": 24
},
"start": {
"character": 8,
"line": 24
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "cd6e81b6-e137-4b51-ba59-8857f4ae9c03"
},
"range": {
"end": {
"character": 18,
"line": 25
},
"start": {
"character": 8,
"line": 25
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "28299bd2-6104-4d52-8af6-2acf0dfe5fa3"
},
"range": {
"end": {
"character": 18,
"line": 27
},
"start": {
"character": 8,
"line": 27
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "d6cd89f3-1577-464e-80c5-1f37a432c036"
},
"range": {
"end": {
"character": 18,
"line": 28
},
"start": {
"character": 8,
"line": 28
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "c4cf43bf-a9f7-404a-bb6c-5b68d9e4278f"
},
"range": {
"end": {
"character": 18,
"line": 29
},
"start": {
"character": 8,
"line": 29
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "f827b93e-33e8-43dd-b4c5-7eea2c1872dc"
},
"range": {
"end": {
"character": 18,
"line": 30
},
"start": {
"character": 8,
"line": 30
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "bf1f7ac4-2344-4c9c-91db-56397b0ba863"
},
"range": {
"end": {
"character": 18,
"line": 32
},
"start": {
"character": 8,
"line": 32
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "8b6b076b-1ad2-4967-968a-60ba9d07abcf"
},
"range": {
"end": {
"character": 18,
"line": 33
},
"start": {
"character": 8,
"line": 33
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "20bdd3fa-5515-4f49-8e2e-c1249c04c595"
},
"range": {
"end": {
"character": 18,
"line": 34
},
"start": {
"character": 8,
"line": 34
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "f441700a-dc09-4b1c-8e95-7460f2a91b2c"
},
"range": {
"end": {
"character": 18,
"line": 35
},
"start": {
"character": 8,
"line": 35
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
}
],
"triggerKind": 1,
"only": [
"",
"source",
"quickfix",
"refactor"
]
},
"range": {
"end": {
"character": 0,
"line": 49
},
"start": {
"character": 0,
"line": 0
}
},
"kind": 2,
"textDocument": {
"uri": "file:///home/asmodeus/.projects/javahehe/src/main/java/com/mycompany/app/ListTest.java"
}
}
]
}
}
[Trace - 06:51:49.212] Sending request 'java/resolveUnimplementedAccessors - (16)'.
Params: {
"context": {
"diagnostics": [
{
"data": {
"entryKey": "ae5c8e5b-e09c-4b9c-94fb-0a0f6c7424c7"
},
"range": {
"end": {
"character": 23,
"line": 2
},
"start": {
"character": 22,
"line": 2
}
},
"source": "sonarlint",
"code": "java:S2326",
"message": "T is not used in the class.",
"severity": 2
},
{
"data": {
"entryKey": "14c600cd-26d2-4734-b4c1-a082accbe729"
},
"range": {
"end": {
"character": 40,
"line": 16
},
"start": {
"character": 36,
"line": 16
}
},
"source": "sonarlint",
"code": "java:S1172",
"message": "Remove these unused method parameters \"flag\", \"test\", \"pp\", \"p1\". [+3 locations]",
"severity": 2
},
{
"data": {
"entryKey": "90e47cc9-238c-4006-aa54-1339de36d5cb"
},
"range": {
"end": {
"character": 38,
"line": 17
},
"start": {
"character": 37,
"line": 17
}
},
"source": "sonarlint",
"code": "java:S108",
"message": "Either remove or fill this block of code.",
"severity": 2
},
{
"data": {
"entryKey": "e7b74550-f898-4b28-bed7-8ac39bd151bc"
},
"range": {
"end": {
"character": 34,
"line": 19
},
"start": {
"character": 33,
"line": 19
}
},
"source": "sonarlint",
"code": "java:S108",
"message": "Either remove or fill this block of code.",
"severity": 2
},
{
"data": {
"entryKey": "12333eb1-159f-4fb7-a4c4-1b9d2e2d1998"
},
"range": {
"end": {
"character": 18,
"line": 22
},
"start": {
"character": 8,
"line": 22
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "6ee032b4-a841-4bef-aa2b-04e88c0be5b0"
},
"range": {
"end": {
"character": 18,
"line": 23
},
"start": {
"character": 8,
"line": 23
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "9207d41b-b672-4b55-ac1c-ecbdf9ffe172"
},
"range": {
"end": {
"character": 18,
"line": 24
},
"start": {
"character": 8,
"line": 24
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "cd6e81b6-e137-4b51-ba59-8857f4ae9c03"
},
"range": {
"end": {
"character": 18,
"line": 25
},
"start": {
"character": 8,
"line": 25
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "28299bd2-6104-4d52-8af6-2acf0dfe5fa3"
},
"range": {
"end": {
"character": 18,
"line": 27
},
"start": {
"character": 8,
"line": 27
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "d6cd89f3-1577-464e-80c5-1f37a432c036"
},
"range": {
"end": {
"character": 18,
"line": 28
},
"start": {
"character": 8,
"line": 28
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "c4cf43bf-a9f7-404a-bb6c-5b68d9e4278f"
},
"range": {
"end": {
"character": 18,
"line": 29
},
"start": {
"character": 8,
"line": 29
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "f827b93e-33e8-43dd-b4c5-7eea2c1872dc"
},
"range": {
"end": {
"character": 18,
"line": 30
},
"start": {
"character": 8,
"line": 30
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "bf1f7ac4-2344-4c9c-91db-56397b0ba863"
},
"range": {
"end": {
"character": 18,
"line": 32
},
"start": {
"character": 8,
"line": 32
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "8b6b076b-1ad2-4967-968a-60ba9d07abcf"
},
"range": {
"end": {
"character": 18,
"line": 33
},
"start": {
"character": 8,
"line": 33
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "20bdd3fa-5515-4f49-8e2e-c1249c04c595"
},
"range": {
"end": {
"character": 18,
"line": 34
},
"start": {
"character": 8,
"line": 34
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "f441700a-dc09-4b1c-8e95-7460f2a91b2c"
},
"range": {
"end": {
"character": 18,
"line": 35
},
"start": {
"character": 8,
"line": 35
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
}
],
"triggerKind": 1,
"only": [
"",
"source",
"quickfix",
"refactor"
]
},
"range": {
"end": {
"character": 0,
"line": 49
},
"start": {
"character": 0,
"line": 0
}
},
"kind": 2,
"textDocument": {
"uri": "file:///home/asmodeus/.projects/javahehe/src/main/java/com/mycompany/app/ListTest.java"
}
}
[Trace - 06:51:49.216] Received response 'java/resolveUnimplementedAccessors - (16)' in 4ms.
Result: [
{
"fieldName": "prop1",
"isStatic": false,
"generateGetter": true,
"generateSetter": true,
"typeName": "String"
},
{
"fieldName": "prop2",
"isStatic": false,
"generateGetter": true,
"generateSetter": true,
"typeName": "String"
},
{
"fieldName": "prop3",
"isStatic": false,
"generateGetter": true,
"generateSetter": true,
"typeName": "String"
},
{
"fieldName": "prop4",
"isStatic": false,
"generateGetter": true,
"generateSetter": true,
"typeName": "String"
},
{
"fieldName": "prop5",
"isStatic": false,
"generateGetter": true,
"generateSetter": true,
"typeName": "String"
},
{
"fieldName": "prop6",
"isStatic": false,
"generateGetter": true,
"generateSetter": true,
"typeName": "String"
},
{
"fieldName": "prop7",
"isStatic": false,
"generateGetter": true,
"generateSetter": true,
"typeName": "String"
},
{
"fieldName": "prop8",
"isStatic": false,
"generateGetter": true,
"generateSetter": true,
"typeName": "String"
},
{
"fieldName": "prop9",
"isStatic": false,
"generateGetter": true,
"generateSetter": true,
"typeName": "String"
},
{
"fieldName": "prop10",
"isStatic": false,
"generateGetter": true,
"generateSetter": true,
"typeName": "String"
}
]
[Trace - 06:51:50.287] Sending request 'java/generateAccessors - (17)'.
Params: {
"context": {
"context": {
"diagnostics": [
{
"data": {
"entryKey": "ae5c8e5b-e09c-4b9c-94fb-0a0f6c7424c7"
},
"range": {
"end": {
"character": 23,
"line": 2
},
"start": {
"character": 22,
"line": 2
}
},
"source": "sonarlint",
"code": "java:S2326",
"message": "T is not used in the class.",
"severity": 2
},
{
"data": {
"entryKey": "14c600cd-26d2-4734-b4c1-a082accbe729"
},
"range": {
"end": {
"character": 40,
"line": 16
},
"start": {
"character": 36,
"line": 16
}
},
"source": "sonarlint",
"code": "java:S1172",
"message": "Remove these unused method parameters \"flag\", \"test\", \"pp\", \"p1\". [+3 locations]",
"severity": 2
},
{
"data": {
"entryKey": "90e47cc9-238c-4006-aa54-1339de36d5cb"
},
"range": {
"end": {
"character": 38,
"line": 17
},
"start": {
"character": 37,
"line": 17
}
},
"source": "sonarlint",
"code": "java:S108",
"message": "Either remove or fill this block of code.",
"severity": 2
},
{
"data": {
"entryKey": "e7b74550-f898-4b28-bed7-8ac39bd151bc"
},
"range": {
"end": {
"character": 34,
"line": 19
},
"start": {
"character": 33,
"line": 19
}
},
"source": "sonarlint",
"code": "java:S108",
"message": "Either remove or fill this block of code.",
"severity": 2
},
{
"data": {
"entryKey": "12333eb1-159f-4fb7-a4c4-1b9d2e2d1998"
},
"range": {
"end": {
"character": 18,
"line": 22
},
"start": {
"character": 8,
"line": 22
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "6ee032b4-a841-4bef-aa2b-04e88c0be5b0"
},
"range": {
"end": {
"character": 18,
"line": 23
},
"start": {
"character": 8,
"line": 23
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "9207d41b-b672-4b55-ac1c-ecbdf9ffe172"
},
"range": {
"end": {
"character": 18,
"line": 24
},
"start": {
"character": 8,
"line": 24
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "cd6e81b6-e137-4b51-ba59-8857f4ae9c03"
},
"range": {
"end": {
"character": 18,
"line": 25
},
"start": {
"character": 8,
"line": 25
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "28299bd2-6104-4d52-8af6-2acf0dfe5fa3"
},
"range": {
"end": {
"character": 18,
"line": 27
},
"start": {
"character": 8,
"line": 27
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "d6cd89f3-1577-464e-80c5-1f37a432c036"
},
"range": {
"end": {
"character": 18,
"line": 28
},
"start": {
"character": 8,
"line": 28
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "c4cf43bf-a9f7-404a-bb6c-5b68d9e4278f"
},
"range": {
"end": {
"character": 18,
"line": 29
},
"start": {
"character": 8,
"line": 29
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "f827b93e-33e8-43dd-b4c5-7eea2c1872dc"
},
"range": {
"end": {
"character": 18,
"line": 30
},
"start": {
"character": 8,
"line": 30
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "bf1f7ac4-2344-4c9c-91db-56397b0ba863"
},
"range": {
"end": {
"character": 18,
"line": 32
},
"start": {
"character": 8,
"line": 32
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "8b6b076b-1ad2-4967-968a-60ba9d07abcf"
},
"range": {
"end": {
"character": 18,
"line": 33
},
"start": {
"character": 8,
"line": 33
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "20bdd3fa-5515-4f49-8e2e-c1249c04c595"
},
"range": {
"end": {
"character": 18,
"line": 34
},
"start": {
"character": 8,
"line": 34
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
},
{
"data": {
"entryKey": "f441700a-dc09-4b1c-8e95-7460f2a91b2c"
},
"range": {
"end": {
"character": 18,
"line": 35
},
"start": {
"character": 8,
"line": 35
}
},
"source": "sonarlint",
"code": "java:S106",
"message": "Replace this use of System.out by a logger.",
"severity": 2
}
],
"triggerKind": 1,
"only": [
"",
"source",
"quickfix",
"refactor"
]
},
"range": {
"end": {
"character": 0,
"line": 49
},
"start": {
"character": 0,
"line": 0
}
},
"kind": 2,
"textDocument": {
"uri": "file:///home/asmodeus/.projects/javahehe/src/main/java/com/mycompany/app/ListTest.java"
}
},
"accessors": [
{
"fieldName": "prop1",
"isStatic": false,
"generateGetter": true,
"generateSetter": true,
"typeName": "String"
},
{
"fieldName": "prop2",
"isStatic": false,
"generateGetter": true,
"generateSetter": true,
"typeName": "String"
},
{
"fieldName": "prop3",
"isStatic": false,
"generateGetter": true,
"generateSetter": true,
"typeName": "String"
},
{
"fieldName": "prop4",
"isStatic": false,
"generateGetter": true,
"generateSetter": true,
"typeName": "String"
},
{
"fieldName": "prop5",
"isStatic": false,
"generateGetter": true,
"generateSetter": true,
"typeName": "String"
},
{
"fieldName": "prop6",
"isStatic": false,
"generateGetter": true,
"generateSetter": true,
"typeName": "String"
},
{
"fieldName": "prop7",
"isStatic": false,
"generateGetter": true,
"generateSetter": true,
"typeName": "String"
},
{
"fieldName": "prop8",
"isStatic": false,
"generateGetter": true,
"generateSetter": true,
"typeName": "String"
},
{
"fieldName": "prop9",
"isStatic": false,
"generateGetter": true,
"generateSetter": true,
"typeName": "String"
},
{
"fieldName": "prop10",
"isStatic": false,
"generateGetter": true,
"generateSetter": true,
"typeName": "String"
}
]
}
[Trace - 06:51:50.352] Received response 'java/generateAccessors - (17)' in 65ms.
Result: {
"changes": {
"file:///home/asmodeus/.projects/javahehe/src/main/java/com/mycompany/app/ListTest.java": [
{
"range": {
"start": {
"line": 45,
"character": 5
},
"end": {
"line": 45,
"character": 5
}
},
"newText": "\n\n public String getProp1() {\n return prop1;\n }\n\n public void setProp1(String prop1) {\n this.prop1 = prop1;\n }\n\n public String getProp2() {\n return prop2;\n }\n\n public void setProp2(String prop2) {\n this.prop2 = prop2;\n }\n\n public String getProp3() {\n return prop3;\n }\n\n public void setProp3(String prop3) {\n this.prop3 = prop3;\n }\n\n public String getProp4() {\n return prop4;\n }\n\n public void setProp4(String prop4) {\n this.prop4 = prop4;\n }\n\n public String getProp5() {\n return prop5;\n }\n\n public void setProp5(String prop5) {\n this.prop5 = prop5;\n }\n\n public String getProp6() {\n return prop6;\n }\n\n public void setProp6(String prop6) {\n this.prop6 = prop6;\n }\n\n public String getProp7() {\n return prop7;\n }\n\n public void setProp7(String prop7) {\n this.prop7 = prop7;\n }\n\n public String getProp8() {\n return prop8;\n }\n\n public void setProp8(String prop8) {\n this.prop8 = prop8;\n }\n\n public String getProp9() {\n return prop9;\n }\n\n public void setProp9(String prop9) {\n this.prop9 = prop9;\n }\n\n public String getProp10() {\n return prop10;\n }\n\n public void setProp10(String prop10) {\n this.prop10 = prop10;\n }"
}
]
}
}
|
Result from CocInfo
No errors
Describe the bug
When executing a command with coc and coc-java, using the configuration to put the inserted text after or before the cursor, the contents are always inserted either at the top of the class or the bottom, but never after or before the cursor position.
Reproduce the bug
"java.codeGeneration.insertionLocation": "afterCurosr"
vim.fn.CocActionAsync("codeAction", "", { "", "quickfix", "refactor", "source" })
Related:
eclipse-jdtls/eclipse.jdt.ls#1713
redhat-developer/vscode-java#1859
The text was updated successfully, but these errors were encountered: