microsoft / microsoft/monaco-editor

Expose Language Features

Open
#2,043 3 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

I've done this personally for my own project, but I think that it would be useful to expose language features from the different monaco-* packages. For example, in my project in particular, I've implemented a similar "problems" list to vscode. I cloned the monaco-typescript project and exposed the features, which has helped for instances where I wanted to use the DiagnosticsAdaptor or the CodeActionAdaptor instead of implementing essentially the same logic. Currently, I don't believe there is a method to import/utilize these methods in the current monaco-editor.

I can submit a pull request for monaco-typescript if it is found useful for others.

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

Start by reviewing the monaco-typescript project and the DiagnosticsAdaptor and CodeActionAdaptor mentioned in the issue, then compare them with the current monaco-editor APIs. Done means language features from the monaco-* packages can be imported and used by consumers without duplicating their logic.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
developer-experience, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.