Skip to content

Remove use of Editor.INavigationBarItemService in LSP#52481

Merged
333fred merged 3 commits intodotnet:mainfrom
333fred:lsp-navbar
Apr 10, 2021
Merged

Remove use of Editor.INavigationBarItemService in LSP#52481
333fred merged 3 commits intodotnet:mainfrom
333fred:lsp-navbar

Conversation

@333fred
Copy link
Member

@333fred 333fred commented Apr 8, 2021

Currently, the DocumentSymbolsHandler uses the editor version of INavigationBarItemService. Thanks to Cyrus's recent work around refactoring the nav bars for OOP, we now have a clean Features-layer API that we can seemlessly transition the handler to with minimal changes. I've done this, as well as a bit of general cleanup (enable nullable, fix a memory leak, a couple other things).

Currently, the DocumentSymbolsHandler uses the editor version of INavigationBarItemService. Thanks to Cyrus's recent work around refactoring the nav bars for OOP, we now have a clean Features-layer API that we can seemlessly transition the handler to with minimal changes. I've done this, as well as a bit of general cleanup (enable nullable, fix a memory leak, a couple other things).
@333fred 333fred requested a review from dibarbet April 8, 2021 04:42
Copy link
Member

@dibarbet dibarbet left a comment

Choose a reason for hiding this comment

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

🎉 🎉 🎉 🎉

@333fred 333fred enabled auto-merge (squash) April 10, 2021 02:45
@333fred 333fred merged commit eb3e386 into dotnet:main Apr 10, 2021
@ghost ghost added this to the Next milestone Apr 10, 2021
@333fred 333fred deleted the lsp-navbar branch April 10, 2021 05:06
@dibarbet dibarbet modified the milestones: Next, 16.10.P3 Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants