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

feat: line position now persist for indexer.js when switching tabs #835

Conversation

Kevin101Zhang
Copy link
Contributor

Added logic to monaco lifecycle method and react lifecycle methods to persist line/cursor position between the swapped files.

@Kevin101Zhang Kevin101Zhang changed the base branch from main to 810-refactor-editor June 25, 2024 19:07
@Kevin101Zhang Kevin101Zhang marked this pull request as ready for review June 25, 2024 19:23
@Kevin101Zhang Kevin101Zhang requested a review from a team as a code owner June 25, 2024 19:23
Base automatically changed from 810-refactor-editor to main June 26, 2024 20:40
Copy link
Collaborator

@morgsmccauley morgsmccauley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the last 2 commits as it looks like this still contains commits from #830. Looks good, but can you remove the duplicate commits please?

@Kevin101Zhang Kevin101Zhang merged commit 791afc2 into main Jul 2, 2024
4 checks passed
@Kevin101Zhang Kevin101Zhang deleted the 759-remember-line-position-of-indexerlogic-and-schema-when-moving-between-them-and-the-status-tab branch July 2, 2024 19:18
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.

Persist line/cursor position of indexer.js when moving between different file tabs
2 participants