Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Example on how to get code completion in MDX #3244

Closed
2 tasks done
Knaackee opened this issue Aug 14, 2022 · 1 comment
Closed
2 tasks done

[Feature Request] Example on how to get code completion in MDX #3244

Knaackee opened this issue Aug 14, 2022 · 1 comment
Labels
feature-request Request for new features or functionality

Comments

@Knaackee
Copy link

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

At first, thanks for this great project!

I already read #264 and #3096 plus googled a lot but didn't find an answer.

I am using the monaco editor to edit mdx (language=markdown). Syntax highlighting works as expected.

How to add code completion for html, javascript (typescript) and my own types of the React components I want to use?

I suggest a example or documention which i could provide if someone points me to the right direction.

@Knaackee Knaackee added the feature-request Request for new features or functionality label Aug 14, 2022
@remcohaszing
Copy link
Contributor

The reason there aren’t any examples for getting MDX intellisense in Monaco editor, is because it simply doesn’t exist.

I intend to start working on MDX intellisence myself soon (mdx-js/mdx-analyzer#165 (comment)) and have personal interest to support Monaco editor as a first-class citizen. (no ETA)

In the mean time you may be interested to have a look at monaco-unified to support linting. :)

@microsoft microsoft locked and limited conversation to collaborators Mar 13, 2023
@hediet hediet converted this issue into discussion #3825 Mar 13, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

2 participants