Commit Graph
527 Commits
Author SHA1 Message Date
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 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
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
Dominik Jain 9809d0d5a4 Update README, improving the structure and consolidating duplicate content 2025-05-29 13:37:21 +02:00
Michael Panchenko bd0923a2d3 Refactoring: move out editing methods from LS to TextUtils
Now these methods can be used in dry-run mode, assuring there is no logic duplication
2025-05-29 13:37:10 +02:00
Michael Panchenko ba1a613bc9 Hotfix: fix equality check of SymbolLocation 2025-05-29 12:18:42 +02:00
Michael Panchenko 3ba4c0c721 Added dry-run mode for editing operations 2025-05-28 23:56:27 +02:00
Dominik Jain 9f9d518e69 Remove debug content 2025-05-28 20:25:27 +02:00
Dominik Jain 61d9568a97 Apply icon in GUI
Remove duplicate serena-logs image (use the one in dashboard/,
reserve resources/ to source formats only)
2025-05-28 20:13:36 +02:00
Dominik Jain 4b80aed99b Merge branch 'feature/web-server-logs' of github.com:oraios/serena into feature/web-server-logs
Conflicts:
  src/serena/agent.py
2025-05-28 19:56:04 +02:00
Dominik Jain 3fda975a06 Add icons, apply as favicons for dashboard 2025-05-28 19:54:15 +02:00
Michael Panchenko b9764fce67 Symbol: added find, insert, replace and delete by name. Also added delete by location.
Renamed name to name_path
2025-05-28 19:53:59 +02:00
Michael Panchenko d8cad28246 Typing 2025-05-28 19:45:55 +02:00
Michael Panchenko bcbdf79534 Better error message on missing language in autogenerated config
Also comment in template
2025-05-28 19:06:03 +02:00
Michael Panchenko d289ce2f77 Allow passing project by name at mcp server startup 2025-05-28 18:54:53 +02:00
Michael Panchenko 41df16a0d5 Merge branch 'main' into feature/web-server-logs 2025-05-28 18:37:12 +02:00
Michael Panchenko d13ced7583 Docstring [ci skip] 2025-05-28 18:26:38 +02:00
Michael PanchenkoandGitHub 8adb22827b Merge pull request #132 from oraios/improve-search-for-pattern-performance
Improve search for pattern performance
2025-05-28 18:24:10 +02:00
Michael Panchenko c605b1adf5 Typing 2025-05-28 17:55:20 +02:00
Michael Panchenko 8c83838d52 Merge branch 'main' into improve-search-for-pattern-performance 2025-05-28 17:53:25 +02:00