microsoft / microsoft/monaco-editor

A function should be added that can get the variables and variable types of a certain line of code[Feature Request]

Open
#4,529 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-request
Dominant language
JavaScript
Stars
46.8k
Forks
4.1k
Avg merge
17h 58m
Merged PRs (30d)
1

Description

Context
  • This issue is not a bug report. (please use a different template for reporting a bug)
  • This issue is not a duplicate of an existing issue. (please use the search to find existing issues)
Description

A function should be added that can get the variables and variable types of a certain line of code. The usage scenario is: the front end needs to obtain variables and variable types and pass values ​​to the back end, let the back end do breakpoint processing, and pass the variable values ​​back.

Monaco Editor Playground Link

No response

Monaco Editor Playground Code

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, entry points, or Playground example are provided. First clarify which languages and scopes the function must support, how variables and types should be represented, and how breakpoint processing should integrate with Monaco. Done should include an agreed API, implementation coverage, and tests for the requested behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.