Skip to content

Command: Evaluate at positionΒ #12

Open
@julienduchesne

Description

@julienduchesne

The language server currently has the evaluateFile and evaluateExpression commands. Another very useful one, but much harder to implement, is evaluateAtPosition. This could allow a user to check the value of self, or a local at any location

Since locals cannot be queried, we could define temporary attributes at runtime, like this:

{
  local my_key = 'test',
  temp:: my_key, // Line added at eval time (not defined by the user)
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions