mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-06 08:07:49 +00:00
Plugin tool windows that list code locations (routes, failed tests, queries) had no way to take the user to file:line. A host import `views.open-location(path, line, column)` opens a file inside the project in an editor of the window the call came from, caret at the given line and column (0-based, UTF-16). It needs `project.read` and refuses paths outside the project; the event goes only to the calling window, as `open-terminal` does. The Rust SDK exposes it as `host::open_location` (with the mock), the API table lists it, and the shipped components are rebuilt for the new WIT. Closes #1334 Co-authored-by: yzPeedro <54516747+yzPeedro@users.noreply.github.com>
130 KiB
130 KiB