Skip to content

Instantly share code, notes, and snippets.

@RobertBrunhage
Created October 19, 2020 04:01
Show Gist options
  • Save RobertBrunhage/19a31fdadaf09f1207143bbb9141808e to your computer and use it in GitHub Desktop.
Save RobertBrunhage/19a31fdadaf09f1207143bbb9141808e to your computer and use it in GitHub Desktop.
[dev-command]: register dev command
[sdk]: which flutter command => C:\Users\Robert-windows\Development\flutter\bin\flutter.BAT
[sdk]: flutter command path => C:\Users\Robert-windows\Development\flutter\bin\flutter.BAT
[sdk]: dart sdk home => C:\Users\Robert-windows\Development\flutter\bin\cache\dart-sdk
[sdk]: analyzer path => C:\Users\Robert-windows\Development\flutter\bin\cache\dart-sdk\bin\snapshots\analysis_server.dart.snapshot
[sdk]: dart command path => C:\Users\Robert-windows\Development\flutter\bin\cache\dart-sdk\bin\dart.exe
[sdk]: dart version: v2.11.0
[lsp-server]: rightVersion true
[Trace - 05:59:22] Sending request 'initialize - (0)'.
Params: {
"processId": 10816,
"rootPath": "C:\\Users\\Robert-windows\\Projects\\movieapp",
"rootUri": "file:///c%3A/Users/Robert-windows/Projects/movieapp",
"capabilities": {
"workspace": {
"applyEdit": true,
"workspaceEdit": {
"documentChanges": true,
"resourceOperations": [
"create",
"rename",
"delete"
],
"failureHandling": "textOnlyTransactional"
},
"didChangeConfiguration": {
"dynamicRegistration": true
},
"didChangeWatchedFiles": {
"dynamicRegistration": true
},
"symbol": {
"dynamicRegistration": 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
]
},
"tagSupport": {
"valueSet": [
1
]
}
},
"executeCommand": {
"dynamicRegistration": true
},
"configuration": true,
"workspaceFolders": true
},
"textDocument": {
"publishDiagnostics": {
"relatedInformation": true,
"versionSupport": false,
"tagSupport": {
"valueSet": [
1,
2
]
}
},
"synchronization": {
"dynamicRegistration": true,
"willSave": true,
"willSaveWaitUntil": true,
"didSave": true
},
"completion": {
"dynamicRegistration": true,
"contextSupport": true,
"completionItem": {
"snippetSupport": true,
"commitCharactersSupport": true,
"documentationFormat": [
"markdown",
"plaintext"
],
"deprecatedSupport": true,
"preselectSupport": true
},
"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
]
}
},
"hover": {
"dynamicRegistration": true,
"contentFormat": [
"markdown",
"plaintext"
]
},
"signatureHelp": {
"dynamicRegistration": true,
"signatureInformation": {
"documentationFormat": [
"markdown",
"plaintext"
],
"parameterInformation": {
"labelOffsetSupport": true
}
}
},
"definition": {
"dynamicRegistration": true
},
"references": {
"dynamicRegistration": true
},
"documentHighlight": {
"dynamicRegistration": true
},
"documentSymbol": {
"dynamicRegistration": 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
]
},
"hierarchicalDocumentSymbolSupport": true,
"tagSupport": {
"valueSet": [
1
]
}
},
"codeAction": {
"dynamicRegistration": true,
"isPreferredSupport": true,
"codeActionLiteralSupport": {
"codeActionKind": {
"valueSet": [
"",
"quickfix",
"refactor",
"refactor.extract",
"refactor.inline",
"refactor.rewrite",
"source",
"source.organizeImports"
]
}
}
},
"codeLens": {
"dynamicRegistration": true
},
"formatting": {
"dynamicRegistration": true
},
"rangeFormatting": {
"dynamicRegistration": true
},
"onTypeFormatting": {
"dynamicRegistration": true
},
"rename": {
"dynamicRegistration": true,
"prepareSupport": true
},
"documentLink": {
"dynamicRegistration": true,
"tooltipSupport": true
},
"typeDefinition": {
"dynamicRegistration": true
},
"implementation": {
"dynamicRegistration": true
},
"declaration": {
"dynamicRegistration": true
},
"colorProvider": {
"dynamicRegistration": true
},
"foldingRange": {
"dynamicRegistration": true,
"rangeLimit": 5000,
"lineFoldingOnly": true
},
"selectionRange": {
"dynamicRegistration": true
}
},
"window": {
"workDoneProgress": true
}
},
"initializationOptions": {
"onlyAnalyzeProjectsWithOpenFiles": true,
"suggestFromUnimportedLibraries": true,
"closingLabels": true
},
"trace": "verbose",
"workspaceFolders": [
{
"uri": "file:///c%3A/Users/Robert-windows/Projects/movieapp",
"name": "movieapp"
}
],
"clientInfo": {
"name": "coc.nvim",
"version": "0.0.79"
}
}
[Trace - 05:59:22] Received response 'initialize - (0)' in 412ms.
Result: {
"capabilities": {
"executeCommandProvider": {
"commands": [
"edit.sortMembers",
"edit.organizeImports",
"edit.sendWorkspaceEdit",
"refactor.perform"
]
},
"workspaceSymbolProvider": true,
"workspace": {
"workspaceFolders": {
"supported": true,
"changeNotifications": true
}
}
},
"serverInfo": {
"name": "Dart SDK LSP Analysis Server",
"version": "2.11.0-161.0.dev"
}
}
[Trace - 05:59:22] Sending notification 'initialized'.
Params: {}
[lsp-server]: analysis server ready!
[lsp-closing-labels]: register closing labels
[Trace - 05:59:22] Received request 'workspace/configuration - (1)'.
Params: {
"items": [
{
"section": "dart"
}
]
}
[Trace - 05:59:22] Sending response 'workspace/configuration - (1)'. Processing request took 1ms
Result: [
{}
]
[Trace - 05:59:23] Received request 'client/registerCapability - (2)'.
Params: {
"registrations": [
{
"id": "0",
"method": "textDocument/didOpen",
"registerOptions": {
"documentSelector": [
{
"language": "dart",
"scheme": "file"
},
{
"language": "yaml",
"scheme": "file",
"pattern": "**/pubspec.yaml"
},
{
"language": "yaml",
"scheme": "file",
"pattern": "**/analysis_options.yaml"
}
]
}
},
{
"id": "1",
"method": "textDocument/didClose",
"registerOptions": {
"documentSelector": [
{
"language": "dart",
"scheme": "file"
},
{
"language": "yaml",
"scheme": "file",
"pattern": "**/pubspec.yaml"
},
{
"language": "yaml",
"scheme": "file",
"pattern": "**/analysis_options.yaml"
}
]
}
},
{
"id": "2",
"method": "textDocument/didChange",
"registerOptions": {
"syncKind": 2,
"documentSelector": [
{
"language": "dart",
"scheme": "file"
},
{
"language": "yaml",
"scheme": "file",
"pattern": "**/pubspec.yaml"
},
{
"language": "yaml",
"scheme": "file",
"pattern": "**/analysis_options.yaml"
}
]
}
},
{
"id": "3",
"method": "textDocument/completion",
"registerOptions": {
"documentSelector": [
{
"language": "dart",
"scheme": "file"
}
],
"triggerCharacters": [
".",
"=",
"(",
"$"
],
"resolveProvider": true
}
},
{
"id": "4",
"method": "textDocument/hover",
"registerOptions": {
"documentSelector": [
{
"language": "dart",
"scheme": "file"
}
]
}
},
{
"id": "5",
"method": "textDocument/signatureHelp",
"registerOptions": {
"documentSelector": [
{
"language": "dart",
"scheme": "file"
}
],
"triggerCharacters": [
"("
],
"retriggerCharacters": [
","
]
}
},
{
"id": "6",
"method": "textDocument/references",
"registerOptions": {
"documentSelector": [
{
"language": "dart",
"scheme": "file"
}
]
}
},
{
"id": "7",
"method": "textDocument/documentHighlight",
"registerOptions": {
"documentSelector": [
{
"language": "dart",
"scheme": "file"
}
]
}
},
{
"id": "8",
"method": "textDocument/documentSymbol",
"registerOptions": {
"documentSelector": [
{
"language": "dart",
"scheme": "file"
}
]
}
},
{
"id": "9",
"method": "textDocument/formatting",
"registerOptions": {
"documentSelector": [
{
"language": "dart",
"scheme": "file"
}
]
}
},
{
"id": "10",
"method": "textDocument/onTypeFormatting",
"registerOptions": {
"documentSelector": [
{
"language": "dart",
"scheme": "file"
}
],
"firstTriggerCharacter": "}",
"moreTriggerCharacter": [
";"
]
}
},
{
"id": "11",
"method": "textDocument/definition",
"registerOptions": {
"documentSelector": [
{
"language": "dart",
"scheme": "file"
}
]
}
},
{
"id": "12",
"method": "textDocument/implementation",
"registerOptions": {
"documentSelector": [
{
"language": "dart",
"scheme": "file"
}
]
}
},
{
"id": "13",
"method": "textDocument/codeAction",
"registerOptions": {
"documentSelector": [
{
"language": "dart",
"scheme": "file"
}
],
"codeActionKinds": [
"source",
"source.organizeImports",
"source.sortMembers",
"quickfix"
]
}
},
{
"id": "14",
"method": "textDocument/rename",
"registerOptions": {
"documentSelector": [
{
"language": "dart",
"scheme": "file"
}
],
"prepareProvider": true
}
},
{
"id": "15",
"method": "textDocument/foldingRange",
"registerOptions": {
"documentSelector": [
{
"language": "dart",
"scheme": "file"
}
]
}
},
{
"id": "16",
"method": "workspace/didChangeConfiguration"
}
]
}
[Trace - 05:59:23] Sending notification 'textDocument/didOpen'.
Params: {
"textDocument": {
"uri": "file:///c%3A/Users/Robert-windows/Projects/movieapp/lib/movie_app.dart",
"languageId": "dart",
"version": 1,
"text": "import 'package:flutter/material.dart';\n\nimport 'home/home.dart';\n\nclass MovieApp extends StatelessWidget {\n @override\n Widget build(BuildContext context) {\n return MaterialApp(\n debugShowCheckedModeBanner: false,\n title: 'Flutter Demo',\n theme: ThemeData(\n primarySwatch: Colors.red,\n ),\n home: HomePage(),\n );\n }\n}\n"
}
}
[Trace - 05:59:23] Sending response 'client/registerCapability - (2)'. Processing request took 2ms
No result returned.
[Trace - 05:59:24] Sending notification 'textDocument/didChange'.
Params: {
"textDocument": {
"version": 2,
"uri": "file:///c%3A/Users/Robert-windows/Projects/movieapp/lib/movie_app.dart"
},
"contentChanges": [
{
"range": {
"start": {
"line": 17,
"character": 0
},
"end": {
"line": 17,
"character": 0
}
},
"rangeLength": 0,
"text": "\n"
}
]
}
[Trace - 05:59:25] Sending notification 'textDocument/didChange'.
Params: {
"textDocument": {
"version": 3,
"uri": "file:///c%3A/Users/Robert-windows/Projects/movieapp/lib/movie_app.dart"
},
"contentChanges": [
{
"range": {
"start": {
"line": 17,
"character": 0
},
"end": {
"line": 17,
"character": 0
}
},
"rangeLength": 0,
"text": "s"
}
]
}
[Trace - 05:59:25] Sending request 'textDocument/completion - (1)'.
Params: {
"textDocument": {
"uri": "file:///c%3A/Users/Robert-windows/Projects/movieapp/lib/movie_app.dart"
},
"position": {
"line": 17,
"character": 1
},
"context": {
"triggerKind": 1
}
}
[Trace - 05:59:25] Sending notification 'textDocument/didChange'.
Params: {
"textDocument": {
"version": 4,
"uri": "file:///c%3A/Users/Robert-windows/Projects/movieapp/lib/movie_app.dart"
},
"contentChanges": [
{
"range": {
"start": {
"line": 17,
"character": 1
},
"end": {
"line": 17,
"character": 1
}
},
"rangeLength": 0,
"text": "t"
}
]
}
[Trace - 05:59:25] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/pubspec.yaml",
"diagnostics": []
}
[Trace - 05:59:25] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/android/app/src/debug/AndroidManifest.xml",
"diagnostics": []
}
[Trace - 05:59:25] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/android/app/src/main/AndroidManifest.xml",
"diagnostics": []
}
[Trace - 05:59:25] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/android/app/src/profile/AndroidManifest.xml",
"diagnostics": []
}
[Trace - 05:59:25] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/build/app/intermediates/bundle_manifest/debug/processDebugManifest/bundle-manifest/AndroidManifest.xml",
"diagnostics": []
}
[Trace - 05:59:25] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/build/app/intermediates/bundle_manifest/release/processReleaseManifest/bundle-manifest/AndroidManifest.xml",
"diagnostics": []
}
[Trace - 05:59:25] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/build/app/intermediates/instant_app_manifest/debug/AndroidManifest.xml",
"diagnostics": []
}
[Trace - 05:59:25] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/build/app/intermediates/instant_app_manifest/release/AndroidManifest.xml",
"diagnostics": []
}
[Trace - 05:59:25] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/build/app/intermediates/merged_manifests/debug/AndroidManifest.xml",
"diagnostics": []
}
[Trace - 05:59:25] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/build/app/intermediates/merged_manifests/release/AndroidManifest.xml",
"diagnostics": []
}
[Trace - 05:59:25] Received notification '$/analyzerStatus'.
Params: {
"isAnalyzing": true
}
[Trace - 05:59:25] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/lib/movie_app.dart",
"diagnostics": []
}
[Trace - 05:59:25] Received notification 'dart/textDocument/publishClosingLabels'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/lib/movie_app.dart",
"labels": [
{
"range": {
"start": {
"line": 7,
"character": 11
},
"end": {
"line": 14,
"character": 5
}
},
"label": "MaterialApp"
},
{
"range": {
"start": {
"line": 10,
"character": 13
},
"end": {
"line": 12,
"character": 7
}
},
"label": "ThemeData"
}
]
}
[Trace - 05:59:26] Sending notification 'textDocument/didChange'.
Params: {
"textDocument": {
"version": 5,
"uri": "file:///c%3A/Users/Robert-windows/Projects/movieapp/lib/movie_app.dart"
},
"contentChanges": [
{
"range": {
"start": {
"line": 17,
"character": 2
},
"end": {
"line": 17,
"character": 2
}
},
"rangeLength": 0,
"text": "l"
}
]
}
[Trace - 05:59:26] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/lib/movie_app.dart",
"diagnostics": [
{
"range": {
"start": {
"line": 17,
"character": 0
},
"end": {
"line": 17,
"character": 2
}
},
"severity": 1,
"code": "expected_token",
"source": "dart",
"message": "Expected to find ';'."
},
{
"range": {
"start": {
"line": 17,
"character": 0
},
"end": {
"line": 17,
"character": 2
}
},
"severity": 1,
"code": "missing_const_final_var_or_type",
"source": "dart",
"message": "Variables must be declared using the keywords 'const', 'final', 'var' or a type name.\nTry adding the name of the type of the variable or the keyword 'var'."
}
]
}
[Trace - 05:59:26] Received notification 'dart/textDocument/publishClosingLabels'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/lib/movie_app.dart",
"labels": [
{
"range": {
"start": {
"line": 7,
"character": 11
},
"end": {
"line": 14,
"character": 5
}
},
"label": "MaterialApp"
},
{
"range": {
"start": {
"line": 10,
"character": 13
},
"end": {
"line": 12,
"character": 7
}
},
"label": "ThemeData"
}
]
}
[Trace - 05:59:26] Received response 'textDocument/completion - (1)' in 645ms.
Result: []
[Trace - 05:59:26] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/lib/movie_app.dart",
"diagnostics": [
{
"range": {
"start": {
"line": 17,
"character": 0
},
"end": {
"line": 17,
"character": 3
}
},
"severity": 1,
"code": "expected_token",
"source": "dart",
"message": "Expected to find ';'."
},
{
"range": {
"start": {
"line": 17,
"character": 0
},
"end": {
"line": 17,
"character": 3
}
},
"severity": 1,
"code": "missing_const_final_var_or_type",
"source": "dart",
"message": "Variables must be declared using the keywords 'const', 'final', 'var' or a type name.\nTry adding the name of the type of the variable or the keyword 'var'."
}
]
}
[Trace - 05:59:26] Received notification 'dart/textDocument/publishClosingLabels'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/lib/movie_app.dart",
"labels": [
{
"range": {
"start": {
"line": 7,
"character": 11
},
"end": {
"line": 14,
"character": 5
}
},
"label": "MaterialApp"
},
{
"range": {
"start": {
"line": 10,
"character": 13
},
"end": {
"line": 12,
"character": 7
}
},
"label": "ThemeData"
}
]
}
[Trace - 05:59:27] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/lib/main.dart",
"diagnostics": []
}
[Trace - 05:59:27] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/lib/environment_config.dart",
"diagnostics": []
}
[Trace - 05:59:27] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/lib/home/home.dart",
"diagnostics": []
}
[Trace - 05:59:27] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/lib/home/movie.dart",
"diagnostics": []
}
[Trace - 05:59:27] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/lib/home/movies_exception.dart",
"diagnostics": []
}
[Trace - 05:59:27] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/lib/home/movie_pagination.dart",
"diagnostics": []
}
[Trace - 05:59:27] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/lib/home/movie_pagination_controller.dart",
"diagnostics": []
}
[Trace - 05:59:27] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/lib/home/movie_service.dart",
"diagnostics": []
}
[Trace - 05:59:27] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/test/widget_test.dart",
"diagnostics": []
}
[Trace - 05:59:27] Received notification '$/analyzerStatus'.
Params: {
"isAnalyzing": false
}
[Trace - 05:59:27] Sending notification 'textDocument/didChange'.
Params: {
"textDocument": {
"version": 6,
"uri": "file:///c%3A/Users/Robert-windows/Projects/movieapp/lib/movie_app.dart"
},
"contentChanges": [
{
"range": {
"start": {
"line": 17,
"character": 2
},
"end": {
"line": 17,
"character": 3
}
},
"rangeLength": 1,
"text": ""
}
]
}
[Trace - 05:59:27] Received notification '$/analyzerStatus'.
Params: {
"isAnalyzing": true
}
[Trace - 05:59:27] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/lib/movie_app.dart",
"diagnostics": [
{
"range": {
"start": {
"line": 17,
"character": 0
},
"end": {
"line": 17,
"character": 2
}
},
"severity": 1,
"code": "expected_token",
"source": "dart",
"message": "Expected to find ';'."
},
{
"range": {
"start": {
"line": 17,
"character": 0
},
"end": {
"line": 17,
"character": 2
}
},
"severity": 1,
"code": "missing_const_final_var_or_type",
"source": "dart",
"message": "Variables must be declared using the keywords 'const', 'final', 'var' or a type name.\nTry adding the name of the type of the variable or the keyword 'var'."
}
]
}
[Trace - 05:59:27] Received notification 'dart/textDocument/publishClosingLabels'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/lib/movie_app.dart",
"labels": [
{
"range": {
"start": {
"line": 7,
"character": 11
},
"end": {
"line": 14,
"character": 5
}
},
"label": "MaterialApp"
},
{
"range": {
"start": {
"line": 10,
"character": 13
},
"end": {
"line": 12,
"character": 7
}
},
"label": "ThemeData"
}
]
}
[Trace - 05:59:27] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/lib/main.dart",
"diagnostics": []
}
[Trace - 05:59:27] Received notification '$/analyzerStatus'.
Params: {
"isAnalyzing": false
}
[Trace - 05:59:30] Sending notification 'textDocument/didChange'.
Params: {
"textDocument": {
"version": 7,
"uri": "file:///c%3A/Users/Robert-windows/Projects/movieapp/lib/movie_app.dart"
},
"contentChanges": [
{
"range": {
"start": {
"line": 17,
"character": 1
},
"end": {
"line": 17,
"character": 2
}
},
"rangeLength": 1,
"text": ""
}
]
}
[Trace - 05:59:30] Received notification '$/analyzerStatus'.
Params: {
"isAnalyzing": true
}
[Trace - 05:59:30] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/lib/movie_app.dart",
"diagnostics": [
{
"range": {
"start": {
"line": 17,
"character": 0
},
"end": {
"line": 17,
"character": 1
}
},
"severity": 1,
"code": "expected_token",
"source": "dart",
"message": "Expected to find ';'."
},
{
"range": {
"start": {
"line": 17,
"character": 0
},
"end": {
"line": 17,
"character": 1
}
},
"severity": 1,
"code": "missing_const_final_var_or_type",
"source": "dart",
"message": "Variables must be declared using the keywords 'const', 'final', 'var' or a type name.\nTry adding the name of the type of the variable or the keyword 'var'."
}
]
}
[Trace - 05:59:30] Received notification 'dart/textDocument/publishClosingLabels'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/lib/movie_app.dart",
"labels": [
{
"range": {
"start": {
"line": 7,
"character": 11
},
"end": {
"line": 14,
"character": 5
}
},
"label": "MaterialApp"
},
{
"range": {
"start": {
"line": 10,
"character": 13
},
"end": {
"line": 12,
"character": 7
}
},
"label": "ThemeData"
}
]
}
[Trace - 05:59:30] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/lib/main.dart",
"diagnostics": []
}
[Trace - 05:59:30] Received notification '$/analyzerStatus'.
Params: {
"isAnalyzing": false
}
[Trace - 05:59:32] Sending notification 'textDocument/didChange'.
Params: {
"textDocument": {
"version": 8,
"uri": "file:///c%3A/Users/Robert-windows/Projects/movieapp/lib/movie_app.dart"
},
"contentChanges": [
{
"range": {
"start": {
"line": 17,
"character": 0
},
"end": {
"line": 17,
"character": 1
}
},
"rangeLength": 1,
"text": ""
}
]
}
[Trace - 05:59:32] Received notification '$/analyzerStatus'.
Params: {
"isAnalyzing": true
}
[Trace - 05:59:32] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/lib/movie_app.dart",
"diagnostics": []
}
[Trace - 05:59:32] Received notification 'dart/textDocument/publishClosingLabels'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/lib/movie_app.dart",
"labels": [
{
"range": {
"start": {
"line": 7,
"character": 11
},
"end": {
"line": 14,
"character": 5
}
},
"label": "MaterialApp"
},
{
"range": {
"start": {
"line": 10,
"character": 13
},
"end": {
"line": 12,
"character": 7
}
},
"label": "ThemeData"
}
]
}
[Trace - 05:59:32] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/Robert-windows/Projects/movieapp/lib/main.dart",
"diagnostics": []
}
[Trace - 05:59:32] Received notification '$/analyzerStatus'.
Params: {
"isAnalyzing": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment