* Implement display variable type setting for vscode (#210258)
Created two new settings to be added to .vscode/settings.json
('variableDisplayType.watchView' and
'variableDisplayType.variableView') when set
to true it shows the variable type in the
format var_name: type = value in the debug panel and variable panel
respectively and the hover will now display var_name.
When set to false uses the previous
expected behaviour (var_name = value)
and the hover will display the type.
Co-authored-by: Diogo Pinto <diogotfpinto@tecnico.ulisboa.pt>
* Implemented the requested changes.
Registed new setting in debug.contribution.ts
Changed the two settings for a single setting (debug.showVariableTypes)
Made the renderer functions listen to changes so it re-renders elements
Added a different styling for the type in variable panel
Changed function names to use camelCase
Co-authored-by: Diogo Pinto <diogotfpinto@tecnico.ulisboa.pt>
* Implemented Requested small changes.
Removed linkDetector check when rendering the type.
Deleted displayType boolean, now we read from config in render
Added missing line to renderExpressionElement.
Co-authored-by: Diogo Pinto <diogotfpinto@tecnico.ulisboa.pt>
---------
Co-authored-by: Diogo Pinto <diogotfpinto@tecnico.ulisboa.pt>
Removed linkDetector check when rendering the type.
Deleted displayType boolean, now we read from config in render
Added missing line to renderExpressionElement.
Co-authored-by: Diogo Pinto <diogotfpinto@tecnico.ulisboa.pt>
* adding some code
* polishing code
* polishing the code
* polishing the code
* polishing and moving to a new file
* adding e
* polishing the code
* polishing the code
* passing in directly the hover result
* removing the highlight range
Refs https://github.com/microsoft/vscode/issues/212494
When using the default ANGLE gl/gles backend, v1.90 attempts
to get display refresh rate for vsync from an internal implementation
instead of using the gl extension EGL_CHROMIUM_sync_control,
this eventually ends up loading display info from XRandr and chromium
attempts to set a label for the data from the shipped resource pak
file that is not accessible to the gpu process triggering a SIGTRAP
in ui::ResourceBundle::GetSharedInstance.
Registed new setting in debug.contribution.ts
Changed the two settings for a single setting (debug.showVariableTypes)
Made the renderer functions listen to changes so it re-renders elements
Added a different styling for the type in variable panel
Changed function names to use camelCase
Co-authored-by: Diogo Pinto <diogotfpinto@tecnico.ulisboa.pt>