Skip to content

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

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

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.

Activity

  1. remcohaszing commented on Aug 16, 2022

    @remcohaszing
    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. :)

  2. locked and limited conversation to collaborators on Mar 13, 2023
  3. converted this issue into a discussion #3825 on Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for new features or functionality

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions