Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Add class renaming support to BAML language server with new methods for locating class definitions and handling rename requests. > > - **Behavior**: > - Adds `find_class_locations()` to `IRHelper` in `mod.rs` to locate class definitions and references. > - Updates `WasmRuntime` in `mod.rs` to include `search_for_class_locations()` and `is_valid_class()`. > - Implements class renaming in `server.ts` with `textDocument/rename` request, supporting only classes. > - **Misc**: > - Adds `SymbolLocation` struct in `mod.rs` for tracking symbol positions. > - Updates `getCurrentOpenedFile()` in `get-open-file.ts` for better file handling. > - Minor logging and error handling improvements in `server.ts`. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup> for bb4826c. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
- Loading branch information