11identification message on startup
22=======================================
3- {"_type": "program", "name": "Universal Ctags", "version": "5.9.0" }
3+ {"_type": "program", "name": "Universal Ctags"}
44
55error on invalid command
66=======================================
7- {"_type": "program", "name": "Universal Ctags", "version": "5.9.0" }
7+ {"_type": "program", "name": "Universal Ctags"}
88{"_type": "error", "message": "unknown command name", "fatal": true}
99
1010error on missing arguments
1111=======================================
12- {"_type": "program", "name": "Universal Ctags", "version": "5.9.0" }
12+ {"_type": "program", "name": "Universal Ctags"}
1313{"_type": "error", "message": "invalid generate-tags request", "fatal": true}
1414
1515error on invalid file
1616=======================================
17- {"_type": "program", "name": "Universal Ctags", "version": "5.9.0" }
17+ {"_type": "program", "name": "Universal Ctags"}
1818{"_type": "error", "message": "cannot open input file \"test.foo\"", "warning": true, "errno": 2, "perror": "No such file or directory"}
1919{"_type": "completed", "command": "generate-tags"}
2020
2121generate tags from file
2222=======================================
23- {"_type": "program", "name": "Universal Ctags", "version": "5.9.0" }
23+ {"_type": "program", "name": "Universal Ctags"}
2424{"_type": "tag", "name": "Test", "path": "test.rb", "pattern": "/^class Test$/", "kind": "class"}
2525{"_type": "tag", "name": "foobar", "path": "test.rb", "pattern": "/^ def foobar$/", "kind": "method", "scope": "Test", "scopeKind": "class"}
2626{"_type": "tag", "name": "baz", "path": "test.rb", "pattern": "/^ def baz(a=1)$/", "kind": "method", "scope": "Test", "scopeKind": "class"}
2727{"_type": "completed", "command": "generate-tags"}
2828
2929process multiple commands
3030=======================================
31- {"_type": "program", "name": "Universal Ctags", "version": "5.9.0" }
31+ {"_type": "program", "name": "Universal Ctags"}
3232{"_type": "tag", "name": "Test", "path": "test.rb", "pattern": "/^class Test$/", "kind": "class"}
3333{"_type": "tag", "name": "foobar", "path": "test.rb", "pattern": "/^ def foobar$/", "kind": "method", "scope": "Test", "scopeKind": "class"}
3434{"_type": "tag", "name": "baz", "path": "test.rb", "pattern": "/^ def baz(a=1)$/", "kind": "method", "scope": "Test", "scopeKind": "class"}
@@ -39,7 +39,7 @@ process multiple commands
3939
4040generate tags from data
4141=======================================
42- {"_type": "program", "name": "Universal Ctags", "version": "5.9.0" }
42+ {"_type": "program", "name": "Universal Ctags"}
4343{"_type": "tag", "name": "Test", "path": "foobar.rb", "pattern": "/^class Test$/", "kind": "class"}
4444{"_type": "tag", "name": "foobar", "path": "foobar.rb", "pattern": "/^ def foobar$/", "kind": "method", "scope": "Test", "scopeKind": "class"}
4545{"_type": "tag", "name": "baz", "path": "foobar.rb", "pattern": "/^ def baz(a=1)$/", "kind": "method", "scope": "Test", "scopeKind": "class"}
0 commit comments