microsoft / microsoft/monaco-editor

API to talk with the language server of a language

Open
#1,885 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

It would be great if you add to the monaco.d.ts file the API to talk directly with the server language of a language. For example, the typescript language provides a method to get the typescript worker, but not all languages have something like that, for example, the HTML language.

In my case, I embedded the Monaco editor in a custom IDE and I need to build custom UI to show the outline of the file and the documentation of the selected element in a file, for any language provided by default in the editor.

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 with monaco.d.ts and inspect how the TypeScript worker API is exposed, then compare that with the HTML language implementation. Define what a direct language-server API would need to expose for outline and documentation UI across the default languages.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
api, developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.