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
Automatically show inline values if an inline values provider is registered #119560
If a user does not have an explicit "debug.inlineValues" setting, we should automatically enable inline values if an inline values provider is registered.
Yes this makes sense, for this we can change the debug.inlineValue to be true | false and add a new default value auto.
auto would mean it is off unless there is a value provider registered.
That way we will still give the option for the user to turn it off even if a provider is registered.
I just pushed this change as we agreed upon, debug.inlineValue can now be true | false | "auto". "auto" is the default
Jinbo Wang (@testforstephen) would be great if you can verify this with vscode insiders starting from Friday (once we release a new Insiders build). Thanks!
Tried 04-02 insider version, it works well. Thanks.
The new auto will enable the inline values by default if Java debugger uses the API to provide inline values.
And true and false will also turn on/off the inline values.
Activity
isidorn commentedon Mar 23, 2021
Yes this makes sense, for this we can change the
debug.inlineValueto betrue|falseand add a new default valueauto.autowould mean it is off unless there is a value provider registered.That way we will still give the option for the user to turn it off even if a provider is registered.
testforstephen commentedon Mar 24, 2021
I like the idea of adding a new default value
auto.isidorn commentedon Mar 29, 2021
I just pushed this change as we agreed upon,
debug.inlineValuecan now betrue | false | "auto"."auto"is the defaultJinbo Wang (@testforstephen) would be great if you can verify this with vscode insiders starting from Friday (once we release a new Insiders build). Thanks!
testforstephen commentedon Apr 7, 2021
Tried 04-02 insider version, it works well. Thanks.
The new
autowill enable the inline values by default if Java debugger uses the API to provide inline values.And
trueandfalsewill also turn on/off the inline values.isidorn commentedon Apr 7, 2021
Jinbo Wang (@testforstephen) great, thanks for trying, adding verified label.