Skip to content
代码片段 群组 项目
该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。 拉取镜像更新于
  1. 9月 18, 2020
    • Igor Drozdov's avatar
      Increase LSIF scanner buffer · 2975f341
      Igor Drozdov 创作于
      Sometimes we receive bufio.Scanner: token too long is the parsed
      string is too long
      
      Let's increase the buffer size
      2975f341
  2. 8月 31, 2020
  3. 8月 26, 2020
    • Patrick Bajao's avatar
      Remove ProcessReferences flag · c694aa5e
      Patrick Bajao 创作于
      RAM usage of parsing LSIF references are now back to normalcy and
      feature works.
      
      This removes the code in workhorse for determining whether parsing
      references is enabled or not. It'll now always be enabled.
      c694aa5e
  4. 7月 15, 2020
    • Patrick Bajao's avatar
      Read and parse LSIF references · 978671ce
      Patrick Bajao 创作于
      In order to be able to "Find references" of a given range or
      definition, we need to be able to read `references` items from
      the LSIF file.
      
      This will then be written to the JSON file for each range via
      `references` property.
      
      The property will look something like:
      
      ```
      "references": [
        {
          "path": "main.go#L7"
        }
      ]
      ```
      
      Each reference will be an object with `path` property. The `path`
      property will point to the exact line where it is being used.
      
      This is currently behind a feature flag (`code_navigation_references`)
      which will set `ProcessLsifReferences` header to `true` when
      enabled. If `false`, the `references` won't be read and generated.
      978671ce
  5. 5月 26, 2020
    • Igor Drozdov's avatar
      Accept string or int type for LSIF ids · d3318859
      Igor Drozdov 创作于
      Define Id type with custom marshalling which accepts either
      int or string, because some languages (for example, Javascript)
      define ids in LSIF as ints, but some languages (like Golang) use
      string type for ids
      
      It also changes int to uint32 for easier binary conversion
      d3318859
  6. 5月 21, 2020
加载中