summaryrefslogtreecommitdiff
path: root/support/texlab/tests/integration/snapshots/integration__completion__latex__citation.snap
blob: ef6c57e88211cda612706ed54cd1f6d438d754b8 (plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
source: tests/integration/completion.rs
expression: "complete_and_resolve(&server, tex_uri, 3, 6)?"

---
{
  "isIncomplete": false,
  "items": [
    {
      "label": "foo:2019",
      "kind": 1,
      "documentation": {
        "kind": "markdown",
        "value": "Bar, Foo. (2019). *Baz Qux*."
      },
      "preselect": false,
      "sortText": "00 foo:2019 @articlefoo:2019 author Foo Bar title Baz Qux year 2019",
      "filterText": "foo:2019 @articlefoo:2019 author Foo Bar title Baz Qux year 2019",
      "textEdit": {
        "range": {
          "start": {
            "line": 3,
            "character": 6
          },
          "end": {
            "line": 3,
            "character": 6
          }
        },
        "newText": "foo:2019"
      }
    },
    {
      "label": "bar:2005",
      "kind": 1,
      "preselect": false,
      "sortText": "01 bar:2005 @articlebar:2005",
      "filterText": "bar:2005 @articlebar:2005",
      "textEdit": {
        "range": {
          "start": {
            "line": 3,
            "character": 6
          },
          "end": {
            "line": 3,
            "character": 6
          }
        },
        "newText": "bar:2005"
      }
    }
  ]
}