You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For any given value, we want to display some information on hover. This is extremely useful during development. The specifics of what goes into a hover message will vary depending on what is being hovered on.
LSP API Methods
textDocument/hover
Variations
Variables
For variables, we should display at minimum the type of a variable. If easily exposed by the compiler infrastructure we will be using, we can optionally also display:
location in memory
size in words/bytes
reference vs. value information
Functions
For functions, we should display at minimum:
argument types
return type
any docstring present at the function definition.
The text was updated successfully, but these errors were encountered:
For any given value, we want to display some information on hover. This is extremely useful during development. The specifics of what goes into a hover message will vary depending on what is being hovered on.
LSP API Methods
textDocument/hover
Variations
Variables
For variables, we should display at minimum the type of a variable. If easily exposed by the compiler infrastructure we will be using, we can optionally also display:
Functions
For functions, we should display at minimum:
The text was updated successfully, but these errors were encountered: