Skip to content

Implement Inlay Hint Request #13

@AnHeuermann

Description

@AnHeuermann

Description

Implement

The inlay hints request is sent from the client to the server to compute inlay hints for a given [text document, range] tuple that may be rendered in the editor in place with other text.

The tree could give hints for units or types in equations:

model M;
  Modelica.Units.SI.Energy e;
  Modelica.Units.SI.Mass m;
  Modelica.Units.SI.Velocity c = Modelica.Constants.c;
equation
  m /* kg */= 10;
  e /* J */= m*c^2 /* kg * (m/s)^2 */;
end M;

Here the comment would be the inline hint.

Desired Features

  • Suggest valid class names at the current position.
  • Server tests
  • Client end to end tests

Examples

Other language servers the rust one inline types of variables, if the are inferred from other types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    LS - ClientLanguage Server - Client capabilityLS - ServerLanguage Server - Server capabilityenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions