Skip to main content

Overview

These settings control editor hints, hover documentation, and semantic syntax highlighting.

Inlay hints (hint.*)

Inlay hints show inline type and name annotations beside your code.

Inlay hint examples

Parameter hints:
Local hints:
Closing end hints:

Inline values (inlineValues.*)

Inline values show variable contents during a debug session, overlaid on the source code.

Hover (hover.*)

Hover documentation shows:
  • Type signatures and docs for functions, fields, and classes
  • Realm badge (client/shared/server) for GMod API symbols
  • @deprecated messages for deprecated symbols
  • @see cross-references
  • Inline +/ verbosity buttons for classes with many members — click + to show more members, to show fewer

Semantic tokens (semanticTokens.*)

Semantic tokens provide syntax highlighting based on type analysis. GLuaLS colors variables by role, such as local, global, field, or method, instead of lexical category.

Code lens (codeLens.*)


Code action (codeAction.*)


VS Code extension settings

You can also configure these settings in VS Code settings with the gluals.* prefix:

Full example

Use the settings menu instead of editing the JSON file directly. This helps you avoid config mistakes.
.gluarc.json