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
{{ message }}
Repository navigation
Feature Request: Outline view should display inherited attributes and highlight overrides #25432
When opening a Python file in VS Code with the Python extension, the Outline view only shows class members that are explicitly implemented in that file/module.
If a class subclasses from other classes (even if those base classes are defined in the same file), no inherited attributes or methods are displayed. This makes it hard to understand the full API surface of a class at a glance.
Steps to Reproduce
Define a base class with several methods.
Define a subclass in the same file that inherits from the base class but overrides only one method.
Open the file in VS Code and inspect the Outline view.
Only the overridden method appears under the subclass; inherited methods are missing.
Expected Behavior
The Outline view should list all attributes/methods visible on the class, not just those defined locally.
Explicitly overridden attributes should be visually highlighted (e.g., bold or different color).
Purely inherited attributes should still appear but visually de-emphasized (e.g., grayed out).
Why This Matters
Helps developers quickly understand a class’s complete interface, especially in multiple-inheritance/ABC scenarios.
Makes it easier to identify what’s been overridden and what’s inherited without manually jumping to base classes.
Improves readability for large codebases with mixins or framework base classes.
Related Work
PyCharm already implements this.
Third-party packages such as rich can also display class APIs with inherited/overridden distinctions.
This seems related to VS Code’s DocumentSymbolProvider for Python, but I could not find any handling of inheritance in the current extension source.
Request
Is it feasible to extend the Python extension’s Outline provider to support inherited attributes?
Could you consider a design where overridden attributes are highlighted, and inherited attributes are listed but de-emphasized?
Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.
Activity
github-actions commentedon Sep 8, 2025
Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.
adrian-valente commentedon Jan 16, 2026
+1, ideally could be toggled on/off easily and have a setting to not diplay builtins.object methods and attributes.