plugins.lsp.servers.rust_analyzer.settings.hover.memoryLayout.enable

Whether to show memory layout data on hover.

Type: null or boolean

Default: null

Plugin default: true

Declared by:

plugins.lsp.servers.rust_analyzer.settings.hover.memoryLayout.alignment

How to render the align information in a memory layout hover.

Values:

  • both: Render as 12 (0xC)
  • decimal: Render as 12
  • hexadecimal: Render as 0xC

Type: null or one of “both”, “decimal”, “hexadecimal”

Default: null

Plugin default: "hexadecimal"

Declared by:

plugins.lsp.servers.rust_analyzer.settings.hover.memoryLayout.niches

How to render the niche information in a memory layout hover.

Type: null or boolean

Default: null

Plugin default: false

Declared by:

plugins.lsp.servers.rust_analyzer.settings.hover.memoryLayout.offset

How to render the offset information in a memory layout hover.

Values:

  • both: Render as 12 (0xC)
  • decimal: Render as 12
  • hexadecimal: Render as 0xC

Type: null or one of “both”, “decimal”, “hexadecimal”

Default: null

Plugin default: "hexadecimal"

Declared by:

plugins.lsp.servers.rust_analyzer.settings.hover.memoryLayout.size

How to render the size information in a memory layout hover.

Values:

  • both: Render as 12 (0xC)
  • decimal: Render as 12
  • hexadecimal: Render as 0xC

Type: null or one of “both”, “decimal”, “hexadecimal”

Default: null

Plugin default: "both"

Declared by: