1 # RUN: clangd -lit-test < %s | FileCheck -strict-whitespace %s
2 {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootPath":"clangd","capabilities":{},"initializationOptions":{"clangdFileStatus": true},"trace":"off"}}
4 {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"test:///main.cpp","languageId":"cpp","version":1,"text":"int x; int y = x;"}}}
5 # CHECK: "method": "textDocument/clangd.fileStatus",
6 # CHECK-NEXT: "params": {
7 # CHECK-NEXT: "state": "parsing includes",
8 # CHECK-NEXT: "uri": "{{.*}}/main.cpp"
11 {"jsonrpc":"2.0","id":3,"method":"shutdown"}
13 {"jsonrpc":"2.0","method":"exit"}