Michael Panchenko and GitHub
d360c1007b
Merge pull request #142 from oraios/better-symbolic-editing
...
Better symbolic editing
2025-06-02 01:00:07 +02:00
Michael Panchenko
fad3860334
Changelog [ci skip]
2025-06-02 00:57:12 +02:00
Michael Panchenko
37ee90ae41
Fix indentation in replace_body
2025-06-02 00:43:11 +02:00
Michael Panchenko
5392d37630
Prompting, tool descriptions. Overview tool no longer returns location info
2025-06-02 00:27:46 +02:00
Michael Panchenko
950caaf91c
Add and use use_same_indentation flag to body-replacement
2025-06-01 23:26:11 +02:00
Michael Panchenko
03dc1d62b9
Merge branch 'main' into better-symbolic-editing
2025-06-01 22:35:45 +02:00
Michael Panchenko
2ccb7e0e4c
Readme: logos that can be rendered in GitHub [ci skip]
2025-06-01 19:38:12 +02:00
Michael Panchenko
a8cd093fd7
Typing
2025-06-01 19:28:08 +02:00
Michael Panchenko
8c264897ba
Deleted ReplaceTextSpanTool. Extended prompting to make ReplaceRegexTool work
...
The editing mode now disabled line-based editing tools. These tools may be completely removed in the future
2025-06-01 19:27:34 +02:00
Dominik Jain
6df313028f
Add new text replacement tools: ReplaceRegexTool, ReplaceTextSpanTool
2025-06-01 10:49:10 +02:00
Dominik Jain
99ade87f16
Do not prevent startup when passing non-existent project
2025-05-31 18:14:01 +02:00
Michael Panchenko
e8d5cefe9d
Adjusted test
2025-05-31 14:12:38 +02:00
Michael Panchenko
fe6a7d04f4
Major: replace location-based symbol referencing by name_path based
...
Also:
1. find_references now cannot return bodies, instead content around the reference is included
2. find_reference_snippets tool removed since it's no longer necessary
2025-05-31 14:03:45 +02:00
Michael Panchenko
6cd4356a97
LS: finding symbol references now also includes the references' locations
2025-05-31 14:02:15 +02:00
Michael Panchenko
873c5bda3c
Merge branch 'main' into better-symbolic-editing
2025-05-31 12:37:44 +02:00
Michael Panchenko and GitHub
6daf891dbb
Merge pull request #138 from oraios/extend-docs
...
Extend docs
2025-05-31 12:35:35 +02:00
Michael Panchenko
85db0d42ee
Docs, minor [ci skip]
2025-05-31 12:34:49 +02:00
Michael Panchenko
ef610eccde
Merge branch 'main' into extend-docs
2025-05-31 12:32:47 +02:00
Michael Panchenko
5fee09a35f
Respect all gitignores when parsing project for finding language
2025-05-30 20:30:16 +02:00
Dominik Jain
8009e86310
Merge branch 'main' of github.com:oraios/serena into main
2025-05-30 18:51:12 +02:00
Dominik Jain
3ef45d20da
Add FindFileTool
2025-05-30 18:50:42 +02:00
Michael Panchenko
6224cd21f1
Config fix: don't crash when project was added but project.yml is missing
2025-05-30 18:50:26 +02:00
Dominik Jain
d9388ac4bd
Add info on env activation with git-bash under Windows
2025-05-30 18:50:23 +02:00
Dominik Jain
638a0517ce
Hotfix: is_ignored_file not being passed on in scan_directory
2025-05-30 18:50:06 +02:00
Michael Panchenko
bf557aeb9a
Merge branch 'main' into better-symbolic-editing
2025-05-30 18:19:22 +02:00
Dominik Jain
646e520e5a
Fix language
2025-05-30 18:18:24 +02:00
Dominik Jain
30a280be51
Use empty list of projects to avoid attempting to iterate over None
2025-05-30 18:18:09 +02:00
Michael Panchenko
45b5963a27
Merge branch 'better-symbolic-editing' of github.com:oraios/serena into better-symbolic-editing
2025-05-30 16:56:06 +02:00
Michael Panchenko
9bb8c798e8
Added pytest markers to editing tests
2025-05-30 16:55:55 +02:00
Michael Panchenko
3b89cede0b
Docs: roadmap, lessons learned. Buttons in readme
2025-05-30 15:40:56 +02:00
Dominik Jain
04fa309170
Add type hints
2025-05-30 01:36:17 +02:00
Dominik Jain
6210171825
Fix typo
2025-05-30 01:16:49 +02:00
Michael Panchenko
e038cfa188
Snapshot tests for editing, WIP
...
Need to look over the snapshot results to see whether they're what we expect. Also, for some reason tests are failing...
2025-05-30 00:58:02 +02:00
Michael Panchenko
454c07eb5e
Force added project.yml in test
...
Seems like we have concurrency issues in tests, adding this solves this
2025-05-29 23:50:10 +02:00
Michael Panchenko
9807efb8ab
Merge branch 'feature/web-server-logs' into better-symbolic-editing
...
Conflicts:
scripts/demo_run_tools.py
2025-05-29 23:17:50 +02:00
Michael Panchenko
77c4d1bb0d
Readme ToC
2025-05-29 23:14:26 +02:00
Michael Panchenko
37ccf785e7
Typing, minor
2025-05-29 23:03:32 +02:00
Michael Panchenko
5bd9c5b69e
Autogenerated project.yaml now uses the template and includes the comments
2025-05-29 23:02:32 +02:00
Michael Panchenko
0e5db6d6ca
Config template: activate dashboard by default
2025-05-29 22:47:33 +02:00
Michael Panchenko
8703c87665
Readme, changelog
...
Added section on project activation and dedicated section on Configuration
Removed --project from example configs
Less mentioning of tool name collisions (seems like MCP clients have sorted that out now)
2025-05-29 22:47:07 +02:00
Dominik Jain
e9d10fde19
Remove dry_run and overloads from remaining editing methods
...
Add corresponding test classes and test cases (not yet working)
2025-05-29 19:11:43 +02:00
Dominik Jain
bed72f417a
Add test case abstraction for editing tests
...
Add implementation for "delete symbol", removing unnecessary dry-run
flag and overloads from the implementation
2025-05-29 18:15:07 +02:00
Dominik Jain
27b9dd0f9b
Merge branch 'feature/web-server-logs' into better-symbolic-editing
2025-05-29 15:07:07 +02:00
Dominik Jain
30e7cc62d0
Merge branch 'main' into better-symbolic-editing
2025-05-29 15:06:25 +02:00
Dominik Jain
7c619b7511
Merge branch 'main' into feature/web-server-logs
2025-05-29 15:06:14 +02:00
Dominik Jain
68c64e7e11
Add body location (start/end line) to Symbol dictionary representation (if location enabled)
2025-05-29 14:49:54 +02:00
Dominik Jain
ba7ec5f0c2
Revert "Add end_line to serena's Symbol representation"
...
This reverts commit 6c121836bc .
2025-05-29 14:35:51 +02:00
Dominik Jain
f4f6e8fbbe
Revert "Hotfix: fix equality check of SymbolLocation"
...
This reverts commit ba1a613bc9 .
2025-05-29 14:31:38 +02:00
Michael Panchenko
0f18385f4c
Better handling of lines and columns at insertions
2025-05-29 14:10:12 +02:00
Dominik Jain
2616c99af1
Merge remote-tracking branch 'origin/main' into feature/web-server-logs
2025-05-29 14:04:27 +02:00