Hi guys, it's possible I'm missing something. I searched for the problem, but couldn't find anything that seemed to be directly related.
When I go to format a file that has lombok.Data imported and use the @DaTa annotation (after following the wiki entry for Lombok support), an error gets sent to the output and the file doesn't get formatted. Otherwise Lombok does seem to work.
Environment
- Operating System: Windows 10 and MacOS Sierra
- JDK version: 1.8.0_131-b11
- Visual Studio Code version:
- Java extension version: 1.13.1
Steps To Reproduce
- Enable lombok per vs-code wiki
- import lombok.Data
- use the @DaTa annotation
- attempt to format document
[Trace - 8:50:41 PM] Sending request 'textDocument/formatting - (1393)'.
Params: {
"textDocument": {
"uri": "file:///.../Message.java"
},
"options": {
"tabSize": 4,
"insertSpaces": true
}
}
[Trace - 8:50:41 PM] Received response 'textDocument/formatting - (1393)' in 35ms. Request failed: Internal error, please look at the server's logs. (-32603).
[Error - 8:50:41 PM] Request textDocument/formatting failed.
Message: Internal error, please look at the server's logs.
Code: -32603
[Trace - 8:50:41 PM] Sending notification 'workspace/didChangeWatchedFiles'.
Params: {
"changes": [
{
"uri": "file://.../Message.java",
"type": 2
}
]
}
Nothing seems to be sent to the debug console.
Current Result
file doesn't get formatted and error gets sent to output
Expected Result
file gets formatted, no error
Additional Informations
I've been able to reproduce this on both Windows 10 and Sierra. Maybe I'm just missing something.
Hi guys, it's possible I'm missing something. I searched for the problem, but couldn't find anything that seemed to be directly related.
When I go to format a file that has lombok.Data imported and use the @DaTa annotation (after following the wiki entry for Lombok support), an error gets sent to the output and the file doesn't get formatted. Otherwise Lombok does seem to work.
Environment
Steps To Reproduce
[Trace - 8:50:41 PM] Sending request 'textDocument/formatting - (1393)'.
Params: {
"textDocument": {
"uri": "file:///.../Message.java"
},
"options": {
"tabSize": 4,
"insertSpaces": true
}
}
[Trace - 8:50:41 PM] Received response 'textDocument/formatting - (1393)' in 35ms. Request failed: Internal error, please look at the server's logs. (-32603).
[Error - 8:50:41 PM] Request textDocument/formatting failed.
Message: Internal error, please look at the server's logs.
Code: -32603
[Trace - 8:50:41 PM] Sending notification 'workspace/didChangeWatchedFiles'.
Params: {
"changes": [
{
"uri": "file://.../Message.java",
"type": 2
}
]
}
Nothing seems to be sent to the debug console.
Current Result
file doesn't get formatted and error gets sent to output
Expected Result
file gets formatted, no error
Additional Informations
I've been able to reproduce this on both Windows 10 and Sierra. Maybe I'm just missing something.