microsoft / microsoft/monaco-editor

PHP mode doesn't support HTML completions

Open
#2,548 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

When using PHP mode there is no HTML / JS completion.

To reproduce, go to the demo: https://microsoft.github.io/monaco-editor/
Select PHP mode.
Inside a HTML tag press space and ctrl-space.

Expected result:
See a list of HTML attributes

Actual result:
No HTML results available.

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 reproducing the issue in the Monaco Editor demo at https://microsoft.github.io/monaco-editor/ with PHP mode selected, then trace the PHP language completion entry point and its HTML/JS completion integration. Done means pressing Space and Ctrl-Space inside an HTML tag shows HTML attribute completions, with coverage for the reported scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.