Skip to content

Instantly share code, notes, and snippets.

@fivepixels
Created September 10, 2023 13:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fivepixels/20b938c15e2c20625fadada5837d0202 to your computer and use it in GitHub Desktop.
Save fivepixels/20b938c15e2c20625fadada5837d0202 to your computer and use it in GitHub Desktop.
lsp.log
[START][2023-09-10 09:23:55] LSP logging initiated
[INFO][2023-09-10 09:23:55] .../lua/vim/lsp.lua:1876 "exit_handler" {}
[START][2023-09-10 09:24:34] LSP logging initiated
[INFO][2023-09-10 09:24:34] .../lua/vim/lsp.lua:1876 "exit_handler" {}
[START][2023-09-10 09:24:36] LSP logging initiated
[INFO][2023-09-10 09:24:36] .../lua/vim/lsp.lua:1876 "exit_handler" {}
[START][2023-09-10 09:24:53] LSP logging initiated
[INFO][2023-09-10 09:24:53] .../lua/vim/lsp.lua:1876 "exit_handler" {}
[START][2023-09-10 09:24:55] LSP logging initiated
[INFO][2023-09-10 09:24:55] .../lua/vim/lsp.lua:1876 "exit_handler" {}
[START][2023-09-10 09:25:14] LSP logging initiated
[INFO][2023-09-10 09:25:14] .../lua/vim/lsp.lua:1876 "exit_handler" {}
[START][2023-09-10 09:25:19] LSP logging initiated
[INFO][2023-09-10 09:25:19] .../vim/lsp/rpc.lua:662 "Starting RPC client" {
args = { "language-server", "--protocol=lsp" },
cmd = "/opt/homebrew/bin/dart",
extra = {
cwd = "/Users/cattynip/Documents/projects/speed-math"
}
}
[DEBUG][2023-09-10 09:25:19] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 1,
jsonrpc = "2.0",
method = "initialize",
params = {
capabilities = {
textDocument = {
callHierarchy = {
dynamicRegistration = false
},
codeAction = {
codeActionLiteralSupport = {
codeActionKind = {
valueSet = { "", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" }
}
},
dataSupport = true,
dynamicRegistration = false,
isPreferredSupport = true,
resolveSupport = {
properties = { "edit" }
}
},
completion = {
completionItem = {
commitCharactersSupport = false,
deprecatedSupport = false,
documentationFormat = { "markdown", "plaintext" },
preselectSupport = false,
snippetSupport = false
},
completionItemKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 }
},
contextSupport = false,
dynamicRegistration = false
},
declaration = {
linkSupport = true
},
definition = {
linkSupport = true
},
documentHighlight = {
dynamicRegistration = false
},
documentSymbol = {
dynamicRegistration = false,
hierarchicalDocumentSymbolSupport = true,
symbolKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 }
}
},
hover = {
contentFormat = { "markdown", "plaintext" },
dynamicRegistration = false
},
implementation = {
linkSupport = true
},
publishDiagnostics = {
relatedInformation = true,
tagSupport = {
valueSet = { 1, 2 }
}
},
references = {
dynamicRegistration = false
},
rename = {
dynamicRegistration = false,
prepareSupport = true
},
semanticTokens = {
augmentsSyntaxTokens = true,
dynamicRegistration = false,
formats = { "relative" },
multilineTokenSupport = false,
overlappingTokenSupport = true,
requests = {
full = {
delta = true
},
range = false
},
serverCancelSupport = false,
tokenModifiers = { "declaration", "definition", "readonly", "static", "deprecated", "abstract", "async", "modification", "documentation", "defaultLibrary" },
tokenTypes = { "namespace", "type", "class", "enum", "interface", "struct", "typeParameter", "parameter", "variable", "property", "enumMember", "event", "function", "method", "macro", "keyword", "modifier", "comment", "string", "number", "regexp", "operator", "decorator" }
},
signatureHelp = {
dynamicRegistration = false,
signatureInformation = {
activeParameterSupport = true,
documentationFormat = { "markdown", "plaintext" },
parameterInformation = {
labelOffsetSupport = true
}
}
},
synchronization = {
didSave = true,
dynamicRegistration = false,
willSave = true,
willSaveWaitUntil = true
},
typeDefinition = {
linkSupport = true
}
},
window = {
showDocument = {
support = true
},
showMessage = {
messageActionItem = {
additionalPropertiesSupport = false
}
},
workDoneProgress = true
},
workspace = {
applyEdit = true,
configuration = true,
didChangeWatchedFiles = {
dynamicRegistration = false,
relativePatternSupport = true
},
semanticTokens = {
refreshSupport = true
},
symbol = {
dynamicRegistration = false,
hierarchicalWorkspaceSymbolSupport = true,
symbolKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 }
}
},
workspaceEdit = {
resourceOperations = { "rename", "create", "delete" }
},
workspaceFolders = true
}
},
clientInfo = {
name = "Neovim",
version = "0.9.1"
},
initializationOptions = {
closingLabels = true,
flutterOutline = true,
onlyAnalyzeProjectsWithOpenFiles = true,
outline = true,
suggestFromUnimportedLibraries = true
},
processId = 93904,
rootPath = "/Users/cattynip/Documents/projects/speed-math",
rootUri = "file:///Users/cattynip/Documents/projects/speed-math",
trace = "off",
workspaceFolders = { {
name = "/Users/cattynip/Documents/projects/speed-math",
uri = "file:///Users/cattynip/Documents/projects/speed-math"
} }
}
}
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 1,
jsonrpc = "2.0",
result = {
capabilities = {
callHierarchyProvider = true,
codeActionProvider = {
codeActionKinds = { "source", "source.organizeImports", "source.fixAll", "source.sortMembers", "quickfix", "refactor" }
},
colorProvider = {
documentSelector = { {
language = "dart",
scheme = "file"
} }
},
completionProvider = {
resolveProvider = true,
triggerCharacters = { ".", "=", "(", "$", '"', "'", "{", "/", ":" }
},
definitionProvider = true,
documentFormattingProvider = true,
documentHighlightProvider = true,
documentOnTypeFormattingProvider = {
firstTriggerCharacter = "}",
moreTriggerCharacter = { ";" }
},
documentRangeFormattingProvider = true,
documentSymbolProvider = true,
executeCommandProvider = {
commands = { "edit.sortMembers", "edit.organizeImports", "edit.fixAll", "edit.sendWorkspaceEdit", "refactor.perform", "refactor.validate", "dart.logAction", "dart.refactor.convert_all_formal_parameters_to_named", "dart.refactor.convert_selected_formal_parameters_to_named", "dart.refactor.move_selected_formal_parameters_left", "dart.refactor.move_top_level_to_file" },
workDoneProgress = true
},
foldingRangeProvider = true,
hoverProvider = true,
implementationProvider = true,
inlayHintProvider = {
resolveProvider = false
},
referencesProvider = true,
renameProvider = {
prepareProvider = true
},
selectionRangeProvider = true,
semanticTokensProvider = {
full = {
delta = false
},
legend = {
tokenModifiers = { "documentation", "constructor", "declaration", "importPrefix", "instance", "static", "escape", "annotation", "control", "label", "interpolation", "void" },
tokenTypes = { "annotation", "keyword", "class", "comment", "method", "variable", "parameter", "enum", "enumMember", "type", "source", "property", "namespace", "boolean", "number", "string", "function", "typeParameter" }
},
range = true
},
signatureHelpProvider = {
retriggerCharacters = { "," },
triggerCharacters = { "(" }
},
textDocumentSync = {
change = 2,
openClose = true,
willSave = false,
willSaveWaitUntil = false
},
typeHierarchyProvider = true,
workspace = {
fileOperations = {
willRename = {
filters = { {
pattern = {
glob = "**/*.dart",
matches = "file"
},
scheme = "file"
}, {
pattern = {
glob = "**/",
matches = "folder"
},
scheme = "file"
} }
}
},
workspaceFolders = {
changeNotifications = true,
supported = true
}
},
workspaceSymbolProvider = true
},
serverInfo = {
name = "Dart SDK LSP Analysis Server",
version = "3.1.1"
}
}
}
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:284 "rpc.send" {
jsonrpc = "2.0",
method = "initialized",
params = vim.empty_dict()
}
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:284 "rpc.send" {
jsonrpc = "2.0",
method = "workspace/didChangeConfiguration",
params = {
settings = {
dart = {
completeFunctionCalls = true,
showTodos = true
}
}
}
}
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:284 "rpc.send" {
jsonrpc = "2.0",
method = "workspace/didChangeConfiguration",
params = {
settings = {
dart = {
completeFunctionCalls = true,
showTodos = true
}
}
}
}
[INFO][2023-09-10 09:25:20] .../lua/vim/lsp.lua:1345 "LSP[dartls]" "server_capabilities" {
server_capabilities = {
callHierarchyProvider = true,
codeActionProvider = {
codeActionKinds = { "source", "source.organizeImports", "source.fixAll", "source.sortMembers", "quickfix", "refactor" }
},
colorProvider = {
documentSelector = { {
language = "dart",
scheme = "file"
} }
},
completionProvider = {
resolveProvider = true,
triggerCharacters = { ".", "=", "(", "$", '"', "'", "{", "/", ":" }
},
definitionProvider = true,
documentFormattingProvider = true,
documentHighlightProvider = true,
documentOnTypeFormattingProvider = {
firstTriggerCharacter = "}",
moreTriggerCharacter = { ";" }
},
documentRangeFormattingProvider = true,
documentSymbolProvider = true,
executeCommandProvider = {
commands = { "edit.sortMembers", "edit.organizeImports", "edit.fixAll", "edit.sendWorkspaceEdit", "refactor.perform", "refactor.validate", "dart.logAction", "dart.refactor.convert_all_formal_parameters_to_named", "dart.refactor.convert_selected_formal_parameters_to_named", "dart.refactor.move_selected_formal_parameters_left", "dart.refactor.move_top_level_to_file" },
workDoneProgress = true
},
foldingRangeProvider = true,
hoverProvider = true,
implementationProvider = true,
inlayHintProvider = {
resolveProvider = false
},
referencesProvider = true,
renameProvider = {
prepareProvider = true
},
selectionRangeProvider = true,
semanticTokensProvider = {
full = {
delta = false
},
legend = {
tokenModifiers = { "documentation", "constructor", "declaration", "importPrefix", "instance", "static", "escape", "annotation", "control", "label", "interpolation", "void" },
tokenTypes = { "annotation", "keyword", "class", "comment", "method", "variable", "parameter", "enum", "enumMember", "type", "source", "property", "namespace", "boolean", "number", "string", "function", "typeParameter" }
},
range = true
},
signatureHelpProvider = {
retriggerCharacters = { "," },
triggerCharacters = { "(" }
},
textDocumentSync = {
change = 2,
openClose = true,
willSave = false,
willSaveWaitUntil = false
},
typeHierarchyProvider = true,
workspace = {
fileOperations = {
willRename = {
filters = { {
pattern = {
glob = "**/*.dart",
matches = "file"
},
scheme = "file"
}, {
pattern = {
glob = "**/",
matches = "folder"
},
scheme = "file"
} }
}
},
workspaceFolders = {
changeNotifications = true,
supported = true
}
},
workspaceSymbolProvider = true
}
}
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:284 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didOpen",
params = {
textDocument = {
languageId = "dart",
text = 'void main() {\n print("sdjfkladfjk");\n\n const sd = 2;\n\n print(sd); \n\n print("sadfjklsdafj");\n\n print(sd);\n\n\n\n\n print(sd);\n\n\n\n let asdf = 2;\n\n\n\n\n\n\n\n\n\n var asdf = 2;\n\n print(asdf);\n\n ++asdf;\n\n print("sdajfklsajdfkl");\n\n const asjdfklsadjfklsdajf = "asdjflkasjdfk";\n\n asjdfklsadjfklsdajf + "asjdfklajfklajds";\n\n print("dsafjkalsdf");\n\n ++asdf;\n}\n',
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
version = 0
}
}
}
[DEBUG][2023-09-10 09:25:20] .../lua/vim/lsp.lua:1392 "LSP[dartls]" "client.request" 1 "textDocument/documentSymbol" {
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
} <function 1> 1
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 2,
jsonrpc = "2.0",
method = "textDocument/documentSymbol",
params = {
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
}
[DEBUG][2023-09-10 09:25:20] .../lua/vim/lsp.lua:1392 "LSP[dartls]" "client.request" 1 "textDocument/semanticTokens/full" {
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
} <function 1> 1
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 3,
jsonrpc = "2.0",
method = "textDocument/semanticTokens/full",
params = {
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
}
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 1,
jsonrpc = "2.0",
method = "workspace/configuration",
params = {
items = { {
section = "dart"
} }
}
}
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:403 "server_request: callback result" {
result = { {
completeFunctionCalls = true,
showTodos = true
} },
status = true
}
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 1,
jsonrpc = "2.0",
result = { {
completeFunctionCalls = true,
showTodos = true
} }
}
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 2,
jsonrpc = "2.0",
method = "workspace/configuration",
params = {
items = { {
section = "dart"
} }
}
}
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:403 "server_request: callback result" {
result = { {
completeFunctionCalls = true,
showTodos = true
} },
status = true
}
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 2,
jsonrpc = "2.0",
result = { {
completeFunctionCalls = true,
showTodos = true
} }
}
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 3,
jsonrpc = "2.0",
method = "workspace/configuration",
params = {
items = { {
section = "dart"
} }
}
}
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 3,
jsonrpc = "2.0",
result = {
data = {}
}
}
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:403 "server_request: callback result" {
result = { {
completeFunctionCalls = true,
showTodos = true
} },
status = true
}
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 3,
jsonrpc = "2.0",
result = { {
completeFunctionCalls = true,
showTodos = true
} }
}
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:387 "rpc.receive" {
error = {
code = -32007,
data = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
message = "File is not being analyzed"
},
id = 2,
jsonrpc = "2.0"
}
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/analysis_options.yaml"
}
}
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/pubspec.yaml"
}
}
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 4,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "ANALYZING"
}
}
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = { {
code = "undefined_class",
message = "Undefined class 'let'.\nTry changing the name to the name of an existing class, or creating a class with the name 'let'.",
range = {
["end"] = {
character = 5,
line = 18
},
start = {
character = 2,
line = 18
}
},
severity = 1,
source = "dart"
}, {
code = "duplicate_definition",
message = "The name 'asdf' is already defined.\nTry renaming one of the declarations.",
range = {
["end"] = {
character = 10,
line = 28
},
start = {
character = 6,
line = 28
}
},
relatedInformation = { {
location = {
range = {
["end"] = {
character = 10,
line = 18
},
start = {
character = 6,
line = 18
}
},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
},
message = "The first definition of this name."
} },
severity = 1,
source = "dart"
}, {
code = "unused_local_variable",
message = "The value of the local variable 'asdf' isn't used.\nTry removing the variable or using it.",
range = {
["end"] = {
character = 10,
line = 28
},
start = {
character = 6,
line = 28
}
},
severity = 2,
source = "dart"
} },
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishClosingLabels",
params = {
labels = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishOutline",
params = {
outline = {
children = { {
codeRange = {
["end"] = {
character = 1,
line = 43
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "FUNCTION",
name = "main",
parameters = "()",
range = {
["end"] = {
character = 9,
line = 0
},
start = {
character = 5,
line = 0
}
},
returnType = "void"
},
range = {
["end"] = {
character = 1,
line = 43
},
start = {
character = 0,
line = 0
}
}
} },
codeRange = {
["end"] = {
character = 0,
line = 44
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "COMPILATION_UNIT",
name = "<unit>",
range = {
["end"] = {
character = 0,
line = 44
},
start = {
character = 0,
line = 0
}
}
},
range = {
["end"] = {
character = 0,
line = 44
},
start = {
character = 0,
line = 0
}
}
},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:403 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 4,
jsonrpc = "2.0",
result = vim.NIL
}
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "begin",
title = "Analyzing…"
}
}
}
[DEBUG][2023-09-10 09:25:20] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "end"
}
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:284 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
["end"] = {
character = 5,
line = 18
},
start = {
character = 2,
line = 18
}
},
rangeLength = 3,
text = ""
} },
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
version = 4
}
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 5,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "ANALYZING"
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:403 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 5,
jsonrpc = "2.0",
result = vim.NIL
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = { {
code = "referenced_before_declaration",
message = "Local variable 'asdf' can't be referenced before it is declared.\nTry moving the declaration to before the first use, or renaming the local variable so that it doesn't hide a name from an enclosing scope.",
range = {
["end"] = {
character = 7,
line = 18
},
start = {
character = 3,
line = 18
}
},
relatedInformation = { {
location = {
range = {
["end"] = {
character = 10,
line = 28
},
start = {
character = 6,
line = 28
}
},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
},
message = "The declaration of 'asdf' is here."
} },
severity = 1,
source = "dart"
} },
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishClosingLabels",
params = {
labels = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishOutline",
params = {
outline = {
children = { {
codeRange = {
["end"] = {
character = 1,
line = 43
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "FUNCTION",
name = "main",
parameters = "()",
range = {
["end"] = {
character = 9,
line = 0
},
start = {
character = 5,
line = 0
}
},
returnType = "void"
},
range = {
["end"] = {
character = 1,
line = 43
},
start = {
character = 0,
line = 0
}
}
} },
codeRange = {
["end"] = {
character = 0,
line = 44
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "COMPILATION_UNIT",
name = "<unit>",
range = {
["end"] = {
character = 0,
line = 44
},
start = {
character = 0,
line = 0
}
}
},
range = {
["end"] = {
character = 0,
line = 44
},
start = {
character = 0,
line = 0
}
}
},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "begin",
title = "Analyzing…"
}
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "end"
}
}
}
[DEBUG][2023-09-10 09:25:23] .../lua/vim/lsp.lua:1392 "LSP[dartls]" "client.request" 1 "textDocument/semanticTokens/full" {
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
} <function 1> 1
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 4,
jsonrpc = "2.0",
method = "textDocument/semanticTokens/full",
params = {
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 4,
jsonrpc = "2.0",
result = {
data = { 0, 0, 4, 1, 2048, 0, 5, 4, 16, 36, 1, 2, 5, 16, 0, 0, 6, 13, 15, 0, 2, 2, 5, 1, 0, 0, 6, 2, 5, 4, 0, 5, 1, 14, 0, 2, 2, 5, 16, 0, 0, 6, 2, 5, 0, 2, 2, 5, 16, 0, 0, 6, 14, 15, 0, 2, 2, 5, 16, 0, 0, 6, 2, 5, 0, 5, 2, 5, 16, 0, 0, 6, 2, 5, 0, 4, 3, 4, 5, 0, 0, 7, 1, 14, 0, 10, 2, 3, 1, 0, 0, 4, 4, 5, 4, 0, 7, 1, 14, 0, 2, 2, 5, 16, 0, 0, 6, 4, 5, 0, 2, 4, 4, 5, 0, 2, 2, 5, 16, 0, 0, 6, 16, 15, 0, 2, 2, 5, 1, 0, 0, 6, 19, 5, 4, 0, 22, 15, 15, 0, 2, 2, 19, 5, 0, 0, 22, 18, 15, 0, 2, 2, 5, 16, 0, 0, 6, 13, 15, 0, 2, 4, 4, 5, 0 }
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:284 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
["end"] = {
character = 2,
line = 18
},
start = {
character = 2,
line = 18
}
},
rangeLength = 0,
text = "n"
} },
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
version = 5
}
}
}
[DEBUG][2023-09-10 09:25:23] .../lua/vim/lsp.lua:1392 "LSP[dartls]" "client.request" 1 "textDocument/completion" {
context = {
triggerKind = 1
},
position = {
character = 3,
line = 18
},
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
} <function 1> 1
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 5,
jsonrpc = "2.0",
method = "textDocument/completion",
params = {
context = {
triggerKind = 1
},
position = {
character = 3,
line = 18
},
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 6,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "ANALYZING"
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:403 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 6,
jsonrpc = "2.0",
result = vim.NIL
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = { {
code = "undefined_class",
message = "Undefined class 'n'.\nTry changing the name to the name of an existing class, or creating a class with the name 'n'.",
range = {
["end"] = {
character = 3,
line = 18
},
start = {
character = 2,
line = 18
}
},
severity = 1,
source = "dart"
}, {
code = "duplicate_definition",
message = "The name 'asdf' is already defined.\nTry renaming one of the declarations.",
range = {
["end"] = {
character = 10,
line = 28
},
start = {
character = 6,
line = 28
}
},
relatedInformation = { {
location = {
range = {
["end"] = {
character = 8,
line = 18
},
start = {
character = 4,
line = 18
}
},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
},
message = "The first definition of this name."
} },
severity = 1,
source = "dart"
}, {
code = "unused_local_variable",
message = "The value of the local variable 'asdf' isn't used.\nTry removing the variable or using it.",
range = {
["end"] = {
character = 10,
line = 28
},
start = {
character = 6,
line = 28
}
},
severity = 2,
source = "dart"
} },
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishClosingLabels",
params = {
labels = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishOutline",
params = {
outline = {
children = { {
codeRange = {
["end"] = {
character = 1,
line = 43
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "FUNCTION",
name = "main",
parameters = "()",
range = {
["end"] = {
character = 9,
line = 0
},
start = {
character = 5,
line = 0
}
},
returnType = "void"
},
range = {
["end"] = {
character = 1,
line = 43
},
start = {
character = 0,
line = 0
}
}
} },
codeRange = {
["end"] = {
character = 0,
line = 44
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "COMPILATION_UNIT",
name = "<unit>",
range = {
["end"] = {
character = 0,
line = 44
},
start = {
character = 0,
line = 0
}
}
},
range = {
["end"] = {
character = 0,
line = 44
},
start = {
character = 0,
line = 0
}
}
},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "begin",
title = "Analyzing…"
}
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "end"
}
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 5,
jsonrpc = "2.0",
result = {
isIncomplete = true,
items = { {
detail = "() → DateTime",
documentation = {
kind = "markdown",
value = "Constructs a [DateTime] instance with current date and time in the\nlocal time zone.\n\n```dart\nfinal now = DateTime.now();\n```"
},
filterText = "DateTime.now",
kind = 4,
label = "DateTime.now()",
sortText = "9999499",
textEdit = {
newText = "DateTime.now",
range = {
["end"] = {
character = 3,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
documentation = {
kind = "markdown",
value = "Access to the name of an enum value.\n\nThis method is declared as an extension method\ninstead of an instance method in order to allow\nenum values to have the name `name`."
},
label = "EnumName",
sortText = "9999499",
textEdit = {
newText = "EnumName",
range = {
["end"] = {
character = 3,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
documentation = {
kind = "markdown",
value = "Access enum values by name.\n\nExtensions on a collection of enum values,\nintended for use on the `values` list of an enum type,\nwhich allows looking up a value by its name.\n\nSince enum classes are expected to be relatively small,\nlookup of [byName] is performed by linearly iterating through the values\nand comparing their name to the provided name.\nIf a more efficient lookup is needed, perhaps because the lookup operation\nhappens very often, consider building a map instead using [asNameMap]:\n```dart\nstatic myEnumNameMap = MyEnum.values.asNameMap();\n```\nand then use that for lookups."
},
label = "EnumByName",
sortText = "9999499",
textEdit = {
newText = "EnumByName",
range = {
["end"] = {
character = 3,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
detail = "([String? name]) → ArgumentError",
documentation = {
kind = "markdown",
value = "Creates an argument error for a `null` argument that must not be `null`."
},
filterText = "ArgumentError.notNull",
kind = 4,
label = "ArgumentError.notNull(…)",
sortText = "9999499",
textEdit = {
newText = "ArgumentError.notNull",
range = {
["end"] = {
character = 3,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
documentation = {
kind = "markdown",
value = "Error thrown on an invalid function or method invocation.\n\nThrown when a dynamic function or method call provides an invalid\ntype argument or argument list to the function being called.\nFor non-dynamic invocations, static type checking prevents\nsuch invalid arguments.\n\nAlso thrown by the default implementation of [Object.noSuchMethod]."
},
kind = 7,
label = "NoSuchMethodError",
sortText = "9999474",
textEdit = {
newText = "NoSuchMethodError",
range = {
["end"] = {
character = 3,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
detail = "(Object? receiver, Invocation invocation) → NoSuchMethodError",
documentation = {
kind = "markdown",
value = "Creates a [NoSuchMethodError] corresponding to a failed method call.\n\nThe [receiver] is the receiver of the method call.\nThat is, the object on which the method was attempted called.\n\nThe [invocation] represents the method call that failed. It\nshould not be `null`."
},
filterText = "NoSuchMethodError.withInvocation",
kind = 4,
label = "NoSuchMethodError.withInvocation(…)",
sortText = "9999499",
textEdit = {
newText = "NoSuchMethodError.withInvocation",
range = {
["end"] = {
character = 3,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
documentation = {
kind = "markdown",
value = "The reserved word `null` denotes an object that is the sole instance of\nthis class.\n\nThe `Null` class is the only class which does not implement `Object`.\nIt is a compile-time error for a class to attempt to extend or implement\n[Null].\n\nThe language contains a number of specialized operators for working with\n`null` value. Examples:\n```dart\ne1! // Throws if e1 is null.\ne2 ?? e3 // Same as e2, unless e2 is null, then use value of e3\nx ??= e4 // Same as x unless x is null, then same as `x = e4`.\ne5?.foo() // call `foo` on e5, unless e5 is null.\n[...? e6] // spreads e6 into the list literal, unless e6 is null.\n```"
},
kind = 7,
label = "Null",
sortText = "9999474",
textEdit = {
newText = "Null",
range = {
["end"] = {
character = 3,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
documentation = {
kind = "markdown",
value = "An integer or floating-point number.\n\nIt is a compile-time error for any type other than [int] or [double]\nto attempt to extend or implement `num`.\n\n**See also:**\n* [int]: An integer number.\n* [double]: A double-precision floating point number.\n* [Numbers](https://dart.dev/guides/language/numbers) in\n[A tour of the Dart language](https://dart.dev/guides/language/language-tour)."
},
kind = 7,
label = "num",
sortText = "9999474",
textEdit = {
newText = "num",
range = {
["end"] = {
character = 3,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
documentation = {
kind = "markdown",
value = "Operations on iterables with nullable elements."
},
label = "NullableIterableExtensions",
sortText = "9999499",
textEdit = {
newText = "NullableIterableExtensions",
range = {
["end"] = {
character = 3,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
kind = 6,
label = "Never",
sortText = "9999499",
textEdit = {
newText = "Never",
range = {
["end"] = {
character = 3,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
} }
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:284 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
["end"] = {
character = 3,
line = 18
},
start = {
character = 3,
line = 18
}
},
rangeLength = 0,
text = "u"
} },
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
version = 6
}
}
}
[DEBUG][2023-09-10 09:25:23] .../lua/vim/lsp.lua:1392 "LSP[dartls]" "client.request" 1 "textDocument/completion" {
context = {
triggerKind = 3
},
position = {
character = 4,
line = 18
},
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
} <function 1> 1
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 6,
jsonrpc = "2.0",
method = "textDocument/completion",
params = {
context = {
triggerKind = 3
},
position = {
character = 4,
line = 18
},
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 7,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "ANALYZING"
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:403 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 7,
jsonrpc = "2.0",
result = vim.NIL
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = { {
code = "undefined_class",
message = "Undefined class 'nu'.\nTry changing the name to the name of an existing class, or creating a class with the name 'nu'.",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
},
severity = 1,
source = "dart"
}, {
code = "duplicate_definition",
message = "The name 'asdf' is already defined.\nTry renaming one of the declarations.",
range = {
["end"] = {
character = 10,
line = 28
},
start = {
character = 6,
line = 28
}
},
relatedInformation = { {
location = {
range = {
["end"] = {
character = 9,
line = 18
},
start = {
character = 5,
line = 18
}
},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
},
message = "The first definition of this name."
} },
severity = 1,
source = "dart"
}, {
code = "unused_local_variable",
message = "The value of the local variable 'asdf' isn't used.\nTry removing the variable or using it.",
range = {
["end"] = {
character = 10,
line = 28
},
start = {
character = 6,
line = 28
}
},
severity = 2,
source = "dart"
} },
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishClosingLabels",
params = {
labels = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishOutline",
params = {
outline = {
children = { {
codeRange = {
["end"] = {
character = 1,
line = 43
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "FUNCTION",
name = "main",
parameters = "()",
range = {
["end"] = {
character = 9,
line = 0
},
start = {
character = 5,
line = 0
}
},
returnType = "void"
},
range = {
["end"] = {
character = 1,
line = 43
},
start = {
character = 0,
line = 0
}
}
} },
codeRange = {
["end"] = {
character = 0,
line = 44
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "COMPILATION_UNIT",
name = "<unit>",
range = {
["end"] = {
character = 0,
line = 44
},
start = {
character = 0,
line = 0
}
}
},
range = {
["end"] = {
character = 0,
line = 44
},
start = {
character = 0,
line = 0
}
}
},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "begin",
title = "Analyzing…"
}
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "end"
}
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 6,
jsonrpc = "2.0",
result = {
isIncomplete = true,
items = { {
documentation = {
kind = "markdown",
value = "An enumerated value.\n\nThis class is implemented by all types and values\nintroduced using an `enum` declaration.\nNon-platform classes cannot extend or mix in this class.\nConcrete classes cannot implement the interface."
},
kind = 7,
label = "Enum",
sortText = "9999474",
textEdit = {
newText = "Enum",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
documentation = {
kind = "markdown",
value = "Access to the name of an enum value.\n\nThis method is declared as an extension method\ninstead of an instance method in order to allow\nenum values to have the name `name`."
},
label = "EnumName",
sortText = "9999499",
textEdit = {
newText = "EnumName",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
documentation = {
kind = "markdown",
value = "Access enum values by name.\n\nExtensions on a collection of enum values,\nintended for use on the `values` list of an enum type,\nwhich allows looking up a value by its name.\n\nSince enum classes are expected to be relatively small,\nlookup of [byName] is performed by linearly iterating through the values\nand comparing their name to the provided name.\nIf a more efficient lookup is needed, perhaps because the lookup operation\nhappens very often, consider building a map instead using [asNameMap]:\n```dart\nstatic myEnumNameMap = MyEnum.values.asNameMap();\n```\nand then use that for lookups."
},
label = "EnumByName",
sortText = "9999499",
textEdit = {
newText = "EnumByName",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
detail = "([String? name]) → ArgumentError",
documentation = {
kind = "markdown",
value = "Creates an argument error for a `null` argument that must not be `null`."
},
filterText = "ArgumentError.notNull",
kind = 4,
label = "ArgumentError.notNull(…)",
sortText = "9999499",
textEdit = {
newText = "ArgumentError.notNull",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
documentation = {
kind = "markdown",
value = "Error thrown on an invalid function or method invocation.\n\nThrown when a dynamic function or method call provides an invalid\ntype argument or argument list to the function being called.\nFor non-dynamic invocations, static type checking prevents\nsuch invalid arguments.\n\nAlso thrown by the default implementation of [Object.noSuchMethod]."
},
kind = 7,
label = "NoSuchMethodError",
sortText = "9999474",
textEdit = {
newText = "NoSuchMethodError",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
detail = "(Object? receiver, Invocation invocation) → NoSuchMethodError",
documentation = {
kind = "markdown",
value = "Creates a [NoSuchMethodError] corresponding to a failed method call.\n\nThe [receiver] is the receiver of the method call.\nThat is, the object on which the method was attempted called.\n\nThe [invocation] represents the method call that failed. It\nshould not be `null`."
},
filterText = "NoSuchMethodError.withInvocation",
kind = 4,
label = "NoSuchMethodError.withInvocation(…)",
sortText = "9999499",
textEdit = {
newText = "NoSuchMethodError.withInvocation",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
documentation = {
kind = "markdown",
value = "The reserved word `null` denotes an object that is the sole instance of\nthis class.\n\nThe `Null` class is the only class which does not implement `Object`.\nIt is a compile-time error for a class to attempt to extend or implement\n[Null].\n\nThe language contains a number of specialized operators for working with\n`null` value. Examples:\n```dart\ne1! // Throws if e1 is null.\ne2 ?? e3 // Same as e2, unless e2 is null, then use value of e3\nx ??= e4 // Same as x unless x is null, then same as `x = e4`.\ne5?.foo() // call `foo` on e5, unless e5 is null.\n[...? e6] // spreads e6 into the list literal, unless e6 is null.\n```"
},
kind = 7,
label = "Null",
sortText = "9999474",
textEdit = {
newText = "Null",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
documentation = {
kind = "markdown",
value = "An integer or floating-point number.\n\nIt is a compile-time error for any type other than [int] or [double]\nto attempt to extend or implement `num`.\n\n**See also:**\n* [int]: An integer number.\n* [double]: A double-precision floating point number.\n* [Numbers](https://dart.dev/guides/language/numbers) in\n[A tour of the Dart language](https://dart.dev/guides/language/language-tour)."
},
kind = 7,
label = "num",
sortText = "9999474",
textEdit = {
newText = "num",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
documentation = {
kind = "markdown",
value = "Operations on iterables with nullable elements."
},
label = "NullableIterableExtensions",
sortText = "9999499",
textEdit = {
newText = "NullableIterableExtensions",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:async" },
ref = "dart:async;dart:async/zone.dart;RunUnaryHandler"
},
detail = "(Zone self, ZoneDelegate parent, Zone zone, R Function(T) f, T arg) → R",
label = "RunUnaryHandler",
sortText = "9999562",
textEdit = {
newText = "RunUnaryHandler",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:convert" },
ref = "dart:convert;dart:convert/json.dart;JsonUnsupportedObjectError"
},
kind = 7,
label = "JsonUnsupportedObjectError",
sortText = "9999536",
textEdit = {
newText = "JsonUnsupportedObjectError",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:convert" },
ref = "dart:convert;dart:convert/json.dart;JsonUnsupportedObjectError;"
},
detail = "(Object? unsupportedObject, {Object? cause, String? partialResult}) → JsonUnsupportedObjectError",
filterText = "JsonUnsupportedObjectError",
kind = 4,
label = "JsonUnsupportedObjectError(…)",
sortText = "9999562",
textEdit = {
newText = "JsonUnsupportedObjectError",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:convert" },
ref = "dart:convert;dart:convert/json.dart;JsonUtf8Encoder"
},
kind = 7,
label = "JsonUtf8Encoder",
sortText = "9999536",
textEdit = {
newText = "JsonUtf8Encoder",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:convert" },
ref = "dart:convert;dart:convert/json.dart;JsonUtf8Encoder;"
},
detail = "([String? indent, dynamic Function(dynamic)? toEncodable, int? bufferSize]) → JsonUtf8Encoder",
filterText = "JsonUtf8Encoder",
kind = 4,
label = "JsonUtf8Encoder(…)",
sortText = "9999562",
textEdit = {
newText = "JsonUtf8Encoder",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:developer" },
ref = "dart:developer;dart:developer;NativeRuntime"
},
kind = 7,
label = "NativeRuntime",
sortText = "9999536",
textEdit = {
newText = "NativeRuntime",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:ffi" },
ref = "dart:ffi;dart:ffi;nullptr"
},
detail = "Pointer<Never>",
kind = 6,
label = "nullptr",
sortText = "9999558",
textEdit = {
newText = "nullptr",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:ffi" },
ref = "dart:ffi;dart:ffi;NativeFunctionPointer"
},
label = "NativeFunctionPointer",
sortText = "9999562",
textEdit = {
newText = "NativeFunctionPointer",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:ffi" },
ref = "dart:ffi;dart:ffi/native_type.dart;NativeFunction"
},
kind = 7,
label = "NativeFunction",
sortText = "9999536",
textEdit = {
newText = "NativeFunction",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:ffi" },
ref = "dart:ffi;dart:ffi/native_finalizer.dart;NativeFinalizerFunction"
},
label = "NativeFinalizerFunction",
sortText = "9999562",
textEdit = {
newText = "NativeFinalizerFunction",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:html" },
ref = "dart:html;dart:html;CssNamespaceRule"
},
kind = 7,
label = "CssNamespaceRule",
sortText = "9999536",
textEdit = {
newText = "CssNamespaceRule",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:html" },
ref = "dart:html;dart:html;CssNumericValue"
},
kind = 7,
label = "CssNumericValue",
sortText = "9999536",
textEdit = {
newText = "CssNumericValue",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:html" },
ref = "dart:html;dart:html;NumberInputElement"
},
kind = 7,
label = "NumberInputElement",
sortText = "9999536",
textEdit = {
newText = "NumberInputElement",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:html" },
ref = "dart:html;dart:html;NumberInputElement;"
},
detail = "() → NumberInputElement",
filterText = "NumberInputElement",
kind = 4,
label = "NumberInputElement()",
sortText = "9999562",
textEdit = {
newText = "NumberInputElement",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:html" },
ref = "dart:html;dart:html;MenuElement"
},
kind = 7,
label = "MenuElement",
sortText = "9999536",
textEdit = {
newText = "MenuElement",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:html" },
ref = "dart:html;dart:html;MenuElement;"
},
detail = "() → MenuElement",
filterText = "MenuElement",
kind = 4,
label = "MenuElement()",
sortText = "9999562",
textEdit = {
newText = "MenuElement",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:html" },
ref = "dart:html;dart:html;MenuElement;created"
},
detail = "() → MenuElement",
filterText = "MenuElement.created",
kind = 4,
label = "MenuElement.created()",
sortText = "9999562",
textEdit = {
newText = "MenuElement.created",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:html" },
ref = "dart:html;dart:html;NavigatorAutomationInformation"
},
kind = 7,
label = "NavigatorAutomationInformation",
sortText = "9999536",
textEdit = {
newText = "NavigatorAutomationInformation",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:html" },
ref = "dart:html;dart:html;NavigatorConcurrentHardware"
},
kind = 7,
label = "NavigatorConcurrentHardware",
sortText = "9999536",
textEdit = {
newText = "NavigatorConcurrentHardware",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:html" },
ref = "dart:html;dart:html;NavigatorLanguage"
},
kind = 7,
label = "NavigatorLanguage",
sortText = "9999536",
textEdit = {
newText = "NavigatorLanguage",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:html" },
ref = "dart:html;dart:html;NavigatorUserMediaError"
},
kind = 7,
label = "NavigatorUserMediaError",
sortText = "9999536",
textEdit = {
newText = "NavigatorUserMediaError",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:html" },
ref = "dart:html;dart:html;NonDocumentTypeChildNode"
},
kind = 7,
label = "NonDocumentTypeChildNode",
sortText = "9999536",
textEdit = {
newText = "NonDocumentTypeChildNode",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:html" },
ref = "dart:html;dart:html;NodeValidatorBuilder"
},
kind = 7,
label = "NodeValidatorBuilder",
sortText = "9999536",
textEdit = {
newText = "NodeValidatorBuilder",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:html" },
ref = "dart:html;dart:html;NodeValidatorBuilder;"
},
detail = "() → NodeValidatorBuilder",
filterText = "NodeValidatorBuilder",
kind = 4,
label = "NodeValidatorBuilder()",
sortText = "9999562",
textEdit = {
newText = "NodeValidatorBuilder",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:html" },
ref = "dart:html;dart:html;NodeValidatorBuilder;common"
},
detail = "() → NodeValidatorBuilder",
filterText = "NodeValidatorBuilder.common",
kind = 4,
label = "NodeValidatorBuilder.common()",
sortText = "9999562",
textEdit = {
newText = "NodeValidatorBuilder.common",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:html_common" },
ref = "dart:html_common;dart:html_common/conversions.dart;convertDartToNative_SerializedScriptValue"
},
detail = "(dynamic value) → dynamic",
filterText = "convertDartToNative_SerializedScriptValue",
kind = 3,
label = "convertDartToNative_SerializedScriptValue(…)",
sortText = "9999546",
textEdit = {
newText = "convertDartToNative_SerializedScriptValue",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:html_common" },
ref = "dart:html_common;dart:html_common/conversions.dart;convertNativeToDart_SerializedScriptValue"
},
detail = "(dynamic object) → dynamic",
filterText = "convertNativeToDart_SerializedScriptValue",
kind = 3,
label = "convertNativeToDart_SerializedScriptValue(…)",
sortText = "9999546",
textEdit = {
newText = "convertNativeToDart_SerializedScriptValue",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:html_common" },
ref = "dart:html_common;dart:html_common/conversions.dart;convertNativeToDart_ContextAttributes"
},
detail = "(dynamic nativeContextAttributes) → dynamic",
filterText = "convertNativeToDart_ContextAttributes",
kind = 3,
label = "convertNativeToDart_ContextAttributes(…)",
sortText = "9999546",
textEdit = {
newText = "convertNativeToDart_ContextAttributes",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:html_common" },
ref = "dart:html_common;dart:html_common/conversions_dart2js.dart;convertDartToNative_PrepareForStructuredClone"
},
detail = "(dynamic value) → dynamic",
filterText = "convertDartToNative_PrepareForStructuredClone",
kind = 3,
label = "convertDartToNative_PrepareForStructuredClone(…)",
sortText = "9999546",
textEdit = {
newText = "convertDartToNative_PrepareForStructuredClone",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:html_common" },
ref = "dart:html_common;dart:html_common/conversions_dart2js.dart;convertNativeToDart_AcceptStructuredClone"
},
detail = "(dynamic object, {dynamic mustCopy = false}) → dynamic",
filterText = "convertNativeToDart_AcceptStructuredClone",
kind = 3,
label = "convertNativeToDart_AcceptStructuredClone(…)",
sortText = "9999546",
textEdit = {
newText = "convertNativeToDart_AcceptStructuredClone",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:io" },
ref = "dart:io;dart:io/file.dart;PathNotFoundException"
},
kind = 7,
label = "PathNotFoundException",
sortText = "9999536",
textEdit = {
newText = "PathNotFoundException",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:io" },
ref = "dart:io;dart:io/file.dart;PathNotFoundException;"
},
detail = '(String path, OSError osError, [String message = ""]) → PathNotFoundException',
filterText = "PathNotFoundException",
kind = 4,
label = "PathNotFoundException(…)",
sortText = "9999562",
textEdit = {
newText = "PathNotFoundException",
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
} }
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:284 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
["end"] = {
character = 4,
line = 18
},
start = {
character = 4,
line = 18
}
},
rangeLength = 0,
text = "m"
} },
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
version = 7
}
}
}
[DEBUG][2023-09-10 09:25:23] .../lua/vim/lsp.lua:1392 "LSP[dartls]" "client.request" 1 "textDocument/completion" {
context = {
triggerKind = 3
},
position = {
character = 5,
line = 18
},
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
} <function 1> 1
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 7,
jsonrpc = "2.0",
method = "textDocument/completion",
params = {
context = {
triggerKind = 3
},
position = {
character = 5,
line = 18
},
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 8,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "ANALYZING"
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:403 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 8,
jsonrpc = "2.0",
result = vim.NIL
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = { {
code = "duplicate_definition",
message = "The name 'asdf' is already defined.\nTry renaming one of the declarations.",
range = {
["end"] = {
character = 10,
line = 28
},
start = {
character = 6,
line = 28
}
},
relatedInformation = { {
location = {
range = {
["end"] = {
character = 10,
line = 18
},
start = {
character = 6,
line = 18
}
},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
},
message = "The first definition of this name."
} },
severity = 1,
source = "dart"
}, {
code = "unused_local_variable",
message = "The value of the local variable 'asdf' isn't used.\nTry removing the variable or using it.",
range = {
["end"] = {
character = 10,
line = 28
},
start = {
character = 6,
line = 28
}
},
severity = 2,
source = "dart"
} },
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishClosingLabels",
params = {
labels = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishOutline",
params = {
outline = {
children = { {
codeRange = {
["end"] = {
character = 1,
line = 43
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "FUNCTION",
name = "main",
parameters = "()",
range = {
["end"] = {
character = 9,
line = 0
},
start = {
character = 5,
line = 0
}
},
returnType = "void"
},
range = {
["end"] = {
character = 1,
line = 43
},
start = {
character = 0,
line = 0
}
}
} },
codeRange = {
["end"] = {
character = 0,
line = 44
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "COMPILATION_UNIT",
name = "<unit>",
range = {
["end"] = {
character = 0,
line = 44
},
start = {
character = 0,
line = 0
}
}
},
range = {
["end"] = {
character = 0,
line = 44
},
start = {
character = 0,
line = 0
}
}
},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "begin",
title = "Analyzing…"
}
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "end"
}
}
}
[DEBUG][2023-09-10 09:25:23] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 7,
jsonrpc = "2.0",
result = {
isIncomplete = false,
items = { {
documentation = {
kind = "markdown",
value = "An enumerated value.\n\nThis class is implemented by all types and values\nintroduced using an `enum` declaration.\nNon-platform classes cannot extend or mix in this class.\nConcrete classes cannot implement the interface."
},
kind = 7,
label = "Enum",
sortText = "9999474",
textEdit = {
newText = "Enum",
range = {
["end"] = {
character = 5,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
documentation = {
kind = "markdown",
value = "Access to the name of an enum value.\n\nThis method is declared as an extension method\ninstead of an instance method in order to allow\nenum values to have the name `name`."
},
label = "EnumName",
sortText = "9999499",
textEdit = {
newText = "EnumName",
range = {
["end"] = {
character = 5,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
documentation = {
kind = "markdown",
value = "Access enum values by name.\n\nExtensions on a collection of enum values,\nintended for use on the `values` list of an enum type,\nwhich allows looking up a value by its name.\n\nSince enum classes are expected to be relatively small,\nlookup of [byName] is performed by linearly iterating through the values\nand comparing their name to the provided name.\nIf a more efficient lookup is needed, perhaps because the lookup operation\nhappens very often, consider building a map instead using [asNameMap]:\n```dart\nstatic myEnumNameMap = MyEnum.values.asNameMap();\n```\nand then use that for lookups."
},
label = "EnumByName",
sortText = "9999499",
textEdit = {
newText = "EnumByName",
range = {
["end"] = {
character = 5,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
documentation = {
kind = "markdown",
value = "Error thrown on an invalid function or method invocation.\n\nThrown when a dynamic function or method call provides an invalid\ntype argument or argument list to the function being called.\nFor non-dynamic invocations, static type checking prevents\nsuch invalid arguments.\n\nAlso thrown by the default implementation of [Object.noSuchMethod]."
},
kind = 7,
label = "NoSuchMethodError",
sortText = "9999474",
textEdit = {
newText = "NoSuchMethodError",
range = {
["end"] = {
character = 5,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
detail = "(Object? receiver, Invocation invocation) → NoSuchMethodError",
documentation = {
kind = "markdown",
value = "Creates a [NoSuchMethodError] corresponding to a failed method call.\n\nThe [receiver] is the receiver of the method call.\nThat is, the object on which the method was attempted called.\n\nThe [invocation] represents the method call that failed. It\nshould not be `null`."
},
filterText = "NoSuchMethodError.withInvocation",
kind = 4,
label = "NoSuchMethodError.withInvocation(…)",
sortText = "9999499",
textEdit = {
newText = "NoSuchMethodError.withInvocation",
range = {
["end"] = {
character = 5,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
documentation = {
kind = "markdown",
value = "An integer or floating-point number.\n\nIt is a compile-time error for any type other than [int] or [double]\nto attempt to extend or implement `num`.\n\n**See also:**\n* [int]: An integer number.\n* [double]: A double-precision floating point number.\n* [Numbers](https://dart.dev/guides/language/numbers) in\n[A tour of the Dart language](https://dart.dev/guides/language/language-tour)."
},
kind = 7,
label = "num",
sortText = "9999474",
textEdit = {
newText = "num",
range = {
["end"] = {
character = 5,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:html" },
ref = "dart:html;dart:html;CssNumericValue"
},
kind = 7,
label = "CssNumericValue",
sortText = "9999536",
textEdit = {
newText = "CssNumericValue",
range = {
["end"] = {
character = 5,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:html" },
ref = "dart:html;dart:html;NumberInputElement"
},
kind = 7,
label = "NumberInputElement",
sortText = "9999536",
textEdit = {
newText = "NumberInputElement",
range = {
["end"] = {
character = 5,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:html" },
ref = "dart:html;dart:html;NumberInputElement;"
},
detail = "() → NumberInputElement",
filterText = "NumberInputElement",
kind = 4,
label = "NumberInputElement()",
sortText = "9999562",
textEdit = {
newText = "NumberInputElement",
range = {
["end"] = {
character = 5,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:html" },
ref = "dart:html;dart:html;NavigatorUserMediaError"
},
kind = 7,
label = "NavigatorUserMediaError",
sortText = "9999536",
textEdit = {
newText = "NavigatorUserMediaError",
range = {
["end"] = {
character = 5,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:html" },
ref = "dart:html;dart:html;NonDocumentTypeChildNode"
},
kind = 7,
label = "NonDocumentTypeChildNode",
sortText = "9999536",
textEdit = {
newText = "NonDocumentTypeChildNode",
range = {
["end"] = {
character = 5,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:js_interop" },
ref = "dart:js_interop;dart:js_interop;JSNumber"
},
label = "JSNumber",
sortText = "9999562",
textEdit = {
newText = "JSNumber",
range = {
["end"] = {
character = 5,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:js_interop" },
ref = "dart:js_interop;dart:js_interop;JSNumberToNumber"
},
label = "JSNumberToNumber",
sortText = "9999562",
textEdit = {
newText = "JSNumberToNumber",
range = {
["end"] = {
character = 5,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:js_interop" },
ref = "dart:js_interop;dart:js_interop;DoubleToJSNumber"
},
label = "DoubleToJSNumber",
sortText = "9999562",
textEdit = {
newText = "DoubleToJSNumber",
range = {
["end"] = {
character = 5,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:js_interop" },
ref = "dart:js_interop;dart:js_interop;NumToJSExtension"
},
label = "NumToJSExtension",
sortText = "9999562",
textEdit = {
newText = "NumToJSExtension",
range = {
["end"] = {
character = 5,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:svg" },
ref = "dart:svg;dart:svg;AnimatedEnumeration"
},
kind = 7,
label = "AnimatedEnumeration",
sortText = "9999536",
textEdit = {
newText = "AnimatedEnumeration",
range = {
["end"] = {
character = 5,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:svg" },
ref = "dart:svg;dart:svg;AnimatedNumber"
},
kind = 7,
label = "AnimatedNumber",
sortText = "9999536",
textEdit = {
newText = "AnimatedNumber",
range = {
["end"] = {
character = 5,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:svg" },
ref = "dart:svg;dart:svg;AnimatedNumberList"
},
kind = 7,
label = "AnimatedNumberList",
sortText = "9999536",
textEdit = {
newText = "AnimatedNumberList",
range = {
["end"] = {
character = 5,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:svg" },
ref = "dart:svg;dart:svg;Number"
},
kind = 7,
label = "Number",
sortText = "9999536",
textEdit = {
newText = "Number",
range = {
["end"] = {
character = 5,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
}, {
data = {
file = "/Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
importUris = { "dart:svg" },
ref = "dart:svg;dart:svg;NumberList"
},
kind = 7,
label = "NumberList",
sortText = "9999536",
textEdit = {
newText = "NumberList",
range = {
["end"] = {
character = 5,
line = 18
},
start = {
character = 2,
line = 18
}
}
}
} }
}
}
[DEBUG][2023-09-10 09:25:24] .../lua/vim/lsp.lua:1392 "LSP[dartls]" "client.request" 1 "textDocument/semanticTokens/full" {
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
} <function 1> 1
[DEBUG][2023-09-10 09:25:24] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 8,
jsonrpc = "2.0",
method = "textDocument/semanticTokens/full",
params = {
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
}
[DEBUG][2023-09-10 09:25:24] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 8,
jsonrpc = "2.0",
result = {
data = { 0, 0, 4, 1, 2048, 0, 5, 4, 16, 36, 1, 2, 5, 16, 0, 0, 6, 13, 15, 0, 2, 2, 5, 1, 0, 0, 6, 2, 5, 4, 0, 5, 1, 14, 0, 2, 2, 5, 16, 0, 0, 6, 2, 5, 0, 2, 2, 5, 16, 0, 0, 6, 14, 15, 0, 2, 2, 5, 16, 0, 0, 6, 2, 5, 0, 5, 2, 5, 16, 0, 0, 6, 2, 5, 0, 4, 2, 3, 2, 0, 0, 4, 4, 5, 4, 0, 7, 1, 14, 0, 10, 2, 3, 1, 0, 0, 4, 4, 5, 4, 0, 7, 1, 14, 0, 2, 2, 5, 16, 0, 0, 6, 4, 5, 0, 2, 4, 4, 5, 0, 2, 2, 5, 16, 0, 0, 6, 16, 15, 0, 2, 2, 5, 1, 0, 0, 6, 19, 5, 4, 0, 22, 15, 15, 0, 2, 2, 19, 5, 0, 0, 22, 18, 15, 0, 2, 2, 5, 16, 0, 0, 6, 13, 15, 0, 2, 4, 4, 5, 0 }
}
}
[DEBUG][2023-09-10 09:25:24] .../lua/vim/lsp.lua:1392 "LSP[dartls]" "client.request" 1 "textDocument/documentSymbol" {
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
} <function 1> 1
[DEBUG][2023-09-10 09:25:24] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 9,
jsonrpc = "2.0",
method = "textDocument/documentSymbol",
params = {
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
}
[DEBUG][2023-09-10 09:25:24] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 9,
jsonrpc = "2.0",
result = { {
deprecated = false,
detail = "()",
kind = 12,
name = "main",
range = {
["end"] = {
character = 1,
line = 43
},
start = {
character = 0,
line = 0
}
},
selectionRange = {
["end"] = {
character = 9,
line = 0
},
start = {
character = 5,
line = 0
}
}
} }
}
[DEBUG][2023-09-10 09:25:26] .../vim/lsp/rpc.lua:284 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
["end"] = {
character = 0,
line = 29
},
start = {
character = 0,
line = 27
}
},
rangeLength = 17,
text = ""
} },
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
version = 8
}
}
}
[DEBUG][2023-09-10 09:25:26] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 9,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "ANALYZING"
}
}
[DEBUG][2023-09-10 09:25:26] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:26] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishClosingLabels",
params = {
labels = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:26] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishOutline",
params = {
outline = {
children = { {
codeRange = {
["end"] = {
character = 1,
line = 41
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "FUNCTION",
name = "main",
parameters = "()",
range = {
["end"] = {
character = 9,
line = 0
},
start = {
character = 5,
line = 0
}
},
returnType = "void"
},
range = {
["end"] = {
character = 1,
line = 41
},
start = {
character = 0,
line = 0
}
}
} },
codeRange = {
["end"] = {
character = 0,
line = 42
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "COMPILATION_UNIT",
name = "<unit>",
range = {
["end"] = {
character = 0,
line = 42
},
start = {
character = 0,
line = 0
}
}
},
range = {
["end"] = {
character = 0,
line = 42
},
start = {
character = 0,
line = 0
}
}
},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:26] .../vim/lsp/rpc.lua:403 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2023-09-10 09:25:26] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 9,
jsonrpc = "2.0",
result = vim.NIL
}
[DEBUG][2023-09-10 09:25:26] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "begin",
title = "Analyzing…"
}
}
}
[DEBUG][2023-09-10 09:25:26] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "end"
}
}
}
[DEBUG][2023-09-10 09:25:26] .../lua/vim/lsp.lua:1392 "LSP[dartls]" "client.request" 1 "textDocument/semanticTokens/full" {
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
} <function 1> 1
[DEBUG][2023-09-10 09:25:26] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 10,
jsonrpc = "2.0",
method = "textDocument/semanticTokens/full",
params = {
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
}
[DEBUG][2023-09-10 09:25:26] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 10,
jsonrpc = "2.0",
result = {
data = { 0, 0, 4, 1, 2048, 0, 5, 4, 16, 36, 1, 2, 5, 16, 0, 0, 6, 13, 15, 0, 2, 2, 5, 1, 0, 0, 6, 2, 5, 4, 0, 5, 1, 14, 0, 2, 2, 5, 16, 0, 0, 6, 2, 5, 0, 2, 2, 5, 16, 0, 0, 6, 14, 15, 0, 2, 2, 5, 16, 0, 0, 6, 2, 5, 0, 5, 2, 5, 16, 0, 0, 6, 2, 5, 0, 4, 2, 3, 2, 0, 0, 4, 4, 5, 4, 0, 7, 1, 14, 0, 10, 2, 5, 16, 0, 0, 6, 4, 5, 0, 2, 4, 4, 5, 0, 2, 2, 5, 16, 0, 0, 6, 16, 15, 0, 2, 2, 5, 1, 0, 0, 6, 19, 5, 4, 0, 22, 15, 15, 0, 2, 2, 19, 5, 0, 0, 22, 18, 15, 0, 2, 2, 5, 16, 0, 0, 6, 13, 15, 0, 2, 4, 4, 5, 0 }
}
}
[DEBUG][2023-09-10 09:25:26] .../vim/lsp/rpc.lua:284 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
["end"] = {
character = 0,
line = 26
},
start = {
character = 0,
line = 24
}
},
rangeLength = 2,
text = ""
} },
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
version = 9
}
}
}
[DEBUG][2023-09-10 09:25:26] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 10,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "ANALYZING"
}
}
[DEBUG][2023-09-10 09:25:26] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:26] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishClosingLabels",
params = {
labels = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:26] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishOutline",
params = {
outline = {
children = { {
codeRange = {
["end"] = {
character = 1,
line = 39
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "FUNCTION",
name = "main",
parameters = "()",
range = {
["end"] = {
character = 9,
line = 0
},
start = {
character = 5,
line = 0
}
},
returnType = "void"
},
range = {
["end"] = {
character = 1,
line = 39
},
start = {
character = 0,
line = 0
}
}
} },
codeRange = {
["end"] = {
character = 0,
line = 40
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "COMPILATION_UNIT",
name = "<unit>",
range = {
["end"] = {
character = 0,
line = 40
},
start = {
character = 0,
line = 0
}
}
},
range = {
["end"] = {
character = 0,
line = 40
},
start = {
character = 0,
line = 0
}
}
},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:26] .../vim/lsp/rpc.lua:403 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2023-09-10 09:25:26] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 10,
jsonrpc = "2.0",
result = vim.NIL
}
[DEBUG][2023-09-10 09:25:26] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "begin",
title = "Analyzing…"
}
}
}
[DEBUG][2023-09-10 09:25:26] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "end"
}
}
}
[DEBUG][2023-09-10 09:25:27] .../vim/lsp/rpc.lua:284 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
["end"] = {
character = 0,
line = 25
},
start = {
character = 0,
line = 23
}
},
rangeLength = 2,
text = ""
} },
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
version = 10
}
}
}
[DEBUG][2023-09-10 09:25:27] .../lua/vim/lsp.lua:1392 "LSP[dartls]" "client.request" 1 "textDocument/semanticTokens/full" {
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
} <function 1> 1
[DEBUG][2023-09-10 09:25:27] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 11,
jsonrpc = "2.0",
method = "textDocument/semanticTokens/full",
params = {
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
}
[DEBUG][2023-09-10 09:25:27] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 11,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "ANALYZING"
}
}
[DEBUG][2023-09-10 09:25:27] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:27] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishClosingLabels",
params = {
labels = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:27] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishOutline",
params = {
outline = {
children = { {
codeRange = {
["end"] = {
character = 1,
line = 37
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "FUNCTION",
name = "main",
parameters = "()",
range = {
["end"] = {
character = 9,
line = 0
},
start = {
character = 5,
line = 0
}
},
returnType = "void"
},
range = {
["end"] = {
character = 1,
line = 37
},
start = {
character = 0,
line = 0
}
}
} },
codeRange = {
["end"] = {
character = 0,
line = 38
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "COMPILATION_UNIT",
name = "<unit>",
range = {
["end"] = {
character = 0,
line = 38
},
start = {
character = 0,
line = 0
}
}
},
range = {
["end"] = {
character = 0,
line = 38
},
start = {
character = 0,
line = 0
}
}
},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:27] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 11,
jsonrpc = "2.0",
result = {
data = { 0, 0, 4, 1, 2048, 0, 5, 4, 16, 36, 1, 2, 5, 16, 0, 0, 6, 13, 15, 0, 2, 2, 5, 1, 0, 0, 6, 2, 5, 4, 0, 5, 1, 14, 0, 2, 2, 5, 16, 0, 0, 6, 2, 5, 0, 2, 2, 5, 16, 0, 0, 6, 14, 15, 0, 2, 2, 5, 16, 0, 0, 6, 2, 5, 0, 5, 2, 5, 16, 0, 0, 6, 2, 5, 0, 4, 2, 3, 2, 0, 0, 4, 4, 5, 4, 0, 7, 1, 14, 0, 6, 2, 5, 16, 0, 0, 6, 4, 5, 0, 2, 4, 4, 5, 0, 2, 2, 5, 16, 0, 0, 6, 16, 15, 0, 2, 2, 5, 1, 0, 0, 6, 19, 5, 4, 0, 22, 15, 15, 0, 2, 2, 19, 5, 0, 0, 22, 18, 15, 0, 2, 2, 5, 16, 0, 0, 6, 13, 15, 0, 2, 4, 4, 5, 0 }
}
}
[DEBUG][2023-09-10 09:25:27] .../vim/lsp/rpc.lua:403 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2023-09-10 09:25:27] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 11,
jsonrpc = "2.0",
result = vim.NIL
}
[DEBUG][2023-09-10 09:25:27] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "begin",
title = "Analyzing…"
}
}
}
[DEBUG][2023-09-10 09:25:27] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "end"
}
}
}
[DEBUG][2023-09-10 09:25:28] .../lua/vim/lsp.lua:1392 "LSP[dartls]" "client.request" 1 "textDocument/documentSymbol" {
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
} <function 1> 1
[DEBUG][2023-09-10 09:25:28] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 12,
jsonrpc = "2.0",
method = "textDocument/documentSymbol",
params = {
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
}
[DEBUG][2023-09-10 09:25:28] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 12,
jsonrpc = "2.0",
result = { {
deprecated = false,
detail = "()",
kind = 12,
name = "main",
range = {
["end"] = {
character = 1,
line = 37
},
start = {
character = 0,
line = 0
}
},
selectionRange = {
["end"] = {
character = 9,
line = 0
},
start = {
character = 5,
line = 0
}
}
} }
}
[DEBUG][2023-09-10 09:25:28] .../vim/lsp/rpc.lua:284 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
["end"] = {
character = 15,
line = 18
},
start = {
character = 15,
line = 18
}
},
rangeLength = 0,
text = "\n "
} },
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
version = 11
}
}
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 12,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "ANALYZING"
}
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishClosingLabels",
params = {
labels = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishOutline",
params = {
outline = {
children = { {
codeRange = {
["end"] = {
character = 1,
line = 38
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "FUNCTION",
name = "main",
parameters = "()",
range = {
["end"] = {
character = 9,
line = 0
},
start = {
character = 5,
line = 0
}
},
returnType = "void"
},
range = {
["end"] = {
character = 1,
line = 38
},
start = {
character = 0,
line = 0
}
}
} },
codeRange = {
["end"] = {
character = 0,
line = 39
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "COMPILATION_UNIT",
name = "<unit>",
range = {
["end"] = {
character = 0,
line = 39
},
start = {
character = 0,
line = 0
}
}
},
range = {
["end"] = {
character = 0,
line = 39
},
start = {
character = 0,
line = 0
}
}
},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:284 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
["end"] = {
character = 2,
line = 19
},
start = {
character = 0,
line = 19
}
},
rangeLength = 2,
text = "\n "
} },
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
version = 12
}
}
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishClosingLabels",
params = {
labels = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishOutline",
params = {
outline = {
children = { {
codeRange = {
["end"] = {
character = 1,
line = 39
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "FUNCTION",
name = "main",
parameters = "()",
range = {
["end"] = {
character = 9,
line = 0
},
start = {
character = 5,
line = 0
}
},
returnType = "void"
},
range = {
["end"] = {
character = 1,
line = 39
},
start = {
character = 0,
line = 0
}
}
} },
codeRange = {
["end"] = {
character = 0,
line = 40
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "COMPILATION_UNIT",
name = "<unit>",
range = {
["end"] = {
character = 0,
line = 40
},
start = {
character = 0,
line = 0
}
}
},
range = {
["end"] = {
character = 0,
line = 40
},
start = {
character = 0,
line = 0
}
}
},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:403 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 12,
jsonrpc = "2.0",
result = vim.NIL
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "begin",
title = "Analyzing…"
}
}
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "end"
}
}
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:284 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
["end"] = {
character = 2,
line = 20
},
start = {
character = 0,
line = 20
}
},
rangeLength = 2,
text = "\n "
}, {
range = {
["end"] = {
character = 2,
line = 21
},
start = {
character = 0,
line = 21
}
},
rangeLength = 2,
text = "\n "
} },
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
version = 14
}
}
}
[DEBUG][2023-09-10 09:25:29] .../lua/vim/lsp.lua:1392 "LSP[dartls]" "client.request" 1 "textDocument/semanticTokens/full" {
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
} <function 1> 1
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 13,
jsonrpc = "2.0",
method = "textDocument/semanticTokens/full",
params = {
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
}
[DEBUG][2023-09-10 09:25:29] .../lua/vim/lsp.lua:1392 "LSP[dartls]" "client.request" 1 "textDocument/documentSymbol" {
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
} <function 1> 1
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 14,
jsonrpc = "2.0",
method = "textDocument/documentSymbol",
params = {
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 13,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "ANALYZING"
}
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishClosingLabels",
params = {
labels = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishOutline",
params = {
outline = {
children = { {
codeRange = {
["end"] = {
character = 1,
line = 41
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "FUNCTION",
name = "main",
parameters = "()",
range = {
["end"] = {
character = 9,
line = 0
},
start = {
character = 5,
line = 0
}
},
returnType = "void"
},
range = {
["end"] = {
character = 1,
line = 41
},
start = {
character = 0,
line = 0
}
}
} },
codeRange = {
["end"] = {
character = 0,
line = 42
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "COMPILATION_UNIT",
name = "<unit>",
range = {
["end"] = {
character = 0,
line = 42
},
start = {
character = 0,
line = 0
}
}
},
range = {
["end"] = {
character = 0,
line = 42
},
start = {
character = 0,
line = 0
}
}
},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 13,
jsonrpc = "2.0",
result = {
data = { 0, 0, 4, 1, 2048, 0, 5, 4, 16, 36, 1, 2, 5, 16, 0, 0, 6, 13, 15, 0, 2, 2, 5, 1, 0, 0, 6, 2, 5, 4, 0, 5, 1, 14, 0, 2, 2, 5, 16, 0, 0, 6, 2, 5, 0, 2, 2, 5, 16, 0, 0, 6, 14, 15, 0, 2, 2, 5, 16, 0, 0, 6, 2, 5, 0, 5, 2, 5, 16, 0, 0, 6, 2, 5, 0, 4, 2, 3, 2, 0, 0, 4, 4, 5, 4, 0, 7, 1, 14, 0, 10, 2, 5, 16, 0, 0, 6, 4, 5, 0, 2, 4, 4, 5, 0, 2, 2, 5, 16, 0, 0, 6, 16, 15, 0, 2, 2, 5, 1, 0, 0, 6, 19, 5, 4, 0, 22, 15, 15, 0, 2, 2, 19, 5, 0, 0, 22, 18, 15, 0, 2, 2, 5, 16, 0, 0, 6, 13, 15, 0, 2, 4, 4, 5, 0 }
}
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 14,
jsonrpc = "2.0",
result = { {
deprecated = false,
detail = "()",
kind = 12,
name = "main",
range = {
["end"] = {
character = 1,
line = 41
},
start = {
character = 0,
line = 0
}
},
selectionRange = {
["end"] = {
character = 9,
line = 0
},
start = {
character = 5,
line = 0
}
}
} }
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:403 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 13,
jsonrpc = "2.0",
result = vim.NIL
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "begin",
title = "Analyzing…"
}
}
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "end"
}
}
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:284 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
["end"] = {
character = 2,
line = 22
},
start = {
character = 1,
line = 22
}
},
rangeLength = 1,
text = ""
} },
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
version = 15
}
}
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 14,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "ANALYZING"
}
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:403 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 14,
jsonrpc = "2.0",
result = vim.NIL
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishClosingLabels",
params = {
labels = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishOutline",
params = {
outline = {
children = { {
codeRange = {
["end"] = {
character = 1,
line = 41
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "FUNCTION",
name = "main",
parameters = "()",
range = {
["end"] = {
character = 9,
line = 0
},
start = {
character = 5,
line = 0
}
},
returnType = "void"
},
range = {
["end"] = {
character = 1,
line = 41
},
start = {
character = 0,
line = 0
}
}
} },
codeRange = {
["end"] = {
character = 0,
line = 42
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "COMPILATION_UNIT",
name = "<unit>",
range = {
["end"] = {
character = 0,
line = 42
},
start = {
character = 0,
line = 0
}
}
},
range = {
["end"] = {
character = 0,
line = 42
},
start = {
character = 0,
line = 0
}
}
},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "begin",
title = "Analyzing…"
}
}
}
[DEBUG][2023-09-10 09:25:29] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "end"
}
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:284 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
["end"] = {
character = 1,
line = 22
},
start = {
character = 0,
line = 22
}
},
rangeLength = 1,
text = ""
} },
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
version = 16
}
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 15,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "ANALYZING"
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:403 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 15,
jsonrpc = "2.0",
result = vim.NIL
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishClosingLabels",
params = {
labels = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishOutline",
params = {
outline = {
children = { {
codeRange = {
["end"] = {
character = 1,
line = 41
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "FUNCTION",
name = "main",
parameters = "()",
range = {
["end"] = {
character = 9,
line = 0
},
start = {
character = 5,
line = 0
}
},
returnType = "void"
},
range = {
["end"] = {
character = 1,
line = 41
},
start = {
character = 0,
line = 0
}
}
} },
codeRange = {
["end"] = {
character = 0,
line = 42
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "COMPILATION_UNIT",
name = "<unit>",
range = {
["end"] = {
character = 0,
line = 42
},
start = {
character = 0,
line = 0
}
}
},
range = {
["end"] = {
character = 0,
line = 42
},
start = {
character = 0,
line = 0
}
}
},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "begin",
title = "Analyzing…"
}
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "end"
}
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:284 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
["end"] = {
character = 0,
line = 21
},
start = {
character = 0,
line = 21
}
},
rangeLength = 0,
text = ""
}, {
range = {
["end"] = {
character = 0,
line = 23
},
start = {
character = 0,
line = 22
}
},
rangeLength = 1,
text = ""
} },
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
version = 18
}
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 16,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "ANALYZING"
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishClosingLabels",
params = {
labels = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishOutline",
params = {
outline = {
children = { {
codeRange = {
["end"] = {
character = 1,
line = 40
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "FUNCTION",
name = "main",
parameters = "()",
range = {
["end"] = {
character = 9,
line = 0
},
start = {
character = 5,
line = 0
}
},
returnType = "void"
},
range = {
["end"] = {
character = 1,
line = 40
},
start = {
character = 0,
line = 0
}
}
} },
codeRange = {
["end"] = {
character = 0,
line = 41
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "COMPILATION_UNIT",
name = "<unit>",
range = {
["end"] = {
character = 0,
line = 41
},
start = {
character = 0,
line = 0
}
}
},
range = {
["end"] = {
character = 0,
line = 41
},
start = {
character = 0,
line = 0
}
}
},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:403 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 16,
jsonrpc = "2.0",
result = vim.NIL
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "begin",
title = "Analyzing…"
}
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "end"
}
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:284 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
["end"] = {
character = 0,
line = 20
},
start = {
character = 0,
line = 20
}
},
rangeLength = 0,
text = ""
}, {
range = {
["end"] = {
character = 0,
line = 22
},
start = {
character = 0,
line = 21
}
},
rangeLength = 1,
text = ""
} },
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
version = 20
}
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 17,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "ANALYZING"
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:403 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 17,
jsonrpc = "2.0",
result = vim.NIL
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishClosingLabels",
params = {
labels = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishOutline",
params = {
outline = {
children = { {
codeRange = {
["end"] = {
character = 1,
line = 39
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "FUNCTION",
name = "main",
parameters = "()",
range = {
["end"] = {
character = 9,
line = 0
},
start = {
character = 5,
line = 0
}
},
returnType = "void"
},
range = {
["end"] = {
character = 1,
line = 39
},
start = {
character = 0,
line = 0
}
}
} },
codeRange = {
["end"] = {
character = 0,
line = 40
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "COMPILATION_UNIT",
name = "<unit>",
range = {
["end"] = {
character = 0,
line = 40
},
start = {
character = 0,
line = 0
}
}
},
range = {
["end"] = {
character = 0,
line = 40
},
start = {
character = 0,
line = 0
}
}
},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "begin",
title = "Analyzing…"
}
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "end"
}
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:284 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
["end"] = {
character = 0,
line = 19
},
start = {
character = 0,
line = 19
}
},
rangeLength = 0,
text = ""
}, {
range = {
["end"] = {
character = 0,
line = 21
},
start = {
character = 0,
line = 20
}
},
rangeLength = 1,
text = ""
} },
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
version = 22
}
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 18,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "ANALYZING"
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:403 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 18,
jsonrpc = "2.0",
result = vim.NIL
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishClosingLabels",
params = {
labels = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishOutline",
params = {
outline = {
children = { {
codeRange = {
["end"] = {
character = 1,
line = 38
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "FUNCTION",
name = "main",
parameters = "()",
range = {
["end"] = {
character = 9,
line = 0
},
start = {
character = 5,
line = 0
}
},
returnType = "void"
},
range = {
["end"] = {
character = 1,
line = 38
},
start = {
character = 0,
line = 0
}
}
} },
codeRange = {
["end"] = {
character = 0,
line = 39
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "COMPILATION_UNIT",
name = "<unit>",
range = {
["end"] = {
character = 0,
line = 39
},
start = {
character = 0,
line = 0
}
}
},
range = {
["end"] = {
character = 0,
line = 39
},
start = {
character = 0,
line = 0
}
}
},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "begin",
title = "Analyzing…"
}
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "end"
}
}
}
[DEBUG][2023-09-10 09:25:30] .../lua/vim/lsp.lua:1392 "LSP[dartls]" "client.request" 1 "textDocument/semanticTokens/full" {
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
} <function 1> 1
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 15,
jsonrpc = "2.0",
method = "textDocument/semanticTokens/full",
params = {
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 15,
jsonrpc = "2.0",
result = {
data = { 0, 0, 4, 1, 2048, 0, 5, 4, 16, 36, 1, 2, 5, 16, 0, 0, 6, 13, 15, 0, 2, 2, 5, 1, 0, 0, 6, 2, 5, 4, 0, 5, 1, 14, 0, 2, 2, 5, 16, 0, 0, 6, 2, 5, 0, 2, 2, 5, 16, 0, 0, 6, 14, 15, 0, 2, 2, 5, 16, 0, 0, 6, 2, 5, 0, 5, 2, 5, 16, 0, 0, 6, 2, 5, 0, 4, 2, 3, 2, 0, 0, 4, 4, 5, 4, 0, 7, 1, 14, 0, 7, 2, 5, 16, 0, 0, 6, 4, 5, 0, 2, 4, 4, 5, 0, 2, 2, 5, 16, 0, 0, 6, 16, 15, 0, 2, 2, 5, 1, 0, 0, 6, 19, 5, 4, 0, 22, 15, 15, 0, 2, 2, 19, 5, 0, 0, 22, 18, 15, 0, 2, 2, 5, 16, 0, 0, 6, 13, 15, 0, 2, 4, 4, 5, 0 }
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:284 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
["end"] = {
character = 15,
line = 18
},
start = {
character = 15,
line = 18
}
},
rangeLength = 0,
text = ""
} },
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
version = 23
}
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 19,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "ANALYZING"
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishClosingLabels",
params = {
labels = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishOutline",
params = {
outline = {
children = { {
codeRange = {
["end"] = {
character = 1,
line = 38
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "FUNCTION",
name = "main",
parameters = "()",
range = {
["end"] = {
character = 9,
line = 0
},
start = {
character = 5,
line = 0
}
},
returnType = "void"
},
range = {
["end"] = {
character = 1,
line = 38
},
start = {
character = 0,
line = 0
}
}
} },
codeRange = {
["end"] = {
character = 0,
line = 39
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "COMPILATION_UNIT",
name = "<unit>",
range = {
["end"] = {
character = 0,
line = 39
},
start = {
character = 0,
line = 0
}
}
},
range = {
["end"] = {
character = 0,
line = 39
},
start = {
character = 0,
line = 0
}
}
},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:403 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 19,
jsonrpc = "2.0",
result = vim.NIL
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "begin",
title = "Analyzing…"
}
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "end"
}
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:284 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
["end"] = {
character = 0,
line = 20
},
start = {
character = 0,
line = 19
}
},
rangeLength = 1,
text = ""
} },
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart",
version = 24
}
}
}
[DEBUG][2023-09-10 09:25:30] .../lua/vim/lsp.lua:1392 "LSP[dartls]" "client.request" 1 "textDocument/semanticTokens/full" {
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
} <function 1> 1
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 16,
jsonrpc = "2.0",
method = "textDocument/semanticTokens/full",
params = {
textDocument = {
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 20,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "ANALYZING"
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:403 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 20,
jsonrpc = "2.0",
result = vim.NIL
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishClosingLabels",
params = {
labels = {},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "dart/textDocument/publishOutline",
params = {
outline = {
children = { {
codeRange = {
["end"] = {
character = 1,
line = 37
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "FUNCTION",
name = "main",
parameters = "()",
range = {
["end"] = {
character = 9,
line = 0
},
start = {
character = 5,
line = 0
}
},
returnType = "void"
},
range = {
["end"] = {
character = 1,
line = 37
},
start = {
character = 0,
line = 0
}
}
} },
codeRange = {
["end"] = {
character = 0,
line = 38
},
start = {
character = 0,
line = 0
}
},
element = {
kind = "COMPILATION_UNIT",
name = "<unit>",
range = {
["end"] = {
character = 0,
line = 38
},
start = {
character = 0,
line = 0
}
}
},
range = {
["end"] = {
character = 0,
line = 38
},
start = {
character = 0,
line = 0
}
}
},
uri = "file:///Users/cattynip/Documents/projects/speed-math/basic/basic.dart"
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 16,
jsonrpc = "2.0",
result = {
data = { 0, 0, 4, 1, 2048, 0, 5, 4, 16, 36, 1, 2, 5, 16, 0, 0, 6, 13, 15, 0, 2, 2, 5, 1, 0, 0, 6, 2, 5, 4, 0, 5, 1, 14, 0, 2, 2, 5, 16, 0, 0, 6, 2, 5, 0, 2, 2, 5, 16, 0, 0, 6, 14, 15, 0, 2, 2, 5, 16, 0, 0, 6, 2, 5, 0, 5, 2, 5, 16, 0, 0, 6, 2, 5, 0, 4, 2, 3, 2, 0, 0, 4, 4, 5, 4, 0, 7, 1, 14, 0, 6, 2, 5, 16, 0, 0, 6, 4, 5, 0, 2, 4, 4, 5, 0, 2, 2, 5, 16, 0, 0, 6, 16, 15, 0, 2, 2, 5, 1, 0, 0, 6, 19, 5, 4, 0, 22, 15, 15, 0, 2, 2, 19, 5, 0, 0, 22, 18, 15, 0, 2, 2, 5, 16, 0, 0, 6, 13, 15, 0, 2, 4, 4, 5, 0 }
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "begin",
title = "Analyzing…"
}
}
}
[DEBUG][2023-09-10 09:25:30] .../vim/lsp/rpc.lua:387 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "ANALYZING",
value = {
kind = "end"
}
}
}
[INFO][2023-09-10 09:25:31] .../lua/vim/lsp.lua:1876 "exit_handler" { {
_on_attach = <function 1>,
attached_buffers = { true },
cancel_request = <function 2>,
commands = {},
config = {
_on_attach = <function 3>,
autostart = true,
capabilities = {
textDocument = {
callHierarchy = {
dynamicRegistration = false
},
codeAction = {
codeActionLiteralSupport = {
codeActionKind = {
valueSet = { "", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" }
}
},
dataSupport = true,
dynamicRegistration = false,
isPreferredSupport = true,
resolveSupport = {
properties = { "edit" }
}
},
completion = {
completionItem = {
commitCharactersSupport = false,
deprecatedSupport = false,
documentationFormat = { "markdown", "plaintext" },
preselectSupport = false,
snippetSupport = false
},
completionItemKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 }
},
contextSupport = false,
dynamicRegistration = false
},
declaration = {
linkSupport = true
},
definition = {
linkSupport = true
},
documentHighlight = {
dynamicRegistration = false
},
documentSymbol = {
dynamicRegistration = false,
hierarchicalDocumentSymbolSupport = true,
symbolKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 }
}
},
hover = {
contentFormat = { "markdown", "plaintext" },
dynamicRegistration = false
},
implementation = {
linkSupport = true
},
publishDiagnostics = {
relatedInformation = true,
tagSupport = {
valueSet = { 1, 2 }
}
},
references = {
dynamicRegistration = false
},
rename = {
dynamicRegistration = false,
prepareSupport = true
},
semanticTokens = {
augmentsSyntaxTokens = true,
dynamicRegistration = false,
formats = { "relative" },
multilineTokenSupport = false,
overlappingTokenSupport = true,
requests = {
full = {
delta = true
},
range = false
},
serverCancelSupport = false,
tokenModifiers = { "declaration", "definition", "readonly", "static", "deprecated", "abstract", "async", "modification", "documentation", "defaultLibrary" },
tokenTypes = { "namespace", "type", "class", "enum", "interface", "struct", "typeParameter", "parameter", "variable", "property", "enumMember", "event", "function", "method", "macro", "keyword", "modifier", "comment", "string", "number", "regexp", "operator", "decorator" }
},
signatureHelp = {
dynamicRegistration = false,
signatureInformation = {
activeParameterSupport = true,
documentationFormat = { "markdown", "plaintext" },
parameterInformation = {
labelOffsetSupport = true
}
}
},
synchronization = {
didSave = true,
dynamicRegistration = false,
willSave = true,
willSaveWaitUntil = true
},
typeDefinition = {
linkSupport = true
}
},
window = {
showDocument = {
support = true
},
showMessage = {
messageActionItem = {
additionalPropertiesSupport = false
}
},
workDoneProgress = true
},
workspace = {
applyEdit = true,
configuration = true,
didChangeWatchedFiles = {
dynamicRegistration = false,
relativePatternSupport = true
},
semanticTokens = {
refreshSupport = true
},
symbol = {
dynamicRegistration = false,
hierarchicalWorkspaceSymbolSupport = true,
symbolKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 }
}
},
workspaceEdit = {
resourceOperations = { "rename", "create", "delete" }
},
workspaceFolders = true
}
},
cmd = { "/opt/homebrew/bin/dart", "language-server", "--protocol=lsp" },
cmd_cwd = "/Users/cattynip/Documents/projects/speed-math",
filetypes = { "dart" },
flags = {},
get_language_id = <function 4>,
handlers = <1>{},
init_options = {
closingLabels = true,
flutterOutline = true,
onlyAnalyzeProjectsWithOpenFiles = true,
outline = true,
suggestFromUnimportedLibraries = true
},
log_level = 2,
message_level = 2,
name = "dartls",
on_attach = <function 5>,
on_exit = <function 6>,
on_init = <function 7>,
root_dir = "/Users/cattynip/Documents/projects/speed-math",
settings = {
dart = {
completeFunctionCalls = true,
showTodos = true
}
},
workspace_folders = <2>{ {
name = "/Users/cattynip/Documents/projects/speed-math",
uri = "file:///Users/cattynip/Documents/projects/speed-math"
} },
<metatable> = {
__tostring = <function 8>
}
},
handlers = <table 1>,
id = 1,
initialized = true,
is_stopped = <function 9>,
messages = {
messages = {},
name = "dartls",
progress = {
ANALYZING = {
done = true,
title = "Analyzing…"
}
},
status = {}
},
name = "dartls",
notify = <function 10>,
offset_encoding = "utf-16",
request = <function 11>,
request_sync = <function 12>,
requests = {},
rpc = {
is_closing = <function 13>,
notify = <function 14>,
request = <function 15>,
terminate = <function 16>
},
server_capabilities = {
callHierarchyProvider = true,
codeActionProvider = {
codeActionKinds = { "source", "source.organizeImports", "source.fixAll", "source.sortMembers", "quickfix", "refactor" }
},
colorProvider = {
documentSelector = { {
language = "dart",
scheme = "file"
} }
},
completionProvider = {
resolveProvider = true,
triggerCharacters = { ".", "=", "(", "$", '"', "'", "{", "/", ":" }
},
definitionProvider = true,
documentFormattingProvider = true,
documentHighlightProvider = true,
documentOnTypeFormattingProvider = {
firstTriggerCharacter = "}",
moreTriggerCharacter = { ";" }
},
documentRangeFormattingProvider = true,
documentSymbolProvider = true,
executeCommandProvider = {
commands = { "edit.sortMembers", "edit.organizeImports", "edit.fixAll", "edit.sendWorkspaceEdit", "refactor.perform", "refactor.validate", "dart.logAction", "dart.refactor.convert_all_formal_parameters_to_named", "dart.refactor.convert_selected_formal_parameters_to_named", "dart.refactor.move_selected_formal_parameters_left", "dart.refactor.move_top_level_to_file" },
workDoneProgress = true
},
foldingRangeProvider = true,
hoverProvider = true,
implementationProvider = true,
inlayHintProvider = {
resolveProvider = false
},
referencesProvider = true,
renameProvider = {
prepareProvider = true
},
selectionRangeProvider = true,
semanticTokensProvider = {
full = {
delta = false
},
legend = {
tokenModifiers = { "documentation", "constructor", "declaration", "importPrefix", "instance", "static", "escape", "annotation", "control", "label", "interpolation", "void" },
tokenTypes = { "annotation", "keyword", "class", "comment", "method", "variable", "parameter", "enum", "enumMember", "type", "source", "property", "namespace", "boolean", "number", "string", "function", "typeParameter" }
},
range = true
},
signatureHelpProvider = {
retriggerCharacters = { "," },
triggerCharacters = { "(" }
},
textDocumentSync = {
change = 2,
openClose = true,
willSave = false,
willSaveWaitUntil = false
},
typeHierarchyProvider = true,
workspace = {
fileOperations = {
willRename = {
filters = { {
pattern = {
glob = "**/*.dart",
matches = "file"
},
scheme = "file"
}, {
pattern = {
glob = "**/",
matches = "folder"
},
scheme = "file"
} }
}
},
workspaceFolders = {
changeNotifications = true,
supported = true
}
},
workspaceSymbolProvider = true
},
stop = <function 17>,
supports_method = <function 18>,
workspace_did_change_configuration = <function 19>,
workspace_folders = <table 2>
} }
[DEBUG][2023-09-10 09:25:31] .../vim/lsp/rpc.lua:284 "rpc.send" {
id = 17,
jsonrpc = "2.0",
method = "shutdown"
}
[DEBUG][2023-09-10 09:25:31] .../vim/lsp/rpc.lua:387 "rpc.receive" {
id = 17,
jsonrpc = "2.0"
}
[DEBUG][2023-09-10 09:25:31] .../vim/lsp/rpc.lua:284 "rpc.send" {
jsonrpc = "2.0",
method = "exit"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment