vala-lang / vala-language-server

Code Intelligence for Vala & Genie
GNU Lesser General Public License v2.1
291 stars 43 forks source link

Failed to load document on windows #58

Closed taozuhong closed 4 years ago

taozuhong commented 4 years ago

OS: Windows7 6.1.7601 MSYS2: 3.1.4 Pacman: 5.2.1 Vala: 0.48 GCC: 9.2.0 build: meson 0.53.2

clone vls and compile it, then copy vala-language-server.exe to /mingw64/bin the vls server can start, then output the follow log:

vls: main.vala:207: Finished constructing
vls: main.vala:180: Got call! initialize
vls: main.vala:247: [initialize] root path is d:\Codelabs\GitHub\kangaroo

(process:11268): Json-CRITICAL **: 07:57:20.197: json_node_get_array: assertion 'JSON_NODE_IS_VALID (node)' failed

(process:11268): Json-CRITICAL **: 07:57:20.197: json_array_get_elements: assertion 'array != NULL' failed
vls: main.vala:172: Got notification! initialized
vls: main.vala:176: no notification handler for initialized
vls: main.vala:172: Got notification! textDocument/didOpen
vls: main.vala:531: failed to find text document for `d:\Codelabs\GitHub\kangaroo\src\main.vala'
vls: main.vala:180: Got call! textDocument/documentSymbol
vls: main.vala:531: failed to find text document for `d:\Codelabs\GitHub\kangaroo\src\main.vala'
vls: main.vala:965: [textDocument/documentSymbol] file `file:///d%3A/Codelabs/GitHub/kangaroo/src/main.vala' not found
Prince781 commented 4 years ago

Those two critical messages are interesting. Is there any way you can debug them? It looks like the initialize response sent from the client to VLS isn't getting deserialized.

Prince781 commented 4 years ago

Actually, scratch that. It looks like the meson introspection deserialization is not working

taozuhong commented 4 years ago

pulled the latest code, recompiled vls, failed again:

vls: main.vala:207: Finished constructing
vls: main.vala:180: Got call! initialize
vls: main.vala:247: [initialize] root path is d:\Codelabs\GitHub\kangaroo

(process:75188): Json-CRITICAL **: 18:31:34.772: json_node_get_array: assertion 'JSON_NODE_IS_VALID (node)' failed

(process:75188): Json-CRITICAL **: 18:31:34.772: json_array_get_elements: assertion 'array != NULL' failed
vls: main.vala:172: Got notification! initialized
vls: main.vala:176: no notification handler for initialized
vls: main.vala:172: Got notification! textDocument/didOpen
vls: main.vala:530: failed to find text document for `file:///d:/Codelabs/GitHub/kangaroo/src/main.vala'
vls: main.vala:180: Got call! textDocument/documentSymbol
vls: main.vala:530: failed to find text document for `file:///d:/Codelabs/GitHub/kangaroo/src/main.vala'
vls: main.vala:953: [textDocument/documentSymbol] file `file:///d%3A/Codelabs/GitHub/kangaroo/src/main.vala' not found
Prince781 commented 4 years ago

@taozuhong what's your version of json-glib and jsonrpc-glib?

I actually just tried running this on Windows earlier today and it worked for me. What does it show when you run meson build? Here's what I have:

C:\Users\User\Documents\Projects\vala-language-server>meson build
The Meson build system
Version: 0.53.2
Source dir: C:\Users\User\Documents\Projects\vala-language-server
Build dir: C:\Users\User\Documents\Projects\vala-language-server\build
Build type: native build
Project name: vala-language-server
Project version: 0.1-alpha
C compiler for the host machine: cc (gcc 9.2.0 "cc (Rev2, Built by MSYS2 project) 9.2.0")
C linker for the host machine: cc ld.bfd 2.34
Vala compiler for the host machine: valac (valac 0.48.0)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: C:\msys64\mingw64\bin\pkg-config.EXE (0.29.2)
Run-time dependency libvala-0.48 found: YES 0.48.0-dirty
Run-time dependency gobject-2.0 found: YES 2.64.0
Run-time dependency glib-2.0 found: YES 2.64.0
Run-time dependency gio-2.0 found: YES 2.64.0
Run-time dependency gee-0.8 found: YES 0.20.3
Run-time dependency jsonrpc-glib-1.0 found: YES 3.33.3
Library posix found: YES
Configuring config.vala using configuration
Run-time dependency gio-windows-2.0 found: YES 2.64.0
Build targets in project: 2

Found ninja.EXE-1.10.0 at C:\msys64\mingw64\bin\ninja.EXE

C:\Users\User\Documents\Projects\vala-language-server>
taozuhong commented 4 years ago

it seems that ther are same:

$ meson build
The Meson build system
Version: 0.53.2
Source dir: D:/Codelabs/GitHub/vls
Build dir: D:/Codelabs/GitHub/vls/build
Build type: native build
Project name: vala-language-server
Project version: 0.1-alpha
C compiler for the host machine: cc (gcc 9.2.0 "cc (Rev2, Built by MSYS2 project) 9.2.0")
C linker for the host machine: cc ld.bfd 2.34
Vala compiler for the host machine: valac (valac 0.48.0)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: C:\msys\mingw64\bin/pkg-config.EXE (0.29.2)
Run-time dependency libvala-0.48 found: YES 0.48.0-dirty
Run-time dependency gobject-2.0 found: YES 2.64.0
Run-time dependency glib-2.0 found: YES 2.64.0
Run-time dependency gio-2.0 found: YES 2.64.0
Run-time dependency gee-0.8 found: YES 0.20.3
Run-time dependency jsonrpc-glib-1.0 found: YES 3.33.3
Library posix found: YES
Configuring config.vala using configuration
Run-time dependency gio-windows-2.0 found: YES 2.64.0
Build targets in project: 2

Found ninja.EXE-1.10.0 at C:\msys\mingw64\bin/ninja.EXE

andytao@andytao-NB0 MINGW64 /d/Codelabs/GitHub/vls

the output by the latest version vls:

vls: main.vala:207: Finished constructing
vls: main.vala:180: Got call! initialize
vls: main.vala:247: [initialize] root path is d:\Codelabs\GitHub\kangaroo

(process:9380): Json-CRITICAL **: 11:13:47.850: json_node_get_array: assertion 'JSON_NODE_IS_VALID (node)' failed

(process:9380): Json-CRITICAL **: 11:13:47.851: json_array_get_elements: assertion 'array != NULL' failed
vls: girdocumentation.vala:43: could not enumerate file:///C:/ProgramData/gir-1.0: Error opening directory ��C:\ProgramData\gir-1.0��: No such file or directory
vls: girdocumentation.vala:43: could not enumerate file:///C:/Users/Public/Documents/gir-1.0: Error opening directory ��C:\Users\Public\Documents\gir-1.0��: No such file or directory
vls: girdocumentation.vala:55: did not add GIRs for these packages: 

(process:9380): vala-CRITICAL **: 11:13:47.884: vala_source_reference_construct: assertion '_file != NULL' failed

(process:9380): vala-CRITICAL **: 11:13:47.885: vala_source_reference_construct: assertion '_file != NULL' failed
.........................
(process:9380): vala-CRITICAL **: 11:13:47.887: vala_source_reference_construct: assertion '_file != NULL' failed

(process:9380): vala-CRITICAL **: 11:13:47.888: vala_source_file_add_node: assertion 'self != NULL' failed
glib-2.0.vapi:35.1-35.18: error: The root namespace already contains a definition for `bool'
note: previous definition of `bool' was here
glib-2.0.vapi:69.1-69.18: error: The root namespace already contains a definition for `char'
note: previous definition of `char' was here
..........................
GLib-2.0.vapi:3904.3-3904.26: error: `GLib.DirUtils' already contains a definition for `remove'
glib-2.0.vapi:3904.3-3904.26: note: previous definition of `remove' was here
........................
GLib-2.0.vapi:6053.2-6053.40: error: `GLib' already contains a definition for `_qsort_with_data'
glib-2.0.vapi:6053.2-6053.40: note: previous definition of `_qsort_with_data' was here
GLib-2.0.vapi:6056.2-6056.38: error: `GLib' already contains a definition for `qsort_with_data'
glib-2.0.vapi:6056.2-6056.38: note: previous definition of `qsort_with_data' was here
GLib-2.0.vapi:1640.16-1640.21: error: The type name `double' could not be found
GLib-2.0.vapi:1643.16-1643.21: error: The type name `double' could not be found
.................................
GLib-2.0.vapi:1625.15-1625.17: error: The type name `int' could not be found
GLib-2.0.vapi:1627.15-1627.17: error: The type name `int' could not be found
GLib-2.0.vapi:1623.9-1623.11: error: The type name `int' could not be found
vls: main.vala:172: Got notification! initialized
vls: main.vala:176: no notification handler for initialized
vls: main.vala:172: Got notification! textDocument/didOpen
vls: main.vala:530: failed to find text document for `file:///d:/Codelabs/GitHub/kangaroo/src/Gui/Dialogs/dialog_connection.vala'
vls: main.vala:180: Got call! textDocument/documentSymbol
vls: main.vala:530: failed to find text document for `file:///d:/Codelabs/GitHub/kangaroo/src/Gui/Dialogs/dialog_connection.vala'
vls: main.vala:953: [textDocument/documentSymbol] file `file:///d%3A/Codelabs/GitHub/kangaroo/src/Gui/Dialogs/dialog_connection.vala' not found
Prince781 commented 4 years ago

@taozuhong can you try now and paste the output?

taozuhong commented 4 years ago

follow log text outputted by latest code today:

vls: main.vala:209: Finished constructing
vls: main.vala:182: Got call! initialize
vls: main.vala:240: [initialize] got initialize params:
 {
  "processId" : 5620,
  "rootPath" : "d:\\Codelabs\\GitHub\\kangaroo",
  "rootUri" : "file:///d%3A/Codelabs/GitHub/kangaroo",
  "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,
            ...
            26
          ]
        }
      },
      "executeCommand" : {
        "dynamicRegistration" : true
      },
      "configuration" : true,
      "workspaceFolders" : true
    },
    "textDocument" : {
      "publishDiagnostics" : {
        "relatedInformation" : true
      },
      "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,
            ...
            25
          ]
        }
      },
      "hover" : {
        "dynamicRegistration" : true,
        "contentFormat" : [
          "markdown",
          "plaintext"
        ]
      },
      "signatureHelp" : {
        "dynamicRegistration" : true,
        "signatureInformation" : {
          "documentationFormat" : [
            "markdown",
            "plaintext"
          ],
          "parameterInformation" : {
            "labelOffsetSupport" : true
          }
        }
      },
      "definition" : {
        "dynamicRegistration" : true,
        "linkSupport" : true
      },
      "references" : {
        "dynamicRegistration" : true
      },
      "documentHighlight" : {
        "dynamicRegistration" : true
      },
      "documentSymbol" : {
        "dynamicRegistration" : true,
        "symbolKind" : {
          "valueSet" : [
            1,
            ...
            26
          ]
        },
        "hierarchicalDocumentSymbolSupport" : true
      },
      "codeAction" : {
        "dynamicRegistration" : 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
      },
      "typeDefinition" : {
        "dynamicRegistration" : true,
        "linkSupport" : true
      },
      "implementation" : {
        "dynamicRegistration" : true,
        "linkSupport" : true
      },
      "colorProvider" : {
        "dynamicRegistration" : true
      },
      "foldingRange" : {
        "dynamicRegistration" : true,
        "rangeLimit" : 5000,
        "lineFoldingOnly" : true
      },
      "declaration" : {
        "dynamicRegistration" : true,
        "linkSupport" : true
      }
    }
  },
  "trace" : "off",
  "workspaceFolders" : [
    {
      "uri" : "file:///d%3A/Codelabs/GitHub/kangaroo",
      "name" : "kangaroo"
    }
  ]
}
vls: main.vala:250: [initialize] root path is d:\Codelabs\GitHub\kangaroo

(process:6188): Json-CRITICAL **: 09:22:13.467: json_node_get_node_type: assertion 'JSON_NODE_IS_VALID (node)' failed

(process:6188): Json-CRITICAL **: 09:22:13.467: json_to_string: assertion 'node != NULL' failed
vls: main.vala:335: [initialize] bad JSON data from meson introspect:
(NULL)
vls: girdocumentation.vala:43: could not enumerate file:///C:/ProgramData/gir-1.0: Error opening directory ��C:\ProgramData\gir-1.0��: No such file or directory
vls: girdocumentation.vala:43: could not enumerate file:///C:/Users/Public/Documents/gir-1.0: Error opening directory ��C:\Users\Public\Documents\gir-1.0��: No such file or directory
vls: girdocumentation.vala:55: did not add GIRs for these packages: 
(process:6188): vala-CRITICAL **: 09:22:13.482: vala_source_reference_construct: assertion '_file != NULL' failed
......
(process:6188): vala-CRITICAL **: 09:22:13.482: vala_source_reference_get_file: assertion 'self != NULL' failed
(process:6188): vala-CRITICAL **: 09:22:13.482: vala_source_file_add_node: assertion 'self != NULL' failed
glib-2.0.vapi:35.1-35.18: error: The root namespace already contains a definition for `bool'
note: previous definition of `bool' was here
.........
GLib-2.0.vapi:935.1-935.20: error: The root namespace already contains a definition for `double'
note: previous definition of `double' was here
GLib-2.0.vapi:1016.1-1016.20: error: The root namespace already contains a definition for `time_t'
...........
GLib-2.0.vapi:1623.9-1623.11: error: The type name `int' could not be found
vls: main.vala:174: Got notification! initialized
vls: main.vala:178: no notification handler for initialized
vls: main.vala:174: Got notification! textDocument/didOpen
vls: main.vala:541: failed to find text document for `file:///d:/Codelabs/GitHub/kangaroo/src/main.vala'
vls: main.vala:182: Got call! textDocument/documentSymbol
vls: main.vala:541: failed to find text document for `file:///d:/Codelabs/GitHub/kangaroo/src/main.vala'
vls: main.vala:966: [textDocument/documentSymbol] file `file:///d%3A/Codelabs/GitHub/kangaroo/src/main.vala' not found
Prince781 commented 4 years ago

@taozuhong could you tell me what's in build/meson-info/intro-targets.json or what you get from meson introspect build --targets?

taozuhong commented 4 years ago
[
  {
    "name": "kangaroo.desktop_data_merge",
    "id": "3a6eb07@@kangaroo.desktop_data_merge@cus",
    "type": "custom",
    "defined_in": "D:/Codelabs/GitHub/kangaroo/data/meson.build",
    "filename": [
      "D:/Codelabs/GitHub/kangaroo/build/data/kangaroo.desktop"
    ],
    "build_by_default": true,
    "target_sources": [
      {
        "language": "unknown",
        "compiler": [
          "C:/msys/mingw64/bin/meson",
          "--internal",
          "msgfmthelper",
          "@INPUT@",
          "@OUTPUT@",
          "desktop",
          "../data/../po"
        ],
        "parameters": [],
        "sources": [
          "D:/Codelabs/GitHub/kangaroo/build/data/kangaroo.desktop.in"
        ],
        "generated_sources": []
      }
    ],
    "subproject": null,
    "installed": true,
    "install_filename": [
      "C:/msys/mingw64/share/applications/kangaroo.desktop"
    ]
  },
  {
    "name": "kangaroo.appdata.xml_data_merge",
    "id": "3a6eb07@@kangaroo.appdata.xml_data_merge@cus",
    "type": "custom",
    "defined_in": "D:/Codelabs/GitHub/kangaroo/data/meson.build",
    "filename": [
      "D:/Codelabs/GitHub/kangaroo/build/data/kangaroo.appdata.xml"
    ],
    "build_by_default": true,
    "target_sources": [
      {
        "language": "unknown",
        "compiler": [
          "C:/msys/mingw64/bin/meson",
          "--internal",
          "msgfmthelper",
          "@INPUT@",
          "@OUTPUT@",
          "xml",
          "../data/../po"
        ],
        "parameters": [],
        "sources": [
          "D:/Codelabs/GitHub/kangaroo/kangaroo.appdata.xml.in"
        ],
        "generated_sources": []
      }
    ],
    "subproject": null,
    "installed": true,
    "install_filename": [
      "C:/msys/mingw64/share/appdata/kangaroo.appdata.xml"
    ]
  },
  {
    "name": "kangaroo-resources_c",
    "id": "25a6634@@kangaroo-resources_c@cus",
    "type": "custom",
    "defined_in": "D:/Codelabs/GitHub/kangaroo/src/meson.build",
    "filename": [
      "D:/Codelabs/GitHub/kangaroo/build/src/kangaroo-resources.c"
    ],
    "build_by_default": false,
    "target_sources": [
      {
        "language": "unknown",
        "compiler": [
          "glib-compile-resources",
          "@INPUT@",
          "--sourcedir",
          "../src/..",
          "--sourcedir",
          "../src",
          "--c-name",
          "kangaroo",
          "--internal",
          "--generate",
          "--target",
          "@OUTPUT@",
          "--dependency-file",
          "@DEPFILE@"
        ],
        "parameters": [],
        "sources": [
          "D:/Codelabs/GitHub/data/kangaroo.gresource.xml"
        ],
        "generated_sources": []
      }
    ],
    "subproject": null,
    "installed": false
  },
  {
    "name": "kangaroo-resources_h",
    "id": "25a6634@@kangaroo-resources_h@cus",
    "type": "custom",
    "defined_in": "D:/Codelabs/GitHub/kangaroo/src/meson.build",
    "filename": [
      "D:/Codelabs/GitHub/kangaroo/build/src/kangaroo-resources.h"
    ],
    "build_by_default": false,
    "target_sources": [
      {
        "language": "unknown",
        "compiler": [
          "glib-compile-resources",
          "@INPUT@",
          "--sourcedir",
          "../src/..",
          "--sourcedir",
          "../src",
          "--c-name",
          "kangaroo",
          "--internal",
          "--generate",
          "--target",
          "@OUTPUT@"
        ],
        "parameters": [],
        "sources": [
          "D:/Codelabs/GitHub/data/kangaroo.gresource.xml"
        ],
        "generated_sources": []
      }
    ],
    "subproject": null,
    "installed": false
  },
  {
    "name": "kangaroo",
    "id": "25a6634@@kangaroo@exe",
    "type": "executable",
    "defined_in": "D:/Codelabs/GitHub/kangaroo/src/meson.build",
    "filename": [
      "D:/Codelabs/GitHub/kangaroo/build/src/kangaroo.exe",
      "D:/Codelabs/GitHub/kangaroo/build/src/kangaroo.h",
      "D:/Codelabs/GitHub/kangaroo/build/src/kangaroo.vapi"
    ],
    "build_by_default": true,
    "target_sources": [
      {
        "language": "vala",
        "compiler": [
          "valac"
        ],
        "parameters": [
          "-C",
          "--debug",
          "--debug",
          "--vapidir",
          "D:/Codelabs/GitHub/kangaroo/vapi",
          "--define",
          "WINDOWS",
          "--pkg",
          "posix",
          "--pkg",
          "posix",
          "--pkg",
          "posix",
          "--pkg",
          "posix",
          "--pkg",
          "posix",
          "--pkg",
          "posix",
          "--pkg",
          "posix",
          "--pkg",
          "posix",
          "--pkg",
          "posix",
          "--pkg",
          "posix",
          "--pkg",
          "posix",
          "--pkg",
          "gio-windows-2.0",
          "--pkg",
          "libssh2",
          "--pkg",
          "openssl",
          "--pkg",
          "libxml-2.0",
          "--pkg",
          "gtksourceview-4",
          "--pkg",
          "libgda-5.0",
          "--pkg",
          "libsoup-2.4",
          "--pkg",
          "json-glib-1.0",
          "--pkg",
          "gee-0.8",
          "--pkg",
          "gdk-pixbuf-2.0",
          "--pkg",
          "gtk+-3.0",
          "--pkg",
          "gio-2.0",
          "--target-glib",
          " 2.64",
          "--pkg",
          "glib-2.0",
          "--pkg",
          "posix",
          "--color=always",
          "--directory",
          "meson-out/25a6634@@kangaroo@exe",
          "--basedir",
          "../src",
          "--library",
          "kangaroo",
          "--header",
          "meson-out/kangaroo.h",
          "--vapi",
          "../kangaroo.vapi",
          "--gresources=../src/../data/kangaroo.gresource.xml"
        ],
        "sources": [
          ".......1",
          "D:/Codelabs/GitHub/kangaroo/src/Gui/Actions/action_application.vala",
          ".......2",
          "D:/Codelabs/GitHub/kangaroo/src/application.vala",
          "D:/Codelabs/GitHub/kangaroo/src/main.vala",
          "D:/Codelabs/GitHub/kangaroo/src/testing.vala",
          "D:/Codelabs/GitHub/kangaroo/build/src/attributes.vala"
        ],
        "generated_sources": []
      },
      {
        "language": "c",
        "compiler": [
          "cc"
        ],
        "parameters": [
          "-ID:/Codelabs/GitHub/kangaroo/build/meson-out/25a6634@@kangaroo@exe",
          "-ID:/Codelabs/GitHub/kangaroo/build/src",
          "-ID:/Codelabs/GitHub/kangaroo/src",
          "-ID:/Codelabs/GitHub/kangaroo/build/meson-out",
          "-IC:/msys/mingw64/include/glib-2.0",
          "-IC:/msys/mingw64/lib/glib-2.0/include",
          "-IC:/msys/mingw64/include",
          "-IC:/msys/mingw64/lib/libffi-3.2.1/include",
          "-IC:/msys/mingw64/include/gtk-3.0",
          "-IC:/msys/mingw64/include/pango-1.0",
          "-IC:/msys/mingw64/include/fribidi",
          "-IC:/msys/mingw64/include/atk-1.0",
          "-IC:/msys/mingw64/include/cairo",
          "-IC:/msys/mingw64/include/pixman-1",
          "-IC:/msys/mingw64/include/freetype2",
          "-IC:/msys/mingw64/include/harfbuzz",
          "-IC:/msys/mingw64/include/libpng16",
          "-IC:/msys/mingw64/include/gdk-pixbuf-2.0",
          "-IC:/msys/mingw64/include/gee-0.8",
          "-IC:/msys/mingw64/include/json-glib-1.0",
          "-IC:/msys/mingw64/include/libsoup-2.4",
          "-IC:/msys/mingw64/include/libxml2",
          "-IC:/msys/mingw64/include/libgda-5.0",
          "-IC:/msys/mingw64/include/libgda-5.0/libgda",
          "-IC:/msys/mingw64/include/gtksourceview-4",
          "-IC:/msys/mingw64/include/gio-win32-2.0",
          "-fdiagnostics-color=always",
          "-pipe",
          "-Wall",
          "-Winvalid-pch",
          "-g",
          "-DGETTEXT_PACKAGE=\"kangaroo\"",
          "-pthread",
          "-mms-bitfields",
          "-mms-bitfields",
          "-mms-bitfields",
          "-mms-bitfields",
          "-mms-bitfields",
          "-mms-bitfields",
          "-mms-bitfields",
          "-mms-bitfields",
          "-mms-bitfields",
          "-mms-bitfields"
        ],
        "sources": [
          "D:/Codelabs/GitHub/kangaroo/src/Business/subscribe_hardware.c"
        ],
        "generated_sources": [
          "D:/Codelabs/GitHub/kangaroo/build/meson-out/kangaroo-resources.c"
        ]
      },
      {
        "language": "c",
        "compiler": [
          "cc"
        ],
        "parameters": [
          "-ID:/Codelabs/GitHub/kangaroo/build/meson-out/25a6634@@kangaroo@exe",
          "-ID:/Codelabs/GitHub/kangaroo/build/src",
          "-ID:/Codelabs/GitHub/kangaroo/src",
          "-ID:/Codelabs/GitHub/kangaroo/build/meson-out",
          "-IC:/msys/mingw64/include/glib-2.0",
          "-IC:/msys/mingw64/lib/glib-2.0/include",
          "-IC:/msys/mingw64/include",
          "-IC:/msys/mingw64/lib/libffi-3.2.1/include",
          "-IC:/msys/mingw64/include/gtk-3.0",
          "-IC:/msys/mingw64/include/pango-1.0",
          "-IC:/msys/mingw64/include/fribidi",
          "-IC:/msys/mingw64/include/atk-1.0",
          "-IC:/msys/mingw64/include/cairo",
          "-IC:/msys/mingw64/include/pixman-1",
          "-IC:/msys/mingw64/include/freetype2",
          "-IC:/msys/mingw64/include/harfbuzz",
          "-IC:/msys/mingw64/include/libpng16",
          "-IC:/msys/mingw64/include/gdk-pixbuf-2.0",
          "-IC:/msys/mingw64/include/gee-0.8",
          "-IC:/msys/mingw64/include/json-glib-1.0",
          "-IC:/msys/mingw64/include/libsoup-2.4",
          "-IC:/msys/mingw64/include/libxml2",
          "-IC:/msys/mingw64/include/libgda-5.0",
          "-IC:/msys/mingw64/include/libgda-5.0/libgda",
          "-IC:/msys/mingw64/include/gtksourceview-4",
          "-IC:/msys/mingw64/include/gio-win32-2.0",
          "-fdiagnostics-color=always",
          "-pipe",
          "-w",
          "-g",
          "-DGETTEXT_PACKAGE=\"kangaroo\"",
          "-pthread",
          "-mms-bitfields",
          "-mms-bitfields",
          "-mms-bitfields",
          "-mms-bitfields",
          "-mms-bitfields",
          "-mms-bitfields",
          "-mms-bitfields",
          "-mms-bitfields",
          "-mms-bitfields",
          "-mms-bitfields"
        ],
        "sources": [],
        "generated_sources": [
          ".......3",
          "D:/Codelabs/GitHub/kangaroo/build/meson-out/25a6634@@kangaroo@exe/Gui/Actions/action_application.c",
          ".......4",
          "D:/Codelabs/GitHub/kangaroo/build/meson-out/25a6634@@kangaroo@exe/application.c",
          "D:/Codelabs/GitHub/kangaroo/build/meson-out/25a6634@@kangaroo@exe/main.c",
          "D:/Codelabs/GitHub/kangaroo/build/meson-out/25a6634@@kangaroo@exe/testing.c",
          "D:/Codelabs/GitHub/kangaroo/build/meson-out/25a6634@@kangaroo@exe/attributes.c"
        ]
      }
    ],
    "subproject": null,
    "installed": true,
    "install_filename": [
      "C:/msys/mingw64/bin/kangaroo.exe",
      null,
      null
    ]
  },
  {
    "name": "kangaroo-pot",
    "id": "6199aec@@kangaroo-pot@run",
    "type": "run",
    "defined_in": "D:/Codelabs/GitHub/kangaroo/po/meson.build",
    "filename": [
      "D:/Codelabs/GitHub/kangaroo/build/po/kangaroo-pot"
    ],
    "build_by_default": false,
    "target_sources": [],
    "subproject": null,
    "installed": false
  },
  {
    "name": "kangaroo-gmo",
    "id": "6199aec@@kangaroo-gmo@run",
    "type": "run",
    "defined_in": "D:/Codelabs/GitHub/kangaroo/po/meson.build",
    "filename": [
      "D:/Codelabs/GitHub/kangaroo/build/po/kangaroo-gmo"
    ],
    "build_by_default": false,
    "target_sources": [],
    "subproject": null,
    "installed": false
  },
  {
    "name": "kangaroo-update-po",
    "id": "6199aec@@kangaroo-update-po@run",
    "type": "run",
    "defined_in": "D:/Codelabs/GitHub/kangaroo/po/meson.build",
    "filename": [
      "D:/Codelabs/GitHub/kangaroo/build/po/kangaroo-update-po"
    ],
    "build_by_default": false,
    "target_sources": [],
    "subproject": null,
    "installed": false
  }
]
Prince781 commented 4 years ago

@taozuhong thanks. And did you get this from build/meson-info/intro-targets.json or did you get it by running meson introspect build --targets | python -m json.tool? If they produce different outputs, could you paste the results of the other?

Prince781 commented 4 years ago

@taozuhong Could you also try compiling and running the following program in two ways:

void main(string[] args) {
    if (args.length < 2) {
        print ("Usage: %s FILE\n", args[0]);
        return;
    }

    var parser = new Json.Parser.immutable_new ();

    try {
        parser.load_from_file (args[1]);
    } catch (Error e) {
        printerr ("Unable to load %s: %s\n", args[1], e.message);
        return;
    }

    var node = parser.get_root ();
    if (node != null) {
        print ("Success");
    } else {
        print ("Root is NULL for some reason!");
    }
}

Compile with valac --pkg json-glib-1.0 testjson.vala, and then run in two ways:

  1. ./testjson build/meson-info/intro-targets.json
  2. meson introspect build --targets | python -m json.tool > targets.json && ./testjson targets.json

And tell me what's the output.

taozuhong commented 4 years ago

meson introspect build --targets | python -m json.tool

ran the follow command and got output:

meson introspect build --targets
taozuhong commented 4 years ago

@taozuhong Could you also try compiling and running the following program in two ways:

void main(string[] args) {
    if (args.length < 2) {
        print ("Usage: %s FILE\n", args[0]);
        return;
    }

    var parser = new Json.Parser.immutable_new ();

    try {
        parser.load_from_file (args[1]);
    } catch (Error e) {
        printerr ("Unable to load %s: %s\n", args[1], e.message);
        return;
    }

    var node = parser.get_root ();
    if (node != null) {
        print ("Success");
    } else {
        print ("Root is NULL for some reason!");
    }
}

Compile with valac --pkg json-glib-1.0 testjson.vala, and then run in two ways:

  1. ./testjson build/meson-info/intro-targets.json
  2. meson introspect build --targets | python -m json.tool > targets.json && ./testjson targets.json

And tell me what's the output.

done as your guide, got the follow output:

andy@NB0 MINGW64 /d/Temp
$ valac --pkg json-glib-1.0 testjson.vala

andy@NB0 MINGW64 /d/Temp
$ ./testjson build/meson-info/intro-targets.json
Success
andy@NB0 MINGW64 /d/Temp
$ meson introspect build --targets | python -m json.tool > targets.json && ./testjson targets.json
Success
andy@NB0 MINGW64 /d/Temp
Prince781 commented 4 years ago

@taozuhong can you try now? You have to try the bug/failed-to-load-document-windows branch

taozuhong commented 4 years ago

the output log you could see here: Vls output log

test case: open the simplest file:main.vala

taozuhong commented 4 years ago

@taozuhong can you try now? You have to try the bug/failed-to-load-document-windows branch

while edit and save file(tunnel.vala), error occurred like this: Failed to save 'tunnel.vala': Unable to write file 'd:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Network\tunnel.vala' (Unknown (FileSystemError): Error: UNKNOWN: unknown error, open 'd:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Network\tunnel.vala')

Prince781 commented 4 years ago

@taozuhong does that error occur in VLS or in VSCode?

taozuhong commented 4 years ago

errors throw by VLS

Prince781 commented 4 years ago

@taozuhong could you try it now with the bug/failed-to-load-document-windows branch?

Prince781 commented 4 years ago

@taozuhong please let me know if this issue is resolved with the latest commit in master so that I can close this issue

taozuhong commented 4 years ago

the path issue have solved, but initialization failed.

vls-DEBUG: main.vala:275: [initialize] root path is d:\Codelabs\GitHub\kangaroo
vls-DEBUG: main.vala:288: configuring meson in a temporary directory C:\Users\andytao\AppData\Local\Temp\vls-meson-2040528553-WUGRI0
vls-WARNING: main.vala:254: Failed to configure Meson in `C:\Users\andytao\AppData\Local\Temp\vls-meson-2040528553-WUGRI0': process exited with error code 2
[Error - 下午9:23:27] Server initialization failed.
TypeError: Cannot read property 'capabilities' of null
    at c:\Users\andytao\.vscode\extensions\prince781.vala-1.0.2\node_modules\vscode-languageclient\lib\client.js:1972:34
Prince781 commented 4 years ago

@taozuhong does running meson build in the project directory fail? VLS will fail if Meson fails, and Meson could fail if dependencies are missing, for example.

taozuhong commented 4 years ago

meson.build file change rarely, and running successfully always. the latest output as follow:

vls-DEBUG: main.vala:223: Finished constructing
vls-DEBUG: main.vala:190: Got call! initialize
vls-DEBUG: main.vala:269: [initialize] root path is D:/Codelabs/GitHub/kangaroo
vls-DEBUG: mesonproject.vala:65: MesonProject: obtaining a new file monitor for D:\Codelabs\GitHub\kangaroo\meson.build ...
vls-DEBUG: mesonproject.vala:75: MesonProject: configuring build dir C:\Users\andytao\AppData\Local\Temp\vls-meson-721353122-UUW8H0 ...
vls-WARNING: mesonproject.vala:87: MesonProject: configuration failed with exit code 2
----stdout:
----stderr:
vls-WARNING: main.vala:243: Failed to initialize Meson project - meson configuration failed with exit code 2
vls-DEBUG: girdocumentation.vala:42: could not enumerate file:///C:/ProgramData/gir-1.0: Error opening directory ��C:\ProgramData\gir-1.0��: No such file or directory
vls-DEBUG: girdocumentation.vala:42: could not enumerate file:///C:/Users/Public/Documents/gir-1.0: Error opening directory ��C:\Users\Public\Documents\gir-1.0��: No such file or directory
vls-DEBUG: girdocumentation.vala:54: did not add GIRs for these packages: 
Prince781 commented 4 years ago

@taozuhong this is a very confusing bug. It looks like meson fails and both stdout and stderr are empty. wtf...

Prince781 commented 4 years ago

@taozuhong Sorry, but would you be willing to send me a .zip of this project so I can test it out myself?

taozuhong commented 4 years ago

stdout / stderr didn't out put anything, just like that.

which files do you need? there are 250+ files in the project, do you need them all?

Prince781 commented 4 years ago

@taozuhong yeah, if you could send the entire project in a zip file that would be great (or if there's a git repository I can clone from)

taozuhong commented 4 years ago

Sorry, my boss not allow to send entire project, but support to help you solving this problem ASAP.

I have found solution to reproduce this issue: just open Vala Language Server in vscode: image

my development environment as follow:

OS: Windows 64bit 6.1.7601
MSYS2: 3.1.4 / Pacman v5.2.1 - libalpm v12.0.1,  installed at c:\msys
Bash: 4.4.23
GCC: 9.3.0
Vala: 0.48.2
VSCode:
-----------------------------------------------------------------------------
Version: 1.43.0 (user setup)
Commit: 78a4c91400152c0f27ba4d363eb56d2835f9903a
Date: 2020-03-09T19:47:57.235Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 6.1.7601
Prince781 commented 4 years ago

@taozuhong this is extremely strange, because I've successfully tested this on Windows in VSCode with Vala Language Server opened, and other projects (like Gitg). My only other guess is that there's something wrong with your Meson installation. Your picture shows error code 2, which means that there is something wrong with Meson (from man meson):

...
EXIT STATUS
       0      Successful.

       1      Usage error, or an error parsing or executing meson.build.

       2      Internal error.

       125    meson test could not rebuild the required targets.

       SEE ALSO

              http://mesonbuild.com/

              https://wrapdb.mesonbuild.com/

meson 0.54.0                      March 2020                          MESON(1)
taozuhong commented 4 years ago

did you use them on MSYS2 and bash?

my development environment is MSYS2, gcc/vala/vala-language-server.exe, the project locate on disk D:, and using them in the mintty.

meson install command: pacman -S mingw-w64-x86_64-meson

Prince781 commented 4 years ago

Yes, my setup is the same.

Curious: do you have meson in your Windows PATH (not the PATH for msys2)? If not, try adding C:\mingw64\bin to your PATH in System Properties > Advanced > Environment Variables as explained here.

taozuhong commented 4 years ago

yeah, done at the first time.

could you reproduce the issue(exit code 2) on your windows?

Prince781 commented 4 years ago

@taozuhong no. It works for me on Windows.

Prince781 commented 4 years ago

@taozuhong I've made some more improvements to the project backend. Could you try out the latest version of VLS and let me know where it stands on this issue?

taozuhong commented 4 years ago

Congratulations, the failure code -2 have resolved, but some minor questions exist:

vls-DEBUG: main.vala:224: Finished constructing
vls-DEBUG: main.vala:191: Got call! initialize
vls-DEBUG: main.vala:270: [initialize] root path is D:/Codelabs/GitHub/kangaroo
vls-WARNING: mesonproject.vala:204: MesonProject: meson < 0.50.0 not supported (version was '')
vls-DEBUG: main.vala:326: [initialize] CcProject failed with d:\Codelabs\GitHub\kangaroo\build\compile_commands.json - d:\Codelabs\GitHub\kangaroo\build\compile_commands.json is not relative to project root
vls-DEBUG: girdocumentation.vala:76: did not add GIRs for these packages: 

(process:16728): vala-CRITICAL **: 14:49:32.773: vala_source_reference_construct: assertion '_file != NULL' failed
.....(deleted many lines)
(process:16728): vala-CRITICAL **: 14:49:32.788: vala_delegate_type_construct: assertion 'delegate_symbol != NULL' failed
vls-DEBUG: main.vala:359: Building project ...
vls-DEBUG: main.vala:361: Publishing diagnostics ...
vls-DEBUG: main.vala:181: Got notification! initialized
vls-DEBUG: main.vala:187: no notification handler for initialized
vls-DEBUG: main.vala:181: Got notification! textDocument/didOpen
vls-DEBUG: compilation.vala:216: Compilation(d:\Codelabs\GitHub\kangaroo\src\main.vala): will load input sources for the first time
vls-DEBUG: defaultproject.vala:35: DefaultProject: added file d:\Codelabs\GitHub\kangaroo\src\main.vala
vls-DEBUG: main.vala:436: [textDocument/didOpen] opened file:///d:/Codelabs/GitHub/kangaroo/src/main.vala
vls-DEBUG: main.vala:191: Got call! textDocument/documentSymbol

question 1: vls-WARNING: mesonproject.vala:204: MesonProject: meson < 0.50.0 not supported (version was '') meson version is 0.53.2, meson.build setup the minimal version is 0.40, then output the message: meson < 0.50.0 not supported (version was '')

question 2: d:\Codelabs\GitHub\kangaroo\build\compile_commands.json is not relative to project root ---------> build folder maybe not exist

question 3: did not add GIRs for these packages:

question 4: not yet parse entire project to generate meta data to find symbol.

Prince781 commented 4 years ago

@taozuhong I've pushed a change that might fix your problem. Please try out the branch bug/failed-to-load-document-on-windows

Prince781 commented 4 years ago

@taozuhong Here are answers to your questions:

  1. VLS runs meson --version to determine whether the MesonProject backend can be used. If your Meson version is too old, then we will fallback to reading the compile_commands.json file. What's strange about the output of this command is that it's empty—this strongly suggests that something is wrong either with your installation of Meson or configuration of environment variables.
  2. This happens because GIO does not recognize d:\ and D:\ as the same location on Windows. The commit I just made uses a function that converts Windows paths into a standard format.
  3. That is a message displayed by the documentation engine that shows which packages it could not find documentation for. The list is empty, so that means there were no problems. I should probably change this to only show this message if there was a problem.
  4. That is because both MesonProject and CcProject failed, so VLS fell back to using DefaultProject, which is a simple project that has no knowledge of other files. Again, the commit I just made, which fixes CcProject, hopefully addresses this problem.
taozuhong commented 4 years ago

switched to branch "bug/failed-to-load-document-on-windows" and enabled it, then output follow messages:

vls-DEBUG: main.vala:224: Finished constructing
vls-DEBUG: main.vala:191: Got call! initialize
vls-DEBUG: main.vala:270: [initialize] root path is D:/Codelabs/GitHub/kangaroo
vls-WARNING: mesonproject.vala:204: MesonProject: meson < 0.50.0 not supported (version was '')
vls-DEBUG: ccproject.vala:15: CcProject: configuring in build dir D:\Codelabs\GitHub\kangaroo\build ...
vls-DEBUG: ccproject.vala:18: CcProject: obtaining a new file monitor for D:\Codelabs\GitHub\kangaroo\build\compile_commands.json ...
vls-DEBUG: project.vala:35: Project: analyzing build targets - producers and consumers ...
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Platform\windows.vapi
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\CodeGen\app_code_buildable.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\CodeGen\sql_code_buildable.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Container\container.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Credential\credential.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Crypto\cipher_asymmetric.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Crypto\cipher_symmetric.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Data\extractor.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Data\patcher.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Database\adapter.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Database\buildable.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Database\cachable.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Database\connection.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Database\formattable.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Database\inspectable.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Database\objects.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Database\server_setting.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Database\server_vendors.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Database\statement.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Log\logging.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Model\object.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Model\Constraints\check.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Model\Constraints\constraint.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Model\Constraints\exclude.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Model\Constraints\foreign.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Model\Constraints\unique.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Model\dataset.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Model\column.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Model\index.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Model\row.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Model\rule.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Model\table.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Model\trigger.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Model\type.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Model\version.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Model\view.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Network\proxy.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Setting\datagrid.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Setting\datatool.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Setting\editor.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Setting\general.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Setting\logging.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Setting\network.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Setting\setting.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Contracts\Storage\storable.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Exceptions\error_code.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Foundation\classmap.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Foundation\container.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Foundation\logging.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Foundation\services.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Helpers\helper_database.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Helpers\helper_datetime.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Helpers\helper_password.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Helpers\helper_string.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Crypto\cipher_openssl.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Crypto\pubkey_openssl.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Data\Extractors\extractor_base.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Data\Extractors\extractor_dsv.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Data\Extractors\extractor_html.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Data\Extractors\extractor_json.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Data\Extractors\extractor_md.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Data\Extractors\extractor_sql.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Data\Extractors\extractor_xml.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Data\patcher.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Database\MySQL\mysql_adapter.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Database\MySQL\mysql_builder.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Database\MySQL\mysql_connection.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Database\MySQL\mysql_inspector.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Database\MySQL\mysql_statement.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Database\PostgreSQL\postgres_adapter.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Database\PostgreSQL\postgres_builder.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Database\PostgreSQL\postgres_connection.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Database\PostgreSQL\postgres_inspector.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Database\PostgreSQL\postgres_statement.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Database\SQLite\sqlite_adapter.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Database\SQLite\sqlite_builder.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Database\SQLite\sqlite_connection.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Database\SQLite\sqlite_inspector.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Database\SQLite\sqlite_statement.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Database\adapter.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Database\cache.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Database\connection.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Database\formatter.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Log\formatter_default.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Log\formatter_colored.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Log\handler_file.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Log\handler_delegate.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Log\handler_console.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Log\logger.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Log\manager.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Network\tunnel_http.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Network\tunnel_ssh.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Illuminate\Supports\Setting\setting_json.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Actions\action_application.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Actions\action_base.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Actions\action_content.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Actions\action_datagrid.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Actions\action_dbtree.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Actions\action_home.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Actions\action_manager.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Actions\action_objects.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Actions\action_outputs.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Actions\action_query.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Actions\action_start.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Actions\action_structure.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Actions\action_titlebar.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Actions\action_tools.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Actions\action_workspace.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Actions\action_workbench.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Assistants\assistant_extractor.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Assistants\page_base.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Assistants\page_interface.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Assistants\page_options_dsv.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Assistants\Export\data_export.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Assistants\Export\page_columns.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Assistants\Export\page_format.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Assistants\Export\page_options_xml.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Assistants\Export\page_process.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Assistants\Export\page_summary.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Assistants\Export\page_tables.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Assistants\Import\data_import.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Assistants\Import\page_columns.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Assistants\Import\page_format.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Assistants\Import\page_preview.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Assistants\Import\page_process.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Assistants\Import\page_summary.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Caches\cache_image.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Contracts\form_storage.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Contracts\ide_framework.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Contracts\meta_loader.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Contracts\text_editable.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\Binders\content_binder.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\Binders\binder_abstract.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\Binders\binder_blob.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\Binders\binder_null.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\Binders\binder_text.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\Binders\binder_integer.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\Binders\binder_date.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\Binders\binder_time.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\Binders\binder_datetime.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\Binders\binder_timespan.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\Binders\binder_timestamp.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\Binders\binder_double.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\Binders\binder_boolean.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\Binders\binder_enum.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\Renderers\cell_text_button.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\Renderers\cell_text_bridge.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\Renderers\cell_text_completion.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\Renderers\cell_abstract_popover.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\Renderers\cell_date_picker.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\Viewers\viewer_binary.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\Viewers\viewer_text.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\Viewers\picker_date.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\Viewers\picker_date_time.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\Viewers\picker_time.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\datagrid_column.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\datagrid_copyable.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\datagrid_form.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\datagrid_menu.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\datagrid_storable.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\datagrid_style.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\datagrid_table.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\datagrid_toolbar.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\DataGrid\datagrid_view.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\Popuis\popui_data.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\Popuis\popui_columns.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\Popuis\popui_textview.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\form_column.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\form_comment.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\form_common.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\form_factory.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\form_menu.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\form_options.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\form_preview.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\MySQL\table_checks.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\MySQL\table_columns.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\MySQL\table_foreigns.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\MySQL\table_indexes.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\MySQL\table_options.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\MySQL\table_triggers.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\SQLite\table_checks.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\SQLite\table_columns.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\SQLite\table_foreigns.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\SQLite\table_indexes.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\SQLite\table_options.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\SQLite\table_triggers.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\SQLite\table_uniques.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\PostgreSQL\table_checks.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\PostgreSQL\table_excludes.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\PostgreSQL\table_columns.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\PostgreSQL\table_foreigns.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\PostgreSQL\table_indexes.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\PostgreSQL\table_options.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\PostgreSQL\table_rules.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\PostgreSQL\table_triggers.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Designer\PostgreSQL\table_uniques.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Dialogs\dialog_columns_common.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Dialogs\dialog_columns_mysql.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Dialogs\dialog_columns_postgres.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Dialogs\dialog_columns_selectable.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Dialogs\dialog_columns_sqlite.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Dialogs\dialog_connection.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Dialogs\dialog_goto_cell.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Dialogs\dialog_message.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Dialogs\dialog_setting.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Dialogs\dialog_type_values.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Dialogs\dialog_view_text.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Dialogs\dialog_view_code.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Editor\code_style.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Editor\code_view.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Helpers\helper_color.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Helpers\helper_form.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Helpers\helper_style.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Helpers\helper_table.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Layouts\menu_dbtree.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Layouts\view_common.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Layouts\view_console.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Layouts\view_content.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Layouts\view_dbtree.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Layouts\view_history.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Layouts\view_home.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Layouts\view_objects.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Layouts\view_query.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Layouts\view_start.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Layouts\view_structure.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Layouts\view_tools.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Widgets\QueryBuilder\builder_query.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Widgets\QueryBuilder\builder_where.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Widgets\QueryBuilder\builder_order.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Widgets\app_title_bar.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Widgets\book_title_bar.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Widgets\entry_button_box.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Widgets\stack_title_bar.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Widgets\view_color_text.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\Widgets\view_plain_text.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\workbench.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Gui\workspace.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Business\connection_manager.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Business\subscribe_analytics.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Business\subscribe_identifier.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Business\subscribe_validator.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\application.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\main.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\testing.vala
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\build\src\attributes.vala
vls-DEBUG: project.vala:57:     - CC#1 neither produces nor consumes any files (for now)
...........................
vls-DEBUG: project.vala:57:     - CC#246 neither produces nor consumes any files (for now)
vls-DEBUG: main.vala:324: [initialize] initialized CcProject with D:/Codelabs/GitHub/kangaroo/build/compile_commands.json
vls-DEBUG: compilation.vala:216: Compilation(CC#0): will load input sources for the first time
Error: `null' is not a supported generic type argument, use `?' to box value types
vls-DEBUG: girdocumentation.vala:76: did not add GIRs for these packages: windows, gobject-2.0, glib-2.0

(process:50728): vala-CRITICAL **: 10:52:35.336: vala_source_reference_construct: assertion '_file != NULL' failed
...........................
(process:50728): vala-CRITICAL **: 10:52:35.342: vala_delegate_type_construct: assertion 'delegate_symbol != NULL' failed
vls-DEBUG: main.vala:360: Building project ...
vls-DEBUG: main.vala:362: Publishing diagnostics ...
vls-DEBUG: main.vala:607: publishing diagnostics for Compilation target CC#0
vls-DEBUG: main.vala:181: Got notification! initialized
vls-DEBUG: main.vala:187: no notification handler for initialized
vls-DEBUG: main.vala:181: Got notification! textDocument/didOpen
vls-DEBUG: main.vala:437: [textDocument/didOpen] opened file:///d:/Codelabs/GitHub/kangaroo/src/main.vala
vls-DEBUG: main.vala:191: Got call! textDocument/documentSymbol
vls-DEBUG: ccproject.vala:80: CcProject: watched file D:\Codelabs\GitHub\kangaroo\build\compile_commands.json was changed
vls-DEBUG: main.vala:528: Context(s) update (re-)scheduled in 500 ms
vls-DEBUG: main.vala:382: requested context update for project change event
vls-DEBUG: main.vala:537: updating contexts and publishing diagnostics...
vls-DEBUG: ccproject.vala:15: CcProject: configuring in build dir D:\Codelabs\GitHub\kangaroo\build ...
vls-DEBUG: project.vala:35: Project: analyzing build targets - producers and consumers ...
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Platform\windows.vapi
...........................
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\main.vala
vls-DEBUG: project.vala:57:     - CC#1 neither produces nor consumes any files (for now)
...........................
vls-DEBUG: project.vala:57:     - CC#246 neither produces nor consumes any files (for now)
vls-DEBUG: compilation.vala:216: Compilation(CC#0): will load input sources for the first time
Error: `null' is not a supported generic type argument, use `?' to box value types
vls-DEBUG: main.vala:607: publishing diagnostics for Compilation target CC#0
vls-DEBUG: ccproject.vala:80: CcProject: watched file D:\Codelabs\GitHub\kangaroo\build\compile_commands.json was changed
vls-DEBUG: main.vala:528: Context(s) update (re-)scheduled in 500 ms
vls-DEBUG: main.vala:382: requested context update for project change event
vls-DEBUG: main.vala:607: publishing diagnostics for Compilation target CC#0
vls-DEBUG: main.vala:537: updating contexts and publishing diagnostics...
vls-DEBUG: ccproject.vala:15: CcProject: configuring in build dir D:\Codelabs\GitHub\kangaroo\build ...
vls-DEBUG: project.vala:35: Project: analyzing build targets - producers and consumers ...
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Platform\windows.vapi
...........................
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\main.vala
vls-DEBUG: project.vala:57:     - CC#1 neither produces nor consumes any files (for now)
...........................
vls-DEBUG: project.vala:57:     - CC#246 neither produces nor consumes any files (for now)
vls-DEBUG: compilation.vala:216: Compilation(CC#0): will load input sources for the first time
Error: `null' is not a supported generic type argument, use `?' to box value types
vls-DEBUG: main.vala:607: publishing diagnostics for Compilation target CC#0
vls-DEBUG: ccproject.vala:80: CcProject: watched file D:\Codelabs\GitHub\kangaroo\build\compile_commands.json was changed
vls-DEBUG: main.vala:528: Context(s) update (re-)scheduled in 500 ms
vls-DEBUG: main.vala:382: requested context update for project change event
vls-DEBUG: main.vala:607: publishing diagnostics for Compilation target CC#0
vls-DEBUG: ccproject.vala:80: CcProject: watched file D:\Codelabs\GitHub\kangaroo\build\compile_commands.json was changed
vls-DEBUG: main.vala:528: Context(s) update (re-)scheduled in 1000 ms
vls-DEBUG: main.vala:382: requested context update for project change event
vls-DEBUG: main.vala:607: publishing diagnostics for Compilation target CC#0
vls-DEBUG: main.vala:537: updating contexts and publishing diagnostics...
vls-DEBUG: ccproject.vala:15: CcProject: configuring in build dir D:\Codelabs\GitHub\kangaroo\build ...
vls-DEBUG: project.vala:35: Project: analyzing build targets - producers and consumers ...
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\Platform\windows.vapi
...........................
vls-DEBUG: project.vala:43:     - CC#0 consumes D:\Codelabs\GitHub\kangaroo\src\main.vala
vls-DEBUG: project.vala:57:     - CC#1 neither produces nor consumes any files (for now)
...........................
vls-DEBUG: project.vala:57:     - CC#246 neither produces nor consumes any files (for now)
vls-DEBUG: compilation.vala:216: Compilation(CC#0): will load input sources for the first time
Error: `null' is not a supported generic type argument, use `?' to box value types
vls-DEBUG: main.vala:607: publishing diagnostics for Compilation target CC#0
vls-DEBUG: main.vala:607: publishing diagnostics for Compilation target CC#0
vls-DEBUG: main.vala:607: publishing diagnostics for Compilation target CC#0
vls-DEBUG: main.vala:607: publishing diagnostics for Compilation target CC#0
taozuhong commented 4 years ago
  1. remove many msg lines because they repeat again and again.
  2. just open the main.vala file(5 lines vala code only, default open by VSCode view)
Prince781 commented 4 years ago

@taozuhong so does it work? Can you send a screencast of your workflow?

The messsages only appear as things are updated, so there can be repeat messages.

taozuhong commented 4 years ago

messages are too much, you don't want to see them.

the memory increased to 430M now, I think it worked: parse all files in project to extract meta data. but iterate all files in project many times, it should be improved.

Maybe the solution could: start a thread parse all file in project at back-end at beginning , then parse the document and update meta data while changing by user.

taozuhong commented 4 years ago

image

while open main.vala and try to input vala code, the memory usage increased from 30M+ to 1.6G now.

Prince781 commented 4 years ago

@taozuhong it looks like the subject of your original issue has finally been resolved. To keep these issues organized, I'm closing this and if you have any additional problems please file a new issue.

Prince781 commented 4 years ago

@taozuhong I believe you may see less messages with https://github.com/benwaffle/vala-language-server/commit/f988a50fccaf1afbff0f70efda1de907903e291f

taozuhong commented 4 years ago

sorry, I'm foolish to get your idea. what do you mean?

Prince781 commented 4 years ago

If you recompile VLS from the latest commit, you should see an improvement on that issue you mentioned.

taozuhong commented 4 years ago

yeah, the re-scan project issue have solved, fighting...