Skip to content

Conversation

EricGusmao
Copy link

This pull request includes minor changes to the RenameWidget and RenameCandidateListView classes in the src/vs/editor/contrib/rename/browser/renameWidget.ts file. The changes focus on refactoring event handling to use event emitters instead of direct function calls. As suggested by @ulugbekna in his FIXME comment

Refactoring event handling:

  • RenameWidget: Removed inline event handler functions for focus and selection changes from the RenameCandidateListView constructor, and added them as disposables separately.
  • Replaced direct function calls for onFocusChange and onSelectionChange with event emitters _onFocusChange and _onSelectionChange.

@EricGusmao
Copy link
Author

@microsoft-github-policy-service agree

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.

3 participants