Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wire up the sidebar oracles #31

Merged
merged 2 commits into from
May 20, 2024
Merged

Conversation

cwegrzyn
Copy link
Collaborator

Looks like Workspace.getActiveFileView() does what we want-- seems to track the last editor that the cursor was in! I'm wondering if it's the same underlying thing used by the left File sidebar-- that definitely has the behavior that we want, so if this doesn't work out, figuring that out via the JS debugger may be a next step.

@cwegrzyn cwegrzyn self-assigned this May 20, 2024
@cwegrzyn cwegrzyn requested a review from zkat May 20, 2024 17:37
src/oracles/oracle-modal.ts Outdated Show resolved Hide resolved
@cwegrzyn cwegrzyn merged commit 7606dae into main May 20, 2024
2 checks passed
@cwegrzyn cwegrzyn deleted the cwegrzyn/wire-up-sidebar-oracles branch May 20, 2024 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants