Zhiming Ma
568b7b41a5
feat(agent): add experimental postprocess limit scope by syntax. ( #758 )
...
* feat(agent): add tree-sitter parser.
* feat(agent): make parser updating tree cache optional.
* feat(agent): add experimental limit scopy by syntax.
* test(agent): update unit test for limitScopeBySyntax.
2023-11-12 10:11:31 -08:00
Zhiming Ma
f2ea57bdd6
refactor(agent): extract calculateReplaceRange and add unit test. ( #764 )
...
* refactor(agent): extract calculateReplaceRange.
* test(agent): add unit test for calculateReplaceRangeByBracketStack.
2023-11-11 08:42:00 -08:00
Zhiming Ma
e3518b46a5
test(agent): add test bad case for limit scopy by indentation. ( #757 )
...
* test(agent): add test bad case for limitScopeByIndentation.
* test(agent): fix golden test config.
* fix: lint.
* test(agent): update test cases.
2023-11-10 22:45:38 -08:00
Zhiming Ma
4d6389a9ab
test(agent): add golden test. ( #684 )
...
* test(agent): add golden test.
* test(agent): update golden test.
* test(agent): remove docker-compose.
* test(agent): update golden test.
2023-11-04 19:12:52 -07:00