Closed 0x28 closed 1 year ago
response log:
[Trace - 07:21:44 ] Sending request 'textDocument/codeAction - (20)'.
Params: {
"textDocument": {
"uri": "file:///home/michael/repos/lsp_test/src/LspTest.hs"
},
"range": {
"start": {
"line": 2,
"character": 0
},
"end": {
"line": 2,
"character": 0
}
},
"context": {
"diagnostics": [
{
"message": "Top-level binding with no type signature: inc :: Num a => a -> a",
"severity": 2,
"code": "-Wmissing-signatures",
"source": "typecheck",
"range": {
"start": {
"line": 2,
"character": 0
},
"end": {
"line": 2,
"character": 3
}
}
}
]
}
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Pragmas.GhcSession Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Pragmas.GetFileContents Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Pragmas.GetParsedModule Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: alternateNumberFormat.CollectLiterals Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: alternateNumberFormat.GhcSession Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: alternateNumberFormat.GetFileContents Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: splice.codeAction.GitHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: HaddockComments.GetAnnotatedParsedSource Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: RefineImports Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: QualifyImportedNames.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Hlint.GetFileContents Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: importLens Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetFileContents Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Hlint.GetModSummary Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: changeTypeSignature.GetParsedModule Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetParsedModuleWithComments Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: retrie Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GADT.GetParsedModuleWithComments Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GhcSession Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GhcSession Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetGlobalBindingTypeSigs Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetFileContents Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetAnnotatedParsedSource Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetAnnotatedParsedSource Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.getIdeOptions Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetParsedModuleWithComments Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetFileContents Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetParsedModuleWithComments Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetAnnotatedParsedSource Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.getParsedModule Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:44 ] Received response 'textDocument/codeAction - (20)' in 10ms.
Result: [
{
"kind": "quickfix",
"title": "Disable \"missing-signatures\" warnings",
"diagnostics": [],
"edit": {
"changes": {
"file:///home/michael/repos/lsp_test/src/LspTest.hs": [
{
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 0,
"character": 0
}
},
"newText": "{-# OPTIONS_GHC -Wno-missing-signatures #-}\n"
}
]
}
}
},
{
"kind": "refactor.inline",
"command": {
"command": "78811:retrie:retrieCommand",
"title": "Unfold inc",
"arguments": [
{
"restrictToOriginatingFile": null,
"originatingFile": "file:///home/michael/repos/lsp_test/src/LspTest.hs",
"description": "Unfold inc",
"rewrites": [
{
"contents": "LspTest.inc",
"tag": "Unfold"
}
]
}
]
},
"title": "Unfold inc"
},
{
"kind": "refactor.inline",
"command": {
"command": "78811:retrie:retrieCommand",
"title": "Unfold inc in current file",
"arguments": [
{
"restrictToOriginatingFile": true,
"originatingFile": "file:///home/michael/repos/lsp_test/src/LspTest.hs",
"description": "Unfold inc in current file",
"rewrites": [
{
"contents": "LspTest.inc",
"tag": "Unfold"
}
]
}
]
},
"title": "Unfold inc in current file"
},
{
"kind": "refactor.extract",
"command": {
"command": "78811:retrie:retrieCommand",
"title": "Fold inc",
"arguments": [
{
"restrictToOriginatingFile": null,
"originatingFile": "file:///home/michael/repos/lsp_test/src/LspTest.hs",
"description": "Fold inc",
"rewrites": [
{
"contents": "LspTest.inc",
"tag": "Fold"
}
]
}
]
},
"title": "Fold inc"
},
{
"kind": "refactor.extract",
"command": {
"command": "78811:retrie:retrieCommand",
"title": "Fold inc in current file",
"arguments": [
{
"restrictToOriginatingFile": true,
"originatingFile": "file:///home/michael/repos/lsp_test/src/LspTest.hs",
"description": "Fold inc in current file",
"rewrites": [
{
"contents": "LspTest.inc",
"tag": "Fold"
}
]
}
]
},
"title": "Fold inc in current file"
},
{
"kind": "quickfix",
"title": "add signature: inc :: Num a => a -> a",
"diagnostics": [
{
"message": "Top-level binding with no type signature: inc :: Num a => a -> a",
"severity": 2,
"code": "-Wmissing-signatures",
"source": "typecheck",
"range": {
"start": {
"line": 2,
"character": 0
},
"end": {
"line": 2,
"character": 3
}
}
}
],
"edit": {
"changes": {
"file:///home/michael/repos/lsp_test/src/LspTest.hs": [
{
"range": {
"start": {
"line": 2,
"character": 0
},
"end": {
"line": 2,
"character": 0
}
},
"newText": "inc :: Num a => a -> a\n"
}
]
}
}
}
]
[Trace - 07:21:44 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Sending request 'textDocument/codeAction - (21)'.
Params: {
"textDocument": {
"uri": "file:///home/michael/repos/lsp_test/src/LspTest.hs"
},
"range": {
"start": {
"line": 2,
"character": 0
},
"end": {
"line": 2,
"character": 0
}
},
"context": {
"diagnostics": [
{
"message": "Top-level binding with no type signature: inc :: Num a => a -> a",
"severity": 2,
"code": "-Wmissing-signatures",
"source": "typecheck",
"range": {
"start": {
"line": 2,
"character": 0
},
"end": {
"line": 2,
"character": 3
}
}
}
]
}
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Pragmas.GhcSession Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: RefineImports Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Pragmas.GetFileContents Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Pragmas.GetParsedModule Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: splice.codeAction.GitHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: changeTypeSignature.GetParsedModule Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: QualifyImportedNames.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Hlint.GetFileContents Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: alternateNumberFormat.CollectLiterals Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Hlint.GetModSummary Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: alternateNumberFormat.GhcSession Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: HaddockComments.GetAnnotatedParsedSource Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: alternateNumberFormat.GetFileContents Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: importLens Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetFileContents Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: retrie Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetParsedModuleWithComments Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GhcSession Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GhcSession Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetAnnotatedParsedSource Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetFileContents Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GADT.GetParsedModuleWithComments Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetGlobalBindingTypeSigs Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetAnnotatedParsedSource Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.getIdeOptions Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetParsedModuleWithComments Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetFileContents Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetParsedModuleWithComments Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetAnnotatedParsedSource Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.getParsedModule Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:45 ] Received response 'textDocument/codeAction - (21)' in 70ms.
Result: [
{
"kind": "quickfix",
"title": "Disable \"missing-signatures\" warnings",
"diagnostics": [],
"edit": {
"changes": {
"file:///home/michael/repos/lsp_test/src/LspTest.hs": [
{
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 0,
"character": 0
}
},
"newText": "{-# OPTIONS_GHC -Wno-missing-signatures #-}\n"
}
]
}
}
},
{
"kind": "refactor.inline",
"command": {
"command": "78811:retrie:retrieCommand",
"title": "Unfold inc",
"arguments": [
{
"restrictToOriginatingFile": null,
"originatingFile": "file:///home/michael/repos/lsp_test/src/LspTest.hs",
"description": "Unfold inc",
"rewrites": [
{
"contents": "LspTest.inc",
"tag": "Unfold"
}
]
}
]
},
"title": "Unfold inc"
},
{
"kind": "refactor.inline",
"command": {
"command": "78811:retrie:retrieCommand",
"title": "Unfold inc in current file",
"arguments": [
{
"restrictToOriginatingFile": true,
"originatingFile": "file:///home/michael/repos/lsp_test/src/LspTest.hs",
"description": "Unfold inc in current file",
"rewrites": [
{
"contents": "LspTest.inc",
"tag": "Unfold"
}
]
}
]
},
"title": "Unfold inc in current file"
},
{
"kind": "refactor.extract",
"command": {
"command": "78811:retrie:retrieCommand",
"title": "Fold inc",
"arguments": [
{
"restrictToOriginatingFile": null,
"originatingFile": "file:///home/michael/repos/lsp_test/src/LspTest.hs",
"description": "Fold inc",
"rewrites": [
{
"contents": "LspTest.inc",
"tag": "Fold"
}
]
}
]
},
"title": "Fold inc"
},
{
"kind": "refactor.extract",
"command": {
"command": "78811:retrie:retrieCommand",
"title": "Fold inc in current file",
"arguments": [
{
"restrictToOriginatingFile": true,
"originatingFile": "file:///home/michael/repos/lsp_test/src/LspTest.hs",
"description": "Fold inc in current file",
"rewrites": [
{
"contents": "LspTest.inc",
"tag": "Fold"
}
]
}
]
},
"title": "Fold inc in current file"
},
{
"kind": "quickfix",
"title": "add signature: inc :: Num a => a -> a",
"diagnostics": [
{
"message": "Top-level binding with no type signature: inc :: Num a => a -> a",
"severity": 2,
"code": "-Wmissing-signatures",
"source": "typecheck",
"range": {
"start": {
"line": 2,
"character": 0
},
"end": {
"line": 2,
"character": 3
}
}
}
],
"edit": {
"changes": {
"file:///home/michael/repos/lsp_test/src/LspTest.hs": [
{
"range": {
"start": {
"line": 2,
"character": 0
},
"end": {
"line": 2,
"character": 0
}
},
"newText": "inc :: Num a => a -> a\n"
}
]
}
}
}
]
[Trace - 07:21:45 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:48 ] Sending request 'textDocument/codeAction - (22)'.
Params: {
"textDocument": {
"uri": "file:///home/michael/repos/lsp_test/src/LspTest.hs"
},
"range": {
"start": {
"line": 2,
"character": 0
},
"end": {
"line": 2,
"character": 0
}
},
"context": {
"diagnostics": [
{
"message": "Top-level binding with no type signature: inc :: Num a => a -> a",
"severity": 2,
"code": "-Wmissing-signatures",
"source": "typecheck",
"range": {
"start": {
"line": 2,
"character": 0
},
"end": {
"line": 2,
"character": 3
}
}
}
]
}
}
[Trace - 07:21:48 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: RefineImports Took: 0.00s",
"type": 4
}
[Trace - 07:21:48 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Pragmas.GhcSession Took: 0.00s",
"type": 4
}
[Trace - 07:21:48 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: splice.codeAction.GitHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:48 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Pragmas.GetFileContents Took: 0.00s",
"type": 4
}
[Trace - 07:21:48 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Pragmas.GetParsedModule Took: 0.00s",
"type": 4
}
[Trace - 07:21:48 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: QualifyImportedNames.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:48 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: changeTypeSignature.GetParsedModule Took: 0.00s",
"type": 4
}
[Trace - 07:21:48 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: alternateNumberFormat.GhcSession Took: 0.00s",
"type": 4
}
[Trace - 07:21:49 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: alternateNumberFormat.CollectLiterals Took: 0.00s",
"type": 4
}
[Trace - 07:21:49 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: alternateNumberFormat.GetFileContents Took: 0.00s",
"type": 4
}
[Trace - 07:21:49 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Hlint.GetFileContents Took: 0.00s",
"type": 4
}
[Trace - 07:21:52 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Hlint.GetModSummary Took: 0.00s",
"type": 4
}
[Trace - 07:21:52 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: HaddockComments.GetAnnotatedParsedSource Took: 0.00s",
"type": 4
}
[Trace - 07:21:58 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: importLens Took: 0.00s",
"type": 4
}
[Trace - 07:21:58 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: retrie Took: 0.00s",
"type": 4
}
[Trace - 07:21:58 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetFileContents Took: 0.00s",
"type": 4
}
[Trace - 07:21:58 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetParsedModuleWithComments Took: 0.00s",
"type": 4
}
[Trace - 07:21:58 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:58 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GhcSession Took: 0.00s",
"type": 4
}
[Trace - 07:21:58 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GhcSession Took: 0.00s",
"type": 4
}
[Trace - 07:21:58 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetFileContents Took: 0.00s",
"type": 4
}
[Trace - 07:21:58 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetGlobalBindingTypeSigs Took: 0.00s",
"type": 4
}
[Trace - 07:21:58 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GADT.GetParsedModuleWithComments Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetAnnotatedParsedSource Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetAnnotatedParsedSource Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.getIdeOptions Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetParsedModuleWithComments Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetFileContents Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetParsedModuleWithComments Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetAnnotatedParsedSource Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: GhcideCodeActions.getParsedModule Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GetBindings Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received response 'textDocument/codeAction - (22)' in 56ms.
Result: [
{
"kind": "quickfix",
"title": "Disable \"missing-signatures\" warnings",
"diagnostics": [],
"edit": {
"changes": {
"file:///home/michael/repos/lsp_test/src/LspTest.hs": [
{
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 0,
"character": 0
}
},
"newText": "{-# OPTIONS_GHC -Wno-missing-signatures #-}\n"
}
]
}
}
},
{
"kind": "refactor.inline",
"command": {
"command": "78811:retrie:retrieCommand",
"title": "Unfold inc",
"arguments": [
{
"restrictToOriginatingFile": null,
"originatingFile": "file:///home/michael/repos/lsp_test/src/LspTest.hs",
"description": "Unfold inc",
"rewrites": [
{
"contents": "LspTest.inc",
"tag": "Unfold"
}
]
}
]
},
"title": "Unfold inc"
},
{
"kind": "refactor.inline",
"command": {
"command": "78811:retrie:retrieCommand",
"title": "Unfold inc in current file",
"arguments": [
{
"restrictToOriginatingFile": true,
"originatingFile": "file:///home/michael/repos/lsp_test/src/LspTest.hs",
"description": "Unfold inc in current file",
"rewrites": [
{
"contents": "LspTest.inc",
"tag": "Unfold"
}
]
}
]
},
"title": "Unfold inc in current file"
},
{
"kind": "refactor.extract",
"command": {
"command": "78811:retrie:retrieCommand",
"title": "Fold inc",
"arguments": [
{
"restrictToOriginatingFile": null,
"originatingFile": "file:///home/michael/repos/lsp_test/src/LspTest.hs",
"description": "Fold inc",
"rewrites": [
{
"contents": "LspTest.inc",
"tag": "Fold"
}
]
}
]
},
"title": "Fold inc"
},
{
"kind": "refactor.extract",
"command": {
"command": "78811:retrie:retrieCommand",
"title": "Fold inc in current file",
"arguments": [
{
"restrictToOriginatingFile": true,
"originatingFile": "file:///home/michael/repos/lsp_test/src/LspTest.hs",
"description": "Fold inc in current file",
"rewrites": [
{
"contents": "LspTest.inc",
"tag": "Fold"
}
]
}
]
},
"title": "Fold inc in current file"
},
{
"kind": "quickfix",
"title": "add signature: inc :: Num a => a -> a",
"diagnostics": [
{
"message": "Top-level binding with no type signature: inc :: Num a => a -> a",
"severity": 2,
"code": "-Wmissing-signatures",
"source": "typecheck",
"range": {
"start": {
"line": 2,
"character": 0
},
"end": {
"line": 2,
"character": 3
}
}
}
],
"edit": {
"changes": {
"file:///home/michael/repos/lsp_test/src/LspTest.hs": [
{
"range": {
"start": {
"line": 2,
"character": 0
},
"end": {
"line": 2,
"character": 0
}
},
"newText": "inc :: Num a => a -> a\n"
}
]
}
}
}
]
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s",
"type": 4
}
[Trace - 07:21:59 ] Received notification 'window/logMessage'.
Params: {
"message": "Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s",
"type": 4
}
[Trace - 07:22:02 ] Received notification 'window/logMessage'.
Params: {
"message": "Live bytes: 0.00MB Heap size: 0.00MB",
"type": 3
}
@yyoncho thank you.
Thank you for the bug report
lsp-mode
related packages.M-x lsp-start-plain
Bug description
When using
lsp-execute-code-action
emacs freezes for several seconds. Then the error message "Timeout while waiting for response. Method: textDocument/codeAction" is shown.lsp-rename
has the same problem.emacs version is 28.
Steps to reproduce
lsp-start-plain
inc
M-x lsp-execute-code-action
Expected behavior
Code actions are shown and can be selected.
Which Language Server did you use?
haskell-language-server-1.8.0.0
OS
Linux
Error callstack
Anything else?
Doing the same with eglot works flawlessly. I guess it isn't a problem with the language server itself.
Using
toggle-debug-on-quit
hides the problem and just shows the possible code actions and a callstack.