-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
enhancementNew feature or requestNew feature or request
Description
In the debugger we want to optimize the amount of user-interaction that is needed to get relevant information.
Hovering over a variable name and getting its value as a pop-up mini-window is already great.
I propose to provide the current values of variables as inlay hints as in:
void main(){
int y = 1;
for(int x <- [1..10){ // inlay-hint x = ...
y += x; // inlay-hint y = ...
}
}
Points to ponder:
- If values are too large this may become a mess, may be only do this when textual size is below a fixed threshold
- If these values are shown for all variables it may also become a mess, so a policy is needed to restrict the display of these hints:
-- Only when hovering over a line?
-- Only when at a breakpoint?
-- Provide a filtering mechanism to restrict the variables to show?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request