You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm reverting the fix for this, because I can't replace the default editor. It ends up listing two editors at the bottom of the window.
It looks like the only way to show the definition instead of the whole file is if the editor provider is an instance of TextEditorProvider. Otherwise, the whole file is displayed and foundElement isn't used.
Commit 04355ff converted SplitFileEditorProvider to be a subclass of TextEditorProvider, and it did start displaying just the function definition. However, I couldn't hide the default editor, because now my replacement is also a subclass of DefaultPlatformFileEditorProvider.
I'll post a question in the forum to see if there's some other way to get the quick definition working.
What I did
What happened
The quick definition shows the content of the file containing the selected function.
What I wanted to happen
The quick definition only shows the content of the selected function
My environment
The text was updated successfully, but these errors were encountered: