-
Notifications
You must be signed in to change notification settings - Fork 133
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
Proposal: Support object favorites #132
Comments
@dustincoleman Thanks a lot for the new DAP feature proposal. Here are some initial comments and questions:
|
Thank you for taking a look! It is up to the debug adapter to decide what is an appropriate way to persist variable favorite information (if at all). The client is just responsible to indicate which variable the user wanted to favorite. For example, in a typed language, a debug adapter can look at the type of the parent variable, and customize variables of that type. In an untyped language, maybe it would make sense to look at the variable name and scope. In either case it can persist this to a configuration file (ex: C# uses ~/.dotnet/visualizers/ObjectFavorites.json). |
Object Favorites
Support user customization of variable presentation by allowing users to choose their "favorite" variables. Debug adapters can then return these variables as the top-most items in variables requests, as well as customize the displayed value of variables with "favorite" children.
VS Feature: https://devblogs.microsoft.com/visualstudio/pinnable-properties-debug-display-managed-objects-your-way/
CC: @andrewcrawley, @weinand
The text was updated successfully, but these errors were encountered: