[all-commits] [llvm/llvm-project] dc8f00: [lldb-vscode] Add presentation hints for scopes

Andy Hippo via All-commits all-commits at lists.llvm.org
Tue Nov 9 08:51:44 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc8f0035ca990fc5587bd508fed609f995e7c842
      https://github.com/llvm/llvm-project/commit/dc8f0035ca990fc5587bd508fed609f995e7c842
  Author: Andy Yankovsky <werat at google.com>
  Date:   2021-11-09 (Tue, 09 Nov 2021)

  Changed paths:
    M lldb/test/API/tools/lldb-vscode/variables/TestVSCode_variables.py
    M lldb/tools/lldb-vscode/JSONUtils.cpp

  Log Message:
  -----------
  [lldb-vscode] Add presentation hints for scopes

Scopes can have an optional hint for how to present this scope in the UI:
https://microsoft.github.io/debug-adapter-protocol/specification#Types_Scope

The IDEs can use the hint to present the data accordingly. For example,
Visual Studio has a separate Registers window, which is populated with the
data from the scope with `presentationHint: "registers"`.

Reviewed By: wallace

Differential Revision: https://reviews.llvm.org/D113400




More information about the All-commits mailing list