all repos

clerk @ 8909472

missing tooling for ledger/hledger

clerk/internal/lsp/testdata/rename-tag.txtar (view raw)

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
lsp: rename, 1 month ago
1
-- in.journal --
2
2024-01-15 Grocery Store ; cli^ent:acme, urgent
3
    expenses:food  $50 ; project:alpha
4
5
2024-01-16 Grocery Store
6
    ; client:other
7
    expenses:food  $30 ; client:beta, url:https://x/y
8
9
tag cli^ent
10
11
2024-01-17 Grocery Store ; ur^gent, url:https://x^/y
12
    expenses:food  $10 ; pro^ject:beta
13
14
-- rename --
15
customer
16
customer
17
priority
18
ignored
19
task
20
21
-- expect --
22
0:30
23
  prep in.journal 0:27-0:33 "client"
24
  ren in.journal 0:27-0:33 "customer"
25
  ren in.journal 4:6-4:12 "customer"
26
  ren in.journal 5:25-5:31 "customer"
27
  ren in.journal 7:4-7:10 "customer"
28
7:7
29
  prep <none>
30
  ren <none>
31
9:29
32
  prep <none>
33
  ren <none>
34
9:48
35
  prep <none>
36
  ren <none>
37
10:28
38
  prep in.journal 10:25-10:32 "project"
39
  ren in.journal 1:25-1:32 "task"
40
  ren in.journal 10:25-10:32 "task"